v1

latestOpenAPI 3.0.3Apache 2.02026-08-062991191002.1 KB
InvoiceItem

Retrieves the collection of InvoiceItem resources.

Retrieves the collection of InvoiceItem resources.

get/invoice_items

Query parameters

pageinteger

The collection page number

itemsPerPageinteger

The number of items per page

invoiceIdstring
invoiceId[]string[]

Response

InvoiceItem collection

idstring

Unique identifier for this line e.g. "quickbooks-34-1" Note that no particular pattern in this field is guaranteed, only that this field is unique

integrationstring

The key of the integration source e.g. "quickbooks", or "xero"

srcIdstring

Unique identifier for the invoice line, from the source 3rd party integration

invoiceIdstring

The Boss Insights identifier for the invoice that this line belongs to Note that no particular pattern in this field is guaranteed, only that this field is unique

descriptionstring nullable

Description of the line item

quantitynumber nullable

Number of items for the line

unitPriceinteger nullable

Unit price of the item in cents

itemIdstring nullable

Unique identifier for the item, from the source 3rd party integration

itemNamestring nullable

Name of the item

lineAmountinteger nullable

Amount for the line item in cents

Example response

[
  {
    "id": "quickbooks-34-1",
    "integration": "quickbooks",
    "srcId": "1",
    "invoiceId": "quickbooks-34",
    "description": "Bag of soil",
    "quantity": 2.25,
    "unitPrice": 18900,
    "itemId": "1002",
    "itemName": "Bag of soil",
    "lineAmount": 42525
  }
]