Проведення
- Запит
GET /api/v1/q/entry?id=cc30a53d-87c1-43b3-8246-3c4de528de6c- Командний рядок
pnpm ek q entry --id cc30a53d-87c1-43b3-8246-3c4de528de6c- Рядків
- 1
{
"rows": [
{
"id": "cc30a53d-87c1-43b3-8246-3c4de528de6c",
"transaction_date": "2026-09-28",
"decided_at": "2026-10-05T07:22:52.797Z",
"period_id": "2026-09",
"memo": "Випуск за ВЗ-2026-01166: DRK-0003 × 24",
"reverses_entry_id": null,
"event_id": "f85df7da-3e1a-45ac-99ca-c71420bff00b",
"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-01166%3A2026-09-28:4d079f3b1e76a939",
"source_ref": null,
"payload": "{\"order_id\":\"63fdde1c-6de6-47d0-966d-04dd65030540\",\"order\":\"ВЗ-2026-01166\",\"item_id\":\"1bdfc972-e25b-43c7-916c-20da06f4979d\",\"code\":\"DRK-0003\",\"version\":1,\"qty\":24,\"cost\":34576,\"materials\":18576,\"labour\":16000,\"used\":[{\"lineNo\":1,\"itemId\":\"66d0ea6d-5e82-4147-8038-601194124a33\",\"qty\":144,\"cost\":18576,\"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=cc30a53d-87c1-43b3-8246-3c4de528de6c- Командний рядок
pnpm ek q entry_lines --id cc30a53d-87c1-43b3-8246-3c4de528de6c- Рядків
- 10
{
"rows": [
{
"line_no": 1,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "UAH",
"amount": 16000,
"party_id": null,
"party_name": null,
"item_id": null,
"memo": "Праця й накладні за нормою, ВЗ-2026-01166",
"document_id": null,
"document_number": null
},
{
"line_no": 2,
"account_code": "91",
"account_name": "Загальновиробничі витрати",
"side": "CR",
"measure": "UAH",
"amount": 16000,
"party_id": null,
"party_name": null,
"item_id": null,
"memo": "Праця й накладні за нормою, ВЗ-2026-01166",
"document_id": null,
"document_number": null
},
{
"line_no": 3,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "UAH",
"amount": 18576,
"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": 18576,
"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": 144,
"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": 144,
"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": "201",
"account_name": "Сировина й матеріали",
"side": "DR",
"measure": "UAH",
"amount": 34576,
"party_id": null,
"party_name": null,
"item_id": "1bdfc972-e25b-43c7-916c-20da06f4979d",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
},
{
"line_no": 8,
"account_code": "23",
"account_name": "Виробництво",
"side": "CR",
"measure": "UAH",
"amount": 34576,
"party_id": null,
"party_name": null,
"item_id": "1bdfc972-e25b-43c7-916c-20da06f4979d",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
},
{
"line_no": 9,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "DR",
"measure": "EA",
"amount": 24,
"party_id": null,
"party_name": null,
"item_id": "1bdfc972-e25b-43c7-916c-20da06f4979d",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
},
{
"line_no": 10,
"account_code": "23",
"account_name": "Виробництво",
"side": "CR",
"measure": "EA",
"amount": 24,
"party_id": null,
"party_name": null,
"item_id": "1bdfc972-e25b-43c7-916c-20da06f4979d",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
}
]
}