/
Upload Vendor Invoices
Upload Vendor Invoices
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)
-
Peacock
, multiple selections available,
Related content
Create a Vendor Token from the Vendor Portal
Create a Vendor Token from the Vendor Portal
Read with this
Get an Invoice in PDF
Get an Invoice in PDF
More like this
Add a Vendor Invoice to a Purchase Order
Add a Vendor Invoice to a Purchase Order
More like this
Upload Vendor Invoices to Komet Sales
Upload Vendor Invoices to Komet Sales
More like this
Upload External Invoices Into Komet Sales
Upload External Invoices Into Komet Sales
More like this
Upload Vendor Invoices
Upload Vendor Invoices
More like this