Get transaction by id
/public/v1/erp/transactions/{transactionId}Retrieve a single transaction with every field needed to post or investigate it.
Returns one transaction in full. Compared with a list entry it additionally exposes
the fee components separately (transaction_fee_amount, clearing_fee, and the pre-fee
billing_amount / clearing_amount), the transaction_status, and the embedded erp_company.
Use it to drill into a specific record after a list pull, or to re-fetch a transaction whose
approval or sync state has changed.
Path parameters
transactionIdstringrequiredthe Qashio transaction UUID from the
idfield. This is not theCT…reference, which this endpoint does not accept; to find a transaction by itsCT…reference, filter the list onqashio_idinstead.
Response
One transaction object. All list fields, plus:
| Field | Type | Description |
|---|---|---|
transaction_status | string | draft, pushed, synced or failed |
transaction_fee_amount | number | Fee charged on the transaction |
clearing_fee | number | Fee applied at clearing |
erp_company | object | Owning company record |
client_sync_status tracks whether you have already pulled this transaction:
| Value | Meaning |
|---|---|
not_synced | Not acknowledged yet. Every new transaction starts here. |
synced | Acknowledged with POST /public/v1/erp/transactions/acknowledge. Your copy is current. |
outdated | Acknowledged, then changed. Pull it and acknowledge it again. |
Response schema from the OpenAPI document
| Field | Type | Description |
|---|---|---|
status_code | integer | |
success | boolean | |
data | object | |
id | string | |
merchant_name | string | |
erp_supplier_name | string | |
expense_category_name | string | |
erp_tax_rate_name | string | |
erp_chart_of_account_name | string | |
pool_account_name | string | |
card_name | string | |
card_holder_name | string | |
card_holder_email | string | |
qashio_id | string | |
transaction_amount | integer | |
transaction_fee_amount | string | |
transaction_currency | string | |
transaction_time | string | |
transaction_status | string | |
transaction_description | string | |
transaction_type | string | |
transaction_category | string | |
clearing_amount | string | |
clearing_fee | string | |
fee_charges | integer | |
clearing_status | string | |
billing_amount | string | |
billing_currency | string | |
memo | string | |
vat_amount | integer | |
status_code | string | |
message_type | string | |
settlement_status | string | |
rrn | string | |
vendor_trn | string | |
purchase_order_number | string | |
parent_id | string | |
parent_qashio_id | string | |
visible | boolean | |
cleared_at | string | |
exclude_from_sync | boolean | |
client_sync_status | string | Whether your integration has pulled the current version of this transaction. Acknowledging it sets synced; a later change sets outdated.not_syncedsyncedoutdated |
erp_sync_status | string | |
erp_sync_type | string | |
approval_status | string | |
merchant_city | string | |
merchant_country | string | |
mcc_code | string | |
mcc_description | string | |
company_id | string | |
supplier_qashio_external_id | string | |
chart_of_account_qashio_external_id | string | |
erp_supplier_remote_id | string | |
erp_tax_rate_remote_id | string | |
erp_chart_of_account_remote_id | string | |
chart_of_account_number | string | |
pool_external_id | string | |
card_external_id | string | |
card_last_four | string | |
employee_id | string | |
erp_supplier | string | |
erp_chart_of_account | string | |
approved_date_time | string | |
modified_date | string | |
approved_by | string | |
updated_at | string | |
created_at | string | |
sync_errors | object[] | |
id | string | |
name | string | |
label | string | |
code | string | |
erp_internal_id | string | |
erp_code | string | |
segments | object[] | |
id | string | |
name | string | |
label | string | |
code | string | |
erp_internal_id | string | |
erp_code | string | |
receipts | object[] | |
id | string | |
name | string | |
label | string | |
code | string | |
erp_internal_id | string | |
erp_code | string | |
erp_company | object | |
id | string | |
name | string | |
business_legal_name | string | |
company_country | string | |
parent_company_id | string | |
status | string | |
is_deleted | boolean | |
updated_at | string | |
created_at | string | |
line_items | object[] | |
id | string | |
name | string | |
label | string | |
code | string | |
erp_internal_id | string | |
erp_code | string | |
meta | object | |
request_id | string | |
timestamp | string |
Errors
400 (malformed id), 401, 403, 404.
400Bad Request401Unauthorized - missing or invalid Bearer token404Not Found - the requested resource does not exist
Every error carries an errors[] array and a meta.request_id. See Errors for the full envelope.