-
-
Notifications
You must be signed in to change notification settings - Fork 523
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] l10n_es_aeat_sii_invoice_summary: añadir rectificativas y tests
- Loading branch information
1 parent
b4a1a0d
commit 94ce154
Showing
25 changed files
with
1,230 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import test_l10n_es_aeat_sii_invoice_summary |
41 changes: 41 additions & 0 deletions
41
l10n_es_aeat_sii_invoice_summary/tests/json/sii_out_invoice_s_iva0_sp_i_s_iva0_ic_dict.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"IDFactura": { | ||
"IDEmisorFactura": { | ||
"NIF": "U2687761C" | ||
}, | ||
"NumSerieFacturaEmisor": "1", | ||
"FechaExpedicionFacturaEmisor": "01-01-2020", | ||
"NumSerieFacturaEmisorResumenFin": "10" | ||
}, | ||
"PeriodoLiquidacion": { | ||
"Ejercicio": 2020, | ||
"Periodo": "01" | ||
}, | ||
"FacturaExpedida": { | ||
"TipoFactura": "F4", | ||
"ClaveRegimenEspecialOTrascendencia": "01", | ||
"DescripcionOperacion": "/", | ||
"TipoDesglose": { | ||
"DesgloseTipoOperacion": { | ||
"PrestacionServicios": { | ||
"NoSujeta": { | ||
"ImporteTAIReglasLocalizacion": 100.0 | ||
} | ||
}, | ||
"Entrega": { | ||
"Sujeta": { | ||
"Exenta": { | ||
"DetalleExenta": [ | ||
{ | ||
"BaseImponible": 200.0, | ||
"CausaExencion": "E5" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"ImporteTotal": 300.0 | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
..._aeat_sii_invoice_summary/tests/json/sii_out_invoice_s_iva0_sp_i_s_iva0_ic_same_dict.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"IDFactura": { | ||
"IDEmisorFactura": { | ||
"NIF": "U2687761C" | ||
}, | ||
"NumSerieFacturaEmisor": "TEST001", | ||
"FechaExpedicionFacturaEmisor": "01-01-2020" | ||
}, | ||
"PeriodoLiquidacion": { | ||
"Ejercicio": 2020, | ||
"Periodo": "01" | ||
}, | ||
"FacturaExpedida": { | ||
"TipoFactura": "F2", | ||
"ClaveRegimenEspecialOTrascendencia": "01", | ||
"DescripcionOperacion": "/", | ||
"TipoDesglose": { | ||
"DesgloseTipoOperacion": { | ||
"PrestacionServicios": { | ||
"NoSujeta": { | ||
"ImporteTAIReglasLocalizacion": 100.0 | ||
} | ||
}, | ||
"Entrega": { | ||
"Sujeta": { | ||
"Exenta": { | ||
"DetalleExenta": [ | ||
{ | ||
"BaseImponible": 200.0, | ||
"CausaExencion": "E5" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"ImporteTotal": 300.0 | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
l10n_es_aeat_sii_invoice_summary/tests/json/sii_out_invoice_s_iva10b_dict.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"IDFactura": { | ||
"IDEmisorFactura": { | ||
"NIF": "U2687761C" | ||
}, | ||
"NumSerieFacturaEmisor": "1", | ||
"FechaExpedicionFacturaEmisor": "01-01-2020", | ||
"NumSerieFacturaEmisorResumenFin": "10" | ||
}, | ||
"PeriodoLiquidacion": { | ||
"Ejercicio": 2020, | ||
"Periodo": "01" | ||
}, | ||
"FacturaExpedida": { | ||
"TipoFactura": "F4", | ||
"ClaveRegimenEspecialOTrascendencia": "01", | ||
"DescripcionOperacion": "/", | ||
"TipoDesglose": { | ||
"DesgloseFactura": { | ||
"Sujeta": { | ||
"NoExenta": { | ||
"TipoNoExenta": "S1", | ||
"DesgloseIVA": { | ||
"DetalleIVA": [ | ||
{ | ||
"TipoImpositivo": "10.0", | ||
"BaseImponible": 83.33, | ||
"CuotaRepercutida": 8.33 | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"ImporteTotal": 91.66 | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
l10n_es_aeat_sii_invoice_summary/tests/json/sii_out_invoice_s_iva10b_s_irpf1_dict.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"IDFactura": { | ||
"IDEmisorFactura": { | ||
"NIF": "U2687761C" | ||
}, | ||
"NumSerieFacturaEmisor": "1", | ||
"FechaExpedicionFacturaEmisor": "01-01-2020", | ||
"NumSerieFacturaEmisorResumenFin": "10" | ||
}, | ||
"PeriodoLiquidacion": { | ||
"Ejercicio": 2020, | ||
"Periodo": "01" | ||
}, | ||
"FacturaExpedida": { | ||
"TipoFactura": "F4", | ||
"ClaveRegimenEspecialOTrascendencia": "01", | ||
"DescripcionOperacion": "/", | ||
"TipoDesglose": { | ||
"DesgloseFactura": { | ||
"Sujeta": { | ||
"NoExenta": { | ||
"TipoNoExenta": "S1", | ||
"DesgloseIVA": { | ||
"DetalleIVA": [ | ||
{ | ||
"TipoImpositivo": "10.0", | ||
"BaseImponible": 83.33, | ||
"CuotaRepercutida": 8.33 | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"ImporteTotal": 91.66 | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
l10n_es_aeat_sii_invoice_summary/tests/json/sii_out_invoice_s_iva10b_s_irpf1_same_dict.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"IDFactura": { | ||
"IDEmisorFactura": { | ||
"NIF": "U2687761C" | ||
}, | ||
"NumSerieFacturaEmisor": "TEST001", | ||
"FechaExpedicionFacturaEmisor": "01-01-2020" | ||
}, | ||
"PeriodoLiquidacion": { | ||
"Ejercicio": 2020, | ||
"Periodo": "01" | ||
}, | ||
"FacturaExpedida": { | ||
"TipoFactura": "F2", | ||
"ClaveRegimenEspecialOTrascendencia": "01", | ||
"DescripcionOperacion": "/", | ||
"TipoDesglose": { | ||
"DesgloseFactura": { | ||
"Sujeta": { | ||
"NoExenta": { | ||
"TipoNoExenta": "S1", | ||
"DesgloseIVA": { | ||
"DetalleIVA": [ | ||
{ | ||
"TipoImpositivo": "10.0", | ||
"BaseImponible": 83.33, | ||
"CuotaRepercutida": 8.33 | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"ImporteTotal": 91.66 | ||
} | ||
} |
Oops, something went wrong.