This endpoint retrieves order invoices (facturas) by a given time range. NOTE, this will only include order invoices that users generated via Parrot's invoicing portal.
Note:startTimestamp and endTimestamp must be at most 48 hours apart.
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET '/v1/order-invoices?startTimestamp=2024-03-27T19:00:00-06:00&endTimestamp=2024-03-28T19:00:00-06:00&pageSize=100&page=0&storeUUID=a2f09385-7f1b-436c-9baa-bb9cf1174c25&storeUUID=206b8416-c3c8-4053-9bdf-a11f3ddd7da1' \
--header'Authorization: Bearer <token>'
Responses
🟢200OK
application/json
Body
Example
{"pagination":{"next":null,"previous":null,"count":1,"current":0,"pageSize":100},"data":[{"uuid":"d8d4fd9b-a70c-477f-aac5-9e6bc8d05aa6","orderUuid":"04f7865e-7ed3-4c9f-b277-9fc8a24b132d","createdAt":1738620585,"total":137,"taxId":"MMDG750726LF9","name":"MAYRA MIRIAM MARTINEZ VILLARREAL","email":"mayravillarreal@gmail.com"},{"uuid":"7a4b4e89-20b8-4a31-b080-f6c17790ca95","orderUuid":"24feb928-8fbf-4a4d-a7bc-7f62c734493a","createdAt":1738710387,"total":72,"taxId":"DDDL891817IZ9","name":"LUIS DANIEL LEON MARTINEZ","email":"luisdaniel@gmail.com"}],"datetime":"2025-05-12T14:40:18-06:00"}