Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This method allows you to mark an invoice as Pending Approval in Komet Sales (checked out).

The order must be in Draft status in order to check it out. If the order was already checked out or confirmed by the salesperson, this method will return an error message.

Request

URL: https://api.kometsales.com/api/invoice.checkout

Method: POST

Content-TypeApplication/JSON

Input Parameters

  • authenticationToken (required)(string:50): Komet Sales security token.

  • invoiceNumber (required)(number:10): number of the invoice to be checked out. Do not include prefix characters such as 'W' or 'T'.

Sample Request

 {
    "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 Response

{
   "status": "1",
   "message": "The invoice was successfully checked out."
}

Related Articles


  • No labels