PEPPOL-COMMON-R047: Italian VAT Code (Partita Iva) must be stated in the correct format
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[PEPPOL-COMMON-R047]-Italian VAT Code (Partita Iva) must be stated in the correct format
u:checkPIVAseIT(normalize-space())PEPPOL-COMMON-R047 is a warning rule in the format layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is flagged but not rejected.
What this rule requires
PEPPOL-COMMON-R047 applies to any of cbc:EndpointID, cac:PartyIdentification/cbc:ID, or cbc:CompanyID when they carry schemeID='0211' (Italian VAT identifier). It is a warning: the validator reports that the element's content does not pass the checkPIVAseIT function, so the value is not in the expected Partita Iva format. The rule set does not expose the exact format pattern, only that the value must satisfy this function.
How to fix
For each listed element with schemeID='0211', replace the value with a valid Italian Partita Iva. The exact format is determined by the checkPIVAseIT function; if you cannot infer it from your system, verify the VAT number with the issuer or refer to the Italian VAT number specification your system uses. Since this is a warning, the invoice is not rejected, but correcting the value clears the advisory message.
Guidance on this rule. The original text above is authoritative.
Where to go next
PEPPOL-COMMON-R047 changed in 1 published Peppol BIS Billing UBL release comparison:
- PEPPOL-COMMON-R047 in 3.0.10 → 3.0.15: New rule
Validate an invoice against these rules · All release changes