All rules · pint-base · error

ibr-011

The buyer postal address must contain a country code.

Reviewed

Why this rule exists

It is what distinguishes a domestic supply from an export, which is the single biggest determinant of VAT treatment.

Why it usually happens

How to fix it

Require a buyer country code in your own validation before the document reaches serialization.

The official rule

The Buyer postal address (ibg-08) MUST contain a Buyer country code (ibt-055).

Verbatim from the published artefact. We execute the official Schematron unmodified, so this is exactly what an Access Point checks.

Schematron test

normalize-space(cac:Country/cbc:IdentificationCode) != ''

Applied to nodes matching cac:AccountingCustomerParty/cac:Party/cac:PostalAddress

Rule-pack versions

Rule-packLayerSeverityApplies to
pint-om-1.0.1pint-baseerrorbilling/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice
pint-ae-2026.5pint-baseerrorbilling/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice
pint-eu-1.1.1pint-baseerrorbilling/creditnote, billing/invoice
pint-ae-2026.3pint-baseerrorbilling/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice
pint-om-1.0.0pint-baseerrorbilling/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice

Related rules

ibr-cl-14 · ibr-010

Check your own invoice

Paste your XML and see every rule that fires, not just this one. Free, no sign-up, and we never store the document.

Open the validator