Account
English

PEPPOL-COMMON-R045: Tax Code (Codice Fiscale) must be stated in the correct format

Peppol BIS Billing 3.0 rule · Warning · UBL / CII

StandardPeppol BIS Billing 3.0 (OpenPeppol)SeverityWarning: the invoice is accepted but should be correctedSyntaxUBL, CIIApplies toInvoices and credit notes sent over the Peppol network (UBL) and, because XRechnung embeds the Peppol rule set, every XRechnung as well.

Official rule text

[PEPPOL-COMMON-R045] Tax Code (Codice Fiscale) must be stated in the correct format

Why this error occurs

The value is present but does not match the required pattern: wrong date format, an IBAN with a wrong check digit, an e-mail address without a valid structure, a URL without scheme, or a text with forbidden characters.

How to fix it

Correct the value so it matches the format named in the rule: dates as YYYY-MM-DD in UBL and YYYYMMDD with format="102" in CII, IBANs without spaces and with a valid checksum, e-mail addresses with exactly one @, URLs starting with http:// or https://.

What the validator checks

Checked element (context):

UBL

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

Test (XPath):

u:checkCF(normalize-space())

CII

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

Test (XPath):

u:checkCF(normalize-space())

Check your invoice

Drop your XML or PDF on the validator and every failed rule is linked to its page here. Free, no account, the file is not stored.

Check your invoice →

Same check via API:

curl -F file=@invoice.xml https://einvoicechecker.com/v1/validate

Related rules

Frequently asked questions

What does PEPPOL-COMMON-R045 mean?

PEPPOL-COMMON-R045 is a peppol bis billing 3.0 rule: Tax Code (Codice Fiscale) must be stated in the correct format

Will my invoice be rejected because of PEPPOL-COMMON-R045?

No. PEPPOL-COMMON-R045 is a warning: the invoice is accepted but the recipient sees the notice. Fix it anyway, warnings often become errors in later rule versions.

Which formats does PEPPOL-COMMON-R045 apply to?

Invoices and credit notes sent over the Peppol network (UBL) and, because XRechnung embeds the Peppol rule set, every XRechnung as well. Syntax: UBL and CII.

Source: Peppol BIS Billing 3.0.20 (November 2025). Catalogue generated from the official schematron on 2026-10-14.