errorcountryITAubl-2.1

IT-R-005:Invalid PEC email format

Fix: Use valid PEC email domain (.pec.it or certified provider). Provide the required value in the free validator.

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 rejected by Peppol access points and never reaches 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 — the invoice must be corrected and re-sent before it can reach the recipient.

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). Invoice Navigator detects this error and prompts for the required business data before applying a safe fix.

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

Related Errors

Related Content

Last updated: 3 March 2026

Share this guide:

Validate your invoice

Drop your XML here to check for IT-R-005

Fix IT-R-005 with guided input

Upload your invoice and we'll ask for the missing data, then apply a safe, auditable fix.