BR-KSA-F-13: Seller/buyer ID must not be a placeholder digit sequence
Looks at seller and buyer cac:Party/cac:PartyIdentification/cbc:ID values whose schemeID is an allowed scheme (seller: CRN, MOM, MLS, 700, SAG, OTH; buyer: TIN, CRN, MOM, MLS, 700, SAG, NAT, GCC, IQA, OTH, PAS). A warning is raised when an all-digit value contains 8 ascending digits (01234567, 12345678, 23456789), 8 descending digits (76543210, 87654321, 98765432) or the same digit 8 times in a row. The test shown is a variable holding this failure condition.
How to fix it
Enter the party's real identification number instead of a test or placeholder value such as 1234567890 or 0000000000.
ZATCA's official text
[BR-KSA-F-13] - Please recheck Other Seller/Buyer ID (BT-29 or BT-46) as it contains an invalid value.
Source: ZATCA SDK 3.4.8 · ZATCA KSA rules
Fails when (the condition ZATCA's SDK runs)
$bad-pattern-exists
Related rules
- BR-KSA-08 · Seller ID needs a valid scheme (CRN, MOM, MLS, SAG, OTH, 700)
- BR-KSA-14 · Buyer ID must use an allowed scheme ID
- BR-KSA-49 · EDU/HEA exemption requires buyer national ID (BT-46, scheme NAT)
- BR-KSA-81 · Standard invoice without buyer VAT number needs another buyer ID
- BR-KSA-F-07 · Buyer TIN must be 10 digits starting with 3
- BR-KSA-F-08 · Seller/buyer CRN must be exactly 10 digits
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