Finance CoreAdvisory

SDI XML Cleaner

Clean Italian FatturaPA files: unwrap CAdES .p7m, strip XAdES signatures, fix BOM, encoding and file names, in batch.

FatturaPA · FPR12 · CAdES p7m

Your files never leave your computer.

  • No upload
  • No account
  • Nothing stored
  • Works offline once loaded
How can you be sure?

Everything happens inside your browser: nothing is uploaded, stored or seen by anyone, not even by us. Safe for invoices, ledgers, supplier lists and other confidential data.

No server receives your files. Once this page has loaded, the tool runs on your own computer. Your browser opens the files directly, in its memory, like a desktop application.
Blocked by design. The security rules of this site forbid the page from sending data to any other website. Only two kinds of message can leave it, to this site: an anonymous count (the name of the tool and "page opened" or "result made", to know which tools are useful) and a bug report if you choose to send one. Neither ever contains your files.
Check it yourself. Load the page, then switch off your Wi-Fi or unplug the network cable. The tool keeps working, because it does not need the internet to process your data.
Nothing is kept. Close the tab and your data is gone. At most your browser remembers your settings, never your files, to save you time next visit. No transfer to us or to any third party.

Invoice files

Choose files or drop them here .xml · .xml.p7m · .zip, or any file containing SDI XML

What is fixed

  • CAdES .p7m envelope removed, XML payload extracted
  • Embedded DER segment markers and corrupted attachment base64 cleaned
  • XAdES / XMLDSig signature blocks, UTF-8 BOM removed
  • Latin-1 re-encoded to UTF-8, XML declaration normalised
  • Badly named files renamed to IdPaese+IdCodice_Progressivo.xml

Add files to start.

Files ready.
No file yet

Each file is listed here with its status and the fixes applied. ZIP archives are unpacked automatically.

Nothing processed yet

The step-by-step log of the last run appears here.

How to clean FatturaPA files

  1. Drop your FatturaPA files: signed .xml.p7m, plain .xml, or a ZIP of them.
  2. The signatures are unwrapped or removed, the encoding and the attachments are repaired.
  3. Download the clean XML files, renamed to the SDI conventions, one by one or in a ZIP.

Questions

Why clean a .p7m file?

A .p7m is the invoice XML wrapped in a CAdES signature: many ERPs and viewers cannot read it. Unwrapping it gives the original XML, unchanged.

Is the invoice content changed?

No. Only the signature wrapping, a wrong byte-order mark or broken attachment data are removed; the invoice data stays exactly as sent through SDI.

What are the SDI file names?

IT + VAT number of the transmitter + underscore + a progressive code, for example IT01234567890_00001.xml, as the Italian exchange system expects.

Are my files sent to a server?

No. Everything happens in your browser, on your computer: your files are never uploaded, so they stay confidential.

To read the cleaned invoices, use the E-invoice Viewer.