Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0046163 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Localization Pack: Spain] SII | major | have not tried | 2021-03-26 12:53 | 2021-04-29 09:18 | |||
Reporter | Alberto_Sola | View Status | public | |||||
Assigned To | juabaez | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Regression date | ||||||||
Regression introduced by commit | ||||||||
Regression level | ||||||||
Review Assigned To | ||||||||
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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | validación de la AEAT.JPG [^] (132,488 bytes) 2021-03-26 12:53
| |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0127311) psanjuan (manager) 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 (reporter) 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 (developer) 2021-04-26 13:52 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii/-/merge_requests/17 [^] |
(0127633) hgbot (developer) 2021-04-29 09:18 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii/-/merge_requests/17 [^] |
(0127634) hgbot (developer) 2021-04-29 09:18 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii [^] Changeset: 1f2c91c6f040fbc60846b37fe6ab5fa8a2604df7 Author: Juan Baez <juabaez@gmail.com> Date: 2021-04-23T11:24:46-03:00 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii/-/commit/1f2c91c6f040fbc60846b37fe6ab5fa8a2604df7 [^] Fixed ISSUE-46163 added support for taxes no taxable with iva Added support for taxes no taxable with iva, In case the taxes no taxable for Spain but this tax need have IVA for other country and when sent the xml to SII the xml tag ImporteTotal should be with out IVA amount. --- M src/org/openbravo/module/sii/invoicefiles/FacturaExpedida.java M src/org/openbravo/module/sii/utils/SIICreator.java M src/org/openbravo/module/sii/utils/SIISOAPUtils.java --- |
(0127635) hgbot (developer) 2021-04-29 09:18 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii [^] Changeset: a5321fa83da762567c62220672a321b5edc8454f Author: Juan Baez <juabaez@gmail.com> Date: 2021-04-23T11:51:07-03:00 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii/-/commit/a5321fa83da762567c62220672a321b5edc8454f [^] Fixed ISSUE-46163 update module version and update info --- M src-db/database/sourcedata/AD_MODULE.xml --- |
(0127636) hgbot (developer) 2021-04-29 09:18 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii [^] Changeset: 3cf568c87038cafba6cb6790355ff0280964c23d Author: Juan Baez <juabaez@gmail.com> Date: 2021-04-27T12:42:19-03:00 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii/-/commit/3cf568c87038cafba6cb6790355ff0280964c23d [^] Fixed ISSUE-46163 change validation for NIF when NIF is null When validate if NIF start with N previously verify if NIF is not null --- M src/org/openbravo/module/sii/invoicefiles/FacturaExpedida.java M src/org/openbravo/module/sii/utils/SIISOAPUtils.java --- |
(0127637) hgbot (developer) 2021-04-29 09:18 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii [^] Changeset: b711f218b9188518d98c213bee19965bf7577f39 Author: Juan Baez <juabaez@gmail.com> Date: 2021-04-28T09:26:37-03:00 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii/-/commit/b711f218b9188518d98c213bee19965bf7577f39 [^] Fixed ISSUE-46163 change if condition for tax not taxable with iva --- M src/org/openbravo/module/sii/invoicefiles/FacturaExpedida.java --- |
(0127638) hgbot (developer) 2021-04-29 09:18 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii [^] Changeset: 4ec87bbef3c050eaa85f76198dca4e3bc9b43fca Author: Juan Baez <juabaez@gmail.com> Date: 2021-04-28T16:06:44-03:00 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii/-/commit/4ec87bbef3c050eaa85f76198dca4e3bc9b43fca [^] Fixed ISSUE-46163 extract condition to method and remove blank line --- M src/org/openbravo/module/sii/invoicefiles/FacturaExpedida.java M src/org/openbravo/module/sii/utils/SIICreator.java --- |
(0127639) hgbot (developer) 2021-04-29 09:18 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii [^] Changeset: d1379ae96ffd2fe990a0b007ee6b9c1c0a44e4d7 Author: Víctor Martínez Romanos <victor.martinez@openbravo.com> Date: 2021-04-29T09:14:56+02:00 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii/-/commit/d1379ae96ffd2fe990a0b007ee6b9c1c0a44e4d7 [^] Related to ISSUE-46163: reduce method visibility to protected --- M src/org/openbravo/module/sii/utils/SIICreator.java --- |
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 | View Revisions |
2021-04-16 13:41 | psanjuan | Note Edited: 0127311 | View Revisions |
2021-04-16 13:47 | psanjuan | Note Edited: 0127311 | View Revisions |
2021-04-16 13:48 | psanjuan | Note Edited: 0127311 | View Revisions |
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 | View Revisions |
2021-04-28 20:57 | juabaez | Note Edited: 0127512 | View Revisions |
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 | View Revisions |
Copyright © 2000 - 2009 MantisBT Group |