List Sales Orders
GET/accounting/sales-orders
Returns a list of Purchase Orders.
Request
Query Parameters
The ID of the credential.
The page number of the results. Default is 1.
The maximum number of results to show on a page. Default is 50. Maximum is 100.
Used to filter purchase orders with this third-party application ID.
Used to filter sales orders with the exact sales order status.
Used to filter purchase orders with the exact issue date. Format: YYYY-MM-DD
Used to filter sales orders with the exact sales order number.
Used to filter sales orders whose sales order numbers contain the provided value.
Used to filter sales orders whose sales order number to exclude.
Used to filter purchase orders with the exact delivery date. Format: YYYY-MM-DD
Used to filter sales orders with this customer ID.
Used to filter sales orders whose memos contain the provided value.
Used to filter sales orders with this company ID.
Overall amount of taxes charged on the sales order.
Used to filter sales orders with the exact total amount.
Used to filter sales orders with the minimum total amount.
Used to filter purchase orders with the maximum total amount.
Used to filter sales orders whose total amount to exclude.
Used to filter records created after this datetime in the third-party application.
Used to filter records created before this datetime in the third-party application.
Used to filter records updated after this datetime in the third-party application.
Used to filter records updated before this datetime in the third-party application.
Used to filter records created after this datetime.
Used to filter records created before this datetime.
Used to filter records updated after this datetime.
Used to filter records updated before this datetime.
Header Parameters
Default value: bearer YOUR_API_KEY
Responses
- 200
- 400
200
- application/json
- Schema
- Example (from schema)
- Result
Schema
Array [
Array [
]
]
salesOrders
object[]
Default value: 0
Default value: 0
lineItems
object[]
Default value: 0
Default value: true
{
"salesOrders": [
{
"id": "00000000-0000-0000-0000-000000000000",
"remoteId": "361",
"salesOrderStatus": {},
"salesOrderNumber": "SO117",
"issueDate": "2023-10-10",
"dueDate": "2023-10-10",
"paidOnDate": {},
"deliveryDate": {},
"deilveryAddress": {},
"customerId": "00000000-0000-0000-0000-000000000000",
"accountId": "00000000-0000-0000-0000-000000000000",
"memo": {},
"companyId": {},
"totalTaxAmount": {},
"totalAmount": 100,
"currency": "USD",
"exchangeRate": 1,
"totalDiscount": {},
"subTotal": {},
"lineItems": [
{
"totalAmount": 100,
"accountingItemId": "00000000-0000-0000-0000-000000000000",
"remoteId": "1"
}
],
"trackingCategoryIds": [
null
],
"remoteCreatedAt": "2023-10-29T06:52:05.000Z",
"remoteUpdatedAt": "2023-10-29T06:52:05.000Z",
"remoteDeleted": false,
"createdAt": "2024-02-22T11:17:23.939Z",
"updatedAt": "2024-02-22T13:53:08.847Z"
}
]
}
{
"salesOrders": [
{
"id": "00000000-0000-0000-0000-000000000000",
"remoteId": "361",
"salesOrderStatus": null,
"salesOrderNumber": "SO117",
"issueDate": "2023-10-10",
"dueDate": "2023-10-10",
"paidOnDate": null,
"deliveryDate": null,
"deilveryAddress": null,
"customerId": "00000000-0000-0000-0000-000000000000",
"accountId": "00000000-0000-0000-0000-000000000000",
"memo": null,
"companyId": null,
"totalTaxAmount": null,
"totalAmount": 100,
"currency": "USD",
"exchangeRate": 1,
"totalDiscount": null,
"subTotal": null,
"lineItems": [
{
"totalAmount": 100,
"accountingItemId": "00000000-0000-0000-0000-000000000000",
"remoteId": "1"
},
{
"totalAmount": 100
}
],
"trackingCategoryIds": [],
"remoteCreatedAt": "2023-10-29T06:52:05.000Z",
"remoteUpdatedAt": "2023-10-29T06:52:05.000Z",
"remoteDeleted": false,
"createdAt": "2024-02-22T11:17:23.939Z",
"updatedAt": "2024-02-22T13:53:08.847Z"
}
]
}
400
- application/json
- Schema
- Example (from schema)
- Result
Schema
{}
{}