The invoice type code must be one of the accepted ZATCA UNTDID 1001 codes (388 tax invoice, 383 debit note, 381 credit note, 386 prepayment).
Why ZATCA invoices fail rule ZATCA-HDR-005 (ERROR) and how to fix it: The invoice type code must be one of the accepted ZATCA UNTDID 1001 codes (388 tax invoice, 383 debit note, 381 credit note, 386 prepayment).
Ce que vérifie cette règle
The invoice type code must be one of the accepted ZATCA UNTDID 1001 codes (388 tax invoice, 383 debit note, 381 credit note, 386 prepayment).
Élément concerné : Invoice › TypeCode.
Standard: ZATCA (KSA) — EN 16931 + BR-KSA. Severity: ERROR.
Pourquoi votre facture est rejetée
ZATCA validates EN 16931 and BR-KSA business rules before clearance/reporting. When this rule fails the invoice is rejected — fix it before you submit.
Comment corriger
Use one of the accepted code values for Invoice › TypeCode (see the ZATCA / UNTDID code list).
Vérifiez avant d'envoyer
Upload your ZATCA UBL invoice to the validator to confirm this rule — and every other EN 16931 / BR-KSA rule — passes before it reaches ZATCA.