Using this endpoint, you can get list of all invoices with detailed info of each invoice (like in Invoice Detail endpoint) asynchronously.
See how Asynchronous requests work on our developer's portal.
Response will be in jsonlines format with each invoice taking one line of output file.
One invoice in response has the same format as invoice detail response. See Invoice snapshot schema for more details.
Result file is compressed using GZIP.
This endpoint has several sections, which are only sent when requested in the include parameter (see Section on demand).
| Value | Section |
|---|---|
surchargeParameters | Item surcharge parameters |
Security
shoptetAccessToken or shoptetPrivateApiToken
- Mock serverhttps://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/invoices/snapshot
- https://api.myshoptet.comhttps://api.myshoptet.com/api/invoices/snapshot
- shoptetAccessToken
- shoptetPrivateApiToken
curl -i -X GET \
'https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/invoices/snapshot?include=surchargeParameters&creationTimeFrom=2014-09-05T00%3A00%3A00%252B0000&creationTimeTo=2019-09-05T00%3A00%3A00%252B0000&changeTimeFrom=2014-09-05T00%3A00%3A00%252B0000&changeTimeTo=2019-09-05T00%3A00%3A00%252B0000&codeFrom=0000000006&codeTo=0000000006&proformaInvoiceCodeFrom=2017000010&proformaInvoiceCodeTo=2017000010&dueDateFrom=2014-09-05&dueDateTo=2019-09-05&taxDateFrom=2014-09-05&taxDateTo=2019-09-05&orderCodeFrom=2017000010&orderCodeTo=2017000010&customerGuid=443cad54-73bc-11e8-8216-002590dad85e&varSymbol=2010001&isValid=true&hasTaxId=true&hasVatId=true&hasCompanyId=true' \
-H 'Content-Type: application/json' \
-H 'Shoptet-Access-Token: YOUR_API_KEY_HERE'