errorITAFatturaPA

SDI-00305:Codice Fiscale validation failed

Codice Fiscale must pass checksum validation. It should be 16 characters for individuals (alphanumeric) or 11 digits for businesses (same as Partita IVA).

Severity
Fatal
Rule set
FatturaPA
Country
ITA
Fix type
INPUT REQUIRED

Engine Classification

Business data required · Explicit input workflow · No assumptions made

Required input: Entity Type, Codice Fiscale

What is SDI-00305?

SDI-00305 is a fatal validation rule defined in the FatturaPA specification (ITA national rules). It checks whether codice fiscale validation failed.

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.

Why This Error Matters

SDI-00305 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
  • ·Rejected by SDI (Sistema di Interscambio)
  • ·Error returned: SDI-00305
  • ·Specification: FatturaPA

How to Fix It

.

.

.

Technical Reference

SpecFatturaPA

Code Example

<CodiceFiscale>RSSMRA85M01H501Z</CodiceFiscale>

Common Causes

  • ·Typo in Codice Fiscale
  • ·Invalid checksum character
  • ·Wrong format used for business vs individual

Seeing this in production? The API handles SDI-00305 automatically. See the fix response →

Frequently Asked Questions

Codice Fiscale must pass checksum validation. It should be 16 characters for individuals (alphanumeric) or 11 digits for businesses (same as Partita IVA).

Verify the Codice Fiscale format and checksum are correct. You can also use Invoice Navigator's automatic Fixer tool to correct this instantly.

Yes, SDI-00305 is a critical error that will cause invoice rejection. It must be fixed before submission to ensure your invoice is accepted by the recipient's system.

Many instances of SDI-00305 can be automatically corrected using Invoice Navigator's Fixer tool. Upload your invoice and the tool will identify and fix common issues, including codice fiscale validation failed.

Last updated: 19 January 2026

Share this guide:

Handle SDI-00305 Automatically in Your Pipeline

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