SDI rules
29 rules in the rule sets FatturaPA (XML schema, SDI controls) (1.2.3).
SDI-00400Line …: 2.2.1.14 <Natura> is missing although 2.2.1.12 <AliquotaIVA> is zero.SDI-00401Line …: 2.2.1.14 <Natura> is given although 2.2.1.12 <AliquotaIVA> is not zero (allowed only for TD16).SDI-004112.1.1.5 <DatiRitenuta> is missing although a line has 2.2.1.13 <Ritenuta> SI.SDI-004132.1.1.7.7 <Natura> is missing although 2.1.1.7.5 <AliquotaIVA> of the pension fund contribution is zero.SDI-004142.1.1.7.7 <Natura> is given although 2.1.1.7.5 <AliquotaIVA> of the pension fund contribution is not zero.SDI-004152.1.1.5 <DatiRitenuta> is missing although a pension fund contribution has 2.1.1.7.6 <Ritenuta> SI.SDI-004171.4.1.1 <IdFiscaleIVA> and 1.4.1.2 <CodiceFiscale> of the buyer are both missing; give at least one of them.SDI-004182.1.1.3 <Data> … is before 2.1.6.3 <Data> … of the linked invoice.SDI-004202.2.2.7 <EsigibilitaIVA> S (split payment) cannot be combined with a reverse charge 2.2.2.2 <Natura> N6.x.SDI-004212.2.2.6 <Imposta> … is not AliquotaIVA * ImponibileImporto / 100 = … (tolerance 0.01).SDI-004222.2.2.5 <ImponibileImporto> for VAT rate … is …, but lines, pension fund contributions and rounding give … (tolerance 1 EUR).SDI-00423Line …: 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-004252.1.1.4 <Numero> (the invoice number) must contain at least one digit.SDI-004271.1.4 <CodiceDestinatario> has … characters, but 1.1.3 <FormatoTrasmissione> is … (FPA12 needs 6 characters, FPR12 needs 7).SDI-004281.1.3 <FormatoTrasmissione> … does not match the versione attribute ….SDI-004292.2.2.2 <Natura> is missing although 2.2.2.1 <AliquotaIVA> of the VAT summary is zero.SDI-004302.2.2.2 <Natura> is given although 2.2.2.1 <AliquotaIVA> of the VAT summary is not zero (allowed only for TD16).SDI-004372.1.1.8.1 <Tipo> is given without 2.1.1.8.2 <Percentuale> or 2.1.1.8.3 <Importo>.SDI-00438Line …: 2.2.1.10.1 <Tipo> is given without 2.2.1.10.2 <Percentuale> or 2.2.1.10.3 <Importo>.SDI-00443VAT rate … is used in a line or a pension fund contribution but has no 2.2.2 <DatiRiepilogo>.SDI-004442.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-00471For 2.1.1.1 <TipoDocumento> … the seller and the buyer cannot be the same party (same VAT identifier).SDI-00472For 2.1.1.1 <TipoDocumento> … the seller must be the same party as the buyer (same VAT identifier).SDI-00473For 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-00474Line …: for 2.1.1.1 <TipoDocumento> TD21 no line may have 2.2.1.12 <AliquotaIVA> zero.SDI-00475For 2.1.1.1 <TipoDocumento> … the buyers VAT identifier 1.4.1.1 <IdFiscaleIVA> is required.SDI-004761.2.1.1.1 <IdPaese> of the seller and 1.4.1.1.1 <IdPaese> of the buyer cannot both be other than IT.