What is the _metaDato.xml file in the bulk download?

What the _metaDato.xml file next to every invoice in the bulk download ZIP is, what it contains, why it is not the invoice and how it becomes an Excel sheet and the SdI transmission times.

What the _metaDato.xml file is

In the ZIP of the bulk download from Fatture e Corrispettivi, next to every invoice there is a second file with the same name plus _metaDato.xml:

The metadata file is not the invoice, nor a copy of it: it is a record the exchange system SdI (Sistema di Interscambio) keeps on the file it received, that is when it accepted it and how and by whom it was sent. The name tells which invoice it belongs to: it is the invoice's name with _metaDato.xml at the end.

Don't confuse it with the file with _MT_ in its name (for example IT01234567890_a1b2c_MT_001.xml), which comes with the invoice by PEC (certified email) or to the software of the recipient code: it describes the delivery too, but it is another file, with other data. Where invoices arrive is explained in where to find your e-invoices.

What it contains

The file is an XML with a list of name / value pairs (<metadato><nome>…</nome><valore>…</valore></metadato>). The most useful ones:

The amounts and lines of the invoice are not in it: for those you need the invoice file.

Can you open it?

It is text: you can read it in an editor or a browser, but it stays a list of technical names. Uploaded on its own to e-invoices.it it shows nothing: the message is “No e-invoice was found in the uploaded files.”, because the invoice is the other file, the one with the same name without _metaDato.xml. Upload that one and choose View and print; if it is a .p7m, see how to open a .p7m file.

There's no need to take it out of the ZIP: e-invoices.it reads it but does not count it as an invoice, neither in the number of uploaded invoices nor against the limits.

What e-invoices.it does with it

Upload the ZIP files of the bulk download as they are: each metadata file is matched to its invoice by name.

The section only uses the bulk download metadata: the _MT_ files have no acceptance date. If only some of the invoices have metadata, the dashboard says for how many. Deadlines and deduction periods are estimates from the invoice date and the acceptance date: have them confirmed by your accountant.

All the steps from the ZIP to the Excel file are in the guide to the bulk download in Excel.

Try it with your invoices

Free with no sign-up, up to 20 invoices at a time. Files are not stored.

Upload your invoices

More guides