BR-09: The seller address must include a country code (BT-40)

Explained by Matheel from ZATCA's rule text and the condition SDK 3.4.8 executes · Updated

Warning: accepted with a warningAll invoicesFields: BG-5, BT-40

Checks that the seller's cac:PostalAddress contains cac:Country/cbc:IdentificationCode with a non-empty value.

How to fix it

Inside the seller's cac:PostalAddress add <cac:Country><cbc:IdentificationCode>SA</cbc:IdentificationCode></cac:Country> (or the seller's ISO 3166-1 country code, see BR-CL-14).

ZATCA's official text

[BR-09]-The Seller postal address (BG-5) shall contain a Seller country code (BT-40).
Source: ZATCA SDK 3.4.8 · EN 16931 (CEN) rules

Fails when (the condition ZATCA's SDK runs)

not((cac:Country/cbc:IdentificationCode) != '')

Related rules

Validate your invoice against ZATCA's rules

Paste the XML and see every error and warning. It runs in your browser; the invoice goes nowhere.

Validate an invoice or try Matheel