Counterfoil rule note

BR-IC-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-17

Official statement

An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Intra-community supply" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48).

Source: https://docs.peppol.eu/poacc/billing/3.0/rules/ubl-tc434/BR-IC-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-17.

Plain-language reading

If an invoice line uses VAT category "Intra-community supply", the invoice must include the seller VAT identifier (BT-31) or the seller tax representative VAT identifier (BT-63), and the buyer VAT identifier (BT-48). The official message names BG-25. It names BT-31, BT-63, and BT-48. It does not name BT-32 or the buyer legal registration identifier (BT-47). The published test looks for a line category code K whose tax scheme is VAT. The seller identifier it accepts is a company identifier on a VAT tax scheme, or the tax representative's company identifier on a VAT tax scheme. It also requires the buyer company identifier on a VAT tax scheme. The negative branch is not(//cac:ClassifiedTaxCategory...) with no exists() call, and it still requires that scheme. Both category comparisons write cbc:ID) = 'K' with spaces around the equals sign.

What to change

On a line coded K, send BT-31 or BT-63, and send BT-48.

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 K, and BT-31 and BT-63 are both missing, or BT-48 is missing.

Passes the stated condition. A line uses K, BT-31 or BT-63 is present, and BT-48 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) = 'K'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']) and (exists(//cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme[cac:TaxScheme/(normalize-space(upper-case(cbc:ID)) = 'VAT')]/cbc:CompanyID) or exists(//cac:TaxRepresentativeParty/cac:PartyTaxScheme[cac:TaxScheme/(normalize-space(upper-case(cbc:ID)) = 'VAT')]/cbc:CompanyID)) and (exists(//cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme[cac:TaxScheme/(normalize-space(upper-case(cbc:ID)) = 'VAT')]/cbc:CompanyID))) or not(//cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'K'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT'])

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