InvoiceValidator.eu

PEPPOL-COMMON-R047

warningPeppol BIS Billing 3.0profileCIIUBL

Italian VAT Code (Partita Iva) must be stated in the correct format

Why it fails

An Italian Partita IVA is malformed.

How to fix it

Eleven digits with a valid Luhn-style check digit. Do not include the IT prefix here — that belongs on the VAT identifier BT-31.

What the validator checks

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

u:checkPIVAseIT(normalize-space())

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

u:checkPIVAseIT(normalize-space())

Related rules

Part of PEPPOL-COMMON — Peppol identifier formats.

Check your own invoice against PEPPOL-COMMON-R047

…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.