Complete CA-3 structure with all three sections
- Add Section A: TVA collectée (Output VAT) - Boxes 01, 02, 03, 05, 08 - Add Section B: TVA déductible (Input VAT) - Boxes 20, 21, 22 - Add Section C: Résultat (Result) - Boxes 25, 26, 28, 29 - Update French translations with complete box descriptions - Update English translations with full CA-3 structure - Add PCG account mappings for all sections - Update task list with complete calculation logic - Include automatic totals and net calculations - Add new task for complete CA-3 form structure implementation
This commit is contained in:
parent
1720dadd7a
commit
c240ef9769
21
PLANNING.md
21
PLANNING.md
@ -14,7 +14,9 @@ This Dolibarr module creates the French VAT declaration CA-3 (Déclaration de TV
|
||||
- **Main Interface**: `declarationtvaindex.php` - Main module page
|
||||
|
||||
### CA-3 Box Structure
|
||||
The module handles the following CA-3 boxes:
|
||||
The module handles the complete French CA-3 VAT declaration structure:
|
||||
|
||||
#### A. TVA collectée (Output VAT – amounts due)
|
||||
|
||||
| Box | Label | Description | PCG Accounts |
|
||||
|-----|-------|-------------|---------------|
|
||||
@ -24,6 +26,23 @@ The module handles the following CA-3 boxes:
|
||||
| 05 | Importations | Imports from outside EU | 4452xxx (TVA due sur importations) |
|
||||
| 08 | Autres opérations imposables | Specific operations (reverse charge on services, etc.) | 4452xxx |
|
||||
|
||||
#### B. TVA déductible (Input VAT – amounts reclaimable)
|
||||
|
||||
| Box | Label | Description | PCG Accounts |
|
||||
|-----|-------|-------------|---------------|
|
||||
| 20 | TVA déductible sur immobilisations | Deductible VAT on capital goods (fixed assets) | 44562x |
|
||||
| 21 | TVA déductible sur autres biens et services | Deductible VAT on operating expenses | 44566x |
|
||||
| 22 | TVA déductible sur importations | Deductible VAT self-assessed on imports | 44566x / 44562x (depending on expense vs immobilisation) |
|
||||
|
||||
#### C. Résultat (Result)
|
||||
|
||||
| Box | Label | Description | PCG Accounts |
|
||||
|-----|-------|-------------|---------------|
|
||||
| 25 | TVA brute due | Sum of boxes 01 + 02 + 03 + 05 + 08 | 4457xx (collected) + 4452xx (autoliquidated VAT due) |
|
||||
| 26 | TVA déductible totale | Sum of 20 + 21 + 22 | 4456xx (deductible) |
|
||||
| 28 | TVA nette due | 25 – 26 if positive | Transfer to 445510 (État – TVA à décaisser) |
|
||||
| 29 | Crédit de TVA | If deductible > due | Transfer to 445670 (État – Crédit de TVA à reporter ou rembourser) |
|
||||
|
||||
## Technical Requirements
|
||||
|
||||
### Database Structure
|
||||
|
||||
19
TASK.md
19
TASK.md
@ -120,12 +120,11 @@
|
||||
- **Dependencies**: Task 1.2.1
|
||||
|
||||
- [ ] **Task 3.1.2**: Implement CA-3 calculation logic
|
||||
- Box 01: Domestic sales
|
||||
- Box 02: Other taxable operations
|
||||
- Box 03: Intra-EU acquisitions
|
||||
- Box 05: Imports
|
||||
- Box 08: Other operations
|
||||
- **Estimated**: 15 hours
|
||||
- Section A (Output VAT): Boxes 01, 02, 03, 05, 08
|
||||
- Section B (Input VAT): Boxes 20, 21, 22
|
||||
- Section C (Result): Boxes 25, 26, 28, 29
|
||||
- Automatic calculation of totals and net amounts
|
||||
- **Estimated**: 20 hours
|
||||
- **Dependencies**: Task 3.1.1
|
||||
|
||||
- [ ] **Task 3.1.3**: Add data validation
|
||||
@ -135,6 +134,14 @@
|
||||
- **Estimated**: 8 hours
|
||||
- **Dependencies**: Task 3.1.2
|
||||
|
||||
- [ ] **Task 3.1.4**: Implement complete CA-3 form structure
|
||||
- Section A: TVA collectée (Output VAT) - Boxes 01, 02, 03, 05, 08
|
||||
- Section B: TVA déductible (Input VAT) - Boxes 20, 21, 22
|
||||
- Section C: Résultat (Result) - Boxes 25, 26, 28, 29
|
||||
- Automatic section totals and net calculations
|
||||
- **Estimated**: 10 hours
|
||||
- **Dependencies**: Task 3.1.2
|
||||
|
||||
### 3.2 Period Management
|
||||
- [ ] **Task 3.2.1**: Implement period calculation
|
||||
- Automatic period detection
|
||||
|
||||
@ -39,7 +39,7 @@ MyPageName = My page name
|
||||
DECLARATIONTVA_PCG_CONFIG = PCG Account Configuration
|
||||
DECLARATIONTVA_PCG_CONFIG_TOOLTIP = Configuration of General Chart of Accounts for each CA3 box
|
||||
|
||||
# CA3 Boxes
|
||||
# CA3 Boxes - Section A: Output VAT
|
||||
DECLARATIONTVA_BOX_01 = Box 01 - Domestic sales of goods and services
|
||||
DECLARATIONTVA_BOX_01_TOOLTIP = Domestic sales at 20% (or reduced rates)
|
||||
DECLARATIONTVA_BOX_02 = Box 02 - Other taxable operations
|
||||
@ -51,13 +51,31 @@ DECLARATIONTVA_BOX_05_TOOLTIP = Imports from outside EU
|
||||
DECLARATIONTVA_BOX_08 = Box 08 - Other taxable operations
|
||||
DECLARATIONTVA_BOX_08_TOOLTIP = Specific operations (reverse charge on services, etc.)
|
||||
|
||||
# CA3 Boxes - Section B: Input VAT
|
||||
DECLARATIONTVA_BOX_20 = Box 20 - Deductible VAT on capital goods
|
||||
DECLARATIONTVA_BOX_20_TOOLTIP = Deductible VAT on fixed assets
|
||||
DECLARATIONTVA_BOX_21 = Box 21 - Deductible VAT on other goods and services
|
||||
DECLARATIONTVA_BOX_21_TOOLTIP = Deductible VAT on operating expenses
|
||||
DECLARATIONTVA_BOX_22 = Box 22 - Deductible VAT on imports
|
||||
DECLARATIONTVA_BOX_22_TOOLTIP = Self-assessed deductible VAT on imports
|
||||
|
||||
# CA3 Boxes - Section C: Result
|
||||
DECLARATIONTVA_BOX_25 = Box 25 - Total VAT due
|
||||
DECLARATIONTVA_BOX_25_TOOLTIP = Sum of boxes 01 + 02 + 03 + 05 + 08
|
||||
DECLARATIONTVA_BOX_26 = Box 26 - Total deductible VAT
|
||||
DECLARATIONTVA_BOX_26_TOOLTIP = Sum of boxes 20 + 21 + 22
|
||||
DECLARATIONTVA_BOX_28 = Box 28 - Net VAT due
|
||||
DECLARATIONTVA_BOX_28_TOOLTIP = VAT due if positive (25 - 26)
|
||||
DECLARATIONTVA_BOX_29 = Box 29 - VAT credit
|
||||
DECLARATIONTVA_BOX_29_TOOLTIP = VAT credit if deductible > due
|
||||
|
||||
# VAT Rates
|
||||
DECLARATIONTVA_RATE_20 = Rate 20%
|
||||
DECLARATIONTVA_RATE_10 = Rate 10%
|
||||
DECLARATIONTVA_RATE_5_5 = Rate 5.5%
|
||||
DECLARATIONTVA_RATE_2_1 = Rate 2.1%
|
||||
|
||||
# PCG Accounts
|
||||
# PCG Accounts - Section A: Output VAT
|
||||
DECLARATIONTVA_PCG_SALES = Sales accounts (7xxxx)
|
||||
DECLARATIONTVA_PCG_VAT_COLLECTED_20 = VAT collected 20% (44571x)
|
||||
DECLARATIONTVA_PCG_VAT_COLLECTED_10 = VAT collected 10% (44572x)
|
||||
@ -66,6 +84,15 @@ DECLARATIONTVA_PCG_VAT_COLLECTED_2_1 = VAT collected 2.1% (44574x)
|
||||
DECLARATIONTVA_PCG_VAT_DUE_INTRA = VAT due intra-EU (4452xxx)
|
||||
DECLARATIONTVA_PCG_VAT_DUE_IMPORT = VAT due on imports (4452xxx)
|
||||
|
||||
# PCG Accounts - Section B: Input VAT
|
||||
DECLARATIONTVA_PCG_VAT_DEDUCTIBLE_IMMO = Deductible VAT on capital goods (44562x)
|
||||
DECLARATIONTVA_PCG_VAT_DEDUCTIBLE_EXPENSES = Deductible VAT on expenses (44566x)
|
||||
DECLARATIONTVA_PCG_VAT_DEDUCTIBLE_IMPORT = Deductible VAT on imports (44566x/44562x)
|
||||
|
||||
# PCG Accounts - Section C: Result
|
||||
DECLARATIONTVA_PCG_VAT_TO_PAY = VAT to pay (445510)
|
||||
DECLARATIONTVA_PCG_VAT_CREDIT = VAT credit (445670)
|
||||
|
||||
# Periods
|
||||
DECLARATIONTVA_PERIOD_QUARTERLY = Quarterly
|
||||
DECLARATIONTVA_PERIOD_MONTHLY = Monthly
|
||||
|
||||
@ -21,7 +21,7 @@ NewSection = Nouvelle section
|
||||
DECLARATIONTVA_PCG_CONFIG = Configuration des comptes PCG
|
||||
DECLARATIONTVA_PCG_CONFIG_TOOLTIP = Configuration des comptes du Plan Comptable Général pour chaque case de la CA3
|
||||
|
||||
# Cases CA3
|
||||
# Cases CA3 - Section A: TVA collectée
|
||||
DECLARATIONTVA_BOX_01 = Case 01 - Livraisons de biens et prestations de services imposables en France
|
||||
DECLARATIONTVA_BOX_01_TOOLTIP = Ventes domestiques au taux de 20% (ou taux réduits)
|
||||
DECLARATIONTVA_BOX_02 = Case 02 - Autres opérations imposables
|
||||
@ -33,13 +33,31 @@ DECLARATIONTVA_BOX_05_TOOLTIP = Importations en provenance de pays hors UE
|
||||
DECLARATIONTVA_BOX_08 = Case 08 - Autres opérations imposables
|
||||
DECLARATIONTVA_BOX_08_TOOLTIP = Opérations spécifiques (autoliquidation sur services, etc.)
|
||||
|
||||
# Cases CA3 - Section B: TVA déductible
|
||||
DECLARATIONTVA_BOX_20 = Case 20 - TVA déductible sur immobilisations
|
||||
DECLARATIONTVA_BOX_20_TOOLTIP = TVA déductible sur biens d'équipement (immobilisations)
|
||||
DECLARATIONTVA_BOX_21 = Case 21 - TVA déductible sur autres biens et services
|
||||
DECLARATIONTVA_BOX_21_TOOLTIP = TVA déductible sur charges d'exploitation
|
||||
DECLARATIONTVA_BOX_22 = Case 22 - TVA déductible sur importations
|
||||
DECLARATIONTVA_BOX_22_TOOLTIP = TVA déductible autoliquidée sur importations
|
||||
|
||||
# Cases CA3 - Section C: Résultat
|
||||
DECLARATIONTVA_BOX_25 = Case 25 - TVA brute due
|
||||
DECLARATIONTVA_BOX_25_TOOLTIP = Somme des cases 01 + 02 + 03 + 05 + 08
|
||||
DECLARATIONTVA_BOX_26 = Case 26 - TVA déductible totale
|
||||
DECLARATIONTVA_BOX_26_TOOLTIP = Somme des cases 20 + 21 + 22
|
||||
DECLARATIONTVA_BOX_28 = Case 28 - TVA nette due
|
||||
DECLARATIONTVA_BOX_28_TOOLTIP = TVA due si positive (25 - 26)
|
||||
DECLARATIONTVA_BOX_29 = Case 29 - Crédit de TVA
|
||||
DECLARATIONTVA_BOX_29_TOOLTIP = Crédit de TVA si déductible > due
|
||||
|
||||
# Taux de TVA
|
||||
DECLARATIONTVA_RATE_20 = Taux 20%
|
||||
DECLARATIONTVA_RATE_10 = Taux 10%
|
||||
DECLARATIONTVA_RATE_5_5 = Taux 5,5%
|
||||
DECLARATIONTVA_RATE_2_1 = Taux 2,1%
|
||||
|
||||
# Comptes PCG
|
||||
# Comptes PCG - Section A: TVA collectée
|
||||
DECLARATIONTVA_PCG_SALES = Comptes de vente (7xxxx)
|
||||
DECLARATIONTVA_PCG_VAT_COLLECTED_20 = TVA collectée 20% (44571x)
|
||||
DECLARATIONTVA_PCG_VAT_COLLECTED_10 = TVA collectée 10% (44572x)
|
||||
@ -48,6 +66,15 @@ DECLARATIONTVA_PCG_VAT_COLLECTED_2_1 = TVA collectée 2,1% (44574x)
|
||||
DECLARATIONTVA_PCG_VAT_DUE_INTRA = TVA due intracommunautaire (4452xxx)
|
||||
DECLARATIONTVA_PCG_VAT_DUE_IMPORT = TVA due sur importations (4452xxx)
|
||||
|
||||
# Comptes PCG - Section B: TVA déductible
|
||||
DECLARATIONTVA_PCG_VAT_DEDUCTIBLE_IMMO = TVA déductible sur immobilisations (44562x)
|
||||
DECLARATIONTVA_PCG_VAT_DEDUCTIBLE_EXPENSES = TVA déductible sur charges (44566x)
|
||||
DECLARATIONTVA_PCG_VAT_DEDUCTIBLE_IMPORT = TVA déductible sur importations (44566x/44562x)
|
||||
|
||||
# Comptes PCG - Section C: Résultat
|
||||
DECLARATIONTVA_PCG_VAT_TO_PAY = TVA à décaisser (445510)
|
||||
DECLARATIONTVA_PCG_VAT_CREDIT = Crédit de TVA (445670)
|
||||
|
||||
# Périodes
|
||||
DECLARATIONTVA_PERIOD_QUARTERLY = Trimestrielle
|
||||
DECLARATIONTVA_PERIOD_MONTHLY = Mensuelle
|
||||
|
||||
Loading…
Reference in New Issue
Block a user