Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Tax exempt number on sales documents Spain

(0) ShareShare
ReportReport
Posted on by 1,389

Hi, 

Is there a way to make the sales tax documents to take the tax exempt number from a different place in D365 than "Organization administration > Organizations > Legal entities? I mean the tax exempt number of the issuer of the invoice. 

pastedimage1653386214180v1.png

In Spain there is a conflict and is that it seems that sales invoices take the Tax reg number for the legal entity issuing the invoice from there. This needs to be on teh tax exempt number format for transactions accross Europe, example: ES123456789. 

The SII functionality (for VAT declarations) also takes the tax exempt number from there to generate the files that are then uploaded into the Spanish tax authorities web portals. Problem is that in this case it is required that the format is the one used within Spain, this being: 123456789. 

How can Spanish companies overcome the above issue? 

Thanks! 

  • Suggested answer
    MauricioSaldana Profile Picture
    on at
    RE: Tax exempt number on sales documents Spain

    Hi CapsLock,

    As a best practice all NIF/CIF should be loaded into the system without any prefix (ES, FR, etc.) as normally the system is taking care on adding the ISO code into the reports where this is needed like for example SII.

    Now I understand you want to add the prefix into the sales invoice, something that is not mandatory, so I guess the easiest solution will be to modify the invoice layout to include the ISO code into the NIF/CIF.

    BR

    Mauricio

  • Suggested answer
    Alireza Eshaghzadeh Profile Picture
    13,693 Super User 2025 Season 1 on at
    RE: Tax exempt number on sales documents Spain

    Hi,

    Can you clarify about the fields on the sales report that you need to use ES123456789 or/and 123456789?

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

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

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 601 Most Valuable Professional

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 416

#3
Adis Profile Picture

Adis 384 Super User 2025 Season 1

Product updates

Dynamics 365 release plans