Use this method to upload vendor invoices containing consolidated balance information in PDF format.
Valid Tokens: Company and Vendor.
Table of Contents
Request
URL: https://api.kometsales.com/api/v2/vendor/invoice
Method: POST
Content-Type: application/JSON
Header
authenticationToken (required)(string:50)
Komet Sales security token.
Input Parameters
poNumber (required)(integer:10)
Invoice Purchase Order number.
attachment (required)(bytes)
The invoice file that you want to upload.
Formats: Image or PDF.
invoiceNumber (optional)(string:200)
Vendor Invoice number.
invoiceTotal (optional)(decimal: 10,2)
Invoice total.
companyId (integer)(optional)
Company ID.
locationId (optional)(integer:20)
Komet Sales internal Location ID.
You can get this value from the location.list API method.
Only applies to Multi-Location Companies.
{ "poNumber":"P008094", "attachment":"file_in_bytes_goes_here", "invoiceNumber":"008541", "invoiceTotal": "30.78", "locationId": "6316" }
Response
status (integer:1)
Transaction status. 1 = Success | 0 = Failure
message (string:500)
Transaction status description.
{ "status": "1", "message": "The invoice was successfully uploaded." }
Related Articles
-
Delete a Prebook 1.0 (API)
-
-
-
Add Inventory (API)
-