Invoices

List invoice line items

get/invoices/{invoice_id}/invoice_line_items

Request

  • Base URL: https://api.streamtime.net/v2
  • URL: https://api.streamtime.net/v2/invoices/{invoice_id}/invoice_line_items
  • Auth: HTTP bearer

Path parameters

invoice_idinteger required

Response

Invoice line items fetched.

idinteger

Line Item ID

activeboolean

Has the line item been deleted

namestring

Line item name

descriptionstring

Line item description

accountCodestring

The account code used for accounting packages

quantitystring

Quantity of the line item

unitRatenumber float nullable

Price per unit

totalAmountExTaxnumber float nullable

Total for the line item (quantity x unit rate)

orderIdnumber float nullable

Order of the line item

taxNamestring

Name of the tax rate being used

taxRatenumber float nullable

Tax rate applied to this line item

externalTaxRateIdstring

The ID of the tax rate from an external accounts package

invoiceIdinteger

The ID of the invoice this line item belongs to

Example response

[
  {
    "id": 10001,
    "name": "UI Design",
    "description": "Design the initial user interface",
    "accountCode": "B201",
    "quantity": "1 day",
    "unitRate": 120,
    "totalAmountExTax": 120,
    "orderId": 2,
    "taxName": "GST",
    "taxRate": 10,
    "externalTaxRateId": "e7e05972-ab2c-4294-a887-d98c525af7d3",
    "invoiceId": 3456
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.