Bill tax entries

For VAT enabled transactions, a bill tax entry provides tax information about the bill line item it is associated with. Create and maintain bill tax entries from the owning AP bill line object.

List bill tax entries

get/objects/accounts-payable/bill-tax-entry

Returns a collection with a key, ID, and link for each bill tax entry. This operation is mostly for use in testing; use the query service to find objects that meet certain criteria and to specify properties that are returned.

SecurityOAuth2
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": [
    • {
      • "key": "8",
      • "id": "8",
      • "href": "/objects/accounts-payable/bill-tax-entry/8"
      },
    • {
      • "key": "9",
      • "id": "9",
      • "href": "/objects/accounts-payable/bill-tax-entry/9"
      },
    • {
      • "key": "10",
      • "id": "10",
      • "href": "/objects/accounts-payable/bill-tax-entry/10"
      }
    ],
  • "ia::meta": {
    • "totalCount": 3,
    • "start": 1,
    • "pageSize": 100,
    • "next": null,
    • "previous": null
    }
}

Get a bill tax entry

get/objects/accounts-payable/bill-tax-entry/{key}

Returns detailed information for a specified bill tax entry.

SecurityOAuth2
Request
path Parameters
key
required
string

System-assigned key for the bill tax entry.

Example: 33
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": {
    • "key": "300",
    • "id": "300",
    • "baseTaxAmount": "100",
    • "txnTaxAmount": "100",
    • "taxRate": 5.5,
    • "purchasingTaxDetail": {
      • "id": "UK Export Reduced Rate",
      • "key": "24",
      • "href": "/objects/tax/purchasing-tax-detail/24"
      },
    • "billLine": {
      • "id": "148",
      • "key": "148",
      • "href": "/objects/accounts-payable/bill-line/148"
      },
    • "href": "/objects/accounts-payable/bill-tax-entry/300"
    },
  • "ia::meta": {
    • "totalCount": 1
    }
}