Проведення
- Запит
GET /api/v1/q/entry?id=ed6e6af1-b9aa-4138-a49f-1d78991aad91- Командний рядок
pnpm ek q entry --id ed6e6af1-b9aa-4138-a49f-1d78991aad91- Рядків
- 1
{
"rows": [
{
"id": "ed6e6af1-b9aa-4138-a49f-1d78991aad91",
"transaction_date": "2026-03-23",
"decided_at": "2026-10-05T00:43:59.433Z",
"period_id": "2026-03",
"memo": "Випуск за ВЗ-2026-00278: DKM-0004 × 1",
"reverses_entry_id": null,
"event_id": "4a3e63af-0ae0-42be-9069-ad3d7b8612ad",
"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-00278%3A2026-03-23:a81fc42b2c0e8a68",
"source_ref": null,
"payload": "{\"order_id\":\"6b7944a1-8739-4c30-968c-670862c4a56b\",\"order\":\"ВЗ-2026-00278\",\"item_id\":\"fd3b240a-3d1e-4c44-ae80-795fcdf70367\",\"code\":\"DKM-0004\",\"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=ed6e6af1-b9aa-4138-a49f-1d78991aad91- Командний рядок
pnpm ek q entry_lines --id ed6e6af1-b9aa-4138-a49f-1d78991aad91- Рядків
- 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-00278",
"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-00278",
"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": "fd3b240a-3d1e-4c44-ae80-795fcdf70367",
"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": "fd3b240a-3d1e-4c44-ae80-795fcdf70367",
"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": "fd3b240a-3d1e-4c44-ae80-795fcdf70367",
"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": "fd3b240a-3d1e-4c44-ae80-795fcdf70367",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
}
]
}