einvoice / EN 16931 / XRechnung rule reference
BR-CO-09
The Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) shall have a prefix in accordance with ISO code ISO 3166-1 alpha-2 by which the country of issue may be identified. Nevertheless, Greece may use the prefix 'EL'.
Der Umsatzsteuer-Identifikationsnummer des Verkäufers (BT-31), der Umsatzsteuer-Identifikationsnummer des Steuervertreters des Verkäufers (BT-63) und der Umsatzsteuer-Identifikationsnummer des Erwerbers (BT-48) muss ein Präfix gemäß ISO 3166-1 Alpha-2 vorangestellt sein, anhand dessen das Land der Ausstellung bestimmt werden kann. Griechenland darf dennoch das Präfix „EL“ verwenden.
Deutsche Fassung: Übersetzung der gleichen BT/BG-Semantik (translation — not the official assert).
- Requires
- The Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) shall have a prefix in accordance with ISO code ISO 3166-1 alpha-2 by which the country of issue may be identified. Nevertheless, Greece may use the prefix ‘EL’.
- Business terms
BT-31BT-48BT-63- Syntax
- Binds the UBL-2.1 Invoice / CreditNote syntax and the UN/CEFACT-CII syntax
- Location (UBL-2.1 path)
//cac:PartyTaxScheme[cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']- Fix
- Add the required element at `//cac:PartyTaxScheme[cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']`: The Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) shall have a prefix in accordance with ISO code ISO 3166-1 alpha-2 by which the country of issue may be identified. Nevertheless, Greece may use the prefix ‘EL’.
- Fix (Deutsch)
- Ergänzen Sie das erforderliche Element bei `//cac:PartyTaxScheme[cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']`: Der Umsatzsteuer-Identifikationsnummer des Verkäufers (BT-31), der Umsatzsteuer-Identifikationsnummer des Steuervertreters des Verkäufers (BT-63) und der Umsatzsteuer-Identifikationsnummer des Erwerbers (BT-48) muss ein Präfix gemäß ISO 3166-1 Alpha-2 vorangestellt sein, anhand dessen das Land der Ausstellung bestimmt werden kann. Griechenland darf dennoch das Präfix „EL“ verwenden.
- Severity
- fatal
- Provenance source
en16931-ubl- Provenance assert
The Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) shall have a prefix in accordance with ISO code ISO 3166-1 alpha-2 by which the country of issue may be identified. Nevertheless, Greece may use the prefix ‘EL’.
The Location above is a UBL-2.1 path, and no UN/CEFACT-CII path for this rule is published here; Fix and Fix (Deutsch), verbatim from remediation_catalog.json and not reworded here; the UN/CEFACT-CII binding of this rule is differentially proven against the official CEN EN 16931 1.3.16 Schematron.
Everything here is free and open source — pick up whatever helps, at your own pace:
- Licensing — Apache-2.0 for everyone, including closed-source embedding; an optional $29 / $290 commercial license adds support and rule-corpus update notices.
- German remediation (
--lang de) — the German fix for this rule is in the section above; the CLI surfaces it in place of the English message with--lang de. - Quickstart / free on-ramp — the README, a copy-paste CI-gate recipe, and a 5-minute worked walkthrough.