Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
This method allows you to mark an invoice as Pending Approval in Komet Sales (checked out)
Excerpt

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

Tip

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.


Filter by label (Content by label)
showLabelsfalse
max5
sorttitle
titleRelated Articles
cqllabel in ( "invoice" , "invoice-status" , "api" )
labelsinvoice invoice-status

Request


 Application

 Application/JSON


Input Parameters

authenticationToken (required)(string:50)

:

Komet Sales security token.

invoiceNumber 

invoiceNumber (required)(number:10)

: number

Number of the invoice to be checked out.

Do not include prefix characters such as 'W' or 'T'.

Sample Request


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

Response

Output


status (integer:1)

: transaction

Transaction status.

1 for success or 0 for failure.

Valid values: 1 = Success | 0 = Failure


message (string:500)

: description of the transaction status

Transaction status description.

Sample Response


Code Block
{
   "status": "1",
   "message": "The invoice was successfully checked out."
}
Filter by label (Content by label)showLabelsfalsemax5sorttitletitleRelated Articlescqllabel in ( "invoice" , "invoice-status" , "api" )labelsinvoice invoice-status
We've encountered an issue exporting this macro. Please try exporting this page again later.