Getting Started
Menu
Catalog Update
Menu
Order Management
Menu
Total Sales
Menu
Suppliers Details
Menu
Buyers Details
Menu
Order management
Order management
Get delivery documents
Invoices or delivery certificate are sent using the following URL:
Request:
Method: GET
URL: /api/v1/supplierApi/deliveryDocumentsByCriteria?fromDate=YYYY-MM-DD&toDate=YYYY-MM-DD&status={status num}
headers :
Authorization: bearer {token}
The “status” variable should change according to the chosen document:
Statuses list:
Field Name | status number |
---|---|
Drafts | 0 |
Open | 1 |
Canceled | 2 |
Used in collective invoice | 5 |
pending for approval | 6 |
Export_status list:
Field Name | status number |
---|---|
NotExported | 0 |
Approved | 1 |
Exported | 2 |
Pending | 3 |
Response:
{
"status": "200",
"documents": [
{
"id": "2323198",
"supplierId": 53227,
"buyerId": 75264,
"supplierName": "לחם לחם - מאפיית העיר שם ממש ערוך מייגע",
"buyerName": "המבורגרי באר שבע",
"status": 1,
"type": 5,
"number": "45654",
"date_sent": "2024-12-24",
"customer_number": null,
"date_delivery": "2024-12-24",
"description": null,
"totalNoVATAfterDiscount": 6556.0000,
"totalWithVATAfterDiscount": 7670.5200,
"items": null,
"related_documents": [
{
"id": "2322798",
"status": 5,
"type": 3,
"number": "578",
"date_sent": "2024-09-19",
"date_delivery": "2024-09-20",
"totalNoVATAfterDiscount": 100.0000,
"totalWithVATAfterDiscount": 117.0000
},
{
"id": "2322800",
"status": 5,
"type": 3,
"number": "2145",
"date_sent": "2024-09-22",
"date_delivery": "2024-09-20",
"totalNoVATAfterDiscount": 245.0000,
"totalWithVATAfterDiscount": 286.6500
}
],
"attached_files": null,
"procurement_type": null,
"export_status": 1
},
{
"id": "2323197",
"supplierId": 53227,
"buyerId": 75264,
"supplierName": "לחם לחם - מאפיית העיר שם ממש ערוך מייגע",
"buyerName": "המבורגרי באר שבע",
"status": 1,
"type": 4,
"number": "56456",
"date_sent": "2024-12-24",
"customer_number": null,
"date_delivery": "2024-12-24",
"description": null,
"totalNoVATAfterDiscount": 56.0000,
"totalWithVATAfterDiscount": 65.5200,
"items": [
{
"cat_number": "8424",
"name": " מיני סופגנייה",
"unitQuantity": 1.00,
"unitQuantityType": 0,
"quantity": 1.000,
"price": 20.0000,
"totalQuantity": 1.00000,
"totalPrice": 20.0000000,
"withoutVAT": false,
"orderId": null,
"expenseAccount": "111"
}
],
"related_documents": null,
"attached_files": null,
"procurement_type": null,
"export_status": 1
}
]
}
Status: 200