Проведення
- Запит
GET /api/v1/q/entry?id=a4ea144f-82dc-445e-a21f-2f70caca3026- Командний рядок
pnpm ek q entry --id a4ea144f-82dc-445e-a21f-2f70caca3026- Рядків
- 1
{
"rows": [
{
"id": "a4ea144f-82dc-445e-a21f-2f70caca3026",
"transaction_date": "2026-09-14",
"decided_at": "2026-10-05T06:49:02.180Z",
"period_id": "2026-09",
"memo": "Випуск за ВЗ-2026-01114: DRK-0022 × 2",
"reverses_entry_id": null,
"event_id": "6595ad44-aa2c-4bc5-a055-dfe0946550a5",
"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-01114%3A2026-09-14:b50c704598783232",
"source_ref": null,
"payload": "{\"order_id\":\"d54d5aa7-364d-4a97-8057-706712259cc3\",\"order\":\"ВЗ-2026-01114\",\"item_id\":\"48662ba5-2aca-49ca-865a-5d89655afc0a\",\"code\":\"DRK-0022\",\"version\":1,\"qty\":2,\"cost\":45920,\"materials\":25920,\"labour\":20000,\"used\":[{\"lineNo\":1,\"itemId\":\"aceef6da-1b3f-4ebb-8521-178b31456f49\",\"qty\":240,\"cost\":25920,\"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=a4ea144f-82dc-445e-a21f-2f70caca3026- Командний рядок
pnpm ek q entry_lines --id a4ea144f-82dc-445e-a21f-2f70caca3026- Рядків
- 10
{
"rows": [
{
"line_no": 1,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "UAH",
"amount": 20000,
"party_id": null,
"party_name": null,
"item_id": null,
"memo": "Праця й накладні за нормою, ВЗ-2026-01114",
"document_id": null,
"document_number": null
},
{
"line_no": 2,
"account_code": "91",
"account_name": "Загальновиробничі витрати",
"side": "CR",
"measure": "UAH",
"amount": 20000,
"party_id": null,
"party_name": null,
"item_id": null,
"memo": "Праця й накладні за нормою, ВЗ-2026-01114",
"document_id": null,
"document_number": null
},
{
"line_no": 3,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "UAH",
"amount": 25920,
"party_id": null,
"party_name": null,
"item_id": "aceef6da-1b3f-4ebb-8521-178b31456f49",
"memo": "Списання у виробництво, рядок 1",
"document_id": null,
"document_number": null
},
{
"line_no": 4,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "CR",
"measure": "UAH",
"amount": 25920,
"party_id": null,
"party_name": null,
"item_id": "aceef6da-1b3f-4ebb-8521-178b31456f49",
"memo": "Списання у виробництво, рядок 1",
"document_id": null,
"document_number": null
},
{
"line_no": 5,
"account_code": "23",
"account_name": "Виробництво",
"side": "DR",
"measure": "G",
"amount": 240,
"party_id": null,
"party_name": null,
"item_id": "aceef6da-1b3f-4ebb-8521-178b31456f49",
"memo": "Списання у виробництво, рядок 1",
"document_id": null,
"document_number": null
},
{
"line_no": 6,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "CR",
"measure": "G",
"amount": 240,
"party_id": null,
"party_name": null,
"item_id": "aceef6da-1b3f-4ebb-8521-178b31456f49",
"memo": "Списання у виробництво, рядок 1",
"document_id": null,
"document_number": null
},
{
"line_no": 7,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "DR",
"measure": "UAH",
"amount": 45920,
"party_id": null,
"party_name": null,
"item_id": "48662ba5-2aca-49ca-865a-5d89655afc0a",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
},
{
"line_no": 8,
"account_code": "23",
"account_name": "Виробництво",
"side": "CR",
"measure": "UAH",
"amount": 45920,
"party_id": null,
"party_name": null,
"item_id": "48662ba5-2aca-49ca-865a-5d89655afc0a",
"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": "48662ba5-2aca-49ca-865a-5d89655afc0a",
"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": "48662ba5-2aca-49ca-865a-5d89655afc0a",
"memo": "Випуск продукції за собівартістю",
"document_id": null,
"document_number": null
}
]
}