Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0046457 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Localization Pack: Spain] SII | major | always | 2021-05-03 12:08 | 2021-05-12 09:44 | |||
Reporter | psanjuan | View Status | public | |||||
Assigned To | juabaez | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 64 bit | Database | PostgreSQL | Java version | 7.x | |||
OS Version | Openbravo Appliance 14.04 | Database version | 9.3.x | Ant version | 1.9.x | |||
Product Version | SCM revision | |||||||
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 | 0046457: Error de Importe total en las facturas de venta con IPSI e IGIC | |||||||
Description | Error de Importe total en las facturas de venta con IPSI e IGIC. Las cuotas de IPSI e IGIC no deben incluirse en el campo Importe Total, tan sólo las bases. | |||||||
Steps To Reproduce | Configura SII para la Entidad Legal de forma que el Tax Type sea = a IVA. Crear una factura de venta en dicha entidad legal con un impuesto det tipo IPSI o IGIC, por un importe superior a 100€ Enviar a SII. Se produce el error adjunto, relacionado con el Importe Total. Ejemplo de impuestos utilizados para IPSI: Categoria de impuesto = IPSI Ingrementado 1, Tipo = Entegras IPSI 10% Categoria de impuesto = IPSI General Servicios, Tipo = Prestación servicios en Ceuta/Melilla 4% Ver imagen Categorias IPSI. Ejemplo de impuestos utilizados para IGIC: Categoria de impuesto = IGIC General, Tipo = Entegras IGIC 7% Categoria de impuesto = IGIC General Servicios, Tipo = Servicios prestados en Canarias 7% Ver imagen Categorias IGIC. | |||||||
Proposed Solution | Las cuotas de impuesto de las transacciones 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", 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:ImporteTAIReglasLocalizacion>340.91</sii:ImporteTAIReglasLocalizacion> | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() ![]() | |||||||
![]() |
||||||||
|
![]() |
|
(0127772) juabaez (viewer) 2021-05-04 15:32 |
Test Plan: Para todos los test plan es necesario que la configuración del sii para la organización 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 Entegras IPSI 10% - Completar la factura y enviar al SII - Verificar que el tag ImporteTotal tiene el mismo importe que el tag ImporteTAIReglasLocalizacion Test plan 2 - 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% - Completar la factura y enviar al SII - Verificar que el tag ImporteTotal tiene el mismo importe que el tag ImporteTAIReglasLocalizacion 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 Entegras IPSI 10% - Completar la factura y enviar al SII - Verificar que el tag ImporteTotal tiene el mismo importe que el tag ImporteTAIReglasLocalizacion ------------------------------------------------------------------------- Test plan 4 - Crear una factura de compra - Agregar una linea con un producto y un importe mayor a 100€ - Seleccionar el impuesto Entegras IGIC 7% - Completar la factura y enviar al SII - Verificar que el tag ImporteTotal tiene el mismo importe que el tag ImporteTAIReglasLocalizacion Test plan 5 - Crear una factura de compra - Agregar una linea con un servicio y un importe mayor a 100€ - Seleccionar el impuesto Servicios prestados en Canarias 7% - Completar la factura y enviar al SII - Verificar que el tag ImporteTotal tiene el mismo importe que el tag ImporteTAIReglasLocalizacion Test plan 6 - Crear una factura de compra - Agregar una linea con un servicio y un importe mayor a 100€ - Seleccionar el impuesto Servicios prestados en Canarias 7% - Agregar una linea con un producto y un importe mayor a 100€ - Seleccionar el impuesto Entegras IGIC 7% - Completar la factura y enviar al SII - Verificar que el tag ImporteTotal tiene el mismo importe que el tag ImporteTAIReglasLocalizacion |
(0127773) hgbot (developer) 2021-05-04 15:34 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii/-/merge_requests/19 [^] |
(0127933) psanjuan (viewer) 2021-05-10 11:34 |
Testing OK. |
(0128024) hgbot (developer) 2021-05-12 09:44 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii [^] Changeset: 0a730f4951153feb8bdf2d7c04df9a76081b7c07 Author: Juan Baez <juabaez@gmail.com> Date: 2021-05-04T10:18:56-03:00 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii/-/commit/0a730f4951153feb8bdf2d7c04df9a76081b7c07 [^] Fixed ISSUE-46457 change total amount for send to sii if clave regimen is 08 When the xml tag ClaveRegimenEspecialOTrascendencia is 08 then we need change the total amount because this xml tag should not include tax amount from IPSI or IGIC --- M src/org/openbravo/module/sii/invoicefiles/FacturaExpedida.java M src/org/openbravo/module/sii/invoicefiles/FacturaRecibida.java M src/org/openbravo/module/sii/utils/SIICreator.java --- |
(0128025) hgbot (developer) 2021-05-12 09:44 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii [^] Changeset: b6560a6e29d8a16c5386f50d305aea406b20fa67 Author: Juan Baez <juabaez@gmail.com> Date: 2021-05-04T10:33:55-03:00 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii/-/commit/b6560a6e29d8a16c5386f50d305aea406b20fa67 [^] Fixed ISSUE-46457 change update info --- M src-db/database/sourcedata/AD_MODULE.xml --- |
(0128026) hgbot (developer) 2021-05-12 09:44 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii [^] Changeset: c498bb2500b289e1ee737e37e8e1fae31d86199e Author: Juan Baez <juabaez@gmail.com> Date: 2021-05-04T13:02:32-03:00 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii/-/commit/c498bb2500b289e1ee737e37e8e1fae31d86199e [^] Fixed ISSUE-46457 change total amount and refactor for both invoice --- M src/org/openbravo/module/sii/invoicefiles/FacturaExpedida.java M src/org/openbravo/module/sii/invoicefiles/FacturaRecibida.java M src/org/openbravo/module/sii/utils/SIICreator.java --- |
(0128027) hgbot (developer) 2021-05-12 09:44 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii/-/merge_requests/19 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2021-05-03 12:08 | psanjuan | New Issue | |
2021-05-03 12:08 | psanjuan | Assigned To | => Jorge Bravo |
2021-05-03 12:08 | psanjuan | OBNetwork customer | => No |
2021-05-03 12:13 | psanjuan | Steps to Reproduce Updated | View Revisions |
2021-05-03 12:15 | psanjuan | Proposed Solution updated | |
2021-05-03 12:22 | Jorge Bravo | Assigned To | Jorge Bravo => juabaez |
2021-05-03 12:35 | psanjuan | Steps to Reproduce Updated | View Revisions |
2021-05-03 12:35 | psanjuan | Steps to Reproduce Updated | View Revisions |
2021-05-03 12:35 | psanjuan | Steps to Reproduce Updated | View Revisions |
2021-05-03 12:36 | psanjuan | File Added: IPSI.png | |
2021-05-03 12:36 | psanjuan | File Added: IGIC.png | |
2021-05-03 12:37 | psanjuan | Relationship added | related to 0046426 |
2021-05-04 15:32 | juabaez | Status | new => scheduled |
2021-05-04 15:32 | juabaez | Note Added: 0127772 | |
2021-05-04 15:34 | hgbot | Merge Request Status | => open |
2021-05-04 15:34 | hgbot | Note Added: 0127773 | |
2021-05-10 11:34 | psanjuan | Note Added: 0127933 | |
2021-05-11 18:48 | hgbot | Merge Request Status | open => approved |
2021-05-12 09:44 | hgbot | Resolution | open => fixed |
2021-05-12 09:44 | hgbot | Status | scheduled => closed |
2021-05-12 09:44 | hgbot | Note Added: 0128024 | |
2021-05-12 09:44 | hgbot | Note Added: 0128025 | |
2021-05-12 09:44 | hgbot | Note Added: 0128026 | |
2021-05-12 09:44 | hgbot | Note Added: 0128027 |
Copyright © 2000 - 2009 MantisBT Group |