Validate a ZATCA XML file for free · ZATCA error codes
ZATCA BR-KSA-08: seller identification (BT-29) scheme
BR-KSA-08 · Warning
[BR-KSA-08]-The seller identification (BT-29) must exist only once with one of the scheme ID (BT-29-1) (CRN, MOM, MLS, SAG, OTH, 700) and must contain only alphanumeric characters. Commercial Registration number with "CRN" as schemeID. MOMRAH license with "MOM" as schemeID. MHRSD license with "MLS" as schemeID. 700 Number with "700" as schemeID. MISA license with "SAG" as schemeID. Other ID with "OTH" as schemeID. In case of multiple commercial registrations, the seller should fill the commercial registration of the branch in respect of which the Tax Invoice is being issued. In case multiple IDs exist then one of the above must be entered following the sequence specified above.
The official rule (a warning in the SDK schematron) requires that seller identification (BT-29) exist only once, with one of the scheme IDs CRN, MOM, MLS, SAG, OTH, 700, and contain only alphanumeric characters.
- CRN — Commercial Registration number
- MOM — MOMRAH license
- MLS — MHRSD license
- 700 — 700 Number
- SAG — MISA license
- OTH — Other ID
The official text also says: if several commercial registrations exist, fill the commercial registration of the branch the tax invoice is issued for; if several ID types exist, enter one of the above following the sequence specified in the rule. In UBL this is typically cac:PartyIdentification/cbc:ID/@schemeID.
This is not tax advice about which licence you must hold. Valifakt is not a ZATCA-onboarded EGS.
Which scheme should I use?
The official list and sequence are in the rule text above. Most sellers use CRN for a commercial registration number. Choose the identifier that actually applies to the branch on the invoice.
Why alphanumeric only?
That is the official constraint on the ID value. Spaces, hyphens or Arabic letters in the ID field trigger the rule.
Is this fatal?
In the official SDK XSL this assertion is flagged as a warning. Your EGS or Fatoora may still reject the document if the identification is missing or wrong.
Related ZATCA rules
- BR-KSA-03 – Invoice UUID (KSA-1) missing or invalid
- BR-KSA-26 – Previous invoice hash (PIH, KSA-13) is not base64 SHA-256
- BR-KSA-27 – QR code (KSA-14) missing or not base64Binary
- BR-KSA-39 – Seller VAT number (BT-31) missing
- BR-KSA-40 – Seller VAT number (BT-31) is not 15 digits starting and ending with 3
- BR-KSA-04 – Invoice issue date (BT-2) is in the future or invalid
- BR-KSA-06 – Invoice transaction code (KSA-2) missing or invalid
- BR-KSA-17 – Credit or debit note missing the reason (KSA-10)
Validate a ZATCA XML file for free Pricing
Not tax advice. Valifakt is not a ZATCA-onboarded e-invoicing solution (EGS). Official rule text is quoted from the ZATCA SDK validation-rules XSL.