Invoices

Get an invoice line item

Retrieve the details of a single line item (required scope finance:read)

get/v1/finance/invoices/{invoiceId}/lineItems/{lineItemId}

Path parameters

invoiceIdinteger required

The unique identifier of the invoice associated with the invoice line item

lineItemIdinteger required

The unique identifier of the invoice line item

Headers

Customer-Idinteger required

The customer identifier

Response

OK

idinteger

The unique identifier associated with the invoice line item

invoiceIdinteger nullable

The unique identifier of the invoice associated with the invoice line item

contactIdinteger nullable

The unique identifier of the contact associated with the invoice line item

createdAtstring date-time

The date and time when the invoice line item was created

quantitynumber double

The quantity of the line item

descriptionstring

Description of the invoice line item

taxIdinteger nullable

VAT / Tax identifier associated with the line item

taxPercentagenumber double

Tax percentage applied to the line item (GET only, never null). Defaults to 0 when no tax is applied

unitCostnumber double nullable

Unit cost of the item (cannot be negative)

unitSellingPricenumber double

Unit selling price of the item (cannot be negative)

taxAmountnumber double nullable

Tax amount for the line item (GET only)

grossAmountnumber double nullable

Gross amount (formerly NetPrice internal) of the line item (GET only)

nominalCodeIdinteger nullable

Nominal code identifier

departmentCodeIdinteger nullable

Department code identifier

Example response

{
  "id": 12345,
  "invoiceId": 54321,
  "quantity": 5,
  "description": "Replacement filter cartridge",
  "taxId": 1001,
  "taxPercentage": 20,
  "unitCost": 5.5,
  "unitSellingPrice": 10.99,
  "taxAmount": 2.2,
  "grossAmount": 13.19,
  "nominalCodeId": 50001,
  "departmentCodeId": 20002
}