Counterfoil rule note

BR-AF-02

Quoted from a public specification. This page is not a validator, and it is not tax, legal, or accounting advice.

Country
EU
Syntax
UBL
Severity
fatal
Last verified
2026-10-18

Official statement

An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IGIC" 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).

Source: https://docs.peppol.eu/poacc/billing/3.0/rules/ubl-tc434/BR-AF-02/

Peppol BIS Billing 3.0, May 2026 release, EN 16931 model bound to UBL

Severity note: fatal, from the Flag column of the Peppol BIS Billing 3.0 UBL rules index retrieved 2026-10-18.

Plain-language reading

If an invoice line uses the VAT category "IGIC", the invoice must 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 statement names no buyer identifier and lowercases "tax" in "Seller tax registration identifier". The published test looks for a line category code L whose tax scheme is VAT. The negative branch calls exists and still requires that tax scheme, written cbc:ID))='VAT' with no space before =.

What to change

On a line coded L, send at least one of BT-31, BT-32, or BT-63.

Illustration

Illustration of the condition in the official statement. Not an example published by the source.

Fails the stated condition. A line uses category code L, and BT-31, BT-32, and BT-63 are all missing.

Passes the stated condition. A line uses L, and at least one of BT-31, BT-32, or BT-63 is present.

Published context and test

Copied from the source. Not reimplemented on this page.

/ubl:Invoice | /cn:CreditNote
(exists(//cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'L'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']) and (exists(//cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID) or exists(//cac:TaxRepresentativeParty/cac:PartyTaxScheme[cac:TaxScheme/(normalize-space(upper-case(cbc:ID)) = 'VAT')]/cbc:CompanyID))) or not(exists(//cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'L'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']))

All rule notes · JSON · Markdown · llms.txt · Invoice page · Privacy