createInvoiceLineItem

Creates a new line item on the specified invoice.

Return

A Pair where the first element is the created InvoiceLineItem on success, and the second element is a NetworkingError on failure.

Parameters

invoiceId

The unique identifier of the invoice to add the line item to.

request

The details of the line item to create.


Creates a new line item on the specified invoice, delivering the result via a callback.

Parameters

invoiceId

The unique identifier of the invoice to add the line item to.

request

The details of the line item to create.

completionHandler

Called on completion with the created InvoiceLineItem on success, or a NetworkingError on failure.