BR-KSA-68: Every invoice needs a tax currency code (BT-6)

Explained by Matheel from ZATCA's rule text and the condition SDK 3.4.8 executes · Updated

Error: the invoice is rejectedAll invoicesFields: BT-6

The invoice root must contain a non-empty cbc:TaxCurrencyCode (BT-6). This rule checks presence only, not the value.

How to fix it

Add <cbc:TaxCurrencyCode> with the tax currency code at invoice level, next to cbc:DocumentCurrencyCode.

ZATCA's official text

[BR-KSA-68]-Tax currency code (BT-6) must exist in an invoice.
Source: ZATCA SDK 3.4.8 · ZATCA KSA rules

Fails when (the condition ZATCA's SDK runs)

not(exists(cbc:TaxCurrencyCode) and (cbc:TaxCurrencyCode) != '')

Related rules

Validate your invoice against ZATCA's rules

Paste the XML and see every error and warning. It runs in your browser; the invoice goes nowhere.

Validate an invoice or try Matheel