Skip to content
BR-KSA-06

Rule BR-KSA-06 in Saudi e-invoicing

The name attribute on the invoice type must exist with the structure NNPNESB.

The first two positions are 01 or 02 (standard or simplified), then five 0/1 flags: third party, nominal, export, summary, self-billed. Exactly seven positions; zeros may not be dropped.

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-06
EffectError: the document is rejected
Applies toStandard tax invoice and Simplified tax invoice

In JooDax

Built

The programs write 0200000.

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

Fields it checks

Other rules on the same fields

  • BR-KSA-07 · Self-billing may not be combined with the export flag.
  • BR-KSA-31 · On simplified documents only the third-party, nominal and summary flags are accepted.
  • BR-KSA-46 · An export invoice must not contain a buyer VAT number.
  • BR-KSA-71 · A simplified summary invoice must name the buyer.
  • BR-KSA-72 · A simplified summary invoice must carry the supply date and supply end date.

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
  2. Electronic Invoice Data Dictionary 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.