InvoiceIn
Language: EN

FATTURAPA-ELEMENT-ORDER

FatturaPA · validation rule

FatturaPAError
FatturaPA elements are in the wrong order. The XSD defines a strict sequence, e.g. in FatturaElettronicaHeader: DatiTrasmissione, CedentePrestatore, RappresentanteFiscale, CessionarioCommittente, TerzoIntermediario, SoggettoEmittente; in DettaglioLinee: NumeroLinea, TipoCessionePrestazione, CodiceArticolo, Descrizione, Quantita, UnitaMisura, DataInizioPeriodo, DataFinePeriodo, PrezzoUnitario, ScontoMaggiorazione, PrezzoTotale, AliquotaIVA, Ritenuta, Natura, RiferimentoAmministrazione, AltriDatiGestionali. Reorder to match.
Field
(FatturaPA element named in the message)
Rule set
FatturaPA
Rule-set version
FatturaPA 1.2.2 XSD (Agenzia delle Entrate) · in force since · Rule-set changelog
Who has to fix it
The sender

This is a property of the file you received, so it cannot be corrected on your side without changing the document — ask the supplier to reissue it.

Check your own invoice

Drop the file that failed. We parse it, run the official rule sets against it and list every finding with a fix — 20 invoices per day, no key, nothing stored.

Open the live demo

Same explanation over the API: GET /v1/rules/FATTURAPA-ELEMENT-ORDER?lang=en