Dear Jose
We understand that your question is related to the Spanish I.R.P.F., which is shown as a negative number on invoices because it is a withholding tax. An invoice could like this example:
Professional services: €100.00
IVA (VAT), 21%: €21.00
Tax total: €121.00
IRPF (withholding tax), -15%: -€18.15
Payable amount: €102.85
In UBL, the withholding tax has its own structure within the invoice, directly after the tax total, and is also available in UBL 2.1: https://docs.oasis-open.org/ubl/os-UBL-2.1/mod/summary/reports/UBL-Invoice-2.1.html#t-Invoice-53.
The above example could look like this:
<cac:WithholdingTaxTotal>
<cbc:TaxAmount currencyID="EUR">18.15</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="EUR">121.00</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="EUR">18.15</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:Percent>15</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>IRPF</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:WithholdingTaxTotal>
Hope this helps.
Best regards,
Kenneth Bengtsson
From:
Kelly Cullinane <kelly.c...@oasis-open.org>
Date: Tuesday, May 7, 2024 at 3:47 PM
To: Kenneth Bengtsson <kbeng...@efact.pe>, oasi...@connectedcommunity.org <oasi...@connectedcommunity.org>
Subject: Fwd: [TC Comment List] UBL 2.4 - Personal Income Tax in Spain.
Hello UBL TC Members:
The email below came into the general TC comment mailing list with a question about the UBL spec. I am forwarding it on to you for follow up.
Best regards
------------------------------------------
José López - Romero Moraleda
--
You received this message because you are subscribed to the Google Groups "Technical-Committee-Comments" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
technical-committee-...@oasis-open.org.
To view this discussion on the web visit
https://groups.google.com/a/oasis-open.org/d/msgid/technical-committee-comments/CAP70Vndpnj-pQ2yLghBo_0%2BE04R-wmkkfZSUUsWzn%2BK7eQFSkA%40mail.gmail.com.
Hi Jose
I am sure that you’re right, that the IRPF is calculated based on the actual income of the professional individual, not including any VAT that might also be charged on the invoice. So the calculation looks as your corrected example with the €106.00 payable amount. The UBL structure would be the same though, regardless of the actual values.
Best regards,
Kenneth
Hi Kenneth,
Hello UBL TC Members:
Best regards
------------------------------------------
Error! Filename not specified.
José López - Romero Moraleda