Developers
qashio.com

Get transaction by id

GET/public/v1/erp/transactions/{transactionId}
Bearer token

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

transactionIdstringrequired

the Qashio transaction UUID from the id field. This is not the CT… reference, which this endpoint does not accept; to find a transaction by its CT… reference, filter the list on qashio_id instead.

Response

One transaction object. All list fields, plus:

FieldTypeDescription
transaction_statusstringdraft, pushed, synced or failed
transaction_fee_amountnumberFee charged on the transaction
clearing_feenumberFee applied at clearing
erp_companyobjectOwning company record

client_sync_status tracks whether you have already pulled this transaction:

ValueMeaning
not_syncedNot acknowledged yet. Every new transaction starts here.
syncedAcknowledged with POST /public/v1/erp/transactions/acknowledge. Your copy is current.
outdatedAcknowledged, then changed. Pull it and acknowledge it again.
Response schema from the OpenAPI document
FieldTypeDescription
status_codeinteger
successboolean
dataobject
idstring
merchant_namestring
erp_supplier_namestring
expense_category_namestring
erp_tax_rate_namestring
erp_chart_of_account_namestring
pool_account_namestring
card_namestring
card_holder_namestring
card_holder_emailstring
qashio_idstring
transaction_amountinteger
transaction_fee_amountstring
transaction_currencystring
transaction_timestring
transaction_statusstring
transaction_descriptionstring
transaction_typestring
transaction_categorystring
clearing_amountstring
clearing_feestring
fee_chargesinteger
clearing_statusstring
billing_amountstring
billing_currencystring
memostring
vat_amountinteger
status_codestring
message_typestring
settlement_statusstring
rrnstring
vendor_trnstring
purchase_order_numberstring
parent_idstring
parent_qashio_idstring
visibleboolean
cleared_atstring
exclude_from_syncboolean
client_sync_statusstringWhether your integration has pulled the current version of this transaction. Acknowledging it sets synced; a later change sets outdated.not_syncedsyncedoutdated
erp_sync_statusstring
erp_sync_typestring
approval_statusstring
merchant_citystring
merchant_countrystring
mcc_codestring
mcc_descriptionstring
company_idstring
supplier_qashio_external_idstring
chart_of_account_qashio_external_idstring
erp_supplier_remote_idstring
erp_tax_rate_remote_idstring
erp_chart_of_account_remote_idstring
chart_of_account_numberstring
pool_external_idstring
card_external_idstring
card_last_fourstring
employee_idstring
erp_supplierstring
erp_chart_of_accountstring
approved_date_timestring
modified_datestring
approved_bystring
updated_atstring
created_atstring
sync_errorsobject[]
idstring
namestring
labelstring
codestring
erp_internal_idstring
erp_codestring
segmentsobject[]
idstring
namestring
labelstring
codestring
erp_internal_idstring
erp_codestring
receiptsobject[]
idstring
namestring
labelstring
codestring
erp_internal_idstring
erp_codestring
erp_companyobject
idstring
namestring
business_legal_namestring
company_countrystring
parent_company_idstring
statusstring
is_deletedboolean
updated_atstring
created_atstring
line_itemsobject[]
idstring
namestring
labelstring
codestring
erp_internal_idstring
erp_codestring
metaobject
request_idstring
timestampstring

Errors

400 (malformed id), 401, 403, 404.

  • 400Bad Request
  • 401Unauthorized - missing or invalid Bearer token
  • 404Not Found - the requested resource does not exist

Every error carries an errors[] array and a meta.request_id. See Errors for the full envelope.

This request takes no parameters.

Response

Send the request to see the response.

Esc

Start here

IntroductionIntegration walkthroughAuthenticationConventions

Popular endpoints

POSTExchange code for tokens/oauth2/tokenGETGet company summary/public/v1/erp/company/summaryGETList bank accounts/public/v1/erp/bank_accountsGETList cards/public/v1/erp/cardsGETList chart of accounts/public/v1/erp/chart_of_accounts