Проведення
- Запит
GET /api/v1/q/entry?id=78d58695-1047-46e1-99c4-0a40fabb17c6- Командний рядок
pnpm ek q entry --id 78d58695-1047-46e1-99c4-0a40fabb17c6- Рядків
- 1
{
"rows": [
{
"id": "78d58695-1047-46e1-99c4-0a40fabb17c6",
"transaction_date": "2026-02-12",
"decided_at": "2026-10-04T23:40:11.151Z",
"period_id": "2026-02",
"memo": "Випуск за ВЗ-2026-00077: DET-0013 × 5",
"reverses_entry_id": null,
"event_id": "09a0fd73-e2df-4aa5-97cc-ecf42d511449",
"kind": "produced",
"actor_id": "key:71edce39-c164-4b09-b5ff-c74e8b9b4d46",
"action_name": "zbirka.produce_order",
"action_version": 2,
"idempotency_key": "api:71edce39-c164-4b09-b5ff-c74e8b9b4d46:world7%3Aout%3A%D0%92%D0%97-2026-00077%3A2026-02-12:04e0e31d157d065b",
"source_ref": null,
"payload": "{\"order_id\":\"19b19a5f-2a1a-46da-ae0d-5942903f217b\",\"order\":\"ВЗ-2026-00077\",\"item_id\":\"10618242-f1f1-4a5b-9a7a-5c0e2f35e4e0\",\"code\":\"DET-0013\",\"version\":1,\"qty\":5,\"cost\":14290,\"materials\":4290,\"labour\":10000,\"used\":[{\"lineNo\":1,\"itemId\":\"66d0ea6d-5e82-4147-8038-601194124a33\",\"qty\":10,\"cost\":1290,\"substitute\":false},{\"lineNo\":2,\"itemId\":\"36d30636-b820-4fde-85f5-82b93f03f524\",\"qty\":1500,\"cost\":3000,\"substitute\":false}]}",
"rule_hash": null,
"rule_package": null,
"rule_version": null,
"period_status": "CLOSED",
"actor_name": "ключ «Дзюба Олег Миколайович»",
"presenter_id": null,
"presenter_name": null,
"reversed_by": null,
"reversed": 0
}
]
}Рядки
- Запит
GET /api/v1/q/entry_lines?id=78d58695-1047-46e1-99c4-0a40fabb17c6- Командний рядок
pnpm ek q entry_lines --id 78d58695-1047-46e1-99c4-0a40fabb17c6- Рядків
- 14
{
"rows": [
{
"line_no": 1,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "UAH",
"amount": 10000,
"party_id": null,
"party_name": null,
"item_id": null,
"memo": "Праця й накладні за нормою, ВЗ-2026-00077",
"document_id": null,
"document_number": null
},
{
"line_no": 2,
"account_code": "91",
"account_name": "Загальновиробничі витрати",
"side": "CR",
"measure": "UAH",
"amount": 10000,
"party_id": null,
"party_name": null,
"item_id": null,
"memo": "Праця й накладні за нормою, ВЗ-2026-00077",
"document_id": null,
"document_number": null
},
{
"line_no": 3,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "UAH",
"amount": 1290,
"party_id": null,
"party_name": null,
"item_id": "66d0ea6d-5e82-4147-8038-601194124a33",
"memo": "Списання у виробництво, рядок 1",
"document_id": null,
"document_number": null
},
{
"line_no": 4,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "CR",
"measure": "UAH",
"amount": 1290,
"party_id": null,
"party_name": null,
"item_id": "66d0ea6d-5e82-4147-8038-601194124a33",
"memo": "Списання у виробництво, рядок 1",
"document_id": null,
"document_number": null
},
{
"line_no": 5,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "G",
"amount": 10,
"party_id": null,
"party_name": null,
"item_id": "66d0ea6d-5e82-4147-8038-601194124a33",
"memo": "Списання у виробництво, рядок 1",
"document_id": null,
"document_number": null
},
{
"line_no": 6,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "CR",
"measure": "G",
"amount": 10,
"party_id": null,
"party_name": null,
"item_id": "66d0ea6d-5e82-4147-8038-601194124a33",
"memo": "Списання у виробництво, рядок 1",
"document_id": null,
"document_number": null
},
{
"line_no": 7,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "UAH",
"amount": 3000,
"party_id": null,
"party_name": null,
"item_id": "36d30636-b820-4fde-85f5-82b93f03f524",
"memo": "Списання у виробництво, рядок 2",
"document_id": null,
"document_number": null
},
{
"line_no": 8,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "CR",
"measure": "UAH",
"amount": 3000,
"party_id": null,
"party_name": null,
"item_id": "36d30636-b820-4fde-85f5-82b93f03f524",
"memo": "Списання у виробництво, рядок 2",
"document_id": null,
"document_number": null
},
{
"line_no": 9,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "MM",
"amount": 1500,
"party_id": null,
"party_name": null,
"item_id": "36d30636-b820-4fde-85f5-82b93f03f524",
"memo": "Списання у виробництво, рядок 2",
"document_id": null,
"document_number": null
},
{
"line_no": 10,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "CR",
"measure": "MM",
"amount": 1500,
"party_id": null,
"party_name": null,
"item_id": "36d30636-b820-4fde-85f5-82b93f03f524",
"memo": "Списання у виробництво, рядок 2",
"document_id": null,
"document_number": null
},
{
"line_no": 11,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "DR",
"measure": "UAH",
"amount": 14290,
"party_id": null,
"party_name": null,
"item_id": "10618242-f1f1-4a5b-9a7a-5c0e2f35e4e0",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
},
{
"line_no": 12,
"account_code": "23",
"account_name": "Виробництво",
"side": "CR",
"measure": "UAH",
"amount": 14290,
"party_id": null,
"party_name": null,
"item_id": "10618242-f1f1-4a5b-9a7a-5c0e2f35e4e0",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
},
{
"line_no": 13,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "DR",
"measure": "EA",
"amount": 5,
"party_id": null,
"party_name": null,
"item_id": "10618242-f1f1-4a5b-9a7a-5c0e2f35e4e0",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
},
{
"line_no": 14,
"account_code": "23",
"account_name": "Виробництво",
"side": "CR",
"measure": "EA",
"amount": 5,
"party_id": null,
"party_name": null,
"item_id": "10618242-f1f1-4a5b-9a7a-5c0e2f35e4e0",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
}
]
}