Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Overview
Excerpt |
---|
This method allows you to receive the Vendor Invoice in Komet Sales and associate it to a certain Purchase Order. |
Request
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): Vendor email address or the one specified as authorized here.
- poNumber (required)(integer:10): The PO Number which the invoice will be attached to.
- file (required)(bytes): bytes of the file that you want to upload.
- invoiceNumber (optional)(string: 200): The invoice number of the vendor.
- invoiceTotal (optional)(decimal: 10,2): The invoice total.
Elite soft json viewer | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "companyToken": "token_info_goes_here", "mailFrom":"sales@floresabc.com", "poNumber":"P053455", "file":"bytes_of_the_file_goes_here", "invoiceNumber":"134495", "invoiceTotal":100.45 } |
Response
Output:
- status (integer:1): transaction status. 1 for success or 0 for failure.
- message (string:500): description of the status of the transaction.
Elite soft json viewer | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
{ "status": "1", "message": "success" } |
Panel | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|