Skip to content

Connections · How-to guide

Set up DATEV

Learn how to enter a company's DATEV settings, so its booking files use the customer's own accounts.

DATEV is the bookkeeping system most German companies use, usually through a tax adviser. Certinvo writes DATEV files only with the accounts the customer or their tax adviser chooses. This guide shows how to enter those settings in the console or through the API.

Before you begin

Get these values from the customer’s tax adviser. Each must match the client in DATEV exactly.

  • The adviser number (Beraternummer) and the client number (Mandantennummer).
  • The first day of the fiscal year.
  • The account length (Sachkontenlänge), from 4 to 8 digits.
  • The chart of accounts: SKR03 or SKR04.
  • For sent invoices: the debtor account. For each VAT category and rate, the revenue account and the tax key (BU-Schlüssel). The tax key may be empty when the account itself carries the tax treatment.
  • For received invoices: the creditor account. For each VAT category and rate, the expense account and the tax key.
  • Optionally, an account for one-cent rounding differences.

You only need the direction you will export. Without a rounding account, an invoice whose rows are one cent off is left out of the CSV.

Enter the settings in the console

  1. Open Settings, then Connections, then DATEV (/settings?tab=datev).
  2. Fill in the fields. Every field starts empty. There are no defaults.
  3. Save.

Only a signed-in person can save these settings. Each save creates a new version, and each export records which version it used.

Enter the settings through the API

Read the current settings with any credential:

curl -s -H "Authorization: Bearer <token>" "https://<api-host>/v1/datev-settings"

PUT /v1/datev-settings saves a new version. It works from a signed-in session only. Update the DATEV settings lists every field of the body. Here is an example with made-up numbers:

{
  "beraterNummer": 29098,
  "mandantenNummer": 55003,
  "fiscalYearStart": "07-01",
  "sachkontenlaenge": 4,
  "kontenrahmen": "SKR03",
  "sent": {
    "partnerAccount": "10001",
    "accounts": [
      { "categoryCode": "S", "percent": "19", "account": "8400", "buSchluessel": "" },
      { "categoryCode": "S", "percent": "7", "account": "8300", "buSchluessel": "" }
    ]
  }
}

These numbers only show the shape. Use the adviser’s own accounts. Certinvo has no opinion about them.

Status Code Meaning
200 Saved as a new version.
400 invalid_datev_settings The body does not match the schema. The message names the field.
401 session_required An API key tried to save. Use the console.
404 no_datev_settings On GET: nothing is saved yet.

Check the result

Download one invoice as a DATEV CSV, as described in Export a period to DATEV. Ask the tax adviser to look at the rows before the first real import.

Who may

Saving the DATEV settings needs an owner, an admin or a developer. Process invoices and Read only get 403 role_required; Process invoices may still export.

See also

Navigation

Type to search…

↑↓ navigate↵ selectEsc close