You can start from an invoice template: a CSV file, the same in Excel, or a JSON batch. Fill one in and send it back as a conversion, with no mapping of your own. Use a template when a customer has no export yet, or wants to see what Certinvo accepts.
The templates are built from the invoice model and from invoices the validator accepted. Nothing in them is typed by hand, so they cannot drift from what Certinvo reads.
Download a template
In the console, the upload area for outgoing invoices links all three: Vorlage zum Ausfüllen: CSV · Excel · JSON. Data files in the left menu lists them too. Through the API:
curl -s -o invoices.csv -H "Authorization: Bearer cvo_live_sk_..." "https://<api-host>/v1/templates/invoices.csv"
curl -s -o invoices.xlsx -H "Authorization: Bearer cvo_live_sk_..." "https://<api-host>/v1/templates/invoices.xlsx"
curl -s -o invoices.json -H "Authorization: Bearer cvo_live_sk_..." "https://<api-host>/v1/templates/invoices.json"Fill in the CSV template
- Write one row per invoice line. Fields are separated by semicolons. The file is UTF-8, so Excel opens it with its umlauts.
- Each column names its field by KoSIT’s official label and its BT id (the business term’s number in
EN 16931), for example
Rechnungsnummer (BT-1)orGesamtsumme (BT-109). The allowance or charge column names its group’s indicator,(BG-20-1). A label may hold a semicolon, so that column title is in quotes. - Rows with the same invoice number form one invoice. One file can hold many invoices.
- The tax columns on a row give that line’s rate. An invoice with 19% and 7% lines has both.
- Write dates as
31.12.2026and amounts as1234,56, the way German Excel keeps them. - An allowance or charge on the whole invoice, such as a discount or shipping, goes in its own columns.
Write
-for an allowance and+for a charge. Put one per row. A row with no line in it carries only that allowance or charge. - An allowance on a single line cannot go in a flat file. Use the JSON template for that.
Fill in the Excel template
The Excel template has the CSV template’s columns and rows on one sheet. Every column is formatted as text, so
Excel keeps what you type: 31.12.2026 stays a date written that way and 1234,56 an amount. Fill it in by the
same rules as the CSV.
Send the CSV or the Excel file
Send the filled file as a mapped-file conversion. A filled Excel template is read the same way as the CSV. When none of your own frozen mappings reads the file,
and its header row is the template’s, Certinvo reads it with the template’s mapping,
certinvo-invoice-template-1.0.0.
Rename or move a column and the file is no longer the template. It then needs a mapping like any other
export. One rename is ours: a template downloaded before 12 October 2026 ends its allowance or charge
column with (BT-20-1). That file is still read as the template.
Use the JSON template
The JSON template is a batch of canonical invoices: one with one VAT rate, one with two, and one with
allowances and charges. Send it, as it is or changed, as the items of a canonical-invoices conversion.
See also
- Create an invoice and its PDF: send canonical invoices as a conversion.
- Convert a file through a mapping: send a customer’s own export.