List Purchase Orders
GET/accounting/purchase-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 purchase orders with the exact purchase order status.
Used to filter purchase orders with the exact issue date. Format: YYYY-MM-DD
Used to filter purchase orders with the exact purchase order number.
Used to filter purchase orders whose purchase order numbers contain the provided value.
Used to filter purchase orders whose purchase order number to exclude.
Used to filter purchase orders with the exact delivery date. Format: YYYY-MM-DD
Used to filter purchase orders with this vendor ID.
Used to filter purchase orders whose memos contain the provided value.
Used to filter purchase orders with this company ID.
Used to filter purchase orders with the exact total amount.
Used to filter purchase orders with the minimum total amount.
Used to filter purchase orders with the maximum total amount.
Used to filter purchase 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 [
]
]
purchaseOrders
object[]
deliveryAddress
object
Default value: 0
Default value: 0
lineItems
object[]
Default value: 0
Default value: true
{
"purchaseOrders": [
{
"id": "00000000-0000-0000-0000-000000000000",
"remoteId": "373",
"purchaseOrderStatus": "Open",
"issueDate": "2023-11-03T00:00:00.000Z",
"purchaseOrderNumber": "1036",
"deliveryDate": {},
"deliveryAddress": {
"addressType": "SHIPPING",
"street1": "Sandbox-Test-7",
"street2": "St1 Calle Hortencia # 9"
},
"vendorId": "00000000-0000-0000-0000-000000000000",
"accountId": "00000000-0000-0000-0000-000000000000",
"memo": {},
"companyId": {},
"totalAmount": 100,
"currency": "USD",
"exchangeRate": 1,
"lineItems": [
{
"remoteId": "1",
"lineType": "ItemBasedExpenseLineDetail",
"trackingCategoryIds": [
null
],
"description": "Line Item 1",
"accountingItemId": "00000000-0000-0000-0000-000000000000",
"totalLineAmount": 100
}
],
"trackingCategoryIds": [
null
],
"remoteCreatedAt": "2023-11-03T08:50:33.000Z",
"remoteUpdatedAt": "2023-11-03T08:50:33.000Z",
"remoteDeleted": false,
"createdAt": "2024-02-22T11:20:01.857Z",
"updatedAt": "2024-02-22T13:57:52.896Z"
}
]
}
{
"purchaseOrders": [
{
"id": "00000000-0000-0000-0000-000000000000",
"remoteId": "373",
"purchaseOrderStatus": "Open",
"issueDate": "2023-11-03T00:00:00.000Z",
"purchaseOrderNumber": "1036",
"deliveryDate": null,
"deliveryAddress": {
"addressType": "SHIPPING",
"street1": "Sandbox-Test-7",
"street2": "St1 Calle Hortencia # 9"
},
"vendorId": "00000000-0000-0000-0000-000000000000",
"accountId": "00000000-0000-0000-0000-000000000000",
"memo": null,
"companyId": null,
"totalAmount": 100,
"currency": "USD",
"exchangeRate": 1,
"lineItems": [
{
"remoteId": "1",
"lineType": "ItemBasedExpenseLineDetail",
"trackingCategoryIds": [],
"description": "Line Item 1",
"accountingItemId": "00000000-0000-0000-0000-000000000000",
"totalLineAmount": 100
}
],
"trackingCategoryIds": [],
"remoteCreatedAt": "2023-11-03T08:50:33.000Z",
"remoteUpdatedAt": "2023-11-03T08:50:33.000Z",
"remoteDeleted": false,
"createdAt": "2024-02-22T11:20:01.857Z",
"updatedAt": "2024-02-22T13:57:52.896Z"
}
]
}
400
- application/json
- Schema
- Example (from schema)
- Result
Schema
{}
{}