BT-55
Buyer country code
The buyer's ISO 3166 country code; it decides whether the full national address is required.
The country code is mandatory in the buyer address on a standard invoice (BR-KSA-10). Its value changes what else is needed: with SA, the street, building number, postal code, city and district are all required (BR-KSA-63) and the postal code must be five digits (BR-KSA-67).
| Identifier | BT-55 |
|---|---|
| Path in the document | /Invoice/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode |
| Cardinality | 1..1 if its parent exists |
| Data type | Code |
| Applies to | Standard tax invoice and Simplified tax invoice |
| Group | BG-8 Buyer postal address |
In JooDax
Not builtThe programs do not write this field: standard (B2B) invoices are not built, and the document carries no buyer VAT number or address.
crates/jdx-einvoice-sa/src/xml.rs
Applies to
| Tax invoice | Debit note | Credit note | Simplified | Simplified debit | Simplified credit |
|---|---|---|---|---|---|
| Mandatory | Mandatory | Mandatory | Optional | Optional | Optional |
Rules that check it
- BR-KSA-10 · On a standard invoice the buyer address must contain street, city and country code.
- BR-KSA-63 · If the buyer country is SA, the full national address is required.
- BR-KSA-67 · If the buyer country is SA, the buyer postal code must be five digits.
- BR-10 · An invoice shall contain the buyer postal address, except simplified documents and their notes.
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.