Document subtotals

Details of subtotals, taxes, discounts, charges, and more for the transaction.

List document subtotals

get/objects/order-entry/document-subtotal

Returns a collection with a key, ID, and link for each Order Entry document subtotals.

SecurityOAuth2
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": [
    • {
      • "key": "13",
      • "id": "13",
      • "href": "/objects/order-entry/document-subtotal/13"
      },
    • {
      • "key": "14",
      • "id": "14",
      • "href": "/objects/order-entry/document-subtotal/14"
      },
    • {
      • "key": "15",
      • "id": "15",
      • "href": "/objects/order-entry/document-subtotal/15"
      }
    ],
  • "ia::meta": {
    • "totalCount": 3,
    • "start": 1,
    • "pageSize": 100
    }
}

Get a document subtotal

get/objects/order-entry/document-subtotal/{key}

Returns detailed information for a specified Order Entry document subtotal.

SecurityOAuth2
Request
path Parameters
key
required
string

System-assigned unique key for the document subtotal.

Example: 84
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": {
    • "id": "307",
    • "key": "307",
    • "description": "Sales Discount",
    • "absoluteValue": "14.5",
    • "percentValue": "1.45",
    • "total": "-14.5",
    • "dimensions": {
      • "location": {
        },
      • "department": {
        },
      • "customer": {
        }
      },
    • "txnAbsoluteValue": "14.5",
    • "txnTotal": "-14.5",
    • "documentLine": {
      • "id": "233",
      • "key": "233",
      • "documentType": "Sales Invoice",
      • "href": "/objects/order-entry-document-line::Sales%20Invoice/233"
      },
    • "documentHeader": {
      • "key": "21",
      • "id": "Sales Invoice-SUBINV#0100#doc",
      • "documentType": "Sales Invoice",
      • "href": "/objects/order-entry-document::Sales%20Invoice/21"
      },
    • "audit": {
      • "createdDateTime": "2023-07-11T04:58:20Z",
      • "modifiedDateTime": "2023-07-11T04:58:20Z",
      • "createdBy": "1",
      • "modifiedBy": "1"
      },
    • "href": "/objects/order-entry/document-subtotal/307"
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 1,
    • "totalError": 0
    }
}

Query document subtotals

post/services/core/query

Use the query service to find document subtotals that meet certain criteria and to specify the properties that are returned.

SecurityOAuth2
Responses
200

OK

Request samples