Cancel Method
Cancels an invoice.
Syntax
invoicecontrol.Cancel invoiceIdRemarks
This method is used to cancel the invoice specified by invoiceId.
CancellationInfo can be used to specify details about the invoice cancellation.
After calling this method, the Ack property will indicate success or failure.