Проведення
Проведення
- Запит
GET /api/v1/q/entry?id=e9968e78-8332-48be-a480-d391b68a188d- Командний рядок
pnpm ek q entry --id e9968e78-8332-48be-a480-d391b68a188d- Рядків
- 1
{
"rows": [
{
"id": "e9968e78-8332-48be-a480-d391b68a188d",
"transaction_date": "2026-06-30",
"decided_at": "2026-10-05T04:13:50.793Z",
"period_id": "2026-06",
"memo": "Переоцінка валюти за 2026-06",
"reverses_entry_id": null,
"event_id": "bd1268f4-a736-4854-a611-a772db21bf56",
"kind": "fx_revaluation",
"actor_id": "key:4e85ac04-cbc2-4060-bc6b-41006855c12d",
"action_name": "valyuta.revalue",
"action_version": 1,
"idempotency_key": "revaluation:2026-06",
"source_ref": null,
"payload": "{\"period\":\"2026-06\",\"gain\":32880,\"loss\":0,\"rates\":{\"USD\":44847800}}",
"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=e9968e78-8332-48be-a480-d391b68a188d- Командний рядок
pnpm ek q entry_lines --id e9968e78-8332-48be-a480-d391b68a188d- Рядків
- 2
{
"rows": [
{
"line_no": 1,
"account_code": "632",
"account_name": "Розрахунки з іноземними постачальниками",
"side": "DR",
"measure": "UAH",
"amount": 32880,
"party_id": "cc594903-69a5-4057-836a-453451b53f7e",
"party_name": "Far East Rotor Parts Co., Ltd",
"item_id": null,
"memo": "Переоцінка USD за курсом НБУ",
"document_id": null,
"document_number": null
},
{
"line_no": 2,
"account_code": "714",
"account_name": "Дохід від операційної курсової різниці",
"side": "CR",
"measure": "UAH",
"amount": 32880,
"party_id": null,
"party_name": null,
"item_id": null,
"memo": "Переоцінка USD за курсом НБУ",
"document_id": null,
"document_number": null
}
]
}