SDI rules

29 rules in the rule sets FatturaPA (XML schema, SDI controls) (1.2.3).

  • SDI-00400 Line …: 2.2.1.14 <Natura> is missing although 2.2.1.12 <AliquotaIVA> is zero.
  • SDI-00401 Line …: 2.2.1.14 <Natura> is given although 2.2.1.12 <AliquotaIVA> is not zero (allowed only for TD16).
  • SDI-00411 2.1.1.5 <DatiRitenuta> is missing although a line has 2.2.1.13 <Ritenuta> SI.
  • SDI-00413 2.1.1.7.7 <Natura> is missing although 2.1.1.7.5 <AliquotaIVA> of the pension fund contribution is zero.
  • SDI-00414 2.1.1.7.7 <Natura> is given although 2.1.1.7.5 <AliquotaIVA> of the pension fund contribution is not zero.
  • SDI-00415 2.1.1.5 <DatiRitenuta> is missing although a pension fund contribution has 2.1.1.7.6 <Ritenuta> SI.
  • SDI-00417 1.4.1.1 <IdFiscaleIVA> and 1.4.1.2 <CodiceFiscale> of the buyer are both missing; give at least one of them.
  • SDI-00418 2.1.1.3 <Data> … is before 2.1.6.3 <Data> … of the linked invoice.
  • SDI-00420 2.2.2.7 <EsigibilitaIVA> S (split payment) cannot be combined with a reverse charge 2.2.2.2 <Natura> N6.x.
  • SDI-00421 2.2.2.6 <Imposta> … is not AliquotaIVA * ImponibileImporto / 100 = … (tolerance 0.01).
  • SDI-00422 2.2.2.5 <ImponibileImporto> for VAT rate … is …, but lines, pension fund contributions and rounding give … (tolerance 1 EUR).
  • SDI-00423 Line …: 2.2.1.11 <PrezzoTotale> … is not (PrezzoUnitario +/- ScontoMaggiorazione) * Quantita = … (tolerance 0.01).
  • SDI-00424 <AliquotaIVA> … is not a percentage; write e.g. 10.00 for 10 %, not 0.10.
  • SDI-00425 2.1.1.4 <Numero> (the invoice number) must contain at least one digit.
  • SDI-00427 1.1.4 <CodiceDestinatario> has … characters, but 1.1.3 <FormatoTrasmissione> is … (FPA12 needs 6 characters, FPR12 needs 7).
  • SDI-00428 1.1.3 <FormatoTrasmissione> … does not match the versione attribute ….
  • SDI-00429 2.2.2.2 <Natura> is missing although 2.2.2.1 <AliquotaIVA> of the VAT summary is zero.
  • SDI-00430 2.2.2.2 <Natura> is given although 2.2.2.1 <AliquotaIVA> of the VAT summary is not zero (allowed only for TD16).
  • SDI-00437 2.1.1.8.1 <Tipo> is given without 2.1.1.8.2 <Percentuale> or 2.1.1.8.3 <Importo>.
  • SDI-00438 Line …: 2.2.1.10.1 <Tipo> is given without 2.2.1.10.2 <Percentuale> or 2.2.1.10.3 <Importo>.
  • SDI-00443 VAT rate … is used in a line or a pension fund contribution but has no 2.2.2 <DatiRiepilogo>.
  • SDI-00444 2.2.1.14 / 2.1.1.7.7 <Natura> … is used in a line or a pension fund contribution but not in 2.2.2.2 <Natura> of the VAT summary.
  • SDI-00445 <Natura> … is a generic code that is no longer allowed; use a detailed code such as ….1.
  • SDI-00471 For 2.1.1.1 <TipoDocumento> … the seller and the buyer cannot be the same party (same VAT identifier).
  • SDI-00472 For 2.1.1.1 <TipoDocumento> … the seller must be the same party as the buyer (same VAT identifier).
  • SDI-00473 For 2.1.1.1 <TipoDocumento> … the seller country 1.2.1.1.1 <IdPaese> … is not allowed (TD17, TD18, TD19 and TD28 exclude an Italian seller; TD29 requires IT).
  • SDI-00474 Line …: for 2.1.1.1 <TipoDocumento> TD21 no line may have 2.2.1.12 <AliquotaIVA> zero.
  • SDI-00475 For 2.1.1.1 <TipoDocumento> … the buyers VAT identifier 1.4.1.1 <IdFiscaleIVA> is required.
  • SDI-00476 1.2.1.1.1 <IdPaese> of the seller and 1.4.1.1.1 <IdPaese> of the buyer cannot both be other than IT.