Saudi Arabia ZTA: Tax Totals
Saudi Arabia has specific requirements for how tax totals are modelled.
Use the TaxSubtotal and TaxTotal elements to model this information.
Elements
| Element | Description | 
|---|---|
| Invoice/TaxTotal | Specify the tax totals. | 
| Invoice/TaxTotal/TaxSubTotal | Specify 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  TaxAmountelement must be specified as a child of theTotalTaxgroup alongside with the VAT breakdown in one or multipleTaxSubtotalgroups.
If the DocumentCurrencyCode and the TaxCurrencyCode are the different, the following restriction applies:
- You must specify the tax amount in 2 groups:
- Group 1: Specifies the tax amount in the DocumentCurrencyCode element. This also includes the VAT breakdown in the TaxCategory element.
- Group 2: Specifies the tax amount in the TaxCurrencyCode element.
 
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>
Updated about 1 month ago
