Openbravo Issue Tracking System - Localization Pack: Spain
View Issue Details
0047902Localization Pack: SpainSIIpublic2021-10-21 14:352022-06-13 15:46
Practics 
juabaez 
normalmajoralways
closedfixed 
5
 
 
0047902: Código (4102) El XML no cumple el equema. Falta informar campo obligatorio: NoSujeta
En la versión del SII 1.9.212500 se produce el siguiente error:
"Código (4102) El XML no cumple el equema. Falta informar campo obligatorio: NoSujeta"
Cuando se intenta enviar una factura con dos impuestos diferentes ambos marcados como "One-Stop Shop (Oss) Tax rate"
Da el error comentado
Crear una factura con dos líneas.
Cada línea añadir un rango de impuesto diferente que que tengan marcado: "One-Stop Shop (Oss) Tax rate"
y que no tenga el check de "No está sujeto a impuestos"
Enviar al SII dicha factura para obtener el error
No debería aparecer el error y deberían crearse los dos registros con la clave 17 ambos dos.
No tags attached.
related to defect 0048984 closed mgonzalezh Inclusion de nodo(s) de Detalle de IVA por tipo/porcentaje de IVA en ops de venta a clientes no nacionales con distintos % IVA 
png image (1).png (80,078) 2021-10-21 14:35
https://issues.openbravo.com/file_download.php?file_id=16294&type=bug
png
Issue History
2021-10-21 14:35PracticsNew Issue
2021-10-21 14:35PracticsAssigned To => Jorge Bravo
2021-10-21 14:35PracticsFile Added: image (1).png
2021-10-22 07:53ivancaceresIssue Monitored: ivancaceres
2021-10-22 13:42juabaezStatusnew => scheduled
2021-10-22 14:21juabaezAssigned ToJorge Bravo => juabaez
2021-10-25 17:13hgbotNote Added: 0132619
2021-10-26 11:48hgbotResolutionopen => fixed
2021-10-26 11:48hgbotStatusscheduled => closed
2021-10-26 11:48hgbotNote Added: 0132638
2021-10-26 11:48hgbotNote Added: 0132639
2021-10-26 11:48hgbotNote Added: 0132640
2022-06-09 13:26psanjuanRelationship addedrelated to 0048984
2022-06-13 14:25psanjuanNote Added: 0138301
2022-06-13 14:27psanjuanNote Edited: 0138301bug_revision_view_page.php?bugnote_id=0138301#r24273
2022-06-13 14:27psanjuanNote Added: 0138302
2022-06-13 14:29psanjuanNote Edited: 0138302bug_revision_view_page.php?bugnote_id=0138302#r24275
2022-06-13 15:45psanjuanNote Added: 0138306
2022-06-13 15:46psanjuanNote Edited: 0138306bug_revision_view_page.php?bugnote_id=0138306#r24277
2022-06-13 15:46psanjuanNote Added: 0138307
2022-06-13 15:48psanjuanNote Edited: 0138307bug_revision_view_page.php?bugnote_id=0138307#r24279
2022-06-13 15:48psanjuanNote Edited: 0138301bug_revision_view_page.php?bugnote_id=0138301#r24280
2022-06-13 15:48psanjuanNote Edited: 0138302bug_revision_view_page.php?bugnote_id=0138302#r24281
2022-06-13 15:49psanjuanNote Edited: 0138306bug_revision_view_page.php?bugnote_id=0138306#r24282

Notes
(0132619)
hgbot   
2021-10-25 17:13   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii/-/merge_requests/26 [^]
(0132638)
hgbot   
2021-10-26 11:48   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii [^]
Changeset: 083d4ad007982324783f727fcc5edf314a204fcb
Author: juan baez <juabaez@gmail.com>
Date: 2021-10-26T11:36:07+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii/-/commit/083d4ad007982324783f727fcc5edf314a204fcb [^]

Fixed ISSUE-47902 was changed the if sentence to group taxes with different rate

---
M src/org/openbravo/module/sii/invoicefiles/FacturaExpedida.java
---
(0132639)
hgbot   
2021-10-26 11:48   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii [^]
Changeset: 9cd4dbed1cd4983768b7f9cd6dc6c831ea7572c9
Author: juan baez <juabaez@gmail.com>
Date: 2021-10-26T11:42:27+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii/-/commit/9cd4dbed1cd4983768b7f9cd6dc6c831ea7572c9 [^]

Fixed ISSUE-47902 update module version and update info

---
M src-db/database/sourcedata/AD_MODULE.xml
---
(0132640)
hgbot   
2021-10-26 11:48   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii/-/merge_requests/26 [^]
(0138301)
psanjuan   
2022-06-13 14:25   
(edited on: 2022-06-13 15:48)
an example of an XML - Tax rates configuradas como: One-Stop Shop (OSS) Tax Rate = Yes. Emisión Factura.

<sii:ClaveRegimenEspecialOTrascendencia>17</sii:ClaveRegimenEspecialOTrascendencia>

siiLR:RegistroLRFacturasEmitidas xmlns:siiLR="https://www2.agenciatributaria.gob.es/static_files/common/internet/dep/aplicaciones/es/aeat/ssii/fact/ws/SuministroLR.xsd" [^] xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" [^] xmlns:sii="https://www2.agenciatributaria.gob.es/static_files/common/internet/dep/aplicaciones/es/aeat/ssii/fact/ws/SuministroInformacion.xsd"> [^]
<sii:PeriodoLiquidacion>
<sii:Ejercicio>2022</sii:Ejercicio>
<sii:Periodo>06</sii:Periodo>
</sii:PeriodoLiquidacion>
<siiLR:IDFactura>
<sii:IDEmisorFactura>
<sii:NIF>02889768W</sii:NIF>
</sii:IDEmisorFactura>
<sii:NumSerieFacturaEmisor>SPRI1000090</sii:NumSerieFacturaEmisor>
<sii:FechaExpedicionFacturaEmisor>13-06-2022</sii:FechaExpedicionFacturaEmisor>
</siiLR:IDFactura>
<siiLR:FacturaExpedida>
<sii:TipoFactura>F1</sii:TipoFactura>
<sii:FechaOperacion>13-06-2022</sii:FechaOperacion>
<sii:ClaveRegimenEspecialOTrascendencia>17</sii:ClaveRegimenEspecialOTrascendencia>
<sii:ImporteTotal>381.18</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>Cliente Portugal</sii:NombreRazon>
<sii:IDOtro>
<sii:CodigoPais>PT</sii:CodigoPais>
<sii:IDType>04</sii:IDType>
<sii:ID>PT123456789</sii:ID>
</sii:IDOtro>
</sii:Contraparte>
<sii:TipoDesglose>
<sii:DesgloseTipoOperacion>
<sii:Entrega>
<sii:NoSujeta>
<sii:ImporteTAIReglasLocalizacion>381.18</sii:ImporteTAIReglasLocalizacion>
</sii:NoSujeta>
</sii:Entrega>
</sii:DesgloseTipoOperacion>
</sii:TipoDesglose>
</siiLR:FacturaExpedida>
</siiLR:RegistroLRFacturasEmitidas>

(0138302)
psanjuan   
2022-06-13 14:27   
(edited on: 2022-06-13 15:48)
an example of an XML - Tax rates configuradas como: One-Stop Shop (OSS) Tax Rate = NO. Emisión Factura.

<sii:ClaveRegimenEspecialOTrascendencia>01</sii:ClaveRegimenEspecialOTrascendencia>

<siiLR:RegistroLRFacturasEmitidas xmlns:siiLR="https://www2.agenciatributaria.gob.es/static_files/common/internet/dep/aplicaciones/es/aeat/ssii/fact/ws/SuministroLR.xsd" [^] xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" [^] xmlns:sii="https://www2.agenciatributaria.gob.es/static_files/common/internet/dep/aplicaciones/es/aeat/ssii/fact/ws/SuministroInformacion.xsd"> [^]
<sii:PeriodoLiquidacion>
<sii:Ejercicio>2022</sii:Ejercicio>
<sii:Periodo>06</sii:Periodo>
</sii:PeriodoLiquidacion>
<siiLR:IDFactura>
<sii:IDEmisorFactura>
<sii:NIF>02889768W</sii:NIF>
</sii:IDEmisorFactura>
<sii:NumSerieFacturaEmisor>SPRI1000091</sii:NumSerieFacturaEmisor>
<sii:FechaExpedicionFacturaEmisor>13-06-2022</sii:FechaExpedicionFacturaEmisor>
</siiLR:IDFactura>
<siiLR:FacturaExpedida>
<sii:TipoFactura>F1</sii:TipoFactura>
<sii:FechaOperacion>13-06-2022</sii:FechaOperacion>
<sii:ClaveRegimenEspecialOTrascendencia>01</sii:ClaveRegimenEspecialOTrascendencia>
<sii:ImporteTotal>3288.12</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>Cliente Portugal</sii:NombreRazon>
<sii:IDOtro>
<sii:CodigoPais>PT</sii:CodigoPais>
<sii:IDType>04</sii:IDType>
<sii:ID>PT123456789</sii:ID>
</sii:IDOtro>
</sii:Contraparte>
<sii:TipoDesglose>
<sii:DesgloseTipoOperacion>
<sii:Entrega>
<sii:NoSujeta>
<sii:ImporteTAIReglasLocalizacion>3288.12</sii:ImporteTAIReglasLocalizacion>
</sii:NoSujeta>
</sii:Entrega>
</sii:DesgloseTipoOperacion>
</sii:TipoDesglose>
</siiLR:FacturaExpedida>
</siiLR:RegistroLRFacturasEmitidas>

(0138306)
psanjuan   
2022-06-13 15:45   
(edited on: 2022-06-13 15:49)
an example of an XML - Tax rates configuradas como: One-Stop Shop (OSS) Tax Rate = NO. Emisión Factura. Mezcla entrega de bienes y prestación de servicios.

<sii:ClaveRegimenEspecialOTrascendencia>01</sii:ClaveRegimenEspecialOTrascendencia>

<siiLR:RegistroLRFacturasEmitidas xmlns:siiLR="https://www2.agenciatributaria.gob.es/static_files/common/internet/dep/aplicaciones/es/aeat/ssii/fact/ws/SuministroLR.xsd" [^] xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" [^] xmlns:sii="https://www2.agenciatributaria.gob.es/static_files/common/internet/dep/aplicaciones/es/aeat/ssii/fact/ws/SuministroInformacion.xsd"> [^]
<sii:PeriodoLiquidacion>
<sii:Ejercicio>2022</sii:Ejercicio>
<sii:Periodo>06</sii:Periodo>
</sii:PeriodoLiquidacion>
<siiLR:IDFactura>
<sii:IDEmisorFactura>
<sii:NIF>02889768W</sii:NIF>
</sii:IDEmisorFactura>
<sii:NumSerieFacturaEmisor>SPRI1000093</sii:NumSerieFacturaEmisor>
<sii:FechaExpedicionFacturaEmisor>13-06-2022</sii:FechaExpedicionFacturaEmisor>
</siiLR:IDFactura>
<siiLR:FacturaExpedida>
<sii:TipoFactura>F1</sii:TipoFactura>
<sii:FechaOperacion>13-06-2022</sii:FechaOperacion>
<sii:ClaveRegimenEspecialOTrascendencia>01</sii:ClaveRegimenEspecialOTrascendencia>
<sii:ImporteTotal>541.78</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>Cliente Portugal</sii:NombreRazon>
<sii:IDOtro>
<sii:CodigoPais>PT</sii:CodigoPais>
<sii:IDType>04</sii:IDType>
<sii:ID>PT123456789</sii:ID>
</sii:IDOtro>
</sii:Contraparte>
<sii:TipoDesglose>
<sii:DesgloseTipoOperacion>
<sii:PrestacionServicios>
<sii:NoSujeta>
<sii:ImporteTAIReglasLocalizacion>10.16</sii:ImporteTAIReglasLocalizacion>
</sii:NoSujeta>
</sii:PrestacionServicios>
<sii:Entrega>
<sii:NoSujeta>
<sii:ImporteTAIReglasLocalizacion>531.62</sii:ImporteTAIReglasLocalizacion>
</sii:NoSujeta>
</sii:Entrega>
</sii:DesgloseTipoOperacion>
</sii:TipoDesglose>
</siiLR:FacturaExpedida>
</siiLR:RegistroLRFacturasEmitidas>

(0138307)
psanjuan   
2022-06-13 15:46   
(edited on: 2022-06-13 15:48)
an example of an XML - Tax rates configuradas como: One-Stop Shop (OSS) Tax Rate = SI. Emisión Factura. Mezcla entrega de bienes y prestación de servicios.


<sii:ClaveRegimenEspecialOTrascendencia>17</sii:ClaveRegimenEspecialOTrascendencia>

<siiLR:RegistroLRFacturasEmitidas xmlns:siiLR="https://www2.agenciatributaria.gob.es/static_files/common/internet/dep/aplicaciones/es/aeat/ssii/fact/ws/SuministroLR.xsd" [^] xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" [^] xmlns:sii="https://www2.agenciatributaria.gob.es/static_files/common/internet/dep/aplicaciones/es/aeat/ssii/fact/ws/SuministroInformacion.xsd"> [^]
<sii:PeriodoLiquidacion>
<sii:Ejercicio>2022</sii:Ejercicio>
<sii:Periodo>06</sii:Periodo>
</sii:PeriodoLiquidacion>
<siiLR:IDFactura>
<sii:IDEmisorFactura>
<sii:NIF>02889768W</sii:NIF>
</sii:IDEmisorFactura>
<sii:NumSerieFacturaEmisor>SPRI1000094</sii:NumSerieFacturaEmisor>
<sii:FechaExpedicionFacturaEmisor>13-06-2022</sii:FechaExpedicionFacturaEmisor>
</siiLR:IDFactura>
<siiLR:FacturaExpedida>
<sii:TipoFactura>F1</sii:TipoFactura>
<sii:FechaOperacion>13-06-2022</sii:FechaOperacion>
<sii:ClaveRegimenEspecialOTrascendencia>17</sii:ClaveRegimenEspecialOTrascendencia>
<sii:ImporteTotal>11165.67</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>Cliente Portugal</sii:NombreRazon>
<sii:IDOtro>
<sii:CodigoPais>PT</sii:CodigoPais>
<sii:IDType>04</sii:IDType>
<sii:ID>PT123456789</sii:ID>
</sii:IDOtro>
</sii:Contraparte>
<sii:TipoDesglose>
<sii:DesgloseTipoOperacion>
<sii:PrestacionServicios>
<sii:NoSujeta>
<sii:ImporteTAIReglasLocalizacion>10.16</sii:ImporteTAIReglasLocalizacion>
</sii:NoSujeta>
</sii:PrestacionServicios>
<sii:Entrega>
<sii:NoSujeta>
<sii:ImporteTAIReglasLocalizacion>11155.51</sii:ImporteTAIReglasLocalizacion>
</sii:NoSujeta>
</sii:Entrega>
</sii:DesgloseTipoOperacion>
</sii:TipoDesglose>
</siiLR:FacturaExpedida>
</siiLR:RegistroLRFacturasEmitidas>