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

Sales tax for Spain - SII functionality shows incorrect Sales tax

(1) ShareShare
ReportReport
Posted on by 2
Hi all,
 
I'm trying to set up and make work the D365FO SII functionality (localization for Spain).  I've created a simple vendor invoice for testing via Invoice journal, one tax code for domestic purchase, and in the xml it appears as two lines:
   
<sii:DesgloseFactura>
            <sii:DesgloseIVA>
              <sii:DetalleIVA>
                <sii:BaseImponible>82.64</sii:BaseImponible>
                <sii:BienInversion>N</sii:BienInversion>
              </sii:DetalleIVA>
              <sii:DetalleIVA>
                <sii:TipoImpositivo>21.00</sii:TipoImpositivo>
                <sii:BaseImponible>82.64</sii:BaseImponible>
                <sii:CuotaSoportada>17.36</sii:CuotaSoportada>
                <sii:BienInversion>N</sii:BienInversion>
              </sii:DetalleIVA>
            </sii:DesgloseIVA>
          </sii:DesgloseFactura>
 
Could you please advise what setup can be wrong? I have studies the Microsoft documentation here https://learn.microsoft.com/en-us/dynamics365/finance/localizations/spain/emea-esp-sii#set-up-additional-fields-and-automatically-defined-rules
but don't see any description of algorithm for DetalleIVA part
 
Is there any document describing how amounts are retreived to the xml?
Categories:
I have the same question (0)
  • Suggested answer
    Vahid Ghafarpour Profile Picture
    12,230 Super User 2026 Season 1 on at

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 681

#2
André Arnaud de Calavon Profile Picture

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

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 202 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans