Skip to content
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).

IdentifierBT-55
Path in the document/Invoice/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode
Cardinality1..1 if its parent exists
Data typeCode
Applies toStandard tax invoice and Simplified tax invoice
GroupBG-8 Buyer postal address

In JooDax

Not built

The 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 invoiceDebit noteCredit noteSimplifiedSimplified debitSimplified credit
MandatoryMandatoryMandatoryOptionalOptionalOptional

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

  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.