Overview

This method allows you to void an existing invoice in Komet Sales. 

Request

https://api.kometsales.com/api/invoice.void

  • Method: POST
  • Content-Type: URL Params

Input Parameters:

  • authenticationToken (required)(string:50): Komet Sales security token.
  • invoiceNumber (required)(number:10) : number of invoice to be voided. Do not include prefix characters such as 'W' or 'T'.

 

Sample
https://api.kometsales.com/api/invoice.void?authenticationToken= token_info_goes_here&invoiceNumber=212061

Response

Output:

  • status (integer:1): transaction status. 1 for success or 0 for failure.
  • message (string:500): description of the transaction status.

Sample
{
   "status": "1",
   "message": "The invoice was successfully voided."
}