Skip to main content

Notifications

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

  • Katya King Profile Picture
    5 on at
    RE: B2B Electronic Invoice (Italy)

    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)

  • Suggested answer
    Roberto Stefanetti Profile Picture
    12,998 on at
    RE: B2B Electronic Invoice (Italy)

    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).

  • Community Member Profile Picture
    on at
    RE: B2B Electronic Invoice (Italy)

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

    Thanks

  • Community Member Profile Picture
    on at
    RE: B2B Electronic Invoice (Italy)

    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
    RE: B2B Electronic Invoice (Italy)

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

  • Community Member Profile Picture
    on at
    RE: B2B Electronic Invoice (Italy)

    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

  • Suggested answer
    Roberto Stefanetti Profile Picture
    12,998 on at
    RE: B2B Electronic Invoice (Italy)

    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
    RE: B2B Electronic Invoice (Italy)

    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
    RE: B2B Electronic Invoice (Italy)

    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

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics NAV (Archived)

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2

#1
mmv Profile Picture

mmv 2

#1
Amol Salvi Profile Picture

Amol Salvi 2

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans