Recurring document subtotals

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

List recurring document subtotals

get/objects/purchasing/recurring-document-subtotal

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

SecurityOAuth2
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": [
    • {
      • "key": "7",
      • "id": "7",
      • "href": "/objects/purchasing/recurring-document-subtotal/7"
      },
    • {
      • "key": "8",
      • "id": "8",
      • "href": "/objects/purchasing/recurring-document-subtotal/8"
      },
    • {
      • "key": "1520",
      • "id": "1520",
      • "href": "/objects/purchasing/recurring-document-subtotal/15"
      }
    ],
  • "ia::meta": {
    • "totalCount": 3,
    • "start": 1,
    • "pageSize": 100,
    • "next": null,
    • "previous": null
    }
}

Get a recurring document subtotal

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

Returns detailed information for a specified recurring document subtotal.

SecurityOAuth2
Request
path Parameters
key
required
string

System-assigned unique key for the recurring document subtotal.

Example: 99
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": {
    • "id": "1520",
    • "key": "1520",
    • "recurringDocumentHeader": {
      • "key": "6",
      • "id": "6",
      • "documentType": "Purchase Invoice",
      • "href": "/objects/purchasing/recurring-document::Purchase%20Invoice/6"
      },
    • "description": "Purchase Tax",
    • "absoluteValue": "80.45",
    • "percentValue": "8.25",
    • "total": "80.45000000000000",
    • "dimensions": {
      • "location": {
        },
      • "vendor": {
        }
      },
    • "txnAbsoluteValue": "80.45",
    • "txnTotal": "80.45000000000000",
    • "href": "/objects/purchasing/recurring-document-subtotal/1520"
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 1,
    • "totalError": 0
    }
}

Query recurring document subtotals

post/services/core/query

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

SecurityOAuth2
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": {
    • "ia::error": {
      • "code": "invalidRequest",
      • "message": "A POST request requires a payload",
      • "errorId": "REST-1028",
      • "additionalInfo": {
        },
      • "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
      }
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 0,
    • "totalError": 1
    }
}