einvoice / EN 16931 / XRechnung rule reference
BR-AG-02
An IPSI (M) Invoice line (BT-151) requires the Seller VAT identifier (BT-31), Seller tax registration id (BT-32) and/or Seller tax representative VAT id (BT-63) — both official disjuncts are VAT-scoped (the BR-Z/E/AF-02 symmetric shape, not BR-S-02's scheme-agnostic tail).
Enthält eine Rechnung eine Rechnungsposition (BG-25), bei der der Code der Umsatzsteuerkategorie des in Rechnung gestellten Artikels (BT-151) „IPSI (Ceuta/Melilla)“ lautet, so muss die Rechnung „Umsatzsteuer-Identifikationsnummer des Verkäufers“ (BT-31), „Steuernummer des Verkäufers“ (BT-32) und/oder „Umsatzsteuer-Identifikationsnummer des Steuervertreters des Verkäufers“ (BT-63) enthalten.
Deutsche Fassung: Übersetzung der gleichen BT/BG-Semantik (translation — not the official assert).
- Requires
- An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IPSI" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63).
- Business terms
BG-25BT-31BT-32BT-63BT-151- Syntax
- Binds the UBL-2.1 Invoice / CreditNote syntax and the UN/CEFACT-CII syntax
- Location (UBL-2.1 path)
cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory[cbc:ID='M']- Fix
- Adjust the VAT breakdown at `cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory[cbc:ID='M']` so that An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IPSI" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63).
- Fix (Deutsch)
- Ergänzen Sie das erforderliche Element bei `cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory[cbc:ID='M']`: Enthält eine Rechnung eine Rechnungsposition (BG-25), bei der der Code der Umsatzsteuerkategorie des in Rechnung gestellten Artikels (BT-151) „IPSI (Ceuta/Melilla)“ lautet, so muss die Rechnung „Umsatzsteuer-Identifikationsnummer des Verkäufers“ (BT-31), „Steuernummer des Verkäufers“ (BT-32) und/oder „Umsatzsteuer-Identifikationsnummer des Steuervertreters des Verkäufers“ (BT-63) enthalten.
- Severity
- fatal
- Provenance source
en16931-ubl- Provenance assert
An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IPSI" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63).
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.