PEPPOL-COMMON-R046: Tax Code (Codice Fiscale) must be stated in the correct format
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[PEPPOL-COMMON-R046]-Tax Code (Codice Fiscale) must be stated in the correct format
u:checkCF(normalize-space())PEPPOL-COMMON-R046 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 applies to cbc:EndpointID elements whose schemeID is '9907' (identified in the message as Tax Code, "Codice Fiscale"). It is a warning, so a document that does not satisfy it is reported but not rejected. The value of the element is normalized for surrounding whitespace and must pass the u:checkCF check, i.e. it must be in the format the rule set accepts for a Codice Fiscale.
How to fix
Set cbc:EndpointID[@schemeID='9907'] to a value that passes the u:checkCF format validation. The rule as shown does not list the exact accepted pattern; if a value is reported, check the Codice Fiscale format expected by the rule set/validator and ensure the value is not empty or whitespace-only after normalization.
Guidance on this rule. The original text above is authoritative.
Where to go next
PEPPOL-COMMON-R046 changed in 1 published Peppol BIS Billing UBL release comparison:
- PEPPOL-COMMON-R046 in 3.0.10 → 3.0.15: New rule
Validate an invoice against these rules · All release changes