Getting Started

Catalog Update

Order Management

Total Sales

Suppliers Details

Buyers Details

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

Response:

				
					{
    "status": "200",
    "orders": [
        {
            "id": "1638946",
            "supplierId": 71554,
            "buyerId": 66483,
            "supplierName": "ספק דגים",
            "buyerName": "פיצה טעימה סניף באר שבע",
            "status": 0,
            "type": 3,
            "number": null,
            "date_sent": "2023-07-03",
            "customer_number": null,
            "date_delivery": "2023-07-03",
            "description": null,
            "totalNoVATAfterDiscount": 2640.0000,
            "totalWithVATAfterDiscount": 3088.8000,
            "items": [
                {
                    "cat_number": "106020",
                    "name": "דג קפוא",
                    "unitQuantity": 1.00,
                    "unitQuantityType": 0,
                    "quantity": 8.00,
                    "price": 330.0000,
                    "totalQuantity": 8.0000,
                    "totalPrice": 2640.000000,
                    "withoutVAT": false,
                    "orderId": 1634054,
                    "expenseAccount": "9998887755"
                }
            ]
        },
        {
            "id": "1638526",
            "supplierId": 53227,
            "buyerId": 66487,
            "supplierName": "ספק מאפים",
            "buyerName": "פיצה טעימה תל אביב",
            "status": 0,
            "type": 3,
            "number": null,
            "date_sent": "2023-07-03",
            "customer_number": null,
            "date_delivery": "2023-07-04",
            "description": null,
            "totalNoVATAfterDiscount": null,
            "totalWithVATAfterDiscount": null,
            "items": [
                {
                    "cat_number": "2552",
                    "name": "לחמניות המבורגר",
                    "unitQuantity": 1.00,
                    "unitQuantityType": 0,
                    "quantity": 24.00,
                    "price": 1.7100,
                    "totalQuantity": 24.0000,
                    "totalPrice": 41.040000,
                    "withoutVAT": false,
                    "orderId": 1638518,
                    "expenseAccount": "92541887755"
                },
                {
                    "cat_number": "2580",
                    "name": "לחמניות שומשום",
                    "unitQuantity": 1.00,
                    "unitQuantityType": 0,
                    "quantity": 105.00,
                    "price": 1.8800,
                    "totalQuantity": 105.0000,
                    "totalPrice": 197.400000,
                    "withoutVAT": false,
                    "orderId": 1638518,
                    "expenseAccount":null
                }
            ]
        }
    ]
}
				
			

Status: 200