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

Export Invoice Must Omit Buyer VAT Number

When KSA-2 position 5 is '1' (Export invoice), Buyer VAT registration number (BT-48) must NOT be present.

Scope
Buyer Party
Applicable Invoice Types
Export Standard Invoice
Catalog Version
v1.0.0 (2026-11-23)
Target XPath
/Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID

Typical Reason for Failure

Foreign buyer's EU/GCC VAT number is written into PartyTaxScheme/CompanyID on an export invoice.

Invalid Synthetic Example

Before (Fails)xml
<cac:PartyTaxScheme><cbc:CompanyID>DE123456789</cbc:CompanyID></cac:PartyTaxScheme>

Corrected Synthetic Example

After (Fixed)xml
<!-- Omit Buyer CompanyID on export invoices; use PartyIdentification schemeID='OTH' if needed -->

Explanation of the Fix

Remove Buyer PartyTaxScheme/CompanyID when export flag (pos 5) is '1'.

Official Source Reference

ZATCA Electronic Invoice XML Implementation Standard (Phase 2)

Open official specification

Related Rules

Test your invoice against BR-KSA-46 now

Browser quick check; raw XML is never stored.

Open Validator