SDI error 00313: CodiceDestinatario XXXXXXX only for non-residents
- What it means
CodiceDestinatarioXXXXXXXonly for non-residents- Typical cause
XXXXXXXused for an Italian customer or without a foreignIdFiscaleIVA- How to fix
- For an Italian customer use their code or
0000000;XXXXXXXonly withIdPaeseother thanIT - Group of checks
- Tax identifiers and recipient
- FatturaPA field
NotificaScarto
A rejected invoice counts as never issued. Fix the error and send it again: Agenzia delle Entrate practice (circolare 13/E of 2018) is within 5 days of the rejection notice, with the same number and date.
Other codes
- 00320Supplier IdFiscaleIVA and CodiceFiscale not consistent
- 00321Supplier CodiceFiscale of a subject outside the VAT group
- 00322Supplier CodiceFiscale missing with a VAT group IdFiscaleIVA
- 00323Supplier IdCodice of a partita IVA closed more than 5 years ago
- 00324Customer IdFiscaleIVA and CodiceFiscale not consistent
- 00325Customer CodiceFiscale of a subject outside the VAT group
- 00326Customer CodiceFiscale missing with a VAT group IdFiscaleIVA
- 00327Customer CodiceFiscale of a VAT group, not of a member
- 00330PECDestinatario with a value not allowed
- 00398Codice Ufficio not identifiable in IPA with the "Centrale" office CodiceDestinatario
- 00399CessionarioCommittente in IPA with FormatoTrasmissione FPR12
- 00417Customer IdFiscaleIVA and CodiceFiscale both missing
All codes: SDI rejection codes
Source: Agenzia delle Entrate, FatturaPA technical specifications (format version 1.4, checks version 1.9). General information, not tax advice.