voidInvoice( )


Voids an invoice.

The voidInvoice() function returns a Promise that resolves when the invoice with the specified ID is voided.

Calling voidInvoice() on a draft invoice causes an error.

Method Declaration
Copy
Method Parameters
idIdAndVersionRequired

ID and version of the invoice to void.

Was this helpful?
Yes
No