Improved

Filtering payable snapshots by creation date

When you create a snapshot of payables, you can filter payables by the date they were created with createdFrom and createdTo (dates in yyyy-MM-dd format; createdTo covers the whole day).

The payable date (fromPayableDate / toPayableDate) is entered by users and can be in the past — even before the current accounting period. For regular synchronisations, we recommend filtering on the creation date, or on updatedFrom, and retrieving payables daily or weekly.

curl --request POST \
     --url https://public-api.spendesk.com/v1/snapshots/payables \
     --header 'accept: application/json' \
     --header 'authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.masked' \
     --header 'content-type: application/json' \
     --data '{ "createdFrom": "2026-09-01", "createdTo": "2026-09-07" }'