Проведення
- Запит
GET /api/v1/q/entry?id=a3eee9c8-ad73-4858-af3d-1eecdecb56ab- Командний рядок
pnpm ek q entry --id a3eee9c8-ad73-4858-af3d-1eecdecb56ab- Рядків
- 1
{
"rows": [
{
"id": "a3eee9c8-ad73-4858-af3d-1eecdecb56ab",
"transaction_date": "2026-07-06",
"decided_at": "2026-10-05T04:20:16.125Z",
"period_id": "2026-07",
"memo": "Випуск за ВЗ-2026-00758: VUZ-0002 × 24",
"reverses_entry_id": null,
"event_id": "d586439b-7bf2-40da-bd18-c6efd24ffd6a",
"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-00758%3A2026-07-06:0093eb774742782b",
"source_ref": null,
"payload": "{\"order_id\":\"6f5350a1-4c33-4cf2-8ca0-52216baa8644\",\"order\":\"ВЗ-2026-00758\",\"item_id\":\"b92fb2ef-ffa3-4269-92c4-a6c9fb8839e6\",\"code\":\"VUZ-0002\",\"version\":1,\"qty\":24,\"cost\":8701767,\"materials\":8477767,\"labour\":224000,\"used\":[{\"lineNo\":1,\"itemId\":\"f8292e5e-d326-4028-b9fe-98844f175c4b\",\"qty\":24,\"cost\":4459469,\"substitute\":false},{\"lineNo\":2,\"itemId\":\"2a97562b-db52-43e7-a573-681c32cc784e\",\"qty\":24,\"cost\":3907123,\"substitute\":false},{\"lineNo\":3,\"itemId\":\"822d0536-06d2-475a-be21-be6e6668bf35\",\"qty\":24,\"cost\":111175,\"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=a3eee9c8-ad73-4858-af3d-1eecdecb56ab- Командний рядок
pnpm ek q entry_lines --id a3eee9c8-ad73-4858-af3d-1eecdecb56ab- Рядків
- 18
{
"rows": [
{
"line_no": 1,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "UAH",
"amount": 224000,
"party_id": null,
"party_name": null,
"item_id": null,
"memo": "Праця й накладні за нормою, ВЗ-2026-00758",
"document_id": null,
"document_number": null
},
{
"line_no": 2,
"account_code": "91",
"account_name": "Загальновиробничі витрати",
"side": "CR",
"measure": "UAH",
"amount": 224000,
"party_id": null,
"party_name": null,
"item_id": null,
"memo": "Праця й накладні за нормою, ВЗ-2026-00758",
"document_id": null,
"document_number": null
},
{
"line_no": 3,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "UAH",
"amount": 4459469,
"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": 4459469,
"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": 24,
"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": 24,
"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": 3907123,
"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": 3907123,
"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": 24,
"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": 24,
"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": 111175,
"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": 111175,
"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": 24,
"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": 24,
"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": 8701767,
"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": 8701767,
"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": 24,
"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": 24,
"party_id": null,
"party_name": null,
"item_id": "b92fb2ef-ffa3-4269-92c4-a6c9fb8839e6",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
}
]
}