BT-38Seller post code
Official rule text
[IT-R-004] BT-38 (Seller post code) - Italian suppliers MUST provide the postal address post code - I fornitori italiani devono indicare il CAP di residenza.
Why this error occurs
The validator evaluates the XPath test above against the context element; the assertion is false for your file.
How to fix it
Compare your file with the rule text and the test expression, adjust the element named in the context, and validate again.
What the validator checks
Checked element (context):
UBL
cac:AccountingSupplierParty/cac:Party[$supplierCountry = 'IT']Test (XPath):
cac:PostalAddress/cbc:PostalZoneCII
ram:SellerTradeParty[$supplierCountry = 'IT']Test (XPath):
(ram:PostalTradeAddress/ram:PostcodeCode)
Check your invoice
Drop your XML or PDF on the validator and every failed rule is linked to its page here. Free, no account, the file is not stored.
Same check via API:
curl -F file=@invoice.xml https://einvoicechecker.com/v1/validateRelated rules
IT-R-001BT-32 (Seller tax registration identifier) - For Italian suppliers BT-32 minimum…IT-R-002BT-35 (Seller address line 1) - Italian suppliers MUST provide the postal address line…IT-R-003BT-37 (Seller city) - Italian suppliers MUST provide the postal address city - I…
Frequently asked questions
What does IT-R-004 mean?
IT-R-004 is a peppol national rule: BT-38 (Seller post code) - Italian suppliers MUST provide the postal address post code - I fornitori italiani devono indicare il CAP di residenza.
Will my invoice be rejected because of IT-R-004?
Yes. IT-R-004 is flagged "fatal"; validators (KoSIT, Peppol access points, the German ZRE/OZG-RE portals, KSeF) reject the invoice until it is fixed.
Which formats does IT-R-004 apply to?
Only when the seller (or for some rules the buyer) is in the named country: the rule is triggered by the country code of the party. Dutch rules implement NLCIUS, German rules the XRechnung requirements inside Peppol. Syntax: UBL and CII.
Source: Peppol BIS Billing 3.0.20 national rules (November 2025). Catalogue generated from the official rule sets on 2026-10-15.