Saudi Arabia: Tax Totals

Saudi Arabia has specific requirements for how tax totals are modelled.

Use the TaxSubtotal and TaxTotal elements to model this information.

Elements

ElementDescription
Invoice/TaxTotalSpecify the tax totals.
Invoice/TaxTotal/TaxSubTotalSpecify the tax subtotals.

Restrictions

If the DocumentCurrencyCode and the TaxCurrencyCode are the same (or the TaxCurrencyCode has not been specified), the following restriction applies:

  • The total tax amount in the TaxAmount element must be specified as a child of the TotalTax group alongside with the VAT breakdown in one or multiple TaxSubtotal groups.

If the DocumentCurrencyCode and the TaxCurrencyCode are the different, the following restriction applies:

  • You must specify the tax amount in 2 groups:

Example

The following example specifies 2 TaxTotal elements:

<ubl:Invoice>
    <!-- Code omitted for clarity -->
    <cac:TaxTotal>
        <cbc:TaxAmount currencyID="USD">285</cbc:TaxAmount>
        <cac:TaxSubtotal>
            <cbc:TaxableAmount currencyID="USD">1900</cbc:TaxableAmount>
            <cbc:TaxAmount currencyID="USD">285</cbc:TaxAmount>
            <cac:TaxCategory>
                <cbc:ID>S</cbc:ID>
                <cbc:Percent>15.00</cbc:Percent>
                <cac:TaxScheme>
                    <cbc:ID>VAT</cbc:ID>
                </cac:TaxScheme>
            </cac:TaxCategory>
        </cac:TaxSubtotal>
    </cac:TaxTotal>
	<cac:TaxTotal>
        <cbc:TaxAmount currencyID="SAR">1068.75</cbc:TaxAmount>
    </cac:TaxTotal>
     <!-- Code omitted for clarity -->
</ubl:Invoice>