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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050557
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo Localizations] Localization Italymajoralways2022-10-17 13:292022-10-18 15:52
ReporterucarrionView Statuspublic 
Assigned Tojetxarri 
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

0050557: <IdFiscaleIVA> must not be infomed if the customer has only Codice Fiscale

Description<IdFiscaleIVA> must not be infomed if the customer has only Codice Fiscale in the eInvoice XMl file.

As specified by the tax authorities (see point 1.4.1.1) the <IdFiscaleIVA> tag is NOT mandatory so will be informed just if the customer has a valid Partita IVA.
Steps To Reproduce-Login an Italian terminal
-Do an invoice for a particular customer that just have a Codice Fiscale
-Pay and complete the transaction
-Export the XML file (executing 'Export Italy Invoices to a XML file' background process)
-Check that the XML file contains the <IdFiscaleIVA> when it is NOT expected
Proposed SolutionIf the customer has ONLY Codice Fiscale --> The <IdFiscaleIVA> is not informed in the XML, only <CodiceFiscale>.

If the customer has ONLY Partita IVA --> The <CodiceFiscale> is not informed in the XML, only <IdFiscaleIVA>.

If the customer has BOTH Codice Fiscale and Partita IVA --> Both the <IdFiscaleIVA> and <CodiceFiscale are informed in the XML.
TagsNOR, NORAUTO
Attached Filesxls file icon Table view B2B Ordinary invoice (5).xls [^] (180,736 bytes) 2022-10-17 13:29

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0142189)
hgbot (developer)
2022-10-17 18:57

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/merge_requests/20 [^]
(0142237)
hgbot (developer)
2022-10-18 15:52

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice [^]
Changeset: 6976fcb39b5258012c48c85c04ea324bd81171ae
Author: Javier Etxarri <javier.etxarri@openbravo.com>
Date: 18-10-2022 15:51:11
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/commit/6976fcb39b5258012c48c85c04ea324bd81171ae [^]

Fixes ISSUE-50557: <IdFiscaleIVA> must not be infomed if the customer has only Codice Fiscale.
Now the values are added only if they have a value

---
M src-test/org/openbravo/localization/italy/einvoice/TestItalyXMLCreationFromJson.java
M src/org/openbravo/localization/italy/einvoice/xmlengine/document/ItalyDatiAnagraficiCessionario.java
---
(0142238)
hgbot (developer)
2022-10-18 15:52

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/merge_requests/20 [^]

- Issue History
Date Modified Username Field Change
2022-10-17 13:29 ucarrion New Issue
2022-10-17 13:29 ucarrion Assigned To => psanjuan
2022-10-17 13:29 ucarrion File Added: Table view B2B Ordinary invoice (5).xls
2022-10-17 13:30 ucarrion Tag Attached: NOR
2022-10-17 13:30 ucarrion Tag Attached: NORAUTO
2022-10-17 13:43 aferraz Assigned To psanjuan => jetxarri
2022-10-17 18:57 hgbot Note Added: 0142189
2022-10-18 08:47 ucarrion Issue Monitored: sebastien_liron
2022-10-18 15:52 hgbot Resolution open => fixed
2022-10-18 15:52 hgbot Status new => closed
2022-10-18 15:52 hgbot Note Added: 0142237
2022-10-18 15:52 hgbot Note Added: 0142238


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker