---
title: "Data files"
description: "Every file Certinvo reads or writes, its columns, and its sample."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.certinvo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Data files

{/* Generated by apps/docs/scripts/generate.ts from apps/api/src/data-files/samples/library.json. Do not edit. */}
Every list a company keeps with Certinvo can go in and out as a CSV, Excel or JSON file, and every file has a sample to download. `GET /v1/samples` answers this list; the console shows it as Data files in the left menu.

CSV files are separated by semicolons, in UTF-8 with a byte order mark. In Excel every column is formatted as text, so a value is read as typed. A cell starting with `=`, `+`, `-` or `@` is written with a leading `'`, so a spreadsheet never runs it. No sample holds anybody's data: each is made from invoices the validator accepted.

## Invoices

A file of invoices, filled in and sent back. A filled copy of the CSV or Excel template needs no mapping of your own.

### invoices

Invoices to send, one row per invoice line. Upload it, make serial invoices from it, or send it to POST /v1/conversions: a filled copy needs no mapping.

| Direction | Formats | Route | Sample |
|---|---|---|---|
| In | csv, xlsx, json | · | `/v1/templates/invoices.csv`<br/>`/v1/templates/invoices.xlsx`<br/>`/v1/templates/invoices.json` |

Columns, in order: `Rechnungsnummer (BT-1)`, `Rechnungsdatum (BT-2)`, `Fälligkeitsdatum (BT-9)`, `Rechnungsart (BT-3)`, `Währung (BT-5)`, `Käuferreferenz (BT-10)`, `Bestellnummer (BT-13)`, `Lieferdatum (BT-72)`, `Skonto; weitere Zahlungsbedingungen (BT-20)`, `Code für das Zahlungsmittel (BT-81)`, `IBAN (BT-84)`, `Firmenname (BT-27)`, `Umsatzsteuer-ID (BT-31)`, `Adresszeile 1 (BT-35)`, `Ort (BT-37)`, `PLZ (BT-38)`, `Ländercode (BT-40)`, `Name (BT-41)`, `Telefon (BT-42)`, `E-Mail-Adresse (BT-43)`, `Name (BT-44)`, `Adresszeile 1 (BT-50)`, `Ort (BT-52)`, `PLZ (BT-53)`, `Ländercode (BT-55)`, `Summe aller Positionen (BT-106)`, `Gesamtsumme (BT-109)`, `Summe Umsatzsteuer (BT-110)`, `Gesamtsumme (BT-112)`, `Fälliger Betrag (BT-115)`, `Kennung (BT-29)`, `Schema der elektronischen Adresse (BT-34)`, `Elektronische Adresse (BT-34)`, `Schema der elektronischen Adresse (BT-49)`, `Elektronische Adresse (BT-49)`, `Summe Nachlässe (BT-107)`, `Summe Zuschläge (BT-108)`, `Position (BT-126)`, `Bezeichnung (BT-153)`, `Menge (BT-129)`, `Einheit (BT-130)`, `Preis pro Einheit (netto) (BT-146)`, `Gesamtpreis (netto) (BT-131)`, `Umsatzsteuer (BT-151)`, `Umsatzsteuersatz (BT-152)`, `Umsatzsteuerkategorie (BT-118)`, `Umsatzsteuersatz (BT-119)`, `Gesamtsumme (BT-116)`, `Umsatzsteuerbetrag (BT-117)`, `Zuschlag auf Ebene der Rechnung (+) oder Nachlass auf Ebene der Rechnung (-) (BG-20-1)`, `Nachlass (BT-92)`, `Grund für den Nachlass (BT-97)`, `Kennung für den Nachlassgrund (BT-98)`, `Umsatzsteuerkategorie des Nachlasses (BT-95)`, `Umsatzsteuersatz des Nachlasses (BT-96)`.

## Master data

The lists a company keeps with Certinvo. Each goes in and out as a file: download it, change it, import it. An import shows what it would change before anything is saved, and never removes what the file leaves out.

### buyers

The company's buyers: names, addresses, VAT IDs and how each receives invoices.

| Direction | Formats | Route | Sample |
|---|---|---|---|
| In and out | csv, xlsx, json | `/v1/data-files/customers` | `/v1/data-files/customers/sample?format=csv`<br/>`/v1/data-files/customers/sample?format=xlsx`<br/>`/v1/data-files/customers/sample?format=json` |

Columns, in order: `id`, `name`, `type`, `establishedCountry`, `buyerReference`, `vatId`, `registrationId`, `registrationIdScheme`, `address.street`, `address.addressLine2`, `address.postalZone`, `address.city`, `address.countrySubdivision`, `address.country`, `contact.name`, `contact.email`, `contact.telephone`, `language`, `files`, `delivery.channel`, `delivery.to`, `delivery.file`, `delivery.sending`, `delivery.url`, `delivery.instructions`, `electronicAddress.scheme`, `electronicAddress.value`, `facts.buyer_is_de_federal_contracting_authority`, `facts.de_federal_contract`, `facts.de_federal_order_number`, `facts.de_federal_supplier_number`, `facts.de_public_buyer_for_business`.

### products

The items the company sells: name, unit, price and VAT.

| Direction | Formats | Route | Sample |
|---|---|---|---|
| In and out | csv, xlsx, json | `/v1/data-files/products` | `/v1/data-files/products/sample?format=csv`<br/>`/v1/data-files/products/sample?format=xlsx`<br/>`/v1/data-files/products/sample?format=json` |

Columns, in order: `id`, `name`, `description`, `sellerItemId`, `unitCode`, `unitPrice`, `priceBasis`, `vatCategory`, `vatRate`.

### codes

The code book: the company's own codes for units and VAT categories, each with its official code.

| Direction | Formats | Route | Sample |
|---|---|---|---|
| In and out | csv, xlsx, json | `/v1/data-files/codes` | `/v1/data-files/codes/sample?format=csv`<br/>`/v1/data-files/codes/sample?format=xlsx`<br/>`/v1/data-files/codes/sample?format=json` |

Columns, in order: `list`, `code`, `official`.

### email-inbox-senders

The senders whose invoices the receiving address accepts.

| Direction | Formats | Route | Sample |
|---|---|---|---|
| In and out | csv, xlsx, json | `/v1/data-files/email-inbox-senders` | `/v1/data-files/email-inbox-senders/sample?format=csv`<br/>`/v1/data-files/email-inbox-senders/sample?format=xlsx`<br/>`/v1/data-files/email-inbox-senders/sample?format=json` |

Columns, in order: `sender`.

### email-send-senders

The senders who may mail invoices to the sending address.

| Direction | Formats | Route | Sample |
|---|---|---|---|
| In and out | csv, xlsx, json | `/v1/data-files/email-send-senders` | `/v1/data-files/email-send-senders/sample?format=csv`<br/>`/v1/data-files/email-send-senders/sample?format=xlsx`<br/>`/v1/data-files/email-send-senders/sample?format=json` |

Columns, in order: `sender`.

### payments

Invoices paid: an invoice number and the day it was paid. Importing it marks them paid.

| Direction | Formats | Route | Sample |
|---|---|---|---|
| In and out | csv, xlsx, json | `/v1/data-files/payments` | `/v1/data-files/payments/sample?format=csv`<br/>`/v1/data-files/payments/sample?format=xlsx`<br/>`/v1/data-files/payments/sample?format=json` |

Columns, in order: `invoiceNumber`, `paidDate`.

## Exports

Files written from what Certinvo holds. A list made from records Certinvo keeps has no sample: download it from its own route.

### invoice-list

Every invoice of a filter, one row each, with its verdict and payment status.

| Direction | Formats | Route | Sample |
|---|---|---|---|
| Out | csv, xlsx | · | `/v1/samples/invoice-list.csv`<br/>`/v1/samples/invoice-list.xlsx` |

Columns, in order: `id`, `direction`, `createdAt`, `invoiceNumber`, `issueDate`, `dueDate`, `currency`, `seller`, `buyer`, `payableAmount`, `taxAmount`, `verdict`, `paymentStatus`.

### datev-extf

A month's invoices as a DATEV Buchungsstapel, for the tax adviser.

| Direction | Formats | Route | Sample |
|---|---|---|---|
| Out | csv | · | `/v1/samples/datev-extf.csv` |

Columns, in order: `Umsatz (ohne Soll/Haben-Kz)`, `Soll/Haben-Kennzeichen`, `WKZ Umsatz`, `Kurs`, `Basis-Umsatz`, `WKZ Basis-Umsatz`, `Konto`, `Gegenkonto (ohne BU-Schlüssel)`, `BU-Schlüssel`, `Belegdatum`, `Belegfeld 1`, `Belegfeld 2`, `Skonto`, `Buchungstext`, `Postensperre`, `Diverse Adressnummer`, `Geschäftspartnerbank`, `Sachverhalt`, `Zinssperre`, `Beleglink`, `Beleginfo - Art 1`, `Beleginfo - Inhalt 1`, `Beleginfo - Art 2`, `Beleginfo - Inhalt 2`, `Beleginfo - Art 3`, `Beleginfo - Inhalt 3`, `Beleginfo - Art 4`, `Beleginfo - Inhalt 4`, `Beleginfo - Art 5`, `Beleginfo - Inhalt 5`, `Beleginfo - Art 6`, `Beleginfo - Inhalt 6`, `Beleginfo - Art 7`, `Beleginfo - Inhalt 7`, `Beleginfo - Art 8`, `Beleginfo - Inhalt 8`, `KOST1 - Kostenstelle`, `KOST2 - Kostenstelle`, `Kost-Menge`, `EU-Land u. UStID (Bestimmung)`, `EU-Steuersatz (Bestimmung)`, `Abw. Versteuerungsart`, `Sachverhalt L+L`, `Funktionsergänzung L+L`, `BU 49 Hauptfunktionstyp`, `BU 49 Hauptfunktionsnummer`, `BU 49 Funktionsergänzung`, `Zusatzinformation - Art 1`, `Zusatzinformation- Inhalt 1`, `Zusatzinformation - Art 2`, `Zusatzinformation- Inhalt 2`, `Zusatzinformation - Art 3`, `Zusatzinformation- Inhalt 3`, `Zusatzinformation - Art 4`, `Zusatzinformation- Inhalt 4`, `Zusatzinformation - Art 5`, `Zusatzinformation- Inhalt 5`, `Zusatzinformation - Art 6`, `Zusatzinformation- Inhalt 6`, `Zusatzinformation - Art 7`, `Zusatzinformation- Inhalt 7`, `Zusatzinformation - Art 8`, `Zusatzinformation- Inhalt 8`, `Zusatzinformation - Art 9`, `Zusatzinformation- Inhalt 9`, `Zusatzinformation - Art 10`, `Zusatzinformation- Inhalt 10`, `Zusatzinformation - Art 11`, `Zusatzinformation- Inhalt 11`, `Zusatzinformation - Art 12`, `Zusatzinformation- Inhalt 12`, `Zusatzinformation - Art 13`, `Zusatzinformation- Inhalt 13`, `Zusatzinformation - Art 14`, `Zusatzinformation- Inhalt 14`, `Zusatzinformation - Art 15`, `Zusatzinformation- Inhalt 15`, `Zusatzinformation - Art 16`, `Zusatzinformation- Inhalt 16`, `Zusatzinformation - Art 17`, `Zusatzinformation- Inhalt 17`, `Zusatzinformation - Art 18`, `Zusatzinformation- Inhalt 18`, `Zusatzinformation - Art 19`, `Zusatzinformation- Inhalt 19`, `Zusatzinformation - Art 20`, `Zusatzinformation- Inhalt 20`, `Stück`, `Gewicht`, `Zahlweise`, `Forderungsart`, `Veranlagungsjahr`, `Zugeordnete Fälligkeit`, `Skontotyp`, `Auftragsnummer`, `Buchungstyp`, `USt-Schlüssel (Anzahlungen)`, `EU-Land (Anzahlungen)`, `Sachverhalt L+L (Anzahlungen)`, `EU-Steuersatz (Anzahlungen)`, `Erlöskonto (Anzahlungen)`, `Herkunft-Kz`, `Buchungs GUID`, `KOST-Datum`, `SEPA-Mandatsreferenz`, `Skontosperre`, `Gesellschaftername`, `Beteiligtennummer`, `Identifikationsnummer`, `Zeichnernummer`, `Postensperre bis`, `Bezeichnung SoBil-Sachverhalt`, `Kennzeichen SoBil-Buchung`, `Festschreibung`, `Leistungsdatum`, `Datum Zuord. Steuerperiode`, `Fälligkeit`, `Generalumkehr (GU)`, `Steuersatz`, `Land`, `Abrechnungsreferenz`, `BVV-Position`, `EU-Land u. UStID (Ursprung)`, `EU-Steuersatz (Ursprung)`, `Abw. Skontokonto`.

### workspace-index

The index of the workspace's full download: one row per invoice and the folder its files are in.

| Direction | Formats | Route | Sample |
|---|---|---|---|
| Out | csv | · | `/v1/samples/index.csv` |

Columns, in order: `environment`, `direction`, `invoice_number`, `issue_date`, `verdict`, `folder`.

### archive

Every archived invoice, how long it is kept, and whether its files are stored.

| Direction | Formats | Route | Sample |
|---|---|---|---|
| Out | csv, xlsx, json | `/v1/data-files/archive` | none |

Columns, in order: `invoiceId`, `invoiceNumber`, `issueDate`, `direction`, `retainUntil`, `archived`, `waiting`, `lastError`.

### webhook-deliveries

Every delivery of one webhook: the event, its attempts and the last answer.

| Direction | Formats | Route | Sample |
|---|---|---|---|
| Out | csv, xlsx, json | `/v1/data-files/webhook-deliveries` | none |

Columns, in order: `id`, `eventId`, `type`, `invoiceId`, `state`, `attempts`, `lastStatus`, `lastError`, `createdAt`, `deliveredAt`.

### team

The people of the workspace, their roles and the companies they reach.

| Direction | Formats | Route | Sample |
|---|---|---|---|
| Out | csv, xlsx, json | `/v1/data-files/team` | none |

Columns, in order: `userId`, `email`, `role`, `access`, `companies`, `revision`.

### recurring-invoices

Each recurring invoice: what it is made from, how often, and when it is next due.

| Direction | Formats | Route | Sample |
|---|---|---|---|
| Out | csv, xlsx, json | `/v1/data-files/recurring-invoices` | none |

Columns, in order: `id`, `source.invoiceId`, `source.draftId`, `interval`, `nextDue`, `active`, `prepared`, `lastDraftId`, `due`, `createdAt`, `updatedAt`.

### establishments

The company's establishments: their country, VAT ID, VIES check and address.

| Direction | Formats | Route | Sample |
|---|---|---|---|
| Out | csv, xlsx, json | `/v1/data-files/establishments` | none |

Columns, in order: `establishmentId`, `version`, `kind`, `country`, `name`, `vatId`, `vies.status`, `vies.requestDate`, `vies.name`, `vies.address`, `taxNumber`, `address.street`, `address.postcode`, `address.city`, `address.country`, `contact.name`, `contact.phone`, `contact.email`, `electronicAddress.scheme`, `electronicAddress.value`, `facts`.

Source: https://docs.certinvo.com/reference/data-files/index.mdx
