Delete an Invoice Item
Use this method to delete an item from an existing Invoice on Komet Sales.
Valid Tokens: Company.
Related Articles
-
-
-
Add Invoice Notes to Prebooks (Knowledge Base)
-
Create an Invoice (API)
-
Delete an Invoice Item (API)
Request
URL: https://api.kometsales.com/api/invoice.item.delete
Method: POST
Content-Type: Application/JSON
Input Parameters
authenticationToken (required)(string:20)
Komet Sales security token.
invoiceId (required)(integer:20)
Komet Sales internal Invoice ID.
You can get this value from the invoice.create API method.
invoiceItemId (required)(number:20)
Komet Sales invoice item ID.
You can get this value from the invoice.create API method.
returnAvailableBoxes (optional)(boolean)
Include available Boxes.
Valid values: 0 = No | 1 = Yes
Default is zero.
{
"authenticationToken": "token_info_goes_here",
"invoiceId": 85063,
"invoiceItemId": 9999999
}
Response
status (integer:1)
Transaction status.
Valid values: 1 = Success | 0 = Failure
message (string:500)
Transaction status description.
invoiceId (integer:20)
Invoice ID.
invoiceNumber (integer:10)
Invoice number.
availableBoxes (integer:10)
Number of available Boxes.
{
"status": "1",
"message": "success",
"invoiceId": 111111111,
"invoiceNumber": 85434
}