errorITAubl-2.1

IT-R-005:Invalid PEC email format

Italian PEC email must be valid certified email address.

Severity
Fatal
Rule set
ubl-2.1
Country
ITA
Fix type
INPUT REQUIRED

Engine Classification

Business data required · Explicit input workflow · No assumptions made

Required input: PEC Email Address

What is IT-R-005?

IT-R-005 is a fatal validation rule defined in the ubl-2.1 specification (ITA national rules). It validates the ElectronicMail element under EndpointID or in the UBL invoice XML.

When this rule fires, the invoice is non-compliant and will be rejected by Peppol access points and national validation services. The sending system receives a rejection response and the invoice does not reach the buyer.

Target path: XPath: //cbc:EndpointID or //cbc:ElectronicMail

Why This Error Matters

PEC is used for legal delivery when Codice Destinatario is 0000000.

IT-R-005 is a hard failure. Invoices that trigger this rule are rejected at the access point and never reach the recipient. In Peppol networks, this means your sending system receives an MLR (Message Level Response) with a rejection status. The invoice must be corrected and re-sent, adding delay to your payment cycle.

Validator Behavior

  • ·Causes invoice rejection
  • ·Fails UBL schema validation
  • ·Rejected by SDI (Sistema di Interscambio)
  • ·Error returned: IT-R-005
  • ·Specification: ubl-2.1

How to Fix It

1.

Check PEC domain

Must be certified email provider

2.

Verify format

Valid email format required

XML Example

Generic example based on the rule's target XPath. Your actual XML structure may differ.

Before
<!-- Missing or empty element triggers cbc:ElectronicMail error -->
<cbc:ElectronicMail></cbc:ElectronicMail>
After
<!-- Provide the required value -->
<cbc:ElectronicMail>VALID_VALUE</cbc:ElectronicMail>

Technical Reference

XPathXPath: //cbc:EndpointID or //cbc:ElectronicMail
Specubl-2.1

Common Causes

  • ·Invalid PEC domain
  • ·Regular email instead of PEC

Seeing this in production? The API handles IT-R-005 automatically. See the fix response →

Frequently Asked Questions

Italian PEC email must be valid certified email address.

Use valid PEC email domain (.pec.it or certified provider). You can also use Invoice Navigator's automatic Fixer tool to correct this instantly.

Yes, IT-R-005 is a critical error that will cause invoice rejection. It must be fixed before submission.

Related Errors

Last updated: 27 February 2026

Share this guide:

Handle IT-R-005 Automatically in Your Pipeline

The compliance engine auto-remediates this error with controlled safety policies and evidence pack generation.