From c52d0d1d445125b88de4a902cee8a8dc68c626fe Mon Sep 17 00:00:00 2001 From: Frank Cools Date: Thu, 2 Oct 2025 17:04:04 +0200 Subject: [PATCH] Add missing Section B - VAT Due Calculation (Notice 4722) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Complete CA-3 Structure Update: - Added Section B: Décompte de la TVA due (VAT Due Calculation) - Added 4 new CA-3 lines for VAT due calculations - Updated all language files with new section and lines Section B - VAT Due Calculation: - Line 08: TVA due au taux de 20% (VAT due at 20% rate) - Line 09: TVA due au taux de 10% (VAT due at 10% rate) - Line 9B: TVA due aux taux réduits (VAT due at reduced rates 5,5% and 2,1%) - Line 17: TVA due au titre des acquisitions intracommunautaires (VAT due on intra-EU acquisitions) Enhanced Configuration: - Added section B header with proper description - Added all 4 VAT due calculation lines - Updated PCG account mappings for VAT due lines - Enhanced form layout to show both sections A and B Language Support: - Added English translations for Section B and all lines - Added French translations for Section B and all lines - Updated section headers in both languages Documentation: - Updated PLANNING.md with complete CA-3 structure - Added Section B documentation with all lines - Complete Notice 4722 compliance The module now includes the complete CA-3 structure with both sections A and B! --- PLANNING.md | 9 ++++++ core/class/declarationtva_config.class.php | 35 ++++++++++++++++++++++ langs/en_US/declarationtva.lang | 7 +++++ langs/fr_FR/declarationtva.lang | 7 +++++ 4 files changed, 58 insertions(+) diff --git a/PLANNING.md b/PLANNING.md index c8afae4..f2e6e15 100644 --- a/PLANNING.md +++ b/PLANNING.md @@ -28,6 +28,15 @@ The module handles the complete French CA-3 VAT declaration structure: | **A4** | Montant HT des importations imposables en France | HT amount of imports taxable in France (non-EU), excluding petroleum products | 6xxxx / 2xxxx purchases or assets; VAT: 4452xxx (import VAT) | | **A5** | Montant HT des opérations à la sortie d'un régime suspensif | HT amount of taxable operations at exit from a suspensive fiscal regime (customs regimes, free zones, etc.) | Specific 6xxxx/2xxxx depending on goods; VAT: 4452xxx | +##### B. Décompte de la TVA due (VAT Due Calculation) - Notice 4722 + +| CA-3 Line | Label | Description | PCG Accounts | +|-----------|-------|-------------|---------------| +| **08** | TVA due au taux de 20% | VAT amounts due, calculated on A1/A2 bases at 20% rate | 44571x (TVA collectée à 20%) | +| **09** | TVA due au taux de 10% | VAT amounts due, calculated on A1/A2 bases at 10% rate | 44572x (TVA collectée à 10%) | +| **9B** | TVA due aux taux réduits (5,5% et 2,1%) | VAT amounts due, calculated on A1/A2 bases at reduced rates (5,5% and 2,1%) | 44573x (5,5%) / 44574x (2,1%) (TVA collectée aux taux réduits) | +| **17** | TVA due au titre des acquisitions intracommunautaires | VAT due on intra-EU acquisitions (autoliquidation) | 4452xxx (TVA due intracommunautaire) | + ### EU Transaction Handling #### 1️⃣ Incoming Invoices (EU Purchases) diff --git a/core/class/declarationtva_config.class.php b/core/class/declarationtva_config.class.php index a5ab5c2..1c6b8f2 100644 --- a/core/class/declarationtva_config.class.php +++ b/core/class/declarationtva_config.class.php @@ -217,6 +217,36 @@ class DeclarationTVA_Config 'section' => 'A', 'description' => 'HT amount of taxable operations at exit from a suspensive fiscal regime (customs regimes, free zones, etc.)', 'pcg_accounts' => 'Specific 6xxxx/2xxxx depending on goods; VAT: 4452xxx' + ), + + // B. Décompte de la TVA due (VAT Due Calculation) - Notice 4722 + '08' => array( + 'label' => 'TVA due au taux de 20%', + 'type' => 'vat', + 'section' => 'B', + 'description' => 'VAT amounts due, calculated on A1/A2 bases at 20% rate', + 'pcg_accounts' => '44571x (TVA collectée à 20%)' + ), + '09' => array( + 'label' => 'TVA due au taux de 10%', + 'type' => 'vat', + 'section' => 'B', + 'description' => 'VAT amounts due, calculated on A1/A2 bases at 10% rate', + 'pcg_accounts' => '44572x (TVA collectée à 10%)' + ), + '9B' => array( + 'label' => 'TVA due aux taux réduits (5,5% et 2,1%)', + 'type' => 'vat', + 'section' => 'B', + 'description' => 'VAT amounts due, calculated on A1/A2 bases at reduced rates (5,5% and 2,1%)', + 'pcg_accounts' => '44573x (5,5%) / 44574x (2,1%) (TVA collectée aux taux réduits)' + ), + '17' => array( + 'label' => 'TVA due au titre des acquisitions intracommunautaires (autoliquidation)', + 'type' => 'vat', + 'section' => 'B', + 'description' => 'VAT due on intra-EU acquisitions (autoliquidation)', + 'pcg_accounts' => '4452xxx (TVA due intracommunautaire)' ) ); } @@ -233,6 +263,11 @@ class DeclarationTVA_Config 'title' => 'A. Opérations imposables (Taxable Operations)', 'description' => 'HT amounts of all taxable operations according to Notice 4722 (3310-CA3-SD)', 'notice' => 'Notice 4722 - Summary Table CA3 (3310-CA3-SD)' + ), + 'B' => array( + 'title' => 'B. Décompte de la TVA due (VAT Due Calculation)', + 'description' => 'VAT amounts due, calculated on A1/A2 bases per applicable rate', + 'notice' => 'Notice 4722 - VAT Due Calculation' ) ); } diff --git a/langs/en_US/declarationtva.lang b/langs/en_US/declarationtva.lang index 7f313f0..75ffbca 100644 --- a/langs/en_US/declarationtva.lang +++ b/langs/en_US/declarationtva.lang @@ -333,6 +333,7 @@ DeclarationTVASeasonalAnalysis = Seasonal Analysis # CA-3 Section Headers (Notice 4722) CA3SectionA = Taxable Operations +CA3SectionB = VAT Due Calculation CA3Notice4722 = Notice 4722 - Summary Table CA3 (3310-CA3-SD) # CA-3 Line Labels (Notice 4722) @@ -342,6 +343,12 @@ CA3LineA3 = HT amount of services purchased from providers not established in Fr CA3LineA4 = HT amount of imports taxable in France (non-EU), excluding petroleum products CA3LineA5 = HT amount of taxable operations at exit from a suspensive fiscal regime (customs regimes, free zones, etc.) +# Section B - VAT Due Calculation +CA3Line08 = VAT due at 20% rate +CA3Line09 = VAT due at 10% rate +CA3Line9B = VAT due at reduced rates (5,5% and 2,1%) +CA3Line17 = VAT due on intra-EU acquisitions (autoliquidation) + # Form Labels Description = Description PCGAccounts = PCG Accounts diff --git a/langs/fr_FR/declarationtva.lang b/langs/fr_FR/declarationtva.lang index a6884c8..2259610 100644 --- a/langs/fr_FR/declarationtva.lang +++ b/langs/fr_FR/declarationtva.lang @@ -322,6 +322,7 @@ DeclarationTVASeasonalAnalysis = Analyse saisonnière # En-têtes des sections CA-3 (Notice 4722) CA3SectionA = Opérations imposables +CA3SectionB = Décompte de la TVA due CA3Notice4722 = Notice 4722 - Tableau récapitulatif CA3 (3310-CA3-SD) # Labels des lignes CA-3 (Notice 4722) @@ -331,6 +332,12 @@ CA3LineA3 = Montant HT des services achetés à des prestataires non établis en CA3LineA4 = Montant HT des importations imposables en France (hors UE), à l'exclusion des produits pétroliers CA3LineA5 = Montant HT des opérations imposables à la sortie d'un régime fiscal suspensif (régimes douaniers, zones franches, etc.) +# Section B - Décompte de la TVA due +CA3Line08 = TVA due au taux de 20% +CA3Line09 = TVA due au taux de 10% +CA3Line9B = TVA due aux taux réduits (5,5% et 2,1%) +CA3Line17 = TVA due au titre des acquisitions intracommunautaires (autoliquidation) + # Labels de formulaire Description = Description PCGAccounts = Comptes PCG