Peppol BIS Billing 3.0.21 · UBL

IT-R-001: BT-32 (Seller tax registration identifier) - For Italian suppliers BT-32 minimum length…

Peppol BIS Billing 3.0.21 · UBL

fatalcountry

Original rule text

[IT-R-001]-BT-32 (Seller tax registration identifier) - For Italian suppliers BT-32 minimum length 11 and maximum length shall be 16. Per i fornitori italiani il BT-32 deve avere una lunghezza tra 11 e 16 caratteri

Stored validation assertion
matches(normalize-space(cbc:CompanyID),'^[A-Z0-9]{11,16}$')

IT-R-001 is a fatal rule in the country layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is rejected. It refers to BT-32.

What this rule requires

The rule applies to Italian suppliers (supplier country determined as IT) and to cac:PartyTaxScheme elements where the tax scheme ID is not 'VAT'. It requires the seller tax registration identifier (cbc:CompanyID, BT-32) to consist of 11 to 16 characters, only uppercase letters A-Z or digits 0-9. The test uses the entire normalized value and rejects any value shorter than 11, longer than 16, or containing characters outside [A-Z0-9] (including lowercase letters).

How to fix

In the relevant non-VAT cac:PartyTaxScheme for the Italian supplier, change cbc:CompanyID to a value that is 11 to 16 characters long and contains only uppercase letters A-Z and digits 0-9. Ensure no lowercase letters, spaces, or other symbols are present. If the identifier you are using is a VAT number, check whether it should be under a cac:PartyTaxScheme with cbc:ID equal to 'VAT' instead.

Guidance on this rule. The original text above is authoritative.

Where to go next

No published Peppol BIS Billing UBL release comparison lists a change to IT-R-001.

Validate an invoice against these rules · All release changes