Download a Month of E-Invoice XML Files

Flowtly Editorial Team5 minUpdated

Accounting software that imports e-invoices usually wants the structured XML file of each invoice rather than its PDF. Download e-Factura XML (month) in the invoice list gathers the e-invoice XML of every invoice issued in one month, optionally limited to one invoice series, and saves them as a single ZIP archive.

It covers invoices sent through e-invoicing, whether filed with ANAF (RO e-Factura) or with KSeF. Each file is the XML stored for that invoice's e-invoicing filing.

Before you start

  • You need a role that opens the invoice list: invoices viewer or invoices manager. A viewer sees this button even though the list's other actions are reserved for managers.
  • The button appears when Enable E-Invoicing is on in the organisation's invoicing settings, or when the organisation's own company files its invoices with ANAF, that is, a Romanian company whose provider under Romanian e-invoicing is ANAF. Otherwise it is not shown.
  • XML files of invoices sent to KSeF can only be fetched while the organisation is connected to KSeF. If the month includes such invoices and e-invoicing is switched off or not connected, the download is refused with a message saying which. Invoices filed with ANAF do not need the KSeF connection.

Download the files

  1. Select Invoices from the main menu.
  2. Click Download e-Factura XML (month) at the top of the list.
  3. Choose the Month. It starts at the current month and reaches back 24 months.
  4. Optionally fill in Series (optional) to take only the invoices of one series (see below).
  5. Click Download.

Your browser saves the archive as e-invoicing-xml-2026-10.zip, or e-invoicing-xml-2026-10-FSPA.zip when a series is given. Each XML is fetched when you click, so a busy month takes a little while.

Which invoices are included

  • The month is the sale month. An invoice belongs to the month its sale date falls in, the same date the accountancy exports use, not its issue date.
  • Only issued invoices. Drafts are left out.
  • A series is the start of the invoice number. The number must be the series followed by digits, with or without a dash: FSPA takes FSPA-0001 and FSPA0001, in upper or lower case. A series that ends in a digit needs the dash: FS1 takes FS1-0005 but not FS10005. A number in another shape, such as FV/2026/11/1, belongs to no series.

What is in the archive

  • One XML file per invoice, named by invoice number, for example FSPA-0001.xml. Characters other than letters, digits, dots, hyphens and underscores become underscores. An invoice with no number, or whose number would repeat a file name already in the archive, gets a technical name starting with invoice- instead.
  • skipped.txt, when some invoices of the month could not be included. It names each one and the reason:
    • not issued, filing followed by the filing's status: the invoice has an e-invoicing filing but has not been issued, for example because the filing is still pending;
    • no e-invoicing document: the invoice was never sent through e-invoicing, so there is no XML to give;
    • XML not available (fetch failed): the XML could not be fetched at that moment, for example an ANAF filing that is not ready yet. Downloading the month again later picks it up once it is available.

An invoice listed in skipped.txt does not stop the others: every XML that could be fetched is in the archive.

When the download is refused

Flowtly shows the reason and keeps the dialog open, so you can change the month or the series and try again.

  • More than 150 invoices. One download serves up to 150 invoices that have an XML. Above that, the message gives the month's count and asks you to narrow it by series. Download the month one series at a time; a single download cannot go above 150.
  • Nothing to download. When no invoice of the month, or of the series, has an XML, no archive is produced. The message says so and lists the invoices that were skipped, with their reasons. If the invoices have an XML but none of them could be fetched at that moment, the message lists them the same way; try again later.
  • E-invoicing switched off or not connected. Invoices sent to KSeF need Enable E-Invoicing on and a working KSeF connection; the message says which one is missing.

Example use cases

  • Month-end files for your accountant: pick last month and send the archive to an accountant whose software imports e-invoice XML.
  • A month above 150 invoices: download it series by series, one archive per series.
  • Finding invoices that never reached e-invoicing: read skipped.txt to see which invoices of the month have no XML and why.
  • Read-only preparation: someone with the invoices viewer role prepares the month's files without needing manager rights.

Related terms