Getting Started
Menu
Catalog Update
Menu
Order Management
Menu
Total Sales
Menu
Suppliers Details
Menu
Buyers Details
Menu
Order management
Order management
Create delivery documents
Invoices or delivery certificate are sent using the following URL:
Request:
Method: POST
URL: api/v1/supplierApi/certificates
headers :
Authorization: bearer {token}
The “type” variable should change according to the chosen document:
3- Delivery Certificate
4- Invoice
The JSON should include the right duocument number in the “Type”
Body:
Pricequoteitems [] // may add files that will be attached to delivery certificate in base 64 look at example below
Pricequote items:
Field Name | Type | Mandatory | Field Description |
---|---|---|---|
SerialNumber | string | True | Delivery certificate serial number |
ShipmentDate | Number | True | Requested delivery date |
CustomerNumber | string | True | Customer identification number | Products | Product's items [] | True | Certificate's products | Attachments | Attached files items [] | False | attached files | Type | 3 or 4 | True | Document type |
TotalNoVATAfterDiscount | number | True | Price before VAT | TotalWithVATAfterDiscount | number | True | Price including VAT |
Product's items:
Field Name | Type | Mandatory | Field Description |
---|---|---|---|
SKU | string | True | Stock keeping unit |
ProductName | string | True | Name |
Quantity | Number | True | Units quantuty |
Price | Number | True | Price without VAT |
FromOrder | string | False | Original order ID |
Attachment's items:
Field Name | Type | Mandatory | Field Description |
---|---|---|---|
FileName | string | True | Name |
Content | string(base64) | True | string representing the file |
Body sample:
[
{
"SerialNumber": "123",
"ShipmentDate": "2022-01-07T12:19:19.083Z",
"CustomerNumber": "27031",
"CustomerName": "test-1",
"Type": 3,
"TotalNoVATAfterDiscount": 30,
"TotalWithVATAfterDiscount": 40,
"Products": [
{
"SKU": "1152605",
"ProductName": "test-2",
"Quantity": 1,
"Price": 30,
"FromOrder": "1"
},
{
"SKU": "1310137M",
"ProductName": "test-3",
"Quantity": 1,
"Price": 30
}
],
"Attachments": [
{
"FileName": "test1.pdf",
"Content": "file_in_base64"
},
{
"FileName": "test2.pdf",
"Content": "file_in_base64"
}
]
}
]
Response:
{
"Success": [
{
"SerialNumber": "1234",
"ExternalId": "f17422ba-8c8b-41f2-ab49-8e72e013dca6",
"ErrorMessage": null
}
],
"Error": [
{
"SerialNumber": "123",
"ExternalId": "00000000-0000-0000-0000-000000000000",
}
]
}
Status: 200