Add line items

Appends one or more line items to an unpaid invoice. Adding items to a paid invoice is not permitted.

POST

Headers

string

The Bearer token for authentication.

string

The user agent of the request. Must contain at least two identifiers separated by a space.

string

The content type of the request.

Parameters

string

The ID of the invoice to add items to.

Request Body

application/json
array

List of line items for the invoice.

string

Detailed description about the item.

number

Number of units.

float

Price per unit.

Response Body

application/json
boolean

Indicates that the request was successful.

string

A descriptive message regarding the result.