Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050486
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo Localizations] Localization Italymajoralways2022-10-11 13:372022-10-26 10:58
ReporterucarrionView Statuspublic 
Assigned Toucarrion 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Regression introduced in release
Summary

0050486: A particular customer must be informed with name and surname instead of with the commercial name in the e-invoice XML file

DescriptionWhen issuing a e-invoice xml file for a particular customer, the tags to inform the name and surname must be <Nome> and <Cognome> instead of <Denominazione> that is the one used for the companies.

See spec excel file attached, point 1.4.1.3.1, 1.4.1.3.2 and 1.4.1.3.3

What we get currently:

<CessionarioCommittente>
      <DatiAnagrafici>
        <IdFiscaleIVA>
          <IdPaese>IT</IdPaese>
          <IdCodice>CGLHZG29L02D712W</IdCodice>
        </IdFiscaleIVA>
        <Anagrafica>
          <Denominazione>JULIO CESAR</Denominazione>
        </Anagrafica>
      </DatiAnagrafici>
Steps To Reproduce-Login an Italian terminal
-Do a full invoice for a particular customer
-Go to the backoffice, run the background process to export the XML files
-Sales invoice window, select your invoice and go to the attachments to download the xml file
-Check the xml file
Proposed SolutionWhat we should get:

<CessionarioCommittente>
      <DatiAnagrafici>
        <IdFiscaleIVA>
          <IdPaese>IT</IdPaese>
          <IdCodice>CGLHZG29L02D712W</IdCodice>
        </IdFiscaleIVA>
        <Anagrafica>
          <Nome>JULIO</Nome>
          <Cognome>CESAR</Cognome>
        </Anagrafica>
      </DatiAnagrafici>
TagsNOR, NORAUTO
Attached Filesxls file icon Table view B2B Ordinary invoice (6).xls [^] (180,736 bytes) 2022-10-11 13:37
xml file icon companyIT06026940012_0lftt.xml [^] (3,132 bytes) 2022-10-14 12:55
xml file icon particularIT06026940012_0lftu.xml [^] (2,947 bytes) 2022-10-14 12:55

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0142001)
psanjuan (manager)
2022-10-13 09:17

In last versions of OB there is a new field in the header of the BP window that allows to distinguish between final consumer and companies, among others.

If the customer is an individual the fields Nome and Cognome from Ad_user, fields First Name and Last Name.

As far as I know there is also a field to make this distinction in Norauto. Let us review that.
(0142002)
ucarrion (developer)
2022-10-13 09:23

Exactly, I'm referring to what Patricia is mentioning. I confirm that in Norauto we use this field to distinguish between particulars and companies.
(0142003)
hgbot (developer)
2022-10-13 10:19

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/93 [^]
(0142005)
hgbot (developer)
2022-10-13 10:32

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/merge_requests/16 [^]
(0142019)
hgbot (developer)
2022-10-13 14:43

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/93 [^]
(0142020)
hgbot (developer)
2022-10-13 14:43

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: a09466e5eb34a1b84f43a0a4798c1019e070f479
Author: Javier <javieretxarri@ekinbe.com>
Date: 13-10-2022 12:43:18
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/a09466e5eb34a1b84f43a0a4798c1019e070f479 [^]

Fixed ISSUE-50486: Add business partner type to determine what kind of bp is

---
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---
(0142023)
hgbot (developer)
2022-10-13 14:48

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice [^]
Changeset: 9188c5d7148090e81ed78d2157bf4ddde078d123
Author: Javier <javieretxarri@ekinbe.com>
Date: 13-10-2022 12:48:31
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/commit/9188c5d7148090e81ed78d2157bf4ddde078d123 [^]

Fixed ISSUE-50486: A particular customer must be informed with name and surname instead of with the commercial name in the e-invoice XML file

---
M src-test/org/openbravo/localization/italy/einvoice/TestItalyXMLCreationFromJson.java
M src/org/openbravo/localization/italy/einvoice/xmlengine/document/ItalyAnagrafica.java
M src/org/openbravo/localization/italy/einvoice/xmlengine/document/ItalyDatiAnagraficiCessionario.java
---
(0142024)
hgbot (developer)
2022-10-13 14:48

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/merge_requests/16 [^]
(0142069)
ucarrion (developer)
2022-10-14 12:54

Even if now is OK for particulars and employees informing <Nome> and <Cognome>, now the companies are also informed with those tags. In that case they should remain infomed with <Denominazione>.

- Issue History
Date Modified Username Field Change
2022-10-11 13:37 ucarrion New Issue
2022-10-11 13:37 ucarrion Assigned To => psanjuan
2022-10-11 13:37 ucarrion File Added: Table view B2B Ordinary invoice (6).xls
2022-10-11 13:37 ucarrion Tag Attached: NOR
2022-10-11 13:37 ucarrion Tag Attached: NORAUTO
2022-10-11 13:38 ucarrion Issue Monitored: remibrunet
2022-10-13 09:17 psanjuan Note Added: 0142001
2022-10-13 09:17 psanjuan Assigned To psanjuan => jetxarri
2022-10-13 09:23 ucarrion Note Added: 0142002
2022-10-13 10:19 hgbot Note Added: 0142003
2022-10-13 10:32 hgbot Note Added: 0142005
2022-10-13 11:01 psanjuan Note Added: 0142007
2022-10-13 11:02 psanjuan Note Deleted: 0142007
2022-10-13 14:43 hgbot Note Added: 0142019
2022-10-13 14:43 hgbot Resolution open => fixed
2022-10-13 14:43 hgbot Status new => closed
2022-10-13 14:43 hgbot Note Added: 0142020
2022-10-13 14:48 hgbot Note Added: 0142023
2022-10-13 14:48 hgbot Note Added: 0142024
2022-10-14 12:54 ucarrion Note Added: 0142068
2022-10-14 12:54 ucarrion Note Added: 0142069
2022-10-14 12:54 ucarrion Status closed => new
2022-10-14 12:54 ucarrion Resolution fixed => open
2022-10-14 12:54 ucarrion Note Deleted: 0142068
2022-10-14 12:55 ucarrion File Added: companyIT06026940012_0lftt.xml
2022-10-14 12:55 ucarrion File Added: particularIT06026940012_0lftu.xml
2022-10-26 10:57 ucarrion Status new => scheduled
2022-10-26 10:57 ucarrion Assigned To jetxarri => ucarrion
2022-10-26 10:58 ucarrion Status scheduled => resolved
2022-10-26 10:58 ucarrion Resolution open => fixed
2022-10-26 10:58 ucarrion Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker