Line Items

Get Invoice Line Item

Returns a specific line item by ID for a given invoice.

get/billing/invoices/{invoice_id}/line-items/{line_item_id}

Request

Path parameters

invoice_idstring uuid required

Invoice the line item belongs to.

line_item_idstring uuid required

Line item to fetch. Use list_invoice_line_items to find one.

Headers

x-entity-idstring uuid

Optional entity_id to scope requests to a specific entity.

Response

Successful Response

idstring uuid required

The unique identifier for the line item.

amountstring required

The total amount for the line item.

quantitystring required

The quantity of the product.

pricestring required

The price per unit of the product.

descriptionstring nullable

A description of the line item.

discountstring nullable

The discount applied to the line item.

discount_descriptionstring nullable

A description of the discount.

created_atstring date-time required

ISO 8601 date-time in the format YYYY-MM-DDThh:mm:ss.nnn[Z|[+|-]hh:mm] (per IETF RFC 3339).

Changes

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