POST
/
invoices
/
:id
/
line-items

Creates a line item for the given invoice.

Params

id
string

The ID of the invoice to create a line item for.

Request

description
string
required

The description of the line item.

quantity
decimal
required

The quantity of the line item as a decimal string.

unitPrice
decimal
required

The unit price for the given line item as a decimal string.

Response