/
Void an Invoice
Void an Invoice
Use this method to cancel an Invoice in Komet Sales.
Valid Tokens: Company.
Related Articles
-
Change the Salesperson from an Order (Knowledge Base)
-
Checkout an Invoice (API)
-
Confirm an Invoice (API)
-
Void an Invoice (API)
Request
URL: https://api.kometsales.com/api/invoice.void
Method: POST
Content-Type: URL Parameters.
Input Parameters
authenticationToken (required)(string:50)
Komet Sales security token.
invoiceNumber (required)(number:10)
Number of invoices to be voided.
Do not include prefix characters such as 'W' or 'T'.
reason (required)(string:300)
The reason why the order was voided.
{
"authenticationToken": "ot2fcstsjsie3438dhdkdamo34rub",
"invoiceNumber": "003429",
"reason": "cancelled order"
}
Response
status (integer:1)
Transaction status.
1 = Success | 0 = Failure
message (string:500)
Transaction status description.
{
"status": "1",
"message": "The invoice was successfully voided."
}
Peacock
, multiple selections available,
Related content
Create an Invoice
Create an Invoice
Read with this
Add an Item to an Invoice
Add an Item to an Invoice
Read with this
Update an Invoice Item
Update an Invoice Item
More like this
Get an Invoice in PDF
Get an Invoice in PDF
More like this
Get a detailed Invoice list
Get a detailed Invoice list
More like this
Get a Detailed K2K Invoice List
Get a Detailed K2K Invoice List
More like this