Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048634
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Localization Pack: Spain] SIImajoralways2022-02-18 14:322023-05-15 12:43
ReporteravicenteView Statuspublic 
Assigned Topsanjuan 
PriorityhighResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0048634: [Spain SII] Invoices including products having a mix of "Normal" and "Do not sent to SII" Tax categories are not sent to SII

DescriptionWhen an invoice includes:
-Products with Tax Category='No declarable SII'.
-Products with other Tax Categories, ex: IVA Normal.
They are not sent to the SII. See images.

They should be sent to the SII but no including the amount corresponding to the SUPLIDO products.

Steps To ReproduceCreate an invoice that includes:
-Products with Tax Category='No declarable SII'.
-Products with other Tax Categories, ex: IVA Normal.
Send it to the SII
Proposed SolutionThe invoice must be sent but do not take into account the sales line related to the suplido.

(In spanish)
- Crear una factura de venta con un producto relacionado con una categoria de impuestos IVA Normal. Añadir otra línea de venta con un producto relacionado con una categoria de impuestos "No declarable SII".
- Generar el fichero SII

Como resultado el fichero SII:

- no debe tener en cuenta la línea de la factura relacionada con el impuesto relacionado con la categoria de impuesto "No declarable SII", dentro del nodo del XML "TipoDesglose".

sii:TipoDesglose>
<sii:DesgloseFactura>
<sii:Sujeta>
<sii:NoExenta>
<sii:TipoNoExenta>S1</sii:TipoNoExenta>
<sii:DesgloseIVA>
<sii:DetalleIVA>
<sii:TipoImpositivo>21.00</sii:TipoImpositivo>
<sii:BaseImponible>413.22</sii:BaseImponible>
<sii:CuotaRepercutida>86.78</sii:CuotaRepercutida>
</sii:DetalleIVA>
</sii:DesgloseIVA>
</sii:NoExenta>
</sii:Sujeta>
</sii:DesgloseFactura>
</sii:TipoDesglose>

- A la hora de indicar el importe total de una factura que contiene un suplido, este no será tenido en cuenta y se consignará la suma de las bases imponible y las cuotas repercutidas del resto de líneas declarables.


Ejemplo:

Factura de venta a un cliente nacional que incluye:
Línea 1 - producto 1 - base imponible 1933.14 - IVA 21% cuota
Línea 2 - producto 2 - base imponible 142,00 - IVA No sujeto con categoria de impuesto NO declarable - cuota 0.00
Línea 3 - producto 3 - base imponible 72.96 - IVA 21% - cuota

Total factura = 2569.38 (incluye el suplido 142.00) Total base imponible = 2148.10 (incluye el suplido) - Total cuota 21% - 421.28 (sólo la cuota de IVA al 21% ya que el suplido no está sujeto a IVA por lo tanto la cuota es 0)

El XML de envio a SII debería ser:


<siiLR:FacturaExpedida>
<sii:TipoFactura>F1</sii:TipoFactura>
<sii:FechaOperacion>25-08-2022</sii:FechaOperacion>
<sii:ClaveRegimenEspecialOTrascendencia>01</sii:ClaveRegimenEspecialOTrascendencia>
<sii:ImporteTotal>2427.38 (2.569,38-142,00)</sii:ImporteTotal>
<sii:DescripcionOperacion>test</sii:DescripcionOperacion>
<sii:FacturaSimplificadaArticulos7.2_7.3>N</sii:FacturaSimplificadaArticulos7.2_7.3>
<sii:Macrodato>N</sii:Macrodato>
<sii:Contraparte>
<sii:NombreRazon>XXXXXXXXX</sii:NombreRazon>
<sii:NIF>XXXXXX</sii:NIF>
</sii:Contraparte>
<sii:TipoDesglose>
<sii:DesgloseFactura>
<sii:Sujeta>
<sii:NoExenta>
<sii:TipoNoExenta>S1</sii:TipoNoExenta>
<sii:DesgloseIVA>
<sii:DetalleIVA>
<sii:TipoImpositivo>21.00</sii:TipoImpositivo>
<sii:BaseImponible>2.006,10 (2.148,10-142,00) </sii:BaseImponible>
<sii:CuotaRepercutida>421,28</sii:CuotaRepercutida>
</sii:DetalleIVA>
</sii:DesgloseIVA>
</sii:NoExenta>
</sii:Sujeta>
</sii:DesgloseFactura>
</sii:TipoDesglose>
</siiLR:FacturaExpedida>
</siiLR:RegistroLRFacturasEmitidas>
TagsNOR
Attached Filesjpg file icon NoDeclarableSII1.JPG [^] (177,483 bytes) 2022-02-18 14:32


jpg file icon NoDeclarableSII2.JPG [^] (115,357 bytes) 2022-02-18 14:33

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0049508 closedmgonzalezh when a product is "No declarable SII", the invoice belongs in error 

-  Notes
(0135657)
psanjuan (manager)
2022-03-11 11:41

This is not a defect but a design defect because the implementation of this request implies a redesign of the whole SII code.
(0141962)
psanjuan (manager)
2022-10-11 12:56

Test Case scenarios in this document

https://docs.google.com/spreadsheets/d/1tjUY-JYiY12vZkuN52RQUfcHtvS5XdtIhWtALlqYMEE/edit#gid=0 [^]
(0141983)
hgbot (developer)
2022-10-12 06:24

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii/-/merge_requests/44 [^]

- Issue History
Date Modified Username Field Change
2022-02-18 14:32 avicente New Issue
2022-02-18 14:32 avicente Assigned To => psanjuan
2022-02-18 14:32 avicente File Added: NoDeclarableSII1.JPG
2022-02-18 14:32 avicente Tag Attached: NOR
2022-02-18 14:33 avicente File Added: NoDeclarableSII2.JPG
2022-02-21 10:00 psanjuan Summary [Spain SII] Invoice with products SUPLIDO and other products with taxes are not sent to the SII => [Spain SII] nvoices including products having a mix of "Normal" and "Do not sent to SII" Tax categories are not sent to SII
2022-02-21 14:36 psanjuan Proposed Solution updated
2022-02-21 15:52 psanjuan Proposed Solution updated
2022-03-04 13:02 psanjuan Project Openbravo Localizations => Localization Pack: Spain
2022-03-04 13:02 psanjuan Assigned To psanjuan => Jorge Bravo
2022-03-04 13:02 psanjuan Category Localization Spain => SII
2022-03-07 14:04 Jorge Bravo Assigned To Jorge Bravo => mgonzalezh
2022-03-11 11:41 psanjuan Note Added: 0135657
2022-03-11 11:41 psanjuan Type defect => design defect
2022-03-15 08:21 Jorge Bravo Assigned To mgonzalezh => psanjuan
2022-06-22 14:31 rafaroda Relationship added related to 0049508
2022-08-25 14:15 psanjuan Proposed Solution updated
2022-08-25 14:17 psanjuan Proposed Solution updated
2022-09-14 13:23 Jorge Bravo Assigned To psanjuan => mgonzalezh
2022-10-11 12:56 psanjuan Note Added: 0141962
2022-10-12 06:24 hgbot Note Added: 0141983
2023-01-05 14:57 mgonzalezh Summary [Spain SII] nvoices including products having a mix of "Normal" and "Do not sent to SII" Tax categories are not sent to SII => [Spain SII] Invoices including products having a mix of "Normal" and "Do not sent to SII" Tax categories are not sent to SII
2023-05-15 12:43 Jorge Bravo Assigned To mgonzalezh => psanjuan


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker