New API version v7.4.2 has been released! 🎉
REST Documentation
GET Attachments

Get Attachments Of A Receipt

You can use this endpoint to get the attachments of a receipt.

Request

GET /api/v1/receipts/:id/attachments
curl --request GET \
     --url 'https://www.zep-online.de/zepinstanz/next/api/v1/receipts/17/attachments' \
     --header 'Accept: application/json' \
     --header 'Authorization: Bearer {token}'

Response

{
	"data": {
		"filename": "2016-06-21 Material.pdf",
		"file_contents": "JVBERi0xLjMgCjEgMCBvYmoKPDwKL1BhZ2VzIDIgMCBSCi9UeXBlIC9DYXRhbG9nCj4+CmVuZG9i..."
	}
}

Note: The file_contents field contains the file data encoded in Base64 format.