/v1/datev-settingsReturns this company’s current DATEV settings: Kanzlei numbers, fiscal year, account length and accounts. The DATEV downloads use them. datev-extf requires them. datev-ledger includes their accounts when there are any. There are no defaults. Every workspace is set by the customer. Any credential may read them, so a system that exports to DATEV can check what it exports with.
Response
A 200 answer carries these fields.
- versionintegerRequired
Starts at 1 and counts up per company.
- settingsobjectRequired
A company's DATEV settings, saved in the console. The API checks them when they are saved, and the engine uses them for DATEV exports. Every account belongs to the customer, so no field has a default. Value ranges follow DATEV's own description of the EXTF format.
Show 8 child fields
- beraterNummerintegerRequired
The tax advisor number (Beraternummer), from 1001 to 9999999. Field 11 of the EXTF header.
- mandantenNummerintegerRequired
The client number (Mandantennummer), from 1 to 99999. Field 12 of the EXTF header.
- fiscalYearStartstringRequired
The first day of the fiscal year, as
MM-DD. It must be a day that exists in every year, so02-29is not allowed. The year comes from each invoice's date: the fiscal year that contains it. Used for field 13 of the EXTF header. - sachkontenlaengeintegerRequired
The length of general ledger account numbers (Sachkontenlänge), from 4 to 8. Field 14 of the EXTF header. It must match the client's setting in DATEV.
- kontenrahmenstringRequired
The chart of accounts the customer's accounts belong to:
SKR03orSKR04. Field 27 of the EXTF header. It does not choose any account.One ofSKR03,SKR04. - roundingAccountstring
The account for a rounding difference of one cent between an invoice's total and its VAT breakdown. When it is not set, the export refuses such an invoice. A difference of more than one cent is always refused.
- sentobject
Accounts for sent invoices: the debtor account, and the revenue account for each VAT category and rate.
Show 2 child fields
- partnerAccountstringRequired
A DATEV account number: 1 to 9 digits, not all zeros.
- accountsarray of objectRequired
Show 4 child fields
- categoryCodestringRequired
The VAT category code (BT-118), exactly as the invoice states it.
- percentstringRequired
The VAT category rate (BT-119), as the invoice states it, with at most two decimal places. Use
0for a category that has no rate. - accountstringRequired
A DATEV account number: 1 to 9 digits, not all zeros.
- buSchluesselstringRequired
The DATEV tax key (BU-Schlüssel), 1 to 4 digits. Leave it empty when the account itself carries the tax treatment. The customer sets this value; it is never assumed.
- receivedobject
Accounts for received invoices: the creditor account, and the expense account for each VAT category and rate.
Show 2 child fields
- partnerAccountstringRequired
A DATEV account number: 1 to 9 digits, not all zeros.
- accountsarray of objectRequired
Show 4 child fields
- categoryCodestringRequired
The VAT category code (BT-118), exactly as the invoice states it.
- percentstringRequired
The VAT category rate (BT-119), as the invoice states it, with at most two decimal places. Use
0for a category that has no rate. - accountstringRequired
A DATEV account number: 1 to 9 digits, not all zeros.
- buSchluesselstringRequired
The DATEV tax key (BU-Schlüssel), 1 to 4 digits. Leave it empty when the account itself carries the tax treatment. The customer sets this value; it is never assumed.
- createdAtstring (date-time)Required
- createdBystring (uuid)Required
The signed-in person who saved it. Never null, because there are no default settings.
Status codes
| Status | Meaning |
|---|---|
200 |
The current version. |
401 |
No usable credential was sent (invalid_credentials). |
404 |
No DATEV settings were ever saved (no_datev_settings). |
/v1/datev-settingscurl https://api.certinvo.com/v1/datev-settings \
-H "Authorization: Bearer $CERTINVO_API_KEY"const response = await fetch(`https://api.certinvo.com/v1/datev-settings`, {
headers: {
Authorization: `Bearer ${process.env.CERTINVO_API_KEY}`,
},
})
console.log(response.status, await response.json())import os
import requests
response = requests.get(
"https://api.certinvo.com/v1/datev-settings",
headers={"Authorization": f"Bearer {os.environ['CERTINVO_API_KEY']}"},
)
print(response.status_code, response.text){
"version": 0,
"settings": {
"beraterNummer": 0,
"mandantenNummer": 0,
"fiscalYearStart": "string",
"sachkontenlaenge": 0,
"kontenrahmen": "SKR03",
"roundingAccount": "string",
"sent": {
"partnerAccount": "string",
"accounts": [
{
"categoryCode": "string",
"percent": "string",
"account": "string",
"buSchluessel": "string"
}
]
},
"received": {
"partnerAccount": "string",
"accounts": [
{
"categoryCode": "string",
"percent": "string",
"account": "string",
"buSchluessel": "string"
}
]
}
},
"createdAt": "2026-09-17T09:30:00Z",
"createdBy": "3f0c2a5e-8d1b-4c7a-9e2f-6b5d4a3c2b1a"
}