Base URL
https://{tenant}.logzi.com/api/delivery_note_out/
Every request returns a JSON response. On success result.code == 1, on error result.code == 0.
/api/delivery_note_out/get
Retrieve a single outgoing delivery note by identifier, with full details.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | int | Unique identifier of the delivery note |
Example request
GET /api/delivery_note_out/get?id=22
X-API-KEY: {az_api_kulcsod}
/api/delivery_note_out/list
Paginated retrieval of the list of outgoing delivery notes with filtering options.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
list_offset | int | Pagination offset (default: 0) | |
list_count | int | Number of records per page | |
list_condition[identify] | string | Filter by identifier (LIKE) | |
list_condition[company_name] | string | Filter by partner name (LIKE) | |
list_condition[status_id] | int | Filter by status | |
list_condition[date_create_from] | date | Creation date — from (YYYY-MM-DD) | |
list_condition[date_create_to] | date | Creation date — to (YYYY-MM-DD) |
Example request
GET /api/delivery_note_out/list?list_offset=0&list_condition[status_id]=1
X-API-KEY: {az_api_kulcsod}
/api/delivery_note_out/save
Create or update an outgoing delivery note. For a new record use data[id] = 0.
POST fields — data object
| Field | Type | Required | Description |
|---|---|---|---|
id | int | 0 = new delivery note, >0 = update | |
company_id | int | Company identifier | |
company_user_id | int | Responsible employee ID | |
company_address_id | int | Company site ID | |
currency_id | int | Currency identifier | |
partner_id | int | Partner/customer identifier | |
partner_shipping_id | int | Partner shipping address ID | |
date_perform | date | Delivery date (YYYY-MM-DD) | |
comment_top | string | Comment visible to the customer | |
comment_bottom | string | Internal comment | |
jobnumber_id | int | Job number identifier | |
item | array | Array of items (see below) |
Item fields — data[item][]
| Field | Type | Required | Description |
|---|---|---|---|
product_id | int | Product identifier | |
quantity | float | Quantity | |
price | float | Net unit price | |
tax_id | int | Tax rate identifier | |
store_id | int | Warehouse identifier | |
remove | int | 1 = remove the item when updating |
Example request
POST /api/delivery_note_out/save
X-API-KEY: {az_api_kulcsod}
Content-Type: application/json
{
"data": {
"id": 0,
"company_id": 1,
"company_user_id": 3,
"company_address_id": 1,
"currency_id": 1,
"partner_id": 12,
"date_perform": "2024-06-20",
"item": [
{ "product_id": 5, "quantity": 3, "price": 12000, "tax_id": 2 }
]
}
}
/api/delivery_note_out/delete
Delete an outgoing delivery note. Only a delivery note with open status can be deleted.
POST fields — data object
| Field | Type | Required | Description |
|---|---|---|---|
receipt_id | int | Identifier of the delivery note to delete |
Example request
POST /api/delivery_note_out/delete
X-API-KEY: {az_api_kulcsod}
Content-Type: application/json
{ "data": { "receipt_id": 22 } }
/api/delivery_note_out/close
Close an outgoing delivery note. Only a delivery note with open status (status_id=1) can be closed.
POST fields — data object
| Field | Type | Required | Description |
|---|---|---|---|
receipt_id | int | Identifier of the delivery note to close |
Example request
POST /api/delivery_note_out/close
X-API-KEY: {az_api_kulcsod}
Content-Type: application/json
{ "data": { "receipt_id": 22 } }
/api/delivery_note_out/download
Download the outgoing delivery note document in various formats.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
receipt_id | int | Identifier of the delivery note | |
file_type | string | pdf, pdf-string, pdf-string-sample, stream | |
language | string | Name of the template language folder | |
template_id | int | Custom print template ID |
Example request
GET /api/delivery_note_out/download?receipt_id=22&file_type=pdf
X-API-KEY: {az_api_kulcsod}
Create your account now,
pay later!