errorITAFatturaPA

SDI-00002:Partita IVA format invalid

Italian VAT number (Partita IVA) must be exactly 11 digits for domestic invoices, or prefixed with IT for cross-border invoices.

Severity
Fatal
Rule set
FatturaPA
Country
ITA
Fix type
INPUT REQUIRED

Engine Classification

Business data required · Explicit input workflow · No assumptions made

Required input: Partita IVA (Italian VAT Number)

What is SDI-00002?

SDI-00002 is a fatal validation rule defined in the FatturaPA specification (ITA national rules). It checks whether partita iva format invalid.

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-00002 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-00002
  • ·Specification: FatturaPA

How to Fix It

.

.

.

Technical Reference

SpecFatturaPA

Code Example

<IdFiscaleIVA><IdPaese>IT</IdPaese><IdCodice>12345678901</IdCodice></IdFiscaleIVA>

Common Causes

  • ·Incorrect number of digits
  • ·Missing IT prefix for cross-border
  • ·Including spaces or special characters

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

Frequently Asked Questions

Italian VAT number (Partita IVA) must be exactly 11 digits for domestic invoices, or prefixed with IT for cross-border invoices.

Format the Partita IVA correctly based on invoice type. You can also use Invoice Navigator's automatic Fixer tool to correct this instantly.

Yes, SDI-00002 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-00002 can be automatically corrected using Invoice Navigator's Fixer tool. Upload your invoice and the tool will identify and fix common issues, including partita iva format invalid.

Last updated: 19 January 2026

Share this guide:

Handle SDI-00002 Automatically in Your Pipeline

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