Проведення
- Запит
GET /api/v1/q/entry?id=3e55af18-04a5-40ce-8f33-8d142b7d3a87- Командний рядок
pnpm ek q entry --id 3e55af18-04a5-40ce-8f33-8d142b7d3a87- Рядків
- 1
{
"rows": [
{
"id": "3e55af18-04a5-40ce-8f33-8d142b7d3a87",
"transaction_date": "2026-07-06",
"decided_at": "2026-10-05T04:21:54.476Z",
"period_id": "2026-07",
"memo": "Випуск за ВЗ-2026-00788: DET-0013 × 15",
"reverses_entry_id": null,
"event_id": "7af43c89-7d14-4b04-8bcc-21b19dbac71e",
"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-00788%3A2026-07-06:7e8262d5a677d108",
"source_ref": null,
"payload": "{\"order_id\":\"5a22c3eb-08aa-4ce4-b985-4b79311c91c8\",\"order\":\"ВЗ-2026-00788\",\"item_id\":\"10618242-f1f1-4a5b-9a7a-5c0e2f35e4e0\",\"code\":\"DET-0013\",\"version\":1,\"qty\":15,\"cost\":42870,\"materials\":12870,\"labour\":30000,\"used\":[{\"lineNo\":1,\"itemId\":\"66d0ea6d-5e82-4147-8038-601194124a33\",\"qty\":30,\"cost\":3870,\"substitute\":false},{\"lineNo\":2,\"itemId\":\"36d30636-b820-4fde-85f5-82b93f03f524\",\"qty\":4500,\"cost\":9000,\"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=3e55af18-04a5-40ce-8f33-8d142b7d3a87- Командний рядок
pnpm ek q entry_lines --id 3e55af18-04a5-40ce-8f33-8d142b7d3a87- Рядків
- 14
{
"rows": [
{
"line_no": 1,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "UAH",
"amount": 30000,
"party_id": null,
"party_name": null,
"item_id": null,
"memo": "Праця й накладні за нормою, ВЗ-2026-00788",
"document_id": null,
"document_number": null
},
{
"line_no": 2,
"account_code": "91",
"account_name": "Загальновиробничі витрати",
"side": "CR",
"measure": "UAH",
"amount": 30000,
"party_id": null,
"party_name": null,
"item_id": null,
"memo": "Праця й накладні за нормою, ВЗ-2026-00788",
"document_id": null,
"document_number": null
},
{
"line_no": 3,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "UAH",
"amount": 3870,
"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": 3870,
"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": 30,
"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": 30,
"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": 9000,
"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": 9000,
"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": 4500,
"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": 4500,
"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": 42870,
"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": 42870,
"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": 15,
"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": 15,
"party_id": null,
"party_name": null,
"item_id": "10618242-f1f1-4a5b-9a7a-5c0e2f35e4e0",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
}
]
}