curl --request GET \
--url https://gateway-dev.shipbob.dev/Experimental/invoices \
--header 'Authorization: Bearer <token>'{
"first": "m8cUk/xJkbeYp2JJvL8oHqxL2hFuGz3qjqtkQ",
"items": [
{
"amount": 0.01,
"currencyCode": "USD",
"invoiceDate": "2019-08-24",
"invoiceId": 12345,
"invoiceType": "Shipping",
"runningBalance": 123.01
}
],
"last": "n8cUk/xJkbeYp2JJvL8oHqxL2hFiGz3qjqtkQ",
"next": "m8cUk/xJkbeYp2JhvL8oHqxL3hFiGz3qjqtkQ",
"prev": "m8cUk/xJkbeYp2JJvL8oHqxL2hFvGz3qjqtkQ"
}Gets a paginated list of invoices, optionally filtered by invoice types and date range
curl --request GET \
--url https://gateway-dev.shipbob.dev/Experimental/invoices \
--header 'Authorization: Bearer <token>'{
"first": "m8cUk/xJkbeYp2JJvL8oHqxL2hFuGz3qjqtkQ",
"items": [
{
"amount": 0.01,
"currencyCode": "USD",
"invoiceDate": "2019-08-24",
"invoiceId": 12345,
"invoiceType": "Shipping",
"runningBalance": 123.01
}
],
"last": "n8cUk/xJkbeYp2JJvL8oHqxL2hFiGz3qjqtkQ",
"next": "m8cUk/xJkbeYp2JhvL8oHqxL3hFiGz3qjqtkQ",
"prev": "m8cUk/xJkbeYp2JJvL8oHqxL2hFvGz3qjqtkQ"
}Authentication using Personal Access Token (PAT) token
[Optional] A pagination token used to jump to first, last, next or previous pages. When supplied, it overrides all other filter parameters.
[Optional] Start date for filtering invoices by invoice date. Default is current - 1 month date.
[Optional] End date for filtering invoices by invoice date. Default is current date.
[Optional] Filter invoices by invoice type. Valid values: Shipping,WarehouseStorage,Inbound Fee,Return,AdditionalFee,Credits
Number of invoices to return per page (default: 100). Must be between 1 and 1000.
Sort invoices by Invoice Date. Values - Ascending, Descending. Default: Descending.