Проведення
- Запит
GET /api/v1/q/entry?id=3893ed6d-2562-4e08-8a03-907d98f340fb- Командний рядок
pnpm ek q entry --id 3893ed6d-2562-4e08-8a03-907d98f340fb- Рядків
- 1
{
"rows": [
{
"id": "3893ed6d-2562-4e08-8a03-907d98f340fb",
"transaction_date": "2026-04-13",
"decided_at": "2026-10-05T01:21:17.347Z",
"period_id": "2026-04",
"memo": "Випуск за ВЗ-2026-00358: VUZ-0006 × 3",
"reverses_entry_id": null,
"event_id": "0ee41ebe-9c1f-48a7-91f0-11dab06294f6",
"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-00358%3A2026-04-13:3264a322e3de1176",
"source_ref": null,
"payload": "{\"order_id\":\"dbddb052-f811-457b-a288-38068a6de6c8\",\"order\":\"ВЗ-2026-00358\",\"item_id\":\"c8518c13-aed2-4f2f-a0ab-86951de5f388\",\"code\":\"VUZ-0006\",\"version\":1,\"qty\":3,\"cost\":1429307,\"materials\":1401307,\"labour\":28000,\"used\":[{\"lineNo\":1,\"itemId\":\"f8292e5e-d326-4028-b9fe-98844f175c4b\",\"qty\":3,\"cost\":553673,\"substitute\":false},{\"lineNo\":2,\"itemId\":\"0da56a63-39ec-4c72-8cdb-0705c526212c\",\"qty\":3,\"cost\":833787,\"substitute\":false},{\"lineNo\":3,\"itemId\":\"822d0536-06d2-475a-be21-be6e6668bf35\",\"qty\":3,\"cost\":13847,\"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=3893ed6d-2562-4e08-8a03-907d98f340fb- Командний рядок
pnpm ek q entry_lines --id 3893ed6d-2562-4e08-8a03-907d98f340fb- Рядків
- 18
{
"rows": [
{
"line_no": 1,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "UAH",
"amount": 28000,
"party_id": null,
"party_name": null,
"item_id": null,
"memo": "Праця й накладні за нормою, ВЗ-2026-00358",
"document_id": null,
"document_number": null
},
{
"line_no": 2,
"account_code": "91",
"account_name": "Загальновиробничі витрати",
"side": "CR",
"measure": "UAH",
"amount": 28000,
"party_id": null,
"party_name": null,
"item_id": null,
"memo": "Праця й накладні за нормою, ВЗ-2026-00358",
"document_id": null,
"document_number": null
},
{
"line_no": 3,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "UAH",
"amount": 553673,
"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": 553673,
"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": 3,
"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": 3,
"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": 833787,
"party_id": null,
"party_name": null,
"item_id": "0da56a63-39ec-4c72-8cdb-0705c526212c",
"memo": "Списання у виробництво, рядок 2",
"document_id": null,
"document_number": null
},
{
"line_no": 8,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "CR",
"measure": "UAH",
"amount": 833787,
"party_id": null,
"party_name": null,
"item_id": "0da56a63-39ec-4c72-8cdb-0705c526212c",
"memo": "Списання у виробництво, рядок 2",
"document_id": null,
"document_number": null
},
{
"line_no": 9,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "EA",
"amount": 3,
"party_id": null,
"party_name": null,
"item_id": "0da56a63-39ec-4c72-8cdb-0705c526212c",
"memo": "Списання у виробництво, рядок 2",
"document_id": null,
"document_number": null
},
{
"line_no": 10,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "CR",
"measure": "EA",
"amount": 3,
"party_id": null,
"party_name": null,
"item_id": "0da56a63-39ec-4c72-8cdb-0705c526212c",
"memo": "Списання у виробництво, рядок 2",
"document_id": null,
"document_number": null
},
{
"line_no": 11,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "UAH",
"amount": 13847,
"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": 13847,
"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": 3,
"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": 3,
"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": 1429307,
"party_id": null,
"party_name": null,
"item_id": "c8518c13-aed2-4f2f-a0ab-86951de5f388",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
},
{
"line_no": 16,
"account_code": "23",
"account_name": "Виробництво",
"side": "CR",
"measure": "UAH",
"amount": 1429307,
"party_id": null,
"party_name": null,
"item_id": "c8518c13-aed2-4f2f-a0ab-86951de5f388",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
},
{
"line_no": 17,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "DR",
"measure": "EA",
"amount": 3,
"party_id": null,
"party_name": null,
"item_id": "c8518c13-aed2-4f2f-a0ab-86951de5f388",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
},
{
"line_no": 18,
"account_code": "23",
"account_name": "Виробництво",
"side": "CR",
"measure": "EA",
"amount": 3,
"party_id": null,
"party_name": null,
"item_id": "c8518c13-aed2-4f2f-a0ab-86951de5f388",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
}
]
}