This method allows you
in Komet Sales
companyToken :
: : The PO Number to which the invoice will be attached to
: bytes that want to upload
: The of the vendor
: The total
Output:
: transaction 1 for success or 0 for failure.
: description of the status of the transaction.Sample Response
Panel
Filter by label (Content by label) showLabels false max 10 showSpace false sort title cql label in ( "vendor-invoice" , "purchase-orders" , "accounts-payable" ) labels vendor-invoice accounts-payable purchase-orders
Excerpt |
---|
Use this method to receive the Vendor Invoice |
and associate it to a Purchase Order in Komet Sales.
|
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|
Request
URL: https://api.kometsales.com/api/vendor.invoice.mail.receive
Method: POST
Content-Type: application/JSON
Input Parameters
companyToken (required)(string:50)
Komet Sales security token.
mailFrom (required)(string:100)
Purchase Order number of the invoice.
file (required)(bytes)
Bytes of the file
you
are uploading.
invoiceNumber (optional)(string: 200)
Vendor invoice number
.
invoiceTotal (optional)(decimal: 10,2)
Total invoice
amount.
Sample Request
Code Block |
---|
{
"companyToken": "token_info_goes_here",
"mailFrom":"sales@floresabc.com",
"poNumber":"P053455",
"file":"bytes_of_the_file_goes_here",
"invoiceNumber":"134495",
"invoiceTotal":100.45
} |
Response
status (integer:1)
Transaction status.
Valid values: 1 = Success | 0 = Failure
message (string:500)
Transaction status description.
Code Block |
---|
{
"status": "1",
"message": "success"
} |
title | Related Articles |
---|