Checkout an Invoice

Use this method to checkout an Invoice (mark as Pending Approval) in Komet Sales.

Valid Tokens: Company.

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.


Related Articles

Request


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

Method: POST

Content-Type: Application/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'.


{ "authenticationToken": "token_info_goes_here", "invoiceNumber":212061 }

 

Response


status (integer:1)

Transaction status.

Valid values: 1 = Success | 0 = Failure


message (string:500)

Transaction status description.


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