Skip to main content
BR-KSA-52ErrorZATCA Phase 2 UBL 2.1implemented

Line VAT Amount Mandatory on Standard Invoices (KSA-11)

Each InvoiceLine on Standard Tax Invoices and associated notes must include cac:TaxTotal/cbc:TaxAmount.

Scope
Invoice Lines
Applicable Invoice Types
Standard (B2B), Credit Note (B2B), Debit Note (B2B)
Catalog Version
v1.0.0 (2026-11-23)
Target XPath
/Invoice/cac:InvoiceLine/cac:TaxTotal/cbc:TaxAmount

Typical Reason for Failure

Generic EN 16931 exporters only emit document-level TaxTotal and omit line-level cac:TaxTotal.

Invalid Synthetic Example

Before (Fails)xml
<cac:InvoiceLine><cbc:ID>1</cbc:ID><cbc:LineExtensionAmount currencyID="SAR">100.00</cbc:LineExtensionAmount><!-- No line TaxTotal --></cac:InvoiceLine>

Corrected Synthetic Example

After (Fixed)xml
<cac:InvoiceLine><cbc:ID>1</cbc:ID><cbc:LineExtensionAmount currencyID="SAR">100.00</cbc:LineExtensionAmount><cac:TaxTotal><cbc:TaxAmount currencyID="SAR">15.00</cbc:TaxAmount><cbc:RoundingAmount currencyID="SAR">115.00</cbc:RoundingAmount></cac:TaxTotal></cac:InvoiceLine>

Explanation of the Fix

Add line-level cac:TaxTotal with cbc:TaxAmount and cbc:RoundingAmount.

Official Source Reference

ZATCA Electronic Invoice XML Implementation Standard (Phase 2)

Open official specification

Related Rules

Test your invoice against BR-KSA-52 now

Browser quick check; raw XML is never stored.

Open Validator