Skip to content
BR-KSA-61

Rule BR-KSA-61 in Saudi e-invoicing

Every document must contain the previous invoice hash.

The field is required even on the first document, which carries the fixed value the standard defines.

The XML standard does not say which rules are errors and which are warnings; this classification is not confirmed by an official document.

IdentifierBR-KSA-61
EffectError: the document is rejected
Applies toStandard tax invoice and Simplified tax invoice

In JooDax

Built

Every document carries its predecessor's hash or the genesis value.

crates/jdx-einvoice-sa/src/unit.rs

Fields it checks

Other rules on the same fields

  • BR-KSA-26 · The previous invoice hash must be a base64 SHA-256 computed the standard's way.

Validation rules — E-invoicing in Saudi Arabia (FATOORA)

Sources

  1. Electronic Invoice XML Implementation Standard to the E-Invoicing resolution dated 2023-05-19 (v1.2) — ZATCA

Checked on: 4 November 2026. What concerns JooDax is taken from the programs’ own code.