PEPPOL-COMMON-R045: Tax Code (Codice Fiscale) must be stated in the correct format
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[PEPPOL-COMMON-R045]-Tax Code (Codice Fiscale) must be stated in the correct format
u:checkCF(normalize-space())PEPPOL-COMMON-R045 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
The rule checks that when the schemeID is '0210' (identifying an Italian Codice Fiscale), the value in the relevant element matches the format expected for a Codice Fiscale. The test uses the function u:checkCF(normalize-space()) to validate the value. Since this is a warning, the document is not rejected, but the validator reports that the value may not be in the correct format.
How to fix
Review the value in the element that triggered the rule (cbc:EndpointID, cac:PartyIdentification/cbc:ID, or cbc:CompanyID, each with @schemeID='0210'). Ensure it is a valid Italian Codice Fiscale. If you are unsure of the required format, consult the official Codice Fiscale specification or the relevant Peppol documentation.
Guidance on this rule. The original text above is authoritative.
Where to go next
PEPPOL-COMMON-R045 changed in 1 published Peppol BIS Billing UBL release comparison:
- PEPPOL-COMMON-R045 in 3.0.10 → 3.0.15: New rule
Validate an invoice against these rules · All release changes