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

Announcements

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
    15,110 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
André Arnaud de Calavon Profile Picture

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

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 612

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 589 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans