SDI rejection codes
Every code in SDI rejection receipts, with its cause and how to fix it.
When a check fails, SDI sends a rejection receipt (NS, ricevuta di scarto) with one or more 5-digit codes and a short description. In Getbeel the codes are in sdi.error_codes and, with SDI's description, in sdi.errors of the invoice; the invoice.rejected webhook carries the full invoice in data.object.
A rejected invoice counts as never issued: fix what the code says and send it again with the same number and date, preferably within 5 days of the rejection receipt. The one exception is 00404 on an invoice you had already sent: see below. The full picture of outcomes is in the SDI lifecycle.
SDI receipts
| Receipt | Meaning | Status in Getbeel |
|---|---|---|
| RC, ricevuta di consegna | Delivered to the recipient: issued | delivered |
| MC, ricevuta di impossibilità di recapito | Not delivered but issued: it is in the customer's cassetto fiscale from sdi.available_since | not_delivered |
| NS, ricevuta di scarto | File refused: the invoice counts as never issued | rejected |
| NE, notifica di esito (PA) | Acceptance or refusal by a public administration | Acceptance: delivered; refusal: rejected |
| DT, decorrenza termini (PA) | The administration did not answer within 15 days | delivered |
00404: duplicate of an issued invoice
00404 ("Fattura duplicata") means SDI already accepted a document with the same supplier, the same year of the date and the same number (for autofatture TD16–TD20, TD22, TD23, TD28 and TD29 the cessionario counts). The check does not apply when the earlier document was rejected, and a credit note (TD04) may share an invoice's number.
- On an invoice you had already sent (for example a second submission of the same document): the invoice is issued, because SDI holds an accepted copy. Do not regenerate it or send it again: it would be rejected with
00404again. Getbeel keeps its previous status, with00404insdi.error_codes, and the app shows it as Already issued · duplicate. - On a new invoice that by mistake has the number of another one already issued in the same year: this invoice is not issued. Give it a free number (Getbeel assigns the next one) and send it.
All codes
Codes and descriptions from Allegato A to the technical specifications, version 1.9.1, Appendix 1 (pp. 112–123), and from the SDI technical specifications, version 1.8.4 (file checks: 00302, 00304, 00398, 00399). Code 00448 concerns the dati fattura communications (Appendix 2), not e-invoices, and is not listed. SDI's messages are shortened; the number before a field name (for example 1.4.1.1.2) is its position in the FatturaPA layout.
File name, size and signature
Getbeel generates the file name and the XML and does not sign invoices (SDI accepts unsigned files), so these codes only come from files prepared elsewhere.
| Code | SDI message | Cause | How to fix |
|---|---|---|---|
00001 | Nome file non valido | The file name does not follow IT<transmitter tax code>_<progressive>.xml | Rename the file to the scheme (Getbeel does it for you) |
00002 | Nome file duplicato | A file with the same name was already sent to SDI, even if rejected | Resend under a new file name (a new progressive) |
00003 | File larger than allowed | The file exceeds the limit of the transmission channel | Make the file smaller, for example the attachments, or split the batch |
00100 | Certificato di firma scaduto | The file is signed with an expired certificate | Sign with a valid certificate, or send the file unsigned |
00101 | Certificato di firma revocato | The signing certificate was revoked | As above |
00102 | Electronic signature not valid | The file was changed after it was signed | Sign the final file again, or send it unsigned |
00103 | Signature without time reference | Qualified signature without a time reference | Sign with a time reference, or send unsigned |
00104 | The CA is not in the list of trusted CAs | Certificate issued by an unrecognised authority | Use a certificate from an accredited CA, or send unsigned |
00105 | Signature time reference after receipt | The signing date is in the future relative to the send | Fix the signer's clock and sign again |
00106 | Compressed file empty or unreadable | Empty or damaged ZIP archive | Rebuild the archive and resend |
00107 | Certificato di firma non valido | Certificate invalid for other reasons | Sign with a valid certificate, or send unsigned |
Format
| Code | SDI message | Cause | How to fix |
|---|---|---|---|
00200 | File non conforme al formato | The XML does not match the FatturaPA XSD; the message names the exact point | Fix the field named; validate first with POST /invoices/validate |
00201 | More than the maximum number of format errors (50) | Too many format errors: the receipt does not list them all | Validate the XML with POST /invoices/validate and fix every error |
00428 | FormatoTrasmissione not consistent with the versione attribute | For example FPR12 in FormatoTrasmissione with versione="FPA12" | Use the same value in both: FPR12 for businesses and consumers, FPA12 for public administrations |
Tax identifiers and recipient
| Code | SDI message | Cause | How to fix |
|---|---|---|---|
00300 | 1.1.1.2 IdCodice (transmitter) not valid | The transmitter's tax code is not in the Anagrafe Tributaria | Fix the transmitter identifier (with Getbeel it is the transmission channel: contact support) |
00301 | 1.2.1.1.2 IdCodice (supplier) not valid | The issuer's partita IVA is not in the Anagrafe Tributaria | Check the partita IVA in Settings → Company |
00302 | 1.2.1.2 CodiceFiscale (supplier) non valido | The issuer's codice fiscale is not in the Anagrafe Tributaria | Correct the codice fiscale in Settings → Company and resend |
00303 | 1.3.1.1.2 or 1.4.4.1.2 IdCodice (fiscal representative) not valid | The fiscal representative's partita IVA does not exist | Fix the fiscal representative's partita IVA |
00304 | 1.3.1.2 CodiceFiscale (rappresentante fiscale) non valido | The fiscal representative's codice fiscale is not in the Anagrafe Tributaria | Correct the fiscal representative's codice fiscale and resend |
00305 | 1.4.1.1.2 IdCodice (customer) not valid | The customer's partita IVA is not in the Anagrafe Tributaria | Check the customer's partita IVA (for example with the Agenzia's service or VIES) and fix it |
00306 | 1.4.1.2 CodiceFiscale (customer) not valid | The customer's codice fiscale does not exist (checked only when there is no partita IVA) | Fix the customer's codice fiscale |
00311 | 1.1.4 CodiceDestinatario not valid | The codice destinatario does not exist | Ask the customer for the right code, or use 0000000 with or without their PEC (the invoice will go to their cassetto fiscale) |
00312 | 1.1.4 CodiceDestinatario not active | The channel of the codice destinatario is switched off | As above |
00313 | CodiceDestinatario XXXXXXX only for non-residents | XXXXXXX used for an Italian customer or without a foreign IdFiscaleIVA | For an Italian customer use their code or 0000000; XXXXXXX only with IdPaese other than IT |
00320 | Supplier IdFiscaleIVA and CodiceFiscale not consistent | The issuer's partita IVA and codice fiscale belong to different subjects | Fix one of them in the company profile |
00321 | Supplier CodiceFiscale of a subject outside the VAT group | With a VAT group partita IVA, the codice fiscale is not a group member's | Use the codice fiscale of the member company that issues |
00322 | Supplier CodiceFiscale missing with a VAT group IdFiscaleIVA | Group partita IVA without the member's codice fiscale | Add the member company's codice fiscale |
00323 | Supplier IdCodice of a partita IVA closed more than 5 years ago | The supplier's partita IVA closed more than 5 years ago (in autofatture the supplier is the foreign seller) | Check the supplier's partita IVA and use the active one |
00324 | Customer IdFiscaleIVA and CodiceFiscale not consistent | The customer's partita IVA and codice fiscale belong to different subjects | Fix one of them in the customer data |
00325 | Customer CodiceFiscale of a subject outside the VAT group | Customer with a group partita IVA and the codice fiscale of a non-member | Use the codice fiscale of the group company that buys |
00326 | Customer CodiceFiscale missing with a VAT group IdFiscaleIVA | Customer's group partita IVA without the member's codice fiscale | Add the member company's codice fiscale |
00327 | Customer CodiceFiscale of a VAT group, not of a member | Without a partita IVA, the VAT group's codice fiscale is given instead of a member's | Use the codice fiscale of the member company |
00330 | PECDestinatario with a value not allowed | The PEC given is one of SDI's own mailboxes | Give the customer's PEC |
00398 | Codice Ufficio not identifiable in IPA with the "Centrale" office CodiceDestinatario | Invoice to a public administration sent to its "Centrale" office code when SDI cannot tell which of its offices receives it | Use the recipient office's unique code given by the administration (IPA, indicepa.gov.it) and resend |
00399 | CessionarioCommittente in IPA with FormatoTrasmissione FPR12 | The customer is a public administration but the invoice uses the business-to-business format | Issue it in the PA format (FPA12) with the office's unique code and resend |
00417 | Customer IdFiscaleIVA and CodiceFiscale both missing | The customer has neither a partita IVA nor a codice fiscale | Give at least one of them |
00427 | CodiceDestinatario length not consistent with FormatoTrasmissione | 7 characters with FPA12, or 6 with FPR12 | Businesses and consumers: 7-character code with FPR12. Public administrations: 6-character office code with FPA12 |
Content and calculations
| Code | SDI message | Cause | How to fix |
|---|---|---|---|
00400 | Natura missing with zero AliquotaIVA (lines) | A zero-VAT line without a natura | Give the line's natura |
00401 | Natura present with non-zero AliquotaIVA (lines) | A natura on a line with VAT | Remove the natura (allowed only with TD16) |
00403 | 2.1.1.3 Data after the date of receipt | The invoice date is in the future | Use today's date or an earlier one |
00411 | DatiRitenuta missing with lines subject to withholding | A line has Ritenuta = SI but the withholding block is missing | Add the withholding (type, rate, amount, reason) |
00413 | Natura missing with zero rate on the pension fund contribution | Zero-VAT contribution without a natura | Give the contribution's natura |
00414 | Natura present with non-zero rate on the pension fund contribution | Contribution with VAT and a natura | Remove the natura from the contribution |
00415 | DatiRitenuta missing with a contribution subject to withholding | Contribution with Ritenuta = SI and no withholding block | Add the withholding |
00418 | 2.1.1.3 Data before the linked document's date | For example a credit note dated before the invoice it corrects | Use a date on or after the linked document's |
00419 | DatiRiepilogo missing for a VAT rate in the invoice | A rate of the lines or the contribution has no summary | Add a summary for every rate |
00420 | Natura N6.x with VAT chargeability S (split payment) | Reverse charge and split payment together | Pick one: with natura N6 the chargeability cannot be S |
00421 | 2.2.2.6 Imposta not calculated by the rules | Imposta ≠ ImponibileImporto × AliquotaIVA / 100, rounded to 2 decimals (1 cent tolerance) | Recalculate the tax of each summary |
00422 | 2.2.2.5 ImponibileImporto not calculated by the rules | The summary's taxable amount is not the sum of the lines, contributions and roundings at that rate (1 euro tolerance) | Sum the lines per rate |
00423 | 2.2.1.11 PrezzoTotale not calculated by the rules | Line total ≠ (unit price ± discounts) × quantity (1 cent tolerance) | Recalculate the line total |
00424 | AliquotaIVA not expressed as a percentage | Rate written as 0.22 | Write 22.00 |
00425 | 2.1.1.4 Numero without digits | The invoice number has no digits | The number must contain at least one digit |
00429 | Natura missing with zero AliquotaIVA (summary) | Zero-VAT summary without a natura | Give the natura in the summary |
00430 | Natura present with non-zero AliquotaIVA (summary) | A natura in a summary with VAT | Remove the natura (allowed only with TD16) |
00437 | Document discount or surcharge without percentage or amount | The discount type is given but not how much | Give the percentage or the amount |
00438 | Line discount or surcharge without percentage or amount | As above, on a line | Give the percentage or the amount |
00443 | Line VAT rates missing from the summary | A rate of the lines or the contribution is missing from the summaries | Add the summary for that rate |
00444 | Line natura values missing from the summary | A natura of the lines or the contribution is missing from the summaries | Add the summary for that natura |
00445 | Generic natura N2, N3 or N6 no longer allowed | A "parent" natura code (invalid since 2021) | Use the sub-code, for example N2.2 |
00460 | Amount above the simplified invoice limit | Simplified invoice over 400 euro (except RF19, RF20 or corrections) | Issue an ordinary invoice (TD01) |
00471 | For this document type supplier and customer must differ | The same subject as supplier and customer with TD01, TD02, TD03, TD06, TD16–TD20, TD24, TD25, TD28, TD29 (or TD07) | Fix the customer, or use the right document type (for example TD27 for self-consumption) |
00472 | For this document type supplier and customer must be the same | TD21 or TD27 with a customer other than the supplier | Put yourself as the customer, or change the document type |
00473 | Supplier country not allowed for this document type | TD17, TD18, TD19 or TD28 with an Italian supplier, or TD29 with a foreign one | Put the foreign seller as supplier (or IT for TD29); an Italian supplier needs no autofattura |
00474 | No zero-rate lines allowed for this document type | Splafonamento autofattura (TD21) with zero-VAT lines | Every line needs a non-zero rate |
00475 | This document type needs the customer's partita IVA | TD16–TD20, TD22, TD23, TD28 or TD29 without the customer's IdFiscaleIVA | Give the customer's partita IVA |
00476 | Supplier and customer both with a country other than IT | An invoice between two foreign parties | At least one must have IdPaese IT; an invoice between foreign parties does not go through SDI |
00477 | Art. 8(1)(c) non-taxable with an invalidated declaration of intent | The dichiarazione d'intento cited was invalidated by the Agenzia | Charge VAT, or ask the customer for a valid declaration of intent |
Uniqueness
| Code | SDI message | Cause | How to fix |
|---|---|---|---|
00404 | Fattura duplicata | SDI already accepted a document with the same supplier (or customer for autofatture), year and number | On an invoice already sent: it is issued, do not regenerate or resend it (see above). On a new invoice: use a free number |
00409 | Fattura duplicata nel lotto | Two invoices with the same number and year in the same file | Give every invoice in the batch its own number |
Sources: Agenzia delle Entrate, Allegato A, Specifiche tecniche version 1.9.1 (31 March 2026), Appendix 1 "Elenco dei codici errore relativi alla fattura ordinaria e a quella semplificata", pp. 112–123 (uniqueness: pp. 122–123); SDI technical specifications version 1.8.4 (31 March 2026), file checks; SDI documentation on fatturapa.gov.it; La fattura elettronica e i servizi gratuiti, December 2025, pp. 16–18; circolare 13/E of 2 July 2018, § 1.6 (resend within 5 days with the same date and number). Causes and fixes explain the official descriptions; messages are shortened.