InvoiceValidator.eu

PEPPOL-COMMON-R045

warningPeppol BIS Billing 3.0profileCIIUBL

Tax Code (Codice Fiscale) must be stated in the correct format

Why it fails

An Italian Codice Fiscale is malformed.

How to fix it

For a natural person it is 16 characters mixing letters and digits; for a company it is the 11-digit numeric code. Uppercase, no spaces.

What the validator checks

CII — context ram:URIID[@schemeID = '0210'] | ram:ID[@schemeID = '0210'] | ram:GlobalID[@schemeID = '0210']

u:checkCF(normalize-space())

UBL — context cbc:EndpointID[@schemeID = '0210'] | cac:PartyIdentification/cbc:ID[@schemeID = '0210'] | cbc:CompanyID[@schemeID = '0210']

u:checkCF(normalize-space())

Related rules

Part of PEPPOL-COMMON — Peppol identifier formats.

Check your own invoice against PEPPOL-COMMON-R045

…or paste the XML instead

Nothing is stored, and the whole invoice is checked, not just this rule. A PDF only works if it is Factur-X / ZUGFeRD — a PDF with the invoice XML inside it.

This is a Peppol BIS Billing 3.0 rule: an invoice can be perfectly valid EN 16931 and still be rejected by it.