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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Tax exempt number on sales documents Spain

(0) ShareShare
ReportReport
Posted on by 1,419

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! 

I have the same question (0)
  • Suggested answer
    Alireza Eshaghzadeh Profile Picture
    14,839 Super User 2026 Season 1 on at

    Hi,

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

  • Suggested answer
    MauricioSaldana Profile Picture
    Microsoft Employee on at

    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

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 521 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 438

#3
Adis Profile Picture

Adis 261 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans