WSE · Schnittstellen
DATEV
Verbinden Sie WSE mit Ihren Anwendungen. Entdecken Sie Endpunkte, Datenmodelle und Schnittstellen – nach Funktionsbereichen und Add-ons geordnet.
DATEV
ERP API Dokumentation
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/datev/configuration' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Successful Response
{ "account_length": 4, "fiscal_year_month": 1, "fiscal_year_day": 1, "chart": "string", "rules": [ { … } ], "document_types": { "property1": "string", "property2": "string" } }
# Example only: replace the instance URL, token and sample values before use.
curl --request PUT \
--url 'https://your-instance.example.invalid/datev/configuration' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"account_length": 4,
"fiscal_year_month": 1,
"fiscal_year_day": 1,
"chart": "string",
"rules": [
{
"document_kind": "invoice",
"source_account": "string",
"tax_rate": 0,
"target_account": "string",
"tax_key": "string",
"automatic_tax_account": false
}
],
"document_types": {
"property1": "string",
"property2": "string"
}
}'Successful Response
{ "account_length": 4, "fiscal_year_month": 1, "fiscal_year_day": 1, "chart": "string", "rules": [ { … } ], "document_types": { "property1": "string", "property2": "string" } }
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/datev/counterparties/497f6eca-6276-4993-bfeb-53cbbbba6f08' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'# Example only: replace the instance URL, token and sample values before use.
curl --request PUT \
--url 'https://your-instance.example.invalid/datev/counterparties/497f6eca-6276-4993-bfeb-53cbbbba6f08' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"creditor_account": "string",
"country_code": "string",
"vat_id": "string"
}'# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/datev/previews' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"start_date": "2019-08-24",
"end_date": "2019-08-24",
"master_data_only": false,
"customer_ids": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}'Successful Response
{ "allowed_actions": [ "approve" ], "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "created_at": "2019-08-24T14:15:22Z", "state": "string", "start_date": "2019-08-24", "end_date": "2019-08-24", "config_snapshot": { "account_length": 4, "fiscal_year_month": 1, "fiscal_year_day": 1, "chart": "string", "rules": [ … ], "document_types": { … }, "consultant_number": "string", "client_number": "string" }, "documents": [ {} ], "artifacts": [ { … } ], "approved_by": "string", "error_code": "string" }
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/datev/runs/497f6eca-6276-4993-bfeb-53cbbbba6f08/approve' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Successful Response
{ "allowed_actions": [ "approve" ], "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "created_at": "2019-08-24T14:15:22Z", "state": "string", "start_date": "2019-08-24", "end_date": "2019-08-24", "config_snapshot": { "account_length": 4, "fiscal_year_month": 1, "fiscal_year_day": 1, "chart": "string", "rules": [ … ], "document_types": { … }, "consultant_number": "string", "client_number": "string" }, "documents": [ {} ], "artifacts": [ { … } ], "approved_by": "string", "error_code": "string" }
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/datev/runs' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Successful Response
[ { "allowed_actions": [ … ], "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "created_at": "2019-08-24T14:15:22Z", "state": "string", "start_date": "2019-08-24", "end_date": "2019-08-24", "config_snapshot": { … }, "documents": [ … ], "artifacts": [ … ], "approved_by": "string", "error_code": "string" } ]
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/datev/runs/497f6eca-6276-4993-bfeb-53cbbbba6f08' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Successful Response
{ "allowed_actions": [ "approve" ], "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "created_at": "2019-08-24T14:15:22Z", "state": "string", "start_date": "2019-08-24", "end_date": "2019-08-24", "config_snapshot": { "account_length": 4, "fiscal_year_month": 1, "fiscal_year_day": 1, "chart": "string", "rules": [ … ], "document_types": { … }, "consultant_number": "string", "client_number": "string" }, "documents": [ {} ], "artifacts": [ { … } ], "approved_by": "string", "error_code": "string" }
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/datev/runs/497f6eca-6276-4993-bfeb-53cbbbba6f08/artifacts/497f6eca-6276-4993-bfeb-53cbbbba6f08' \
--header 'Accept: application/pdf' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/datev/runs/497f6eca-6276-4993-bfeb-53cbbbba6f08/artifacts/497f6eca-6276-4993-bfeb-53cbbbba6f08/resend' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"reason": "stringstri"
}'Successful Response
{ "allowed_actions": [ "approve" ], "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "created_at": "2019-08-24T14:15:22Z", "state": "string", "start_date": "2019-08-24", "end_date": "2019-08-24", "config_snapshot": { "account_length": 4, "fiscal_year_month": 1, "fiscal_year_day": 1, "chart": "string", "rules": [ … ], "document_types": { … }, "consultant_number": "string", "client_number": "string" }, "documents": [ {} ], "artifacts": [ { … } ], "approved_by": "string", "error_code": "string" }
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/datev/runs/497f6eca-6276-4993-bfeb-53cbbbba6f08/artifacts/497f6eca-6276-4993-bfeb-53cbbbba6f08/reconcile' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Successful Response
{ "allowed_actions": [ "approve" ], "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "created_at": "2019-08-24T14:15:22Z", "state": "string", "start_date": "2019-08-24", "end_date": "2019-08-24", "config_snapshot": { "account_length": 4, "fiscal_year_month": 1, "fiscal_year_day": 1, "chart": "string", "rules": [ … ], "document_types": { … }, "consultant_number": "string", "client_number": "string" }, "documents": [ {} ], "artifacts": [ { … } ], "approved_by": "string", "error_code": "string" }
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/datev/runs/497f6eca-6276-4993-bfeb-53cbbbba6f08/resume' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Successful Response
{ "allowed_actions": [ "approve" ], "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "created_at": "2019-08-24T14:15:22Z", "state": "string", "start_date": "2019-08-24", "end_date": "2019-08-24", "config_snapshot": { "account_length": 4, "fiscal_year_month": 1, "fiscal_year_day": 1, "chart": "string", "rules": [ … ], "document_types": { … }, "consultant_number": "string", "client_number": "string" }, "documents": [ {} ], "artifacts": [ { … } ], "approved_by": "string", "error_code": "string" }
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/datev/connection' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Successful Response
{ "allowed_actions": [ "connect" ], "generation": "9f472193-7598-4291-926c-6d116edc9e9b", "accounting_client": "string", "state": "string", "expires_at": "2019-08-24T14:15:22Z", "authorized_by": "string", "company_name": "string" }
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/datev/connection' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'# Example only: replace the instance URL, token and sample values before use.
curl --request DELETE \
--url 'https://your-instance.example.invalid/datev/connection' \
--header 'Accept: application/problem+json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/datev/document-types' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'