InvoiceIn
Language: EN

FATTURAPA-CODICEDESTINATARIO

FatturaPA · validation rule

FatturaPAError
DatiTrasmissione/CodiceDestinatario is '0000000' but no PECDestinatario is given (or the code is not 7 characters for a business / 6 for a public body). Use the recipient's 7-character SDI code, or 0000000 together with the recipient's PEC address, or 0000000 alone only for consumers/foreign recipients (with XXXXXXX for foreign).
Field
buyer.electronic_address (FatturaPA DatiTrasmissione/CodiceDestinatario, PECDestinatario)
Rule set
FatturaPA
Rule-set version
FatturaPA 1.2.2 XSD (Agenzia delle Entrate) · in force since · Rule-set changelog
Who has to fix it
The sender

This is a property of the file you received, so it cannot be corrected on your side without changing the document — ask the supplier to reissue it.

Check your own invoice

Drop the file that failed. We parse it, run the official rule sets against it and list every finding with a fix — 20 invoices per day, no key, nothing stored.

Open the live demo

Same explanation over the API: GET /v1/rules/FATTURAPA-CODICEDESTINATARIO?lang=en