Convert Factur-X to CSV
For imports rather than for reading. The Factur-X invoice is flattened to rows, with the tax breakdown kept as its own export so the VAT rates stay intact.
| # | Description | Qty | Unit | Unit price | VAT % | Net amount |
|---|
| Category | Rate | Taxable base | VAT amount |
|---|
| # | Qualifier | Reference | Amount | Paid |
|---|
| Segment | Element | Value |
|---|
Getting it into the accounting system
Most French accounting packages will take a CSV long before they take a CII XML, so the shortest path from an incoming Factur-X to a booked invoice usually runs through a flat file. The layout here is fixed and predictable, which matters more than being clever when something is mapped once and then used every week.
What you get out
Every field below is read from the file itself. Nothing is inferred, and a field the invoice does not carry is left empty rather than filled in with a plausible guess.
- 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.