Invoice currency code
The ISO 4217 code of the currency the invoice amounts are written in (for example SAR).
An invoice may be issued in a currency other than the riyal; this field states it with the ISO 4217 three-letter code. Every currencyID attribute on an amount must equal it (BR-KSA-CL-02), the only exception being the VAT total in accounting currency (BT-111).
When the invoice currency is not SAR, the field is not enough on its own: the VAT total must also be given in riyals in a second tax total, because VAT is always accounted for in SAR.
| Identifier | BT-5 |
|---|---|
| Path in the document | /Invoice/cbc:DocumentCurrencyCode |
| Cardinality | 0..1 |
| Data type | Code |
| Applies to | Standard tax invoice and Simplified tax invoice |
In JooDax
Partly builtEvery document is in riyals: the programs write SAR here and on every amount, and do not support other invoice currencies.
crates/jdx-einvoice-sa/src/xml.rs
Applies to
| Tax invoice | Debit note | Credit note | Simplified | Simplified debit | Simplified credit |
|---|---|---|---|---|---|
| Mandatory | Mandatory | Mandatory | Mandatory | Mandatory | Mandatory |
Rules that check it
- BR-KSA-CL-02 · Every currencyID equals the invoice currency, except the VAT total in accounting currency.
Related fields
Fields — E-invoicing in Saudi Arabia (FATOORA)
Sources
- Electronic Invoice XML Implementation Standard to the E-Invoicing resolution dated 2023-05-19 (v1.2) — ZATCA
- 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.