Details of subtotals, taxes, discounts, charges, and more for a purchasing transaction.
Returns a collection with a key, ID, and link for each purchasing document subtotal. This operation is mostly for use in testing; use query to find objects that meet certain criteria and to specify properties that are returned.
Subscription | Purchasing |
---|---|
User type | Business, Employee, Project Manager, Warehouse |
Permissions | List, View Purchasing documents |
OK
Bad Request
{- "ia::result": [
- {
- "key": "13",
- "id": "13",
- "href": "/objects/purchasing/document-subtotal/13"
}, - {
- "key": "14",
- "id": "14",
- "href": "/objects/purchasing/document-subtotal/14"
}
], - "ia::meta": {
- "totalCount": 2,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Returns detailed information for a specified purchasing document subtotal.
Subscription | Purchasing |
---|---|
User type | Business, Employee, Project Manager, Warehouse |
Permissions | List, View Purchasing documents |
key required | string System-assigned unique key for the document subtotal. Example: 14 |
OK
Bad Request
{- "ia::result": {
- "id": "14",
- "key": "14",
- "documentHeader": {
- "key": "73",
- "documentType": "Vendor Invoice",
- "href": "/objects/purchasing/document::Vendor%20Invoice/73"
}, - "description": "Purchase Tax",
- "absoluteValue": "7.80",
- "percentValue": "8.00",
- "total": "7.80",
- "dimensions": {
- "location": {
- "key": "6",
- "id": "1",
- "href": "/objects/company-config/location/6"
}
}, - "txnAbsoluteValue": "7.80",
- "txnTotal": "7.80",
- "documentLine": {
- "id": "53",
- "key": "53",
- "documentType": "Vendor Invoice",
- "href": "/objects/purchasing/document-line::Vendor%20Invoice/53"
}, - "audit": {
- "createdDateTime": "2024-05-27T06:22:06Z",
- "modifiedDateTime": "2024-05-27T06:22:09Z",
- "createdBy": "1",
- "modifiedBy": "1"
}, - "href": "/objects/purchasing/document-subtotal/14"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Use the query service to find document subtotals that meet certain criteria and to specify the properties that are returned.
OK