Custom Endpoints
Retrieve available documents
Changed onUse this endpoint to get all available documents for a specific period.
get/custom/datev/available-documents
Request
- Base URLhttps://api.kombo.dev/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
periodstring required
Provide the period in the format YYYY-MM-DD for which to check for available documents.
Headers
X-Integration-Idstring required
ID of the integration you want to interact with.
Response
GET /custom/datev/available-documents Positive response
Example response
{
"data": {
"results": [
{
"document_type": "LOBN",
"available_for_employees": [
{
"id": "8Xi6iZrwusZqJmDGXs49GBmJ",
"remote_id": "123456"
}
],
"is_company_document": false
},
{
"document_type": "LOJO",
"available_for_employees": [],
"is_company_document": true
}
]
}
}Changes
- info
endpoint added
- info