Проведення
- Запит
GET /api/v1/q/entry?id=528caf61-f156-4264-9955-d24725e4766b- Командний рядок
pnpm ek q entry --id 528caf61-f156-4264-9955-d24725e4766b- Рядків
- 1
{
"rows": [
{
"id": "528caf61-f156-4264-9955-d24725e4766b",
"transaction_date": "2026-04-27",
"decided_at": "2026-10-05T01:42:51.231Z",
"period_id": "2026-04",
"memo": "Випуск за ВЗ-2026-00413: VUZ-0006 × 3",
"reverses_entry_id": null,
"event_id": "1c0bd46e-4c59-4989-862b-4056a8fb899c",
"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-00413%3A2026-04-27:24c5a8c0d68e2a85",
"source_ref": null,
"payload": "{\"order_id\":\"186c571e-c4c9-4fc4-8cf0-dd0818a4d9a3\",\"order\":\"ВЗ-2026-00413\",\"item_id\":\"c8518c13-aed2-4f2f-a0ab-86951de5f388\",\"code\":\"VUZ-0006\",\"version\":1,\"qty\":3,\"cost\":1427415,\"materials\":1399415,\"labour\":28000,\"used\":[{\"lineNo\":1,\"itemId\":\"f8292e5e-d326-4028-b9fe-98844f175c4b\",\"qty\":3,\"cost\":553696,\"substitute\":false},{\"lineNo\":2,\"itemId\":\"0da56a63-39ec-4c72-8cdb-0705c526212c\",\"qty\":3,\"cost\":831872,\"substitute\":false},{\"lineNo\":3,\"itemId\":\"822d0536-06d2-475a-be21-be6e6668bf35\",\"qty\":3,\"cost\":13847,\"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=528caf61-f156-4264-9955-d24725e4766b- Командний рядок
pnpm ek q entry_lines --id 528caf61-f156-4264-9955-d24725e4766b- Рядків
- 18
{
"rows": [
{
"line_no": 1,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "UAH",
"amount": 28000,
"party_id": null,
"party_name": null,
"item_id": null,
"memo": "Праця й накладні за нормою, ВЗ-2026-00413",
"document_id": null,
"document_number": null
},
{
"line_no": 2,
"account_code": "91",
"account_name": "Загальновиробничі витрати",
"side": "CR",
"measure": "UAH",
"amount": 28000,
"party_id": null,
"party_name": null,
"item_id": null,
"memo": "Праця й накладні за нормою, ВЗ-2026-00413",
"document_id": null,
"document_number": null
},
{
"line_no": 3,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "UAH",
"amount": 553696,
"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": 553696,
"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": 3,
"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": 3,
"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": 831872,
"party_id": null,
"party_name": null,
"item_id": "0da56a63-39ec-4c72-8cdb-0705c526212c",
"memo": "Списання у виробництво, рядок 2",
"document_id": null,
"document_number": null
},
{
"line_no": 8,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "CR",
"measure": "UAH",
"amount": 831872,
"party_id": null,
"party_name": null,
"item_id": "0da56a63-39ec-4c72-8cdb-0705c526212c",
"memo": "Списання у виробництво, рядок 2",
"document_id": null,
"document_number": null
},
{
"line_no": 9,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "EA",
"amount": 3,
"party_id": null,
"party_name": null,
"item_id": "0da56a63-39ec-4c72-8cdb-0705c526212c",
"memo": "Списання у виробництво, рядок 2",
"document_id": null,
"document_number": null
},
{
"line_no": 10,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "CR",
"measure": "EA",
"amount": 3,
"party_id": null,
"party_name": null,
"item_id": "0da56a63-39ec-4c72-8cdb-0705c526212c",
"memo": "Списання у виробництво, рядок 2",
"document_id": null,
"document_number": null
},
{
"line_no": 11,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "UAH",
"amount": 13847,
"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": 13847,
"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": 3,
"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": 3,
"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": 1427415,
"party_id": null,
"party_name": null,
"item_id": "c8518c13-aed2-4f2f-a0ab-86951de5f388",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
},
{
"line_no": 16,
"account_code": "23",
"account_name": "Виробництво",
"side": "CR",
"measure": "UAH",
"amount": 1427415,
"party_id": null,
"party_name": null,
"item_id": "c8518c13-aed2-4f2f-a0ab-86951de5f388",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
},
{
"line_no": 17,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "DR",
"measure": "EA",
"amount": 3,
"party_id": null,
"party_name": null,
"item_id": "c8518c13-aed2-4f2f-a0ab-86951de5f388",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
},
{
"line_no": 18,
"account_code": "23",
"account_name": "Виробництво",
"side": "CR",
"measure": "EA",
"amount": 3,
"party_id": null,
"party_name": null,
"item_id": "c8518c13-aed2-4f2f-a0ab-86951de5f388",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
}
]
}