Проведення
- Запит
GET /api/v1/q/entry?id=8291a700-2031-4ad6-962d-c28b76457868- Командний рядок
pnpm ek q entry --id 8291a700-2031-4ad6-962d-c28b76457868- Рядків
- 1
{
"rows": [
{
"id": "8291a700-2031-4ad6-962d-c28b76457868",
"transaction_date": "2026-04-20",
"decided_at": "2026-10-05T01:34:00.871Z",
"period_id": "2026-04",
"memo": "Інвойс DBO-INV-00031, 2987.07 EUR: товар на RV-01-1",
"reverses_entry_id": null,
"event_id": "8d787024-5558-4da7-81bf-206d0e2469ab",
"kind": "foreign_bill",
"actor_id": "key:f970bb20-4d80-411c-a4f9-cf2303960ab0",
"action_name": "valyuta.foreign_bill",
"action_version": 2,
"idempotency_key": "api:f970bb20-4d80-411c-a4f9-cf2303960ab0:world7%3Aimp%3A%D0%97%D0%9F-2026-00031%3Abill:1c0607c03be73da8",
"source_ref": "DBO-INV-00031",
"payload": "{\"currency\":\"EUR\",\"amount\":298707,\"rate_micro\":51766700,\"uah\":15463076,\"location\":\"RV-01-1\",\"lines\":[{\"item_id\":\"e0eff65f-e412-4c4f-bcb6-34dc79ea7690\",\"code\":\"KAM-0001\",\"qty\":75,\"price\":\"23,93\",\"amount\":179475,\"uah\":9290829},{\"item_id\":\"10351094-2447-4b02-9231-eeda0eb6be61\",\"code\":\"KAM-0004\",\"qty\":6,\"price\":\"179,49\",\"amount\":107694,\"uah\":5574963},{\"item_id\":\"b3b27156-344c-468a-bbcb-e8721a458840\",\"code\":\"KMT-0010\",\"qty\":3,\"price\":\"38,46\",\"amount\":11538,\"uah\":597284}]}",
"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=8291a700-2031-4ad6-962d-c28b76457868- Командний рядок
pnpm ek q entry_lines --id 8291a700-2031-4ad6-962d-c28b76457868- Рядків
- 10
{
"rows": [
{
"line_no": 1,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "DR",
"measure": "UAH",
"amount": 9290829,
"party_id": null,
"party_name": null,
"item_id": "e0eff65f-e412-4c4f-bcb6-34dc79ea7690",
"memo": "Прихід на склад",
"document_id": null,
"document_number": null
},
{
"line_no": 2,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "DR",
"measure": "EA",
"amount": 75,
"party_id": null,
"party_name": null,
"item_id": "e0eff65f-e412-4c4f-bcb6-34dc79ea7690",
"memo": "Прихід на склад",
"document_id": null,
"document_number": null
},
{
"line_no": 3,
"account_code": "632",
"account_name": "Розрахунки з іноземними постачальниками",
"side": "CR",
"measure": "EA",
"amount": 75,
"party_id": null,
"party_name": null,
"item_id": "e0eff65f-e412-4c4f-bcb6-34dc79ea7690",
"memo": "Прихід на склад",
"document_id": null,
"document_number": null
},
{
"line_no": 4,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "DR",
"measure": "UAH",
"amount": 5574963,
"party_id": null,
"party_name": null,
"item_id": "10351094-2447-4b02-9231-eeda0eb6be61",
"memo": "Прихід на склад",
"document_id": null,
"document_number": null
},
{
"line_no": 5,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "DR",
"measure": "EA",
"amount": 6,
"party_id": null,
"party_name": null,
"item_id": "10351094-2447-4b02-9231-eeda0eb6be61",
"memo": "Прихід на склад",
"document_id": null,
"document_number": null
},
{
"line_no": 6,
"account_code": "632",
"account_name": "Розрахунки з іноземними постачальниками",
"side": "CR",
"measure": "EA",
"amount": 6,
"party_id": null,
"party_name": null,
"item_id": "10351094-2447-4b02-9231-eeda0eb6be61",
"memo": "Прихід на склад",
"document_id": null,
"document_number": null
},
{
"line_no": 7,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "DR",
"measure": "UAH",
"amount": 597284,
"party_id": null,
"party_name": null,
"item_id": "b3b27156-344c-468a-bbcb-e8721a458840",
"memo": "Прихід на склад",
"document_id": null,
"document_number": null
},
{
"line_no": 8,
"account_code": "201",
"account_name": "Сировина й матеріали",
"side": "DR",
"measure": "EA",
"amount": 3,
"party_id": null,
"party_name": null,
"item_id": "b3b27156-344c-468a-bbcb-e8721a458840",
"memo": "Прихід на склад",
"document_id": null,
"document_number": null
},
{
"line_no": 9,
"account_code": "632",
"account_name": "Розрахунки з іноземними постачальниками",
"side": "CR",
"measure": "EA",
"amount": 3,
"party_id": null,
"party_name": null,
"item_id": "b3b27156-344c-468a-bbcb-e8721a458840",
"memo": "Прихід на склад",
"document_id": null,
"document_number": null
},
{
"line_no": 10,
"account_code": "632",
"account_name": "Розрахунки з іноземними постачальниками",
"side": "CR",
"measure": "UAH",
"amount": 15463076,
"party_id": "a1372fbd-0586-4096-a053-a8863aa12a21",
"party_name": "Curonian Optics UAB",
"item_id": null,
"memo": "Інвойс DBO-INV-00031",
"document_id": null,
"document_number": null
}
]
}