Skip to content
BR-KSA-51

Rule BR-KSA-51 in Saudi e-invoicing

The line amount with VAT equals the line net amount plus the line VAT.

The value goes in RoundingAmount despite the name and must match the sum exactly.

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

In JooDax

Built

The programs write exactly that sum.

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

Fields it checks

Other rules on the same fields

  • BR-KSA-52 · The line VAT amount is mandatory on standard invoices and their notes.
  • BR-KSA-53 · The line amount with VAT is mandatory on standard invoices and their notes.
  • BR-KSA-82 · On a prepayment settlement line the principal line amounts are zero.
  • BR-KSA-EN16931-11 · Line net = quantity × (net price ÷ base quantity) + line charges − line allowances.

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.