Проведення
- Запит
GET /api/v1/q/entry?id=df8fe66b-a73a-4cfc-b44b-1316e375469f- Командний рядок
pnpm ek q entry --id df8fe66b-a73a-4cfc-b44b-1316e375469f- Рядків
- 1
{
"rows": [
{
"id": "df8fe66b-a73a-4cfc-b44b-1316e375469f",
"transaction_date": "2026-08-10",
"decided_at": "2026-10-05T05:37:10.788Z",
"period_id": "2026-08",
"memo": "Випуск за ВЗ-2026-00942: DKM-0011 × 2",
"reverses_entry_id": null,
"event_id": "68c380bc-b57d-4408-8635-6f72e18f51bc",
"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-00942%3A2026-08-10:0a7f31ff3cdeb015",
"source_ref": null,
"payload": "{\"order_id\":\"b0bd1d92-fc2e-43aa-bb74-319bcf3d9a09\",\"order\":\"ВЗ-2026-00942\",\"item_id\":\"764e7cc0-5fed-4269-93cd-b4cef783dfcd\",\"code\":\"DKM-0011\",\"version\":1,\"qty\":2,\"cost\":2208,\"materials\":208,\"labour\":2000,\"used\":[{\"lineNo\":1,\"itemId\":\"9847aa90-cb9d-4433-a3cc-a5759e20230b\",\"qty\":8,\"cost\":208,\"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=df8fe66b-a73a-4cfc-b44b-1316e375469f- Командний рядок
pnpm ek q entry_lines --id df8fe66b-a73a-4cfc-b44b-1316e375469f- Рядків
- 10
{
"rows": [
{
"line_no": 1,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "UAH",
"amount": 2000,
"party_id": null,
"party_name": null,
"item_id": null,
"memo": "Праця й накладні за нормою, ВЗ-2026-00942",
"document_id": null,
"document_number": null
},
{
"line_no": 2,
"account_code": "91",
"account_name": "Загальновиробничі витрати",
"side": "CR",
"measure": "UAH",
"amount": 2000,
"party_id": null,
"party_name": null,
"item_id": null,
"memo": "Праця й накладні за нормою, ВЗ-2026-00942",
"document_id": null,
"document_number": null
},
{
"line_no": 3,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "UAH",
"amount": 208,
"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": 208,
"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": 8,
"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": 8,
"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": 2208,
"party_id": null,
"party_name": null,
"item_id": "764e7cc0-5fed-4269-93cd-b4cef783dfcd",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
},
{
"line_no": 8,
"account_code": "23",
"account_name": "Виробництво",
"side": "CR",
"measure": "UAH",
"amount": 2208,
"party_id": null,
"party_name": null,
"item_id": "764e7cc0-5fed-4269-93cd-b4cef783dfcd",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
},
{
"line_no": 9,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "DR",
"measure": "EA",
"amount": 2,
"party_id": null,
"party_name": null,
"item_id": "764e7cc0-5fed-4269-93cd-b4cef783dfcd",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
},
{
"line_no": 10,
"account_code": "23",
"account_name": "Виробництво",
"side": "CR",
"measure": "EA",
"amount": 2,
"party_id": null,
"party_name": null,
"item_id": "764e7cc0-5fed-4269-93cd-b4cef783dfcd",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
}
]
}