Openbravo Issue Tracking System - Localization Pack: Spain |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0046426 | Localization Pack: Spain | SII | public | 2021-04-29 15:46 | 2021-05-12 09:43 |
|
Reporter | ivancaceres | |
Assigned To | juabaez | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | approved |
Regression date | |
Regression introduced by commit | |
Regression level | |
Review Assigned To | |
Support ticket | |
OBNetwork customer | No |
Regression introduced in release | |
|
Summary | 0046426: La validación LRFR. IGIC/IPSI. Clave 08 sólo está implementada para el IGIC |
Description | Según las nuevas validaciones del SII:
Cúando sólo se marque una clave de régimen y sea 08, el campo "Cuota Deducible" tiene que ser 0.
En el caso del IPSI, está validación no está funcionando, dando un error al enviar al SII
Ejemplo de impuesto utilizado:
Categoria "IPSI General", tipo "Adquisiciones IPSI 4%"
Categoria "IPSI General Servicios", tipo "Prestación servicios en Ceuta/Melilla 4%" |
Steps To Reproduce | Configura SII para la Entidad Legal de forma que el Tax Type sea = a IVA.
Crear una factura de compra en dicha entidad legal con un impuesto del tipo IPSI anterior, por un importe superior a 100€
Enviar a SII.
Se produce el error adjunto.
|
Proposed Solution | Las cuotas de impuesto de las transacciones de compra asociadas a Tax Rates con una categoría de Impuesto que tengan definido un Tax Type = IPSI o IGIC que se envien a la AEAT como Clave de Operación "08":
1.- no deben incluirse en el campo del XMl "Importe Total".
Por tanto debe haber el mismo importe en los campos <sii:ImporteTotal>340.91</sii:ImporteTotal> y <sii:BaseImponible>340.91</sii:BaseImponible>
2.- y, además no se incluirán como cuota deducible (ver fix adjunto). |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0046457 | | closed | juabaez | Error de Importe total en las facturas de venta con IPSI e IGIC |
|
Attached Files | Screenshot from 2021-05-03 11-59-16.png (200,590) 2021-05-03 12:00 https://issues.openbravo.com/file_download.php?file_id=15616&type=bug

issue46426.png (33,331) 2021-05-03 12:02 https://issues.openbravo.com/file_download.php?file_id=15617&type=bug

Screenshot from 2021-05-03 12-43-53.png (179,632) 2021-05-03 12:44 https://issues.openbravo.com/file_download.php?file_id=15620&type=bug

|
|
Issue History |
Date Modified | Username | Field | Change |
2021-04-29 15:46 | ivancaceres | New Issue | |
2021-04-29 15:46 | ivancaceres | Assigned To | => Jorge Bravo |
2021-04-29 15:46 | ivancaceres | Issue Monitored: ivancaceres | |
2021-04-29 15:48 | psanjuan | OBNetwork customer | => No |
2021-04-29 15:48 | psanjuan | Assigned To | Jorge Bravo => psanjuan |
2021-04-29 16:31 | Alberto_Sola | Issue Monitored: Alberto_Sola | |
2021-05-03 12:00 | psanjuan | Note Added: 0127733 | |
2021-05-03 12:00 | psanjuan | File Added: Screenshot from 2021-05-03 11-59-16.png | |
2021-05-03 12:01 | psanjuan | Note Added: 0127734 | |
2021-05-03 12:02 | psanjuan | File Added: issue46426.png | |
2021-05-03 12:02 | psanjuan | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=22413#r22413 |
2021-05-03 12:03 | psanjuan | Note Added: 0127735 | |
2021-05-03 12:37 | psanjuan | Relationship added | related to 0046457 |
2021-05-03 12:41 | psanjuan | Description Updated | bug_revision_view_page.php?rev_id=22420#r22420 |
2021-05-03 12:42 | psanjuan | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=22421#r22421 |
2021-05-03 12:44 | psanjuan | File Added: Screenshot from 2021-05-03 12-43-53.png | |
2021-05-03 12:52 | psanjuan | Note Added: 0127739 | |
2021-05-03 12:58 | psanjuan | Assigned To | psanjuan => Jorge Bravo |
2021-05-03 13:13 | Jorge Bravo | Assigned To | Jorge Bravo => juabaez |
2021-05-03 17:17 | hgbot | Merge Request Status | => open |
2021-05-03 17:17 | hgbot | Note Added: 0127749 | |
2021-05-03 17:25 | juabaez | Status | new => scheduled |
2021-05-03 17:25 | juabaez | Note Added: 0127750 | |
2021-05-04 15:30 | juabaez | Note Edited: 0127750 | bug_revision_view_page.php?bugnote_id=0127750#r22440 |
2021-05-04 17:08 | psanjuan | Proposed Solution updated | |
2021-05-04 17:12 | psanjuan | Proposed Solution updated | |
2021-05-10 10:24 | psanjuan | Note Edited: 0127750 | bug_revision_view_page.php?bugnote_id=0127750#r22475 |
2021-05-10 10:28 | psanjuan | Note Edited: 0127750 | bug_revision_view_page.php?bugnote_id=0127750#r22476 |
2021-05-10 10:30 | psanjuan | Note Edited: 0127750 | bug_revision_view_page.php?bugnote_id=0127750#r22477 |
2021-05-10 10:31 | psanjuan | Note Added: 0127931 | |
2021-05-10 10:36 | psanjuan | Note Edited: 0127750 | bug_revision_view_page.php?bugnote_id=0127750#r22478 |
2021-05-11 18:47 | hgbot | Merge Request Status | open => approved |
2021-05-12 09:43 | hgbot | Resolution | open => fixed |
2021-05-12 09:43 | hgbot | Status | scheduled => closed |
2021-05-12 09:43 | hgbot | Note Added: 0128021 | |
2021-05-12 09:43 | hgbot | Note Added: 0128022 | |
2021-05-12 09:43 | hgbot | Note Added: 0128023 | |
Notes |
|
|
Esta incidencia se refiere a las facturas de compra LRFR. Ver imagen. |
|
|
|
|
|
|
XML for IGIC (correct)
<sii:PeriodoLiquidacion>
<sii:Ejercicio>2021</sii:Ejercicio>
<sii:Periodo>05</sii:Periodo>
</sii:PeriodoLiquidacion>
<siiLR:IDFactura>
<sii:IDEmisorFactura>
<sii:NIF>34097216S</sii:NIF>
</sii:IDEmisorFactura>
<sii:NumSerieFacturaEmisor>7585658</sii:NumSerieFacturaEmisor>
<sii:FechaExpedicionFacturaEmisor>03-05-2021</sii:FechaExpedicionFacturaEmisor>
</siiLR:IDFactura>
<siiLR:FacturaRecibida>
<sii:TipoFactura>F1</sii:TipoFactura>
<sii:FechaOperacion>03-05-2021</sii:FechaOperacion>
<sii:ClaveRegimenEspecialOTrascendencia>08</sii:ClaveRegimenEspecialOTrascendencia>
<sii:ImporteTotal>185.02</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:DesgloseFactura>
<sii:DesgloseIVA>
<sii:DetalleIVA>
<sii:TipoImpositivo/>
<sii:BaseImponible>185.02</sii:BaseImponible>
<sii:CuotaSoportada/>
</sii:DetalleIVA>
</sii:DesgloseIVA>
</sii:DesgloseFactura>
<sii:Contraparte>
<sii:NombreRazon>Ignacio Galdeano Alonso</sii:NombreRazon>
<sii:NIF>34097216S</sii:NIF>
</sii:Contraparte>
<sii:FechaRegContable>03-05-2021</sii:FechaRegContable>
<sii:CuotaDeducible>0.00</sii:CuotaDeducible>
</siiLR:FacturaRecibida>
</siiLR:RegistroLRFacturasRecibidas> |
|
|
|
Realizar pruebas con diferentes importes. |
|
|
(0127749)
|
hgbot
|
2021-05-03 17:17
|
|
|
|
(0127750)
|
juabaez
|
2021-05-03 17:25
(edited on: 2021-05-10 10:36) |
|
Test Plan:
Para todos los test plan es necesario que la configuracion del sii para la organizacion que se va a utilizar este configurada con Tax Type = a IVA.
Test plan 1
- Crear una factura de compra
- Agregar una linea con un producto y un importe mayor a 100€
- Seleccionar el impuesto Adquisiciones IPSI 10%
- Completar la factura y enviar al SII
- Verificar que el tag CuotaDeducible en el xml es 0 y que el importe total = Base Imponible, para la clave de operación 08:
<siiLR:FacturaRecibida>
<sii:TipoFactura>F1</sii:TipoFactura>
<sii:FechaOperacion>10-05-2021</sii:FechaOperacion>
<sii:ClaveRegimenEspecialOTrascendencia>08</sii:ClaveRegimenEspecialOTrascendencia>
<sii:ImporteTotal>151295.45</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:DesgloseFactura>
<sii:DesgloseIVA>
<sii:DetalleIVA>
<sii:TipoImpositivo/>
<sii:BaseImponible>151295.45</sii:BaseImponible>
<sii:CuotaSoportada/>
</sii:DetalleIVA>
</sii:DesgloseIVA>
</sii:DesgloseFactura>
<sii:FechaRegContable>10-05-2021</sii:FechaRegContable>
<sii:CuotaDeducible>0.00</sii:CuotaDeducible>
</siiLR:FacturaRecibida>
</siiLR:RegistroLRFacturasRecibidas>
Test plan 2
- Crear una factura de compra
- Agregar una linea con un servicio y un importe mayor a 1000€
- Seleccionar el impuesto Prestación servicios en Ceuta/Melilla 10%
- Completar la factura y enviar al SII
- Verificar que el tag CuotaDeducible en el xml es 0 y que el importe total = Base Imponible, para la clave de operación 08:
<siiLR:FacturaRecibida>
<sii:TipoFactura>F1</sii:TipoFactura>
<sii:FechaOperacion>10-05-2021</sii:FechaOperacion>
<sii:ClaveRegimenEspecialOTrascendencia>08</sii:ClaveRegimenEspecialOTrascendencia>
<sii:ImporteTotal>136363.64</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:DesgloseFactura>
<sii:DesgloseIVA>
<sii:DetalleIVA>
<sii:TipoImpositivo/>
<sii:BaseImponible>136363.64</sii:BaseImponible>
<sii:CuotaSoportada/>
</sii:DetalleIVA>
</sii:DesgloseIVA>
</sii:DesgloseFactura>
<sii:FechaRegContable>10-05-2021</sii:FechaRegContable>
<sii:CuotaDeducible>0.00</sii:CuotaDeducible>
</siiLR:FacturaRecibida>
</siiLR:RegistroLRFacturasRecibidas>
Test plan 3
- Crear una factura de compra
- Agregar una linea con un servicio y un importe mayor a 100€
- Seleccionar el impuesto Prestación servicios en Ceuta/Melilla 4%
- Agregar una linea con un producto y un importe mayor a 100€
- Seleccionar el impuesto Adquisiciones IPSI 4%
- Completar la factura y enviar al SII
- Verificar que el tag CuotaDeducible en el xml es 0 y que el importe total = Base Imponible, para la clave de operación 08:
<siiLR:FacturaRecibida>
<sii:TipoFactura>F1</sii:TipoFactura>
<sii:FechaOperacion>10-05-2021</sii:FechaOperacion>
<sii:ClaveRegimenEspecialOTrascendencia>08</sii:ClaveRegimenEspecialOTrascendencia>
<sii:ImporteTotal>246634.61</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:DesgloseFactura>
<sii:DesgloseIVA>
<sii:DetalleIVA>
<sii:TipoImpositivo/>
<sii:BaseImponible>246634.61</sii:BaseImponible>
<sii:CuotaSoportada/>
</sii:DetalleIVA>
</sii:DesgloseIVA>
</sii:DesgloseFactura>
<sii:FechaRegContable>10-05-2021</sii:FechaRegContable>
<sii:CuotaDeducible>0.00</sii:CuotaDeducible>
</siiLR:FacturaRecibida>
</siiLR:RegistroLRFacturasRecibidas>
Test Plan 4
Repetir el mismo set de test para los impuestos de tipo IGIC
Adquisiciones IGIC 9.5% (por ejemplo)
Prestación servicios en Canarias 13,5% (por ejemplo)
el resultado del XML deben ser:
Cuota deducible = 0
Importe total = Base Imponible
|
|
|
|
|
|
(0128021)
|
hgbot
|
2021-05-12 09:43
|
|
|
|
(0128022)
|
hgbot
|
2021-05-12 09:43
|
|
|
|
(0128023)
|
hgbot
|
2021-05-12 09:43
|
|
|