Commit c121f69
committed
fix(l10n_es_aeat_mod390): Net REAGP rectifications into annual totals
Fixes issue where REAGP compensation rectifications were not incorporated into
Modelo 390 annual totals. Rectifications were being incorrectly routed to
'Rectificación de deducciones' lines instead of being netted into the REAGP
compensation totals.
Changes:
- Fields 60/61 (REAGP Base/Cuota): Change move_type from 'regular' to 'all'
to include both invoices and refund/rectification moves
- Fields 60/61: Add livestock/fishing REAGP tax id (p_iva105_gan) alongside
agriculture (p_iva12_agr)
- Tax mapping: Add missing p_iva105_gan mapping to account_tax_template_p_iva105_gan
This ensures:
1. REAGP totals include both positive compensations and rectifications (net)
2. Rectifications no longer appear under deductions rectification lines
3. Consistency with Modelo 303 quarterly reporting (box 42)
4. 2025 schema benefits via proper field_number assignment in 2024 mapping1 parent 36eda04 commit c121f69
File tree
3 files changed
+4
-3
lines changed- l10n_es_aeat_mod390
- data/2024
3 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
0 commit comments