A ZATCA invoice must reference the Previous Invoice Hash (AdditionalDocumentReference ID="PIH"); the first invoice uses an empty base hash. (BR-KSA hash chain)
Why ZATCA invoices fail rule ZATCA-KSA-03 (ERROR) and how to fix it: A ZATCA invoice must reference the Previous Invoice Hash (AdditionalDocumentReference ID="PIH"); the first invoice uses an empty base hash. (BR-KSA hash chain)
Was diese Regel prüft
A ZATCA invoice must reference the Previous Invoice Hash (AdditionalDocumentReference ID="PIH"); the first invoice uses an empty base hash. (BR-KSA hash chain)
Betroffenes Element: Invoice › Pih.
Standard: ZATCA (KSA) — EN 16931 + BR-KSA. Severity: ERROR.
Warum Ihre Rechnung abgelehnt wird
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.
Wie man es behebt
Add Invoice › Pih — it is mandatory for a ZATCA invoice.
Vor dem Senden prüfen
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.