Import accounts from a DATEV Sachkontenstamm.csv
POST/accounts/import
Upload a DATEV Sachkontenstamm.csv file; rows are upserted by code. Only mode=merge is accepted. format=generic accepts the FI-neutral "code;name;kind;description" CSV (semicolon-separated, general_ledger only); the kind and description columns are optional. Omitting the description column leaves stored descriptions untouched, while an empty description cell clears the stored one. The DATEV format stays two-column: a real Sachkontenstamm export carries unrelated data after column 2. Uploading a generic file without format=generic is rejected rather than imported two-column, which would drop the description column. A row naming a legal entity in the generic format's optional leading entity_code column is rejected here: this endpoint scopes the whole file with legal_entity_code, so a declared but empty column is accepted and a filled one is not. Use the general_ledger_accounts data import for a per-row entity file.
Request
Responses
- 200
- 400
- 401
- 403
- 409
- 413
- 422
- 429
- 500
Import counts, and the per-row errors for any skipped row
Malformed CSV, an unusable header, or an invalid mode/kind/format
Unauthorized
Forbidden - request denied by authorization, or blocked by the API firewall
Conflict
Request Entity Too Large
Unprocessable Entity
Too many requests - rate limited by the API firewall; wait out the Retry-After delay before retrying
Response Headers
Delay in seconds a client must wait before retrying the request
Internal Server Error