Openbravo Issue Tracking System - Openbravo Localizations
View Issue Details
0051241Openbravo LocalizationsLocalization Italypublic2022-12-23 12:392022-12-23 14:16
ucarrion 
jetxarri 
urgentmajoralways
closedfixed 
5
 
 
0051241: Incorrect 'versione' when doing an invoice for a B2C/B2B customer
In the header of the invoice (see line 1 of any e-invoice XML file) we are informing an incorrect value in the 'versione' property. Always we are doing and invoice for a B2C/B2B customer, the expected value there is FPR12 and we are setting FPA12 (expected only for B2G, and currently out of the scope).
-Login an Italian terminal.
-Do a full invoice for a given customer.
-Login the backoffice and check that the invoice has been properly generated.
-In the backoffice, execute the "Export Italy Invoices to a XML file" backgroun process.
-Check the file generated in the attachment of the invoice generated previously.
The versione value must be FPR12 instead of FPA12.
NOR, NORAUTO
png versione.png (35,711) 2022-12-23 12:39
https://issues.openbravo.com/file_download.php?file_id=17982&type=bug
png
Issue History
2022-12-23 12:39ucarrionNew Issue
2022-12-23 12:39ucarrionAssigned To => Triage Omni OMS
2022-12-23 12:39ucarrionFile Added: versione.png
2022-12-23 12:39ucarrionTag Attached: NOR
2022-12-23 12:39ucarrionTag Attached: NORAUTO
2022-12-23 13:50aferrazAssigned ToTriage Omni OMS => jetxarri
2022-12-23 14:09hgbotNote Added: 0144987
2022-12-23 14:16hgbotResolutionopen => fixed
2022-12-23 14:16hgbotStatusnew => closed
2022-12-23 14:16hgbotNote Added: 0144989
2022-12-23 14:16hgbotNote Added: 0144990

Notes
(0144987)
hgbot   
2022-12-23 14:09   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/merge_requests/30 [^]
(0144989)
hgbot   
2022-12-23 14:16   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice [^]
Changeset: 8407c7a8b2b3755e30bef029424a4710a0d97a17
Author: Javier Etxarri <javier.etxarri@openbravo.com>
Date: 23-12-2022 14:08:38
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/commit/8407c7a8b2b3755e30bef029424a4710a0d97a17 [^]

Fixes ISSUE-51241: Incorrect 'versione' when doing an invoice for a B2C/B2B customer

---
M src-test/org/openbravo/localization/italy/einvoice/TestItalyXMLCreationFromJson.java
M src/org/openbravo/localization/italy/einvoice/xmlengine/document/ItalyDocument.java
---
(0144990)
hgbot   
2022-12-23 14:16   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/merge_requests/30 [^]