deleteInvoiceLineItem

Deletes a line item from the specified invoice.

Return

A Pair where the first element is a InvoiceLineItemResponses.DeletedInvoiceLineItemResponse confirming deletion on success, and the second element is a NetworkingError on failure.

Parameters

invoiceId

The unique identifier of the invoice that owns the line item.

invoiceLineItemId

The unique identifier of the line item to delete.


Deletes a line item from the specified invoice, delivering the result via a callback.

Parameters

invoiceId

The unique identifier of the invoice that owns the line item.

invoiceLineItemId

The unique identifier of the line item to delete.

completionHandler

Called on completion with a InvoiceLineItemResponses.DeletedInvoiceLineItemResponse confirming deletion on success, or a NetworkingError on failure.