Openbravo Issue Tracking System - Localization Pack: Spain |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0046163 | Localization Pack: Spain | SII | public | 2021-03-26 12:53 | 2021-04-29 09:18 |
|
Reporter | Alberto_Sola | |
Assigned To | juabaez | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Regression date | |
Regression introduced by commit | |
Regression level | |
Review Assigned To | |
Support ticket | |
OBNetwork customer | |
Regression introduced in release | |
|
Summary | 0046163: Error de validación al enviar una factura de venta no sujeta con ISP |
Description | Al tratar de enviar una factura de venta no sujeta con ISP y la diferencia entre la BI y el total de la factura es superior a 10 € se obtiene un error de validación.
|
Steps To Reproduce | 1º Crear factura de venta.
2º Rellenar la linea de factura con un impuesto asociado no sujeto y con ISP.
3º La diferencia entre la BI y el total de la factura debe ser superior a 10 €.
4º Enviar al SII.
5º Se obtiene error de validación. |
Proposed Solution | En el caso de operaciones de venta con impuestos de venta (Sales Tax) marcados como "No Sujetos" Not Taxable = YES, el tag <sii:ImporteTotal>10.00</sii:ImporteTotal>, no debe incluir ninguna cuota de impuesto.
|
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | validación de la AEAT.JPG (132,488) 2021-03-26 12:53 https://issues.openbravo.com/file_download.php?file_id=15469&type=bug
|
|
Issue History |
Date Modified | Username | Field | Change |
2021-03-26 12:53 | Alberto_Sola | New Issue | |
2021-03-26 12:53 | Alberto_Sola | Assigned To | => Jorge Bravo |
2021-03-26 12:53 | Alberto_Sola | File Added: validación de la AEAT.JPG | |
2021-03-26 12:53 | Alberto_Sola | Issue Monitored: Alberto_Sola | |
2021-03-26 15:07 | psanjuan | Assigned To | Jorge Bravo => psanjuan |
2021-04-16 13:33 | psanjuan | Proposed Solution updated | |
2021-04-16 13:37 | psanjuan | Note Added: 0127311 | |
2021-04-16 13:38 | psanjuan | Note Edited: 0127311 | bug_revision_view_page.php?bugnote_id=0127311#r22326 |
2021-04-16 13:41 | psanjuan | Note Edited: 0127311 | bug_revision_view_page.php?bugnote_id=0127311#r22327 |
2021-04-16 13:47 | psanjuan | Note Edited: 0127311 | bug_revision_view_page.php?bugnote_id=0127311#r22328 |
2021-04-16 13:48 | psanjuan | Note Edited: 0127311 | bug_revision_view_page.php?bugnote_id=0127311#r22329 |
2021-04-22 15:37 | Jorge Bravo | Assigned To | psanjuan => juabaez |
2021-04-22 17:12 | juabaez | Status | new => scheduled |
2021-04-23 15:22 | juabaez | Note Added: 0127512 | |
2021-04-26 13:52 | hgbot | Note Added: 0127536 | |
2021-04-27 18:01 | psanjuan | Note Edited: 0127512 | bug_revision_view_page.php?bugnote_id=0127512#r22374 |
2021-04-28 20:57 | juabaez | Note Edited: 0127512 | bug_revision_view_page.php?bugnote_id=0127512#r22383 |
2021-04-29 09:18 | hgbot | Note Added: 0127633 | |
2021-04-29 09:18 | hgbot | Resolution | open => fixed |
2021-04-29 09:18 | hgbot | Status | scheduled => closed |
2021-04-29 09:18 | hgbot | Note Added: 0127634 | |
2021-04-29 09:18 | hgbot | Note Added: 0127635 | |
2021-04-29 09:18 | hgbot | Note Added: 0127636 | |
2021-04-29 09:18 | hgbot | Note Added: 0127637 | |
2021-04-29 09:18 | hgbot | Note Added: 0127638 | |
2021-04-29 09:18 | hgbot | Note Added: 0127639 | |
2021-04-29 09:45 | psanjuan | Note Edited: 0127512 | bug_revision_view_page.php?bugnote_id=0127512#r22384 |
Notes |
|
(0127311)
|
psanjuan
|
2021-04-16 13:37
(edited on: 2021-04-16 13:48) |
|
Bienes
Crear un tipo de impuesto con los siguientes datos:
Nombre = IVA Aleman 19%
Sales Tax Rate
Categoria = IVA Normal
configuración = Not Taxable = Yes
Rate 19%
Correct XML - ver <sii:ImporteTotal>30.03</sii:ImporteTotal>
</sii:PeriodoLiquidacion>
<siiLR:IDFactura>
<sii:IDEmisorFactura>
<sii:NIF>02889768W</sii:NIF>
</sii:IDEmisorFactura>
<sii:NumSerieFacturaEmisor>SPRI1000040</sii:NumSerieFacturaEmisor>
<sii:FechaExpedicionFacturaEmisor>16-04-2021</sii:FechaExpedicionFacturaEmisor>
</siiLR:IDFactura>
<siiLR:FacturaExpedida>
<sii:TipoFactura>F1</sii:TipoFactura>
<sii:FechaOperacion>16-04-2021</sii:FechaOperacion>
<sii:ClaveRegimenEspecialOTrascendencia>01</sii:ClaveRegimenEspecialOTrascendencia>
<sii:ImporteTotal>30.03</sii:ImporteTotal>
<sii:DescripcionOperacion>TEST VENTA</sii:DescripcionOperacion>
<sii:FacturaSimplificadaArticulos7.2_7.3>N</sii:FacturaSimplificadaArticulos7.2_7.3>
<sii:Macrodato>N</sii:Macrodato>
<sii:Contraparte>
<sii:NombreRazon>Cliente Intracomunitario</sii:NombreRazon>
<sii:IDOtro>
<sii:CodigoPais>DE</sii:CodigoPais>
<sii:IDType>02</sii:IDType>
<sii:ID>DE812871812</sii:ID>
</sii:IDOtro>
</sii:Contraparte>
<sii:TipoDesglose>
<sii:DesgloseTipoOperacion>
<sii:Entrega>
<sii:NoSujeta>
<sii:ImportePorArticulos7_14_Otros>30.03</sii:ImportePorArticulos7_14_Otros>
</sii:NoSujeta>
</sii:Entrega>
</sii:DesgloseTipoOperacion>
</sii:TipoDesglose>
</siiLR:FacturaExpedida>
</siiLR:RegistroLRFacturasEmitidas>
Servicios (ISP)
Crear un tipo de impuesto con los siguientes datos:
Nombre = IVA Aleman 19% servicios
Sales Tax Rate
Categoria = IVA Normal Servicios
configuración = Not Taxable = Yes ; Reverse Charge = Yes
Rate 19%
Correct XML - ver <sii:ImporteTotal>8.40</sii:ImporteTotal>
<siiLR:IDFactura>
<sii:IDEmisorFactura>
<sii:NIF>02889768W</sii:NIF>
</sii:IDEmisorFactura>
<sii:NumSerieFacturaEmisor>SPRI1000039</sii:NumSerieFacturaEmisor>
<sii:FechaExpedicionFacturaEmisor>16-04-2021</sii:FechaExpedicionFacturaEmisor>
</siiLR:IDFactura>
<siiLR:FacturaExpedida>
<sii:TipoFactura>F1</sii:TipoFactura>
<sii:FechaOperacion>16-04-2021</sii:FechaOperacion>
<sii:ClaveRegimenEspecialOTrascendencia>01</sii:ClaveRegimenEspecialOTrascendencia>
<sii:ImporteTotal>8.40</sii:ImporteTotal>
<sii:DescripcionOperacion>TEST VENTA</sii:DescripcionOperacion>
<sii:FacturaSimplificadaArticulos7.2_7.3>N</sii:FacturaSimplificadaArticulos7.2_7.3>
<sii:Macrodato>N</sii:Macrodato>
<sii:Contraparte>
<sii:NombreRazon>Cliente Alemania</sii:NombreRazon>
<sii:IDOtro>
<sii:CodigoPais>DE</sii:CodigoPais>
<sii:IDType>02</sii:IDType>
<sii:ID>DE812871812</sii:ID>
</sii:IDOtro>
</sii:Contraparte>
<sii:TipoDesglose>
<sii:DesgloseTipoOperacion>
<sii:PrestacionServicios>
<sii:NoSujeta>
<sii:ImporteTAIReglasLocalizacion>8.40</sii:ImporteTAIReglasLocalizacion>
</sii:NoSujeta>
</sii:PrestacionServicios>
</sii:DesgloseTipoOperacion>
</sii:TipoDesglose>
</siiLR:FacturaExpedida>
</siiLR:RegistroLRFacturasEmitidas>
|
|
|
(0127512)
|
juabaez
|
2021-04-23 15:22
(edited on: 2021-04-29 09:45) |
|
Antes del test plan se deben crear los siguientes impuestos.
Crear un tipo de impuesto con los siguientes datos: (Para bienes)
Nombre = IVA Aleman 19%
Sales Tax Rate
Categoría = IVA Normal
configuración = Not Taxable = Yes
Rate 19%
Crear un tipo de impuesto con los siguientes datos: (Para servicios)
Nombre = IVA Aleman 19% servicios
Sales Tax Rate
Categoría = IVA Normal Servicios
configuración = Not Taxable = Yes ; Reverse Charge = Yes
Rate 19%
----------------------------------------------------------------------------
Test plan 1:
- Crear una factura de venta para un cliente con NIF.
- Crear una linea con un bien, por cantidad 1 y precio unitario 20
- Elegir el impuesto IVA Aleman 19%
- El total de la factura debe quedar 23.8
- Completar la factura de venta.
- Enviar al SII.
- Corroborar en el xml enviado que el importe del tag ImporteTotal es igual al importe de ImportePorArticulos7_14_Otros
- Corroborar que se desglose por tipo de operación, No sujeto, Entrega.
Test plan 2:
- Crear una factura de venta para un cliente con NIF.
- Crear una linea con un servicio, por cantidad 1 y precio unitario 35
- Elegir el impuesto IVA Aleman 19% servicios
- El total de la factura debe quedar 42.35
- Completar la factura de venta.
- Enviar al SII.
- Corroborar en el xml enviado que el importe del tag ImporteTotal es igual al importe de ImporteTAIReglasLocalizacion
- Corroborar que se desglose por tipo de operación, No sujeto, PrestacionServicios.
Test plan 3.
- Incluir en la misma factura de venta, líneas con los dos impuestos, y comprobar que el importe total, es la suma de las bases ImportePorArticulos7_14_Otros + ImporteTAIReglasLocalizacion
Test plan 4:
- Crear una factura de venta SIMPLIFICADA para un cliente anonimo (sin NIF).
- Crear una linea con un bien, por cantidad 1 y precio unitario 20
- Elegir el impuesto Entregas IVA 21%
- El total de la factura debe quedar 24.20
- Completar la factura de venta.
- Enviar al SII.
- No debe dar ningun error al enviar el xml, y debe quedar bien registrado
Test plan 5:
- Realizar un abono de la factura simplificada del caso anterior, que una vez en el backoffice se debe crear como Corrective Invoice, Por Diferencias de tipo R5.
- Enviar al SII
- Verificar que no se produce ningún error.
Test plan 6:
- Crear una factura de venta para un cliente con NIF.
- Crear una linea con un bien, por cantidad 10 y precio unitario 150.5
- Elegir el impuesto Entregas no sujetas con dcho deducción
- Crear una linea con un servicio, por cantidad 50 y precio unitario 154.5
- Elegir el impuesto Servicios prestados no sujetos con dcho deducción
- El total de la factura debe quedar 9230
- Completar la factura de venta.
- Enviar al SII.
- Corroborar que el tag ImportePorArticulos7_14_Otros debe ser igual al total de la factura y al tag ImporteTotal
|
|
|
(0127536)
|
hgbot
|
2021-04-26 13:52
|
|
|
|
(0127633)
|
hgbot
|
2021-04-29 09:18
|
|
|
|
(0127634)
|
hgbot
|
2021-04-29 09:18
|
|
|
|
(0127635)
|
hgbot
|
2021-04-29 09:18
|
|
|
|
(0127636)
|
hgbot
|
2021-04-29 09:18
|
|
|
|
(0127637)
|
hgbot
|
2021-04-29 09:18
|
|
|
|
(0127638)
|
hgbot
|
2021-04-29 09:18
|
|
|
|
(0127639)
|
hgbot
|
2021-04-29 09:18
|
|
|