# Convert Factur-X to CSV

For imports rather than for reading. The Factur-X invoice is flattened to rows, with the VAT rate carried on each line so nothing about the tax has to be inferred from the order of the columns.

Source: https://tally-stick.com/factur-x-to-csv

## Imports take CSV, not CII

Most French accounting packages take a CSV long before they take a CII XML, so the shortest path from an incoming Factur-X to a booked invoice runs through a flat file. The layout is fixed and predictable, which matters more than being clever when a mapping is made once and then used every week.

## What you get out

- One row per invoice line, header repeated on each row
- Separate tax export, one row per VAT rate
- Payment references and terms alongside the header fields
- Amounts exactly as declared, decimals untouched

## Questions

### PDF or XML, which do I drop?

Either works. The PDF has the XML inside it and that is what gets read.

### Can I map it to my own column names?

Not yet, the layout is fixed. Saved mappings sit on the paid side of the roadmap, and the feedback form on the home page is the fastest way to push them up the list.

### Are French decimal commas handled?

The XML always carries a decimal point, per the standard. Nothing is reformatted on the way out, so nothing shifts.

## Related

- [Factur-X to Excel](https://tally-stick.com/factur-x-to-excel)
- [ZUGFeRD to CSV](https://tally-stick.com/zugferd-to-csv)
- [XRechnung to CSV](https://tally-stick.com/xrechnung-to-csv)
- [CII to Excel](https://tally-stick.com/cii-to-excel)

## How it works

The invoice is read on your own device. No file is uploaded, no account is required, and the fair usage limit is the only cap. Exports are PDF, Excel, CSV and JSON.
