Get one entry
get
https://api.flactrum.com/v1/transactions/{transaction}
| Required scope | transactions.read |
| Success status | 200 |
| Returns | One Transaction object |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| transaction * | path | string | ULID of the record. |
Response fields
| Field | Type | Description |
|---|---|---|
| id | string | — |
| branch_id | string | — |
| type | string | — |
| category | string | — |
| amount | number | Always positive; the direction comes from type. |
| affects_cash | boolean | Whether it passes through the till. A bill paid by bank transfer is an expense but does not change the day-end cash count. |
| payment_method_id | string|null | — |
| order_id | string|null | Set when the entry came from a sale rather than being typed in. |
| transaction_date | string | — |
| receipt_url | string|null | Photo or PDF of the receipt, when one was attached. |
Examples
No recorded example yet.