Reference
Datev exports
GET/api/v1/datev-exportsList datev exports
The DATEV hand-off as on /finanzen/datev: the way invoices go to DATEV (mode off, mail or xml) and the start date, how many incoming and outgoing invoices wait for the next package or mail run (waiting) and how many cannot go yet (blocked, e.g. a missing file or city), and the newest packages with number, status (building, built, uploaded, discarded, reversed), creation time, invoice count and gross in cents. Read only; building, uploading and taking back packages are done by a person on the page. finance.manage only.scope finance:read
Query
| limit | integerHow many packages, newest first. Default 20, at most 50. |
Response 200
| mode | one of off, mail, xml |
| startDate | string | null |
| waiting | integer |
| blocked | integer |
| exports[] | object[] |
| exports[].number | string |
| exports[].status | one of building, built, uploaded, discarded, reversed |
| exports[].createdAt | string |
| exports[].invoices | integer |
| exports[].grossCents | integer |
Schema
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"off",
"mail",
"xml"
]
},
"startDate": {
"type": [
"string",
"null"
]
},
"waiting": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"blocked": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"exports": {
"type": "array",
"items": {
"type": "object",
"properties": {
"number": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"building",
"built",
"uploaded",
"discarded",
"reversed"
]
},
"createdAt": {
"type": "string"
},
"invoices": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"grossCents": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"number",
"status",
"createdAt",
"invoices",
"grossCents"
],
"additionalProperties": false
}
}
},
"required": [
"mode",
"startDate",
"waiting",
"blocked",
"exports"
],
"additionalProperties": false
}Refusals are problems with a code — see Errors.