Проведення
- Запит
GET /api/v1/q/entry?id=677786ff-d69b-4065-8313-55476b8752f9- Командний рядок
pnpm ek q entry --id 677786ff-d69b-4065-8313-55476b8752f9- Рядків
- 1
{
"rows": [
{
"id": "677786ff-d69b-4065-8313-55476b8752f9",
"transaction_date": "2026-04-27",
"decided_at": "2026-10-05T01:43:57.386Z",
"period_id": "2026-04",
"memo": "Випуск за ВЗ-2026-00432: DKM-0006 × 1",
"reverses_entry_id": null,
"event_id": "ace38b7c-d7e4-4489-ac70-9ec0d16331d8",
"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-00432%3A2026-04-27:c678c6d8e3ce0704",
"source_ref": null,
"payload": "{\"order_id\":\"691d959d-4a2e-4efe-b457-8ccecb2ca43d\",\"order\":\"ВЗ-2026-00432\",\"item_id\":\"d85e6ae9-b5a0-42fa-a6c9-2d572fd2a47a\",\"code\":\"DKM-0006\",\"version\":1,\"qty\":1,\"cost\":526,\"materials\":26,\"labour\":500,\"used\":[{\"lineNo\":1,\"itemId\":\"9847aa90-cb9d-4433-a3cc-a5759e20230b\",\"qty\":1,\"cost\":26,\"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=677786ff-d69b-4065-8313-55476b8752f9- Командний рядок
pnpm ek q entry_lines --id 677786ff-d69b-4065-8313-55476b8752f9- Рядків
- 10
{
"rows": [
{
"line_no": 1,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "UAH",
"amount": 500,
"party_id": null,
"party_name": null,
"item_id": null,
"memo": "Праця й накладні за нормою, ВЗ-2026-00432",
"document_id": null,
"document_number": null
},
{
"line_no": 2,
"account_code": "91",
"account_name": "Загальновиробничі витрати",
"side": "CR",
"measure": "UAH",
"amount": 500,
"party_id": null,
"party_name": null,
"item_id": null,
"memo": "Праця й накладні за нормою, ВЗ-2026-00432",
"document_id": null,
"document_number": null
},
{
"line_no": 3,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "UAH",
"amount": 26,
"party_id": null,
"party_name": null,
"item_id": "9847aa90-cb9d-4433-a3cc-a5759e20230b",
"memo": "Списання у виробництво, рядок 1",
"document_id": null,
"document_number": null
},
{
"line_no": 4,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "CR",
"measure": "UAH",
"amount": 26,
"party_id": null,
"party_name": null,
"item_id": "9847aa90-cb9d-4433-a3cc-a5759e20230b",
"memo": "Списання у виробництво, рядок 1",
"document_id": null,
"document_number": null
},
{
"line_no": 5,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "EA",
"amount": 1,
"party_id": null,
"party_name": null,
"item_id": "9847aa90-cb9d-4433-a3cc-a5759e20230b",
"memo": "Списання у виробництво, рядок 1",
"document_id": null,
"document_number": null
},
{
"line_no": 6,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "CR",
"measure": "EA",
"amount": 1,
"party_id": null,
"party_name": null,
"item_id": "9847aa90-cb9d-4433-a3cc-a5759e20230b",
"memo": "Списання у виробництво, рядок 1",
"document_id": null,
"document_number": null
},
{
"line_no": 7,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "DR",
"measure": "UAH",
"amount": 526,
"party_id": null,
"party_name": null,
"item_id": "d85e6ae9-b5a0-42fa-a6c9-2d572fd2a47a",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
},
{
"line_no": 8,
"account_code": "23",
"account_name": "Виробництво",
"side": "CR",
"measure": "UAH",
"amount": 526,
"party_id": null,
"party_name": null,
"item_id": "d85e6ae9-b5a0-42fa-a6c9-2d572fd2a47a",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
},
{
"line_no": 9,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "DR",
"measure": "EA",
"amount": 1,
"party_id": null,
"party_name": null,
"item_id": "d85e6ae9-b5a0-42fa-a6c9-2d572fd2a47a",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
},
{
"line_no": 10,
"account_code": "23",
"account_name": "Виробництво",
"side": "CR",
"measure": "EA",
"amount": 1,
"party_id": null,
"party_name": null,
"item_id": "d85e6ae9-b5a0-42fa-a6c9-2d572fd2a47a",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
}
]
}