Mark an Invoice as Unsynchronized

Use this method to mark a single Invoice as not synchronized.

Valid Tokens: Company.


Related Articles

Request


URL: https://api.kometsales.com/api/invoice.mark.sync.status.error

Method: POST

Content-Type: Application/JSON


Input Parameters

authenticationToken (required)(string:50)

Komet Sales security token.


invoiceId (required)(integer:10)

Komet Sales Invoice ID.

You can get the Invoice ID through the invoice.details.list method.


message (required)(string:50)

Message describing the transaction reason.


unconfirm (optional)(boolean: 1 or 0)

Return the Invoice to it’s previous status.

Valid values: 1 = Yes | 0 = No

Default is one.


{ "authenticationToken": "token_info_goes_here", "invoiceId": 240989, "message": "Test Error" }

Response


status (integer:1)

Transaction status.

Valid values: 1 = Success | 0 = Failure


message (string:500)

Transaction status description.


{ "status": "1", "message": "OK" }
Peacock