voidInvoice

Void a sent invoice

Void a sent invoice.

Request

Field Description Additional info
invoice type A string identifying the type of the invoice Value one of:

  • purchases
  • sales
  • sales_refund
  • sales_orpan_refund
invoice id The internal id of the invoice

Response

Field Description Additional info
invoice success True if successful, false if failed boolean
invoice msg A message describing the state of success string