Skip to content

DATEV Document Syncs

This API handles DATEV document synchronization for your DATEV integration. Each time a sync schedule triggers, a DATEV document sync is created to manage the actual synchronization process.

General information about the DATEV Document Syncs API that applies to all endpoints.

AttributeDescriptionSpecifics
created_atTimestamp when the document sync was createdCan’t be set, ISO 8601 date-time string
document_typesTypes of documents that were synchronized during the document syncCan’t be set, Array (can be empty), Supported values: LOBN, LSTB
noticeNotice related to the document sync, mainly to provide additional information about the syncCan’t be set, Optional
range_in_monthsAmount of months the initial document sync coversMust be set on creation, Integer between 1 and 12
statusStatus of the document syncCan’t be set, One of: running, succeeded, succeeded_partially, failed
{
"data": {
"id": "c1d2e3f4-5678-90ab-cdef-1234567890ab",
"type": "datev_document_sync",
"attributes": {
...
}
}
}

This endpoint creates an initial DATEV document sync for a DATEV integration. It returns status 422 if an initial sync already exists for the given integration.

POST /api/v1/datev_integrations/:integration_id/datev_document_syncs

ParameterDescription
integration_idID of the integration to create the document sync for
{
"data": {
"type": "datev_document_sync",
"attributes": {
"range_in_months": 6
}
}
}

This endpoint returns all datev_document_syncs associated with a DATEV integration.

GET /api/v1/datev_integrations/:integration_id/datev_document_syncs

ParameterDescription
integration_idID of the integration of the document syncs to return