Get All Receipts
You can use this endpoint to call up a paginated list of all receipts.
Request
GET /api/v1/receipts
curl --request GET \
--url 'https://www.zep-online.de/zepinstanz/next/api/v1/receipts' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {token}'
Response
{
"data": [
{
"id": 1,
"employee_id": "geraldine.zboncak",
"date": "2024-04-01",
"receipt_type_id": {
"id": "voluptas",
"name": "voluptas",
"description": {
"de": "Eum et velit et aperiam delectus. Dolorum sit corrupti laudantium nostrum facilis. Nam qui dolorum veritatis accusantium."
},
"bankAccount": "632740366",
"datev": "est",
"accountingKey": "Et doloremque unde ut.",
"tax": "10.0292",
"amount": "672.84",
"externalAmount": "302.01",
"currency": "Eos.",
"paymentType": "Et.",
"isInclusiveBill": true,
"isTaxAdjustable": false,
"isAlternativeDate": false,
"isSeventyToThirtySplit": false,
"created": "2024-03-25T11:10:48.000000Z",
"modified": "2024-03-25T11:10:48.000000Z"
},
"currency": "EUR",
"invoice_amount_currency": null,
"note": "Iste dolorum quia quos reprehenderit. Dolores consequatur eaque rerum et neque itaque.",
"payment_method": "Et.",
"breakfast": 0,
"lunch_or_dinner": 0,
"location": "South Torrey",
"is_amount_gross_or_net": "B",
"is_invoice_amount_gross_or_net": "B",
"billing_status": {
"id": 2,
"name": "Billed"
},
"performance_date": "2024-04-15",
"client_id": 19,
"created": "2024-03-25T11:10:49.000000Z",
"modified": "2024-03-25T11:10:49.000000Z",
"invoice_item_id": null,
"project_id": 27,
"project_task_id": 133,
"ticket_id": null,
"subtask_id": null,
"filename": "test.jpg"
},
{
"id": 2,
// ...
}
]
}
Optional Parameters
- Name
start_date
- Type
- date | Y-m-d
- Description
First day of the period to be queried. It is inclusive, so the day specified as start_date will also be considered on the results
- Name
end_date
- Type
- date | Y-m-d
- Description
Last day of the period to be queried. It is inclusive, so the day specified as end_date will also be considered on the results.
- Name
limit
- Type
- integer
- Description
Attribute for limiting the number of entries per page