Openbravo Issue Tracking System - Openbravo Localizations
View Issue Details
0050416Openbravo LocalizationsLocalization Italypublic2022-10-05 11:512022-10-11 13:28
ucarrion 
jetxarri 
highmajoralways
closedfixed 
5
 
 
0050416: eInvoices must inform the legal entities as informer
In the XML for an eInvoice we have the tag <CedentePrestatore> that refers to the taxpayer that is informing the invoice.

From a Openbravo perspective, currently we are mapping this with the store that is issuing the invoice and not with the legal entity the store belongs to. Even if the invoice is issued from an store organization, who is informing to the authorities is always the legal entity.
-Login a terminal prepared to issue xml eInvoice files.
-Do a sale issuing the invoice.
-Go to the backoffice and run the process to export the XML.
-In the sales invoice window, select the issued invoice and in the attachments you will have the xml generated.
-Download the xml file and open it.
-Search for the <CedentePrestatore> tag and then check that it is referrig to the store.
The <CedentePrestatore> must always refer to the legal entity the store issuing the invoice belongs to.
NOR, NORAUTO
Issue History
2022-10-05 11:51ucarrionNew Issue
2022-10-05 11:51ucarrionAssigned To => psanjuan
2022-10-05 11:57ucarrionTag Attached: NOR
2022-10-05 11:57ucarrionTag Attached: NORAUTO
2022-10-10 15:15jetxarriAssigned Topsanjuan => jetxarri
2022-10-10 17:30ucarrionIssue Monitored: remibrunet
2022-10-11 07:34hgbotNote Added: 0141941
2022-10-11 07:34hgbotNote Added: 0141942
2022-10-11 13:00hgbotNote Added: 0141963
2022-10-11 13:28hgbotNote Added: 0141964
2022-10-11 13:28hgbotNote Added: 0141965
2022-10-11 13:28hgbotResolutionopen => fixed
2022-10-11 13:28hgbotStatusnew => closed
2022-10-11 13:28hgbotNote Added: 0141966
2022-10-11 13:28hgbotNote Added: 0141967
2022-10-11 13:28hgbotNote Added: 0141968
2022-10-11 13:28hgbotNote Added: 0141969

Notes
(0141941)
hgbot   
2022-10-11 07:34   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.masterdata.api/-/merge_requests/3 [^]
(0141942)
hgbot   
2022-10-11 07:34   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/merge_requests/14 [^]
(0141963)
hgbot   
2022-10-11 13:00   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/92 [^]
(0141964)
hgbot   
2022-10-11 13:28   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: 85825ae36ec62aef538ded15574f4d2ba6fc57b6
Author: Javier Etxarri <javier.etxarri@openbravo.com>
Date: 11-10-2022 11:27:05
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/85825ae36ec62aef538ded15574f4d2ba6fc57b6 [^]

Related to ISSUE-50416: create properties legalOrganization and legalOrganization_info

---
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---
(0141965)
hgbot   
2022-10-11 13:28   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/92 [^]
(0141966)
hgbot   
2022-10-11 13:28   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.masterdata.api [^]
Changeset: 69870d3d24bb240d2151ccf57be99fc77f72dcfd
Author: Javier <javieretxarri@ekinbe.com>
Date: 11-10-2022 11:28:24
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.masterdata.api/-/commit/69870d3d24bb240d2151ccf57be99fc77f72dcfd [^]

Fixed ISSUE-50416: eInvoices must inform the legal entities as informer

---
M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
---
(0141967)
hgbot   
2022-10-11 13:28   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.masterdata.api/-/merge_requests/3 [^]
(0141968)
hgbot   
2022-10-11 13:28   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice [^]
Changeset: 6ae8017892bc879303e51c62d8c1be889e434a26
Author: Javier <javieretxarri@ekinbe.com>
Date: 11-10-2022 11:28:50
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/commit/6ae8017892bc879303e51c62d8c1be889e434a26 [^]

Fixed ISSUE-50416: eInvoices must inform the legal entities as informer

---
M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
M src-test/org/openbravo/localization/italy/einvoice/TestItalyXMLCreationFromJson.java
M src/org/openbravo/localization/italy/einvoice/xmlengine/document/ItalyCedentePrestatore.java
---
(0141969)
hgbot   
2022-10-11 13:28   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/merge_requests/14 [^]