Go to file
Frank Cools 1d18a82f19 Add Dolibarr workflow integration for automated VAT processing
Dolibarr Hook System Integration:
- Hook into invoice validation and accounting transfer events
- Automatic EU supplier detection and autoliquidation
- Custom fields for VAT processing (EU flag, transaction type)
- Batch processing for multiple invoices
- Workflow triggers for status changes

Available Hooks:
- supplier_invoice_validate: Auto-detect EU suppliers
- supplier_invoice_accountancy_transfer: Create VAT entries
- invoice_validate: Apply EU transaction rules
- invoice_accountancy_transfer: Generate accounting entries

Automation Workflow:
1. User creates EU supplier invoice
2. Hook triggers on validation
3. Auto-detect EU supplier
4. Create VAT due (4452xxx) and deductible (4456xx) entries
5. Entries ready for CA-3 calculations

Custom Fields:
- EU Supplier Flag
- VAT Treatment (autoliquidation vs normal)
- Transaction Type (B2B, B2C, special cases)
- OSS Threshold tracking
- DEB/DES requirement flags

Enhanced Features:
- Automatic VAT processing
- Reduced manual work for EU transactions
- Seamless integration with Dolibarr workflow
- Custom field management
- Batch processing capabilities

Updated estimates: +44 hours for workflow integration
Total project: 456+ hours with full Dolibarr integration
2025-10-02 15:59:41 +02:00
.tx Initial commit: DeclarationTVA Dolibarr module 2025-10-02 15:31:50 +02:00
admin Initial commit: DeclarationTVA Dolibarr module 2025-10-02 15:31:50 +02:00
build Initial commit: DeclarationTVA Dolibarr module 2025-10-02 15:31:50 +02:00
core/modules Initial commit: DeclarationTVA Dolibarr module 2025-10-02 15:31:50 +02:00
img Initial commit: DeclarationTVA Dolibarr module 2025-10-02 15:31:50 +02:00
langs Add Dolibarr workflow integration for automated VAT processing 2025-10-02 15:59:41 +02:00
lib Initial commit: DeclarationTVA Dolibarr module 2025-10-02 15:31:50 +02:00
sql Initial commit: DeclarationTVA Dolibarr module 2025-10-02 15:31:50 +02:00
.gitattributes Initial commit: DeclarationTVA Dolibarr module 2025-10-02 15:31:50 +02:00
.gitignore Initial commit: DeclarationTVA Dolibarr module 2025-10-02 15:31:50 +02:00
ChangeLog.md Initial commit: DeclarationTVA Dolibarr module 2025-10-02 15:31:50 +02:00
COPYING Initial commit: DeclarationTVA Dolibarr module 2025-10-02 15:31:50 +02:00
declarationtvaindex.php Initial commit: DeclarationTVA Dolibarr module 2025-10-02 15:31:50 +02:00
modulebuilder.txt Initial commit: DeclarationTVA Dolibarr module 2025-10-02 15:31:50 +02:00
PLANNING.md Add Dolibarr workflow integration for automated VAT processing 2025-10-02 15:59:41 +02:00
README.md Initial commit: DeclarationTVA Dolibarr module 2025-10-02 15:31:50 +02:00
TASK.md Add Dolibarr workflow integration for automated VAT processing 2025-10-02 15:59:41 +02:00

DECLARATIONTVA FOR DOLIBARR ERP & CRM

Features

Description of the module...

Other external modules are available on Dolistore.com.

Translations

Translations can be completed manually by editing files in the module directories under langs.

Installation

Prerequisites: You must have Dolibarr ERP & CRM software installed. You can download it from Dolistore.org. You can also get a ready-to-use instance in the cloud from https://saas.dolibarr.org

From the ZIP file and GUI interface

If the module is a ready-to-deploy zip file, so with a name module_xxx-version.zip (e.g., when downloading it from a marketplace like Dolistore), go to menu Home> Setup> Modules> Deploy external module and upload the zip file.

Final steps

Using your browser:

  • Log into Dolibarr as a super-administrator
  • Go to "Setup"> "Modules"
  • You should now be able to find and enable the module

Licenses

Main code

GPLv3 or (at your option) any later version. See file COPYING for more information.

Documentation

All texts and readme's are licensed under GFDL.