Document line subtotals

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

List document line subtotals

get/objects/purchasing/document-line-subtotal

Returns a collection with a key, ID, and link for each document line subtotal.

SecurityOAuth2
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": [
    • {
      • "key": "12",
      • "id": "12",
      • "href": "/objects/purchasing/document-line-subtotal/12"
      },
    • {
      • "key": "13",
      • "id": "13",
      • "href": "/objects/purchasing/document-line-subtotal/13"
      },
    • {
      • "key": "14",
      • "id": "14",
      • "href": "/objects/purchasing/document-line-subtotal/14"
      }
    ],
  • "ia::meta": {
    • "totalCount": 3,
    • "start": 1,
    • "pageSize": 100,
    • "next": null,
    • "previous": null
    }
}

Get a document line subtotal

get/objects/purchasing/document-line-subtotal/{key}

Returns detailed information for a specified document line subtotal.

SecurityOAuth2
Request
path Parameters
key
required
string

System-assigned unique key for the document line subtotal.

Example: 9
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": {
    • "id": "14",
    • "key": "14",
    • "document": {
      • "id": "14",
      • "key": "14",
      • "href": "/objects/purchasing/document::Purchase%20Order/14"
      },
    • "description": "2) G10 Capital Acquisition",
    • "absoluteValue": "250.00000000",
    • "percentValue": "10.00000000",
    • "total": null,
    • "status": "active",
    • "taxDetail": {
      • "key": "29",
      • "id": "SGST",
      • "href": "/objects/tax/tax-detail/29"
      },
    • "dimensions": {
      • "location": {
        },
      • "department": {
        },
      • "vendor": {
        }
      },
    • "txnAbsoluteValue": "250.00000000",
    • "txnTotal": null,
    • "documentLine": {
      • "id": "6",
      • "key": "6",
      • "href": "/objects/purchasing/document-line::Purchase%20Order/6"
      },
    • "enableOverrideTax": false,
    • "systemTaxDetail": {
      • "key": null,
      • "id": null
      },
    • "href": "/objects/purchasing/document-line-subtotal/14"
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 1,
    • "totalError": 0
    }
}

Query document line subtotals

post/services/core/query

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

SecurityOAuth2
Responses
200

OK

Request samples