Skip to content

DATEV Document Sync Schedules

This API endpoint allows you to manage the synchronization schedules for DATEV documents. You can create, read, update, and delete schedules as part of your DATEV integration and depending on the rights you have.

General information about the DATEV Document Sync Schedules API that applies to all endpoints. index returns an array of datev_document_sync_schedules, all other endpoints return a single datev_document_sync_schedule.

AttributeDescriptionSpecifics
dayDay of the month when the document sync is scheduledRequired. Integer. Range: 1 – 31, Unique per integration
GroupDescription
actionsContains permissions if current user can edit or delete the schedule
{
"data": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"type": "datev_document_sync_schedule",
"attributes": {
...
}
}
}

This endpoint creates a datev_document_sync_schedule.

POST /api/v1/datev_integrations/:integration_id/datev_document_sync_schedules

ParameterDescription
integration_idID of the integration to return
{
"data": {
"type": "datev_document_sync_schedule",
"attributes": {
"day": 15
}
}
}

This endpoint updates a datev_document_sync_schedule.

PATCH /api/v1/datev_integrations/:integration_id/datev_document_sync_schedules/:id

ParameterDescription
integration_idID of the integration of the document sync schedule to update
idID of the document sync schedule to update
{
"data": {
"type": "datev_document_sync_schedule",
"attributes": {
"day": 20
}
}
}

This endpoint deletes a datev_document_sync_schedule.

DELETE /api/v1/datev_integrations/:integration_id/datev_document_sync_schedules/:id

ParameterDescription
integration_idID of the integration of the document sync schedule to delete
idID of the document sync schedule to delete

This endpoint returns a single datev_document_sync_schedule.

GET /api/v1/datev_integrations/:integration_id/datev_document_sync_schedules/:id

ParameterDescription
integration_idID of the integration of the document sync schedule to return
idID of the document sync schedule to return

This endpoint returns all datev_document_sync_schedules associated with a DATEV integration.

GET /api/v1/datev_integrations/:integration_id/datev_document_sync_schedules

ParameterDescription
integration_idID of the integration of the document sync schedules to return