deleteInvoice

Deletes an invoice by its identifier.

Return

A pair containing a InvoiceResponses.DeletedInvoiceResponse confirming deletion on success, or a NetworkingError on failure.

Parameters

invoiceId

The unique identifier of the invoice to delete.


Deletes an invoice by its identifier and delivers the result via a callback.

Parameters

invoiceId

The unique identifier of the invoice to delete.

completionHandler

Invoked on completion with a InvoiceResponses.DeletedInvoiceResponse confirming deletion on success, or a NetworkingError on failure.