Проведення
- Запит
GET /api/v1/q/entry?id=54f5502d-081f-4384-a755-ac8961e63a0e- Командний рядок
pnpm ek q entry --id 54f5502d-081f-4384-a755-ac8961e63a0e- Рядків
- 1
{
"rows": [
{
"id": "54f5502d-081f-4384-a755-ac8961e63a0e",
"transaction_date": "2026-06-08",
"decided_at": "2026-10-05T03:18:15.692Z",
"period_id": "2026-06",
"memo": "Випуск за ВЗ-2026-00652: VUZ-0002 × 21",
"reverses_entry_id": null,
"event_id": "fdaf4b94-29c5-4136-9536-1cead0fb6856",
"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-00652%3A2026-06-08:8b239ec547cba4ec",
"source_ref": null,
"payload": "{\"order_id\":\"84ac1b3e-9f1f-4f09-bb04-bed64cce193e\",\"order\":\"ВЗ-2026-00652\",\"item_id\":\"b92fb2ef-ffa3-4269-92c4-a6c9fb8839e6\",\"code\":\"VUZ-0002\",\"version\":1,\"qty\":21,\"cost\":7611729,\"materials\":7415729,\"labour\":196000,\"used\":[{\"lineNo\":1,\"itemId\":\"f8292e5e-d326-4028-b9fe-98844f175c4b\",\"qty\":21,\"cost\":3900962,\"substitute\":false},{\"lineNo\":2,\"itemId\":\"2a97562b-db52-43e7-a573-681c32cc784e\",\"qty\":21,\"cost\":3417493,\"substitute\":false},{\"lineNo\":3,\"itemId\":\"822d0536-06d2-475a-be21-be6e6668bf35\",\"qty\":21,\"cost\":97274,\"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=54f5502d-081f-4384-a755-ac8961e63a0e- Командний рядок
pnpm ek q entry_lines --id 54f5502d-081f-4384-a755-ac8961e63a0e- Рядків
- 18
{
"rows": [
{
"line_no": 1,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "UAH",
"amount": 196000,
"party_id": null,
"party_name": null,
"item_id": null,
"memo": "Праця й накладні за нормою, ВЗ-2026-00652",
"document_id": null,
"document_number": null
},
{
"line_no": 2,
"account_code": "91",
"account_name": "Загальновиробничі витрати",
"side": "CR",
"measure": "UAH",
"amount": 196000,
"party_id": null,
"party_name": null,
"item_id": null,
"memo": "Праця й накладні за нормою, ВЗ-2026-00652",
"document_id": null,
"document_number": null
},
{
"line_no": 3,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "UAH",
"amount": 3900962,
"party_id": null,
"party_name": null,
"item_id": "f8292e5e-d326-4028-b9fe-98844f175c4b",
"memo": "Списання у виробництво, рядок 1",
"document_id": null,
"document_number": null
},
{
"line_no": 4,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "CR",
"measure": "UAH",
"amount": 3900962,
"party_id": null,
"party_name": null,
"item_id": "f8292e5e-d326-4028-b9fe-98844f175c4b",
"memo": "Списання у виробництво, рядок 1",
"document_id": null,
"document_number": null
},
{
"line_no": 5,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "EA",
"amount": 21,
"party_id": null,
"party_name": null,
"item_id": "f8292e5e-d326-4028-b9fe-98844f175c4b",
"memo": "Списання у виробництво, рядок 1",
"document_id": null,
"document_number": null
},
{
"line_no": 6,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "CR",
"measure": "EA",
"amount": 21,
"party_id": null,
"party_name": null,
"item_id": "f8292e5e-d326-4028-b9fe-98844f175c4b",
"memo": "Списання у виробництво, рядок 1",
"document_id": null,
"document_number": null
},
{
"line_no": 7,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "UAH",
"amount": 3417493,
"party_id": null,
"party_name": null,
"item_id": "2a97562b-db52-43e7-a573-681c32cc784e",
"memo": "Списання у виробництво, рядок 2",
"document_id": null,
"document_number": null
},
{
"line_no": 8,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "CR",
"measure": "UAH",
"amount": 3417493,
"party_id": null,
"party_name": null,
"item_id": "2a97562b-db52-43e7-a573-681c32cc784e",
"memo": "Списання у виробництво, рядок 2",
"document_id": null,
"document_number": null
},
{
"line_no": 9,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "EA",
"amount": 21,
"party_id": null,
"party_name": null,
"item_id": "2a97562b-db52-43e7-a573-681c32cc784e",
"memo": "Списання у виробництво, рядок 2",
"document_id": null,
"document_number": null
},
{
"line_no": 10,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "CR",
"measure": "EA",
"amount": 21,
"party_id": null,
"party_name": null,
"item_id": "2a97562b-db52-43e7-a573-681c32cc784e",
"memo": "Списання у виробництво, рядок 2",
"document_id": null,
"document_number": null
},
{
"line_no": 11,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "UAH",
"amount": 97274,
"party_id": null,
"party_name": null,
"item_id": "822d0536-06d2-475a-be21-be6e6668bf35",
"memo": "Списання у виробництво, рядок 3",
"document_id": null,
"document_number": null
},
{
"line_no": 12,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "CR",
"measure": "UAH",
"amount": 97274,
"party_id": null,
"party_name": null,
"item_id": "822d0536-06d2-475a-be21-be6e6668bf35",
"memo": "Списання у виробництво, рядок 3",
"document_id": null,
"document_number": null
},
{
"line_no": 13,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "EA",
"amount": 21,
"party_id": null,
"party_name": null,
"item_id": "822d0536-06d2-475a-be21-be6e6668bf35",
"memo": "Списання у виробництво, рядок 3",
"document_id": null,
"document_number": null
},
{
"line_no": 14,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "CR",
"measure": "EA",
"amount": 21,
"party_id": null,
"party_name": null,
"item_id": "822d0536-06d2-475a-be21-be6e6668bf35",
"memo": "Списання у виробництво, рядок 3",
"document_id": null,
"document_number": null
},
{
"line_no": 15,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "DR",
"measure": "UAH",
"amount": 7611729,
"party_id": null,
"party_name": null,
"item_id": "b92fb2ef-ffa3-4269-92c4-a6c9fb8839e6",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
},
{
"line_no": 16,
"account_code": "23",
"account_name": "Виробництво",
"side": "CR",
"measure": "UAH",
"amount": 7611729,
"party_id": null,
"party_name": null,
"item_id": "b92fb2ef-ffa3-4269-92c4-a6c9fb8839e6",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
},
{
"line_no": 17,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "DR",
"measure": "EA",
"amount": 21,
"party_id": null,
"party_name": null,
"item_id": "b92fb2ef-ffa3-4269-92c4-a6c9fb8839e6",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
},
{
"line_no": 18,
"account_code": "23",
"account_name": "Виробництво",
"side": "CR",
"measure": "EA",
"amount": 21,
"party_id": null,
"party_name": null,
"item_id": "b92fb2ef-ffa3-4269-92c4-a6c9fb8839e6",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
}
]
}