SDI Error Code Legend
SDI Error Codes and Descriptions
This table provides a comprehensive list of error codes issued by the Sistema di Interscambio (SDI) along with their descriptions. These error codes are returned when issues are encountered during the transmission and processing of electronic invoices. Each entry includes a unique error code, the type of error, and a detailed description to help understand and resolve the issue.
- Error Code: A unique identifier for the error.
- Error Type: A brief label categorizing the nature of the error.
- Description: A detailed explanation of the error and guidance on what may have gone wrong, including links to additional technical specifications if applicable. This reference aims to assist users in troubleshooting and correcting errors in electronic invoicing to ensure compliance with SDI requirements.
| ERROR CODE | ERROR TYPE | Description |
|---|---|---|
| 00001 | Invalid file name | The error occurs when the name of the submitted file does not conform to the technical specifications of SdI. |
| 00002 | Duplicate file name | This error occurs when attempting to submit the same document again or a different file with the same name as one previously sent to SDI. |
| 00003 | File size exceeds allowed limits | There are size limits for the submitted file, which vary depending on the submission method. |
| 00100 | Expired signature certificate | This error indicates that the signature certificate, used to ensure the integrity of the invoice information and the authenticity of the user (invoice holder), has expired. |
| 00101 | Revoked signature certificate | This error indicates that the qualified signature certificate, used to ensure the integrity of the invoice information and the authenticity of the user (invoice holder), has been revoked. |
| 00102 | File not intact (invalid signature) | This error indicates that the qualified signature certificate, used to ensure the integrity of the invoice information and the authenticity of the user (invoice holder), is invalid. |
| 00103 | File signed without timestamp | This error indicates that the file does not have a timestamp (date/time) associated with the qualified signature certificate. |
| 00104 | Untrusted CA (Certification Authority) | This error indicates that the qualified signature certificate, used to ensure the integrity of the invoice information and the authenticity of the user (invoice holder), is from an untrusted Certification Authority. |
| 00105 | File signed with inconsistent timestamp | This error occurs when there is a temporal inconsistency between the file creation date/time and the timestamp of the qualified signature certificate. It is evident that signing a document before its creation is not acceptable. |
| 00106 | Empty or corrupted file/archive | This error occurs when SDI receives a file that is empty or corrupted. |
| 00107 | Invalid certificate | This error indicates that the qualified signature certificate, used to ensure the integrity of the invoice information and the authenticity of the user (invoice holder), is invalid. |
| 00200 | File not compliant with format | This code identifies a generic non-compliance with the format of the submitted file. |
| 00201 | Exceeded maximum number of format errors | This code indicates that multiple errors have been found in the submitted file for which a single error code cannot be identified. |
| 00300 | Invalid fiscal code of the sender | The error is due to an incorrect value for the fiscal code parameter of the third party (Intermediary - in the case of using our management system, it is Aruba Pec S.p.A.) providing the invoice creation and submission service. |
| 00301 | Invalid VAT ID of the Supplier | The error is due to an incorrect value for the VAT ID parameter of the user (invoice holder). |
| 00302 | Invalid Tax Code of the Supplier | The error is due to an incorrect value for the tax code parameter of the user (invoice holder). |
| 00303 | Invalid VAT ID of the Tax Representative | If the user (invoice holder) is not resident in Italy, they can use a tax representative resident in Italy. This error code indicates that the VAT ID associated with the Italian tax representative is not valid. |
| 00304 | Invalid Tax Code of the Tax Representative | If the user (invoice holder) resides abroad, they can use a tax representative resident in Italy. This error code indicates that the tax code associated with the Italian tax representative is not valid. |
| 00305 | Invalid VAT ID of the Buyer/Client | The error is due to an incorrect value for the VAT ID parameter of the invoice recipient. |
| 00306 | Invalid Tax Code of the Buyer/Client | The error is due to an incorrect value for the tax code parameter of the invoice recipient. |
| 00311 | Invalid Recipient Code | The error is due to an incorrect value for the unique office code parameter of the invoice recipient. |
| 00312 | Inactive Recipient Code | The error is due to the value entered for the unique office code parameter of the recipient PA, which is not active. |
| 00313 | Invalid Country ID field | The error is due to an incorrect value in the country ID field. When invoicing entities not resident in Italy, the country ID field for the buyer/client must contain a value other than "IT". |
| 00320 | Inconsistency between VAT ID and Tax Code (Supplier) | The error is due to an inconsistency between the VAT ID and the tax code (if both are present) for the supplier. |
| 00321 | Inconsistency between VAT ID and Tax Code (Supplier) | The error concerns the tax code of the supplier who does not appear to belong to the VAT group. |
| 00322 | Tax Code of the Supplier not present in the VAT group | The error concerns the tax code of the supplier who does not appear in the VAT group. |
| 00323 | Autofattura VAT ID of the Supplier ceased for more than 5 years | The error, in the case of an autofattura, is due to the VAT ID of the supplier having been ceased for more than 5 years. |
| 00324 | Inconsistency between VAT ID and Tax Code (Buyer) | The error is due to an inconsistency between the VAT ID and the tax code (if both are present) for the buyer. |
| 00325 | Tax Code of the Buyer/Client not part of the VAT group | The error concerns the tax code of the buyer/client who does not appear to belong to the VAT group. |
| 00326 | Tax Code of the Buyer/Client not present in the VAT group | The error concerns the tax code of the buyer/client who does not appear in the VAT group. |
| 00330 | PEC address different from that of SdI | The error is that the PEC address indicated in the recipient PEC field is one of SdI's receiving addresses and not the recipient's address. |
| 00398 | Office code present and uniquely identifiable in the reference database, with a recipient code set to the Central Office code | At the time of the SdI's verification of the invoice, if an existing unique office code (different from "Central") linked to the PA's tax code is found, the error is flagged and the user is informed of the "Unique Office Code" corresponding to the PA in question. |
| 00399 | Tax code of the Buyer/Client present in the reference database with Recipient Code set to "999999" | At the time of the SdI's verification of the invoice, if the PA is found in the IPA, and therefore a unique office code linked to the PA's tax code is present, the error is flagged and the user is informed of the unique office code corresponding to the PA in question. |
| 00400 | Detail line with zero VAT rate must include the Nature field | The error is due to entering a VAT rate of 0 (zero) in the VAT code field while leaving the Nature field empty or selecting an incompatible VAT Type (e.g., taxable or non-deductible). |
| 00401 | Detail line with non-zero VAT rate must not include the Nature field | The error is likely due to entering a VAT rate other than 0 (zero) in the VAT code field while selecting an incompatible VAT type (e.g., exempt, excluded, out of scope). The Nature field, except for TD16, should only be filled in cases of a zero VAT rate. |
| 00403 | The invoice date must not be later than the receipt date | This error occurs when SdI receives a postdated file. |
| 00404 | Duplicate invoice | This error code is returned by SdI when attempting to submit an invoice that has already been transmitted and processed (by SdI) with the same number, year, and document type. |
| 00409 | Duplicate invoice in the batch | This error code is returned when attempting to submit an XML invoice batch containing an invoice that has already been transmitted and processed (by SdI) with the same number, year, and document type. |
| 00411 | If there is a detail line with Withholding Tax set to YES, the block DataGeneral/DataGeneralDocument/WithholdingTax must be present | If the user (invoice holder) has selected withholding tax, they must also specify the parameters related to withholding tax type, withholding percentage, and withholding payment reason. |
| 00413 | In the DatiCassaPrevidenziale block with VAT rate equal to zero, the Natura field must be present | If the user (invoice issuer) has selected social security contribution (within the Tax Regime section) and set the VAT rate to 0 (zero), the Natura field must be specified as well. |
| 00414 | In the DatiCassaPrevidenziale block with VAT rate different from zero, the Natura field must not be present | If the user (invoice issuer) has selected social security contribution (within the Tax Regime section) and set the VAT rate to a value different from 0 (zero), the Natura field must not be specified. |
| 00415 | If there is a DatiCassaPrevidenziale block with Retention equal to YES, the DatiGenerali/DatiGeneraliDocumento/DatiRitenuta block must be present | If the user (invoice issuer) has selected social security contribution subject to withholding within the social security section, the parameters related to withholding tax must be provided, including Withholding Type, withholding percentage, and withholding payment reason. |
| 00417 | At least one of the IdFiscaleIVA and CodiceFiscale fields of the Cessionario/Committente must be populated | The reason for the error is the lack of entry in at least one of the tax code or VAT number fields of the invoice recipient. |
| 00418 | The date of the Credit Note document cannot be earlier than the date of the related invoice mentioned in the same file | The date of the credit note document cannot be earlier than the date of the related invoice mentioned in the same file (FatturaPA). |
| 00419 | There is a VAT rate in the document for which the corresponding DatiRiepilogo block is missing | There is a VAT rate in the document for which the corresponding DatiRiepilogo block is missing (FatturaPA). |
| 00420 | In the DatiRiepilogo block with VAT applicability equal to "S" (split payments), the Natura field cannot have the value "N6" (reverse charge) | In the DatiRiepilogo block with VAT applicability equal to "S" (split payments), the Natura field cannot have the value "N6" (reverse charge) (FatturaPA). |
| 00421 | The value of the Tax field is not calculated according to the rules defined in the technical specifications | The value of the Tax field shows an incorrect value/calculation (FatturaPA). |
| 00422 | The value of the Taxable Amount field is not calculated according to the rules defined in the technical specifications | The value of the Taxable Amount field shows an incorrect value/calculation (FatturaPA). |
| 00423 | The value of the Total Price field is not calculated according to the rules defined in the technical specifications | The value of the Total Price field shows an incorrect value/calculation (FatturaPA). |
| 00424 | The VAT rate must be indicated in percentage terms | The VAT rate must be indicated in percentage terms. |
| 00425 | The invoice number must contain at least one numeric character | The invoice number must contain at least one numeric character from 0 to 9. |
| 00427 | The recipient code has a number of characters that does not comply with the "FormatoTrasmissione FPA12" format | This error occurs when uploading XML invoices and indicates that the recipient code format is incorrect, containing a number of characters different from 6. |
| 00428 | The used format code does not fall within those provided by the regulations | This error occurs when uploading XML invoices and indicates that the format code used does not fall within those provided by the regulations. |
| 00429 | In the Riepilogo data, the Natura field is not populated, despite a VAT rate of zero | The reason for the error is entering a VAT rate of 0 (zero) while leaving the Natura field empty or selecting an incompatible VAT Type (e.g., taxable or non-deductible). |
| 00430 | In the Riepilogo data, the Natura field is populated, despite a VAT rate different from zero | The reason for the error is likely entering a VAT rate different from 0 (zero) while selecting an incompatible VAT Type (e.g., exempt, excluded, out of scope). The Natura field should be populated only if the VAT rate is zero. |
| 00437 | Discount or Surcharge applied to the total document is populated without percentage and/or amount values present | This error occurs when the Type field in the Discount/Surcharge block is populated, but the Percentage and Amount fields are left empty. |
| 00438 | Discount or Surcharge applied to the unit price is populated without percentage and/or amount values present | This error occurs when the Type field in the Discount/Surcharge block is populated, but the Percentage and Amount fields are left empty. |
| 00443 | The VAT rates associated with products and/or social security contributions do not match those present in the VAT summary | There is a mismatch between the VAT rates listed in element 2.2.1.12 <AliquotaIVA> or 2.1.1.7.5 <AliquotaIVA> and those in element 2.2.2.1 <AliquotaIVA> (all VAT rates present in the invoice line items or social security data must also be present in the VAT summary data). |
| 00444 | The VAT natures associated with products and/or social security contributions in the invoice do not match those present in the VAT summary | There is a mismatch between the VAT natures listed in element 2.2.1.14 <Natura> or 2.1.1.7.7 <Natura> and those in element 2.2.2.2 <Natura> (all VAT nature values present in the invoice line items or social security data must also be present in the VAT summary data). |
| 00445 | There is a generic VAT nature (N2, N3, or N6) that is no longer valid - Check effective from January 2021 | The document uses a generic VAT Nature code, N2, N3, or N6, for VAT rates of 0%, which is no longer permitted by the Revenue Agency. |
| 00459 | RF03 value not allowed for the 1.2.1.8 "RegimeFiscale" field | The error is due to the RF03 tax regime value in the Regime Fiscale field, which is no longer permitted by SdI. |
| 00471 | The supplier cannot be the same as the buyer/contractor | For TD01, TD02, TD03, TD06, TD07, TD16, TD17, TD18, TD19, TD20, TD24, TD25, and TD28, the supplier cannot be the same as the buyer/contractor of the invoice. |
| 00472 | The supplier must be the same as the buyer/contractor | For TD21 and TD27, the supplier must be the same as the buyer/contractor of the invoice. |
| 00473 | Italian supplier not allowed | TD17, TD18, TD19, and TD28 do not allow an Italian supplier to be indicated in the invoice. Additionally, for TD28, the supplier must be San Marinese, with IdPaese equal to SM (San Marino). |
| 00475 | Supplier without VAT Number / Tax ID | TD16, TD17, TD18, TD19, TD20, TD22, TD23, and TD28 do not allow an invoice to have a supplier without a VAT Number / Tax ID (only with a tax code). |
| 00476 | Both supplier and buyers with foreign VAT numbers | An invoice cannot simultaneously have both the supplier’s and the buyer’s VAT numbers from countries other than Italy. |
| 00477 | Invalid intention declaration | The error is due to an incorrect value for the intention declaration parameter. |