EN 16931 · PEPPOL 3.0.17 CERTIFIED ENGINE
Pay-As-You-Go API Credits ($0.05/op) →
InvoiceSpec / Rules Registry / peppol-bis-3 / IT-R-001
fatal ASSERTION · IT-R-001 Peppol BIS Billing 3.0 (UBL-2.1) Jurisdiction: EU

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

Official Peppol BIS Billing 3.0 Spec ↗
01. Technical Specification & XPath Evaluation Context

This fatal rule (IT-R-001) enforces the Italian national extension of EN 16931 for Peppol BIS Billing 3.0. It applies to the Seller tax registration identifier (BT-32), which is carried in UBL as cac:PartyTaxScheme/cbc:CompanyID. The context XPath selects the AccountingSupplierParty/Party element only when the supplier's country (BT-40, cac:Country/cbc:IdentificationCode) equals 'IT' and the PartyTaxScheme is not a VAT scheme (i.e., cac:TaxScheme/cbc:ID != 'VAT'). For such non-VAT tax registrations (e.g., Italian Codice Fiscale or other fiscal identifiers), the identifier value must have a length between 11 and 16 characters inclusive. The assertion test (string-length(normalize-space(cbc:CompanyID)) >= 11 and string-length(normalize-space(cbc:CompanyID)) <= 16) fails when the BT-32 value is shorter than 11 or longer than 16 characters. This rule ensures Italian fiscal identifiers are syntactically valid for domestic e-invoicing systems (SdI) and prevents rejection by Italian authorities.

Evaluated XPath Location:
cac:AccountingSupplierParty/cac:Party[$supplierCountry = 'IT']/cac:PartyTaxScheme[normalize-space(cac:TaxScheme/cbc:ID) != 'VAT']
Deterministic Remediation Steps

1. Locate the Seller's tax registration identifier (BT-32) in the UBL invoice under cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID. 2. Verify that the supplier's country (cac:Country/cbc:IdentificationCode) is 'IT'. 3. Check that the TaxScheme ID is not 'VAT' (i.e., it is a non-VAT tax registration such as 'TAX' or a national scheme). 4. Ensure the CompanyID value, after trimming whitespace, has a length between 11 and 16 characters inclusive. If it is shorter, pad with leading zeros or correct the identifier; if longer, truncate or correct the identifier according to the official Italian fiscal code. 5. Re-validate the invoice against the Peppol BIS Billing 3.0 Schematron to confirm the rule passes.

02. Side-by-Side UBL-2.1 Payload Diff (Rejected vs. Compliant)
--- a/invoice-rejected.xml (IT-R-001) FAIL
1 <cac:AccountingSupplierParty>
2 <cac:Party>
3 <cac:PartyTaxScheme>
4 <cbc:CompanyID>1234567890</cbc:CompanyID> <!-- BT-32 length is 10, but must be 11-16 for Italian non-VAT tax registration -->
5 <cac:TaxScheme>
6 <cbc:ID>TAX</cbc:ID> <!-- Non-VAT scheme, so rule applies -->
7 </cac:TaxScheme>
8 </cac:PartyTaxScheme>
9 <cac:Country>
10 <cbc:IdentificationCode>IT</cbc:IdentificationCode>
11 </cac:Country>
12 </cac:Party>
13 </cac:AccountingSupplierParty>
+++ b/invoice-compliant.xml (EN 16931 VALID) PASS
1 <cac:AccountingSupplierParty>
2 <cac:Party>
3 <cac:PartyTaxScheme>
4 + <cbc:CompanyID>12345678901</cbc:CompanyID> <!-- BT-32 length is 11, valid for Italian non-VAT tax registration -->
5 <cac:TaxScheme>
6 + <cbc:ID>TAX</cbc:ID>
7 </cac:TaxScheme>
8 </cac:PartyTaxScheme>
9 <cac:Country>
10 <cbc:IdentificationCode>IT</cbc:IdentificationCode>
11 </cac:Country>
12 </cac:Party>
13 </cac:AccountingSupplierParty>
03. Interactive Peppol BIS Billing 3.0 Validation & Auto-Fix Workbench
BALANCE:3 CREDITS
invoice.xmlUBL-2.1
ORIGINCustom ERP / Billing Engine
BT-131 LINE SUM0.00 EUR
BT-106 HEADER0.00 EUR
STATUS: FAIL (2 FATAL, 1 WARN)· 1ms
Peppol BIS Billing 3.0
BR-01An Invoice shall have a valid EN 16931 Specification identifier (BT-24)
Spec & Diff
xpath: /ubl:Invoice/cbc:CustomizationID

Missing <cbc:CustomizationID> or value does not declare EN 16931 CIUS compliance.

fix: Insert <cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0</cbc:CustomizationID>.

PEPPOL-EN16931-R020Seller electronic address (BT-34) MUST be provided with a valid EAS @schemeID
Spec & Diff
xpath: /ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cbc:EndpointID

Missing <cbc:EndpointID schemeID="..."> inside <cac:AccountingSupplierParty>/<cac:Party>.

fix: Add <cbc:EndpointID schemeID="9930">DE123456789</cbc:EndpointID> as the first child of Seller <cac:Party>.

BR-DE-15Buyer reference / Leitweg-ID (BT-10) is missing
Spec & Diff
xpath: /ubl:Invoice/cbc:BuyerReference

No <cbc:BuyerReference> (BT-10) found. Mandatory in XRechnung 3.0 (BR-DE-15) and required in Peppol BIS 3.0 (PEPPOL-EN16931-R003) when OrderReference is absent.

fix: Insert <cbc:BuyerReference>991-12849-74</cbc:BuyerReference> in the document header.

Deploy Direct Custom ERP / Billing Engine → Peppol BIS Billing 3.0 AP Bridge

Automated Peppol Access Point & ZUGFeRD delivery without manual XML maintenance

04. Adjacent Peppol BIS Billing 3.0 Assertions Browse All 1,145 Rules →