Проведення
- Запит
GET /api/v1/q/entry?id=ba6bc47b-bff2-4304-aae0-f2401dc879df- Командний рядок
pnpm ek q entry --id ba6bc47b-bff2-4304-aae0-f2401dc879df- Рядків
- 1
{
"rows": [
{
"id": "ba6bc47b-bff2-4304-aae0-f2401dc879df",
"transaction_date": "2026-07-09",
"decided_at": "2026-10-05T04:34:29.666Z",
"period_id": "2026-07",
"memo": "Випуск за ВЗ-2026-00788: DET-0013 × 5",
"reverses_entry_id": null,
"event_id": "a837f9b1-b355-4495-b4b1-6b16d371fb51",
"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-09:da3585c5ad8cfb7b",
"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\":5,\"cost\":14290,\"materials\":4290,\"labour\":10000,\"used\":[{\"lineNo\":1,\"itemId\":\"66d0ea6d-5e82-4147-8038-601194124a33\",\"qty\":10,\"cost\":1290,\"substitute\":false},{\"lineNo\":2,\"itemId\":\"36d30636-b820-4fde-85f5-82b93f03f524\",\"qty\":1500,\"cost\":3000,\"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=ba6bc47b-bff2-4304-aae0-f2401dc879df- Командний рядок
pnpm ek q entry_lines --id ba6bc47b-bff2-4304-aae0-f2401dc879df- Рядків
- 14
{
"rows": [
{
"line_no": 1,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "UAH",
"amount": 10000,
"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": 10000,
"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": 1290,
"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": 1290,
"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": 10,
"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": 10,
"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": 3000,
"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": 3000,
"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": 1500,
"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": 1500,
"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": 14290,
"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": 14290,
"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": 5,
"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": 5,
"party_id": null,
"party_name": null,
"item_id": "10618242-f1f1-4a5b-9a7a-5c0e2f35e4e0",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
}
]
}