web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

B2B Electronic Invoice (Italy)

(0) ShareShare
ReportReport
Posted on by

Hi everyone,

I have currently set up my NAV Client to be able to submit electronic invoices.

I have filled the basics like Customers PA Code, Company Info etc.

The invoices are just correct formatted and saved.

I have the need to also print the associated shipments, order number and Bank Name.

Any idea where should i fill this info in order to get them in the XML?

I need the following :

<DatiOrdineAcquisto>

<DatiDDT>

Thanks

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Roberto Stefanetti Profile Picture
    12,998 on at

    hi Dimitri,

    some info for you.

    <DatiOrdineAcquisto>

    to have this field filled in, you need to insert\complie CIG and CUP values (CIG > Identification Code  and the CUP > Unique Project Code  - for Public Administration)

    <DatiDDT>

    this field is compiled ONLY if the invoice is made by taking the shipment lines (DDT Invoicing), if the invoice is instead made manually (or by order) it is not filled in (not a reference to the DDT).

    News

    I am currently working and inserting requests to Microsoft for this feature (B2B Electronic Invoice (Italy), the legislation in Italy is currently in continuous evolution, they are adapting the XML layout to the new provisions.

    If there are any updates on the structure of the XML files, I will keep you informed!

    Roberto

  • Community Member Profile Picture
    on at

    Thanks a lot for the update.

    Roberto Stefanetti

    I have one last question. 
    When posting a Credit memo and export the XML, i am getting the errors :

    2.2.2.2 Natura not filled while 2.2.2.1 AliquotaIVA equal zero   00429
    2.2.1.14 Natura not filled while 2.2.1.12 AliquotaIVA equal zero   00400

    This means that Natura should be filled because AliquotaIVA is zero, 

    any idea where should i fill this info?


    Thanks!

  • Suggested answer
    Roberto Stefanetti Profile Picture
    12,998 on at

    hi,

    It is necessary to go to the "VAT Posting Setup" and fill in the "nature" field of the VAT codes with "zero tax rate".

    You must indicate 'N3' if not taxable.

    Example:

    N08C - Non imponibile art. 8/C  >  'N3' value

    Roberto

  • Community Member Profile Picture
    on at

    Hey thanks for the instant reply. You understand that we are all under pressure due to time limitation!

    Inside the VAT Posting Setup Card, can you please indicate where exactly is the Nature field since i cannot see it?

    Thanks

  • Community Member Profile Picture
    on at

    Update : I did proceed as you said but still i dont have the element <Natura> In my XML

  • Community Member Profile Picture
    on at

    Hi Roberto, if you can, tell to MS team to implement <Arrotondamento> section because there are too many problems with rounding lineamount (with discounts) and the total base amount.

    this tag resolve many issues!

    <DatiRiepilogo>
    <AliquotaIVA>22.00</AliquotaIVA>

    <Arrotondamento>-0.22</Arrotondamento>
    <ImponibileImporto>172.22</ImponibileImporto>
    <Imposta>37.89</Imposta>
    <EsigibilitaIVA>I</EsigibilitaIVA>
    </DatiRiepilogo>

    Thanks

    Marco

  • Community Member Profile Picture
    on at

    Roberto Stefanetti Can you kindly confirm where i can find & fill the CIG and CUP values ?

    Thanks

  • Suggested answer
    Roberto Stefanetti Profile Picture
    12,998 on at

    hi,

    Microsoft is working on B2C Invoicing (take a look to last NAV 2018 Cumulative update... some news features and fix are added in this update)

    CIG  e CUP --> this fileld are: 12182 "Fattura Project Code" and field 12183 "Fattura Tender Code"  (fields available on table 36 Sales Header and table 112 Sales Invoice Header).

  • Katya King Profile Picture
    5 on at

    Hello, I added values to 12182 "Fattura Project Code" and field 12183 "Fattura Tender Code on a sales order but the lines are not populating in XML file in <DatiOrdineAcquisto>. Any idea why? (we are running Business Central 14, CU8)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans