---
title: "Get transaction by id"
description: "Retrieve a single transaction with every field needed to post or investigate it."
source: https://developers.qashio.com/v2/reference/get-public-v1-erp-transactions-by-transactionid/
---

# Get transaction by id

`GET /public/v1/erp/transactions/{transactionId}`

Requires a Bearer access token.

**Purpose.** Retrieve a single transaction with every field needed to post or investigate it.

**Description.** 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.

**Input (path).** `transactionId` — 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.

**Output.** 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`](#post-publicv1erptransactionsacknowledge). Your copy is current. |
| `outdated` | Acknowledged, then changed. Pull it and acknowledge it again. |

**Errors.** `400` (malformed id), `401`, `403`, `404`.

### Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `transactionId` | string | yes | 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. |

### Example request

```bash
curl -X GET 'https://api.qashio.com/public/v1/erp/transactions/%3AtransactionId' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer <access_token>'
```

### Example response (200)

```json
{
  "status_code": 200,
  "success": true,
  "data": {
    "id": "cf427cb0-c3ef-41ac-be60-da58887e68b0",
    "merchant_name": "Acme Trading LLC",
    "erp_supplier_name": "QSupplier 1",
    "expense_category_name": "Office Supplies",
    "erp_tax_rate_name": "Tax Rate - 1",
    "erp_chart_of_account_name": "Chart of account - 1",
    "pool_account_name": "Qashio Pool Account - 1",
    "card_name": "Qashio Card - 1",
    "card_holder_name": "Tom Baker",
    "card_holder_email": "lina.haddad@example.com",
    "qashio_id": "CT9tctsjf8ybcjr5",
    "transaction_amount": 2,
    "transaction_fee_amount": "1000.00",
    "transaction_currency": "AED",
    "transaction_time": "2026-09-09T09:14:14.817Z",
    "transaction_status": "draft",
    "transaction_description": "Wallet Transfer",
    "transaction_type": "wallet_transfer",
    "transaction_category": "card_loading",
    "clearing_amount": "1000.00",
    "clearing_fee": "sample",
    "fee_charges": 0,
    "clearing_status": "cleared",
    "billing_amount": "1000.00",
    "billing_currency": "AED",
    "memo": "Monthly office supplies",
    "vat_amount": 0,
    "status_code": "0000",
    "message_type": "api",
    "settlement_status": "settled",
    "rrn": "6252091414Al",
    "vendor_trn": "100123456700003",
    "purchase_order_number": "PO-2026-0142",
    "parent_id": "CAj2w5b3w9hoe0ga",
    "parent_qashio_id": "TXN-PARENT-001",
    "visible": true,
    "cleared_at": "2026-08-06T07:30:44.941Z",
    "exclude_from_sync": false,
    "client_sync_status": "not_synced",
    "erp_sync_status": "not_validated",
    "erp_sync_type": "automatic",
    "approval_status": "approved",
    "merchant_city": "Dubai",
    "merchant_country": "AE",
    "mcc_code": "5812",
    "mcc_description": "Eating Places and Restaurants",
    "company_id": "COoyy0mfzqhxtxkkk",
    "supplier_qashio_external_id": "CAj2w5b3w9hoe0ga",
    "chart_of_account_qashio_external_id": "CAj2w5b3w9hoe0ga",
    "erp_supplier_remote_id": "CAj2w5b3w9hoe0ga",
    "erp_tax_rate_remote_id": "CAj2w5b3w9hoe0ga",
    "erp_chart_of_account_remote_id": "CAj2w5b3w9hoe0ga",
    "chart_of_account_number": "sample",
    "pool_external_id": "CAj2w5b3w9hoe0ga",
    "card_external_id": "CAj2w5b3w9hoe0ga",
    "card_last_four": "sample",
    "employee_id": "EMP-1001",
    "erp_supplier": "sample",
    "erp_chart_of_account": "6100",
    "approved_date_time": "sample",
    "modified_date": "2026-09-09T09:14:16.999Z",
    "approved_by": "sample",
    "updated_at": "2026-09-09T09:20:45.265Z",
    "created_at": "2026-09-09T09:20:42.109Z",
    "sync_errors": [
      {
        "id": "73a772d7-35b8-41a9-8d25-8ac4aab2145e",
        "name": "Qashio",
        "label": "id",
        "code": "UNAUTHORIZED",
        "erp_internal_id": "CAj2w5b3w9hoe0ga",
        "erp_code": "sample"
      }
    ],
    "segments": [
      {
        "id": "73a772d7-35b8-41a9-8d25-8ac4aab2145e",
        "name": "Qashio",
        "label": "id",
        "code": "UNAUTHORIZED",
        "erp_internal_id": "CAj2w5b3w9hoe0ga",
        "erp_code": "sample"
      }
    ],
    "receipts": [
      {
        "id": "73a772d7-35b8-41a9-8d25-8ac4aab2145e",
        "name": "Qashio",
        "label": "id",
        "code": "UNAUTHORIZED",
        "erp_internal_id": "CAj2w5b3w9hoe0ga",
        "erp_code": "sample"
      }
    ],
    "erp_company": {
      "id": "68c9f979-0360-4e4e-a5c5-327c8119ecb3",
      "name": "Qashio",
      "business_legal_name": "Qashio 2",
      "company_country": "AE",
      "parent_company_id": "COoyy0mfzqhxtxkkk",
      "status": "active",
      "is_deleted": false,
      "updated_at": "2026-08-19T10:34:14.325Z",
      "created_at": "2026-06-16T07:50:44.749Z"
    },
    "line_items": [
      {
        "id": "73a772d7-35b8-41a9-8d25-8ac4aab2145e",
        "name": "Qashio",
        "label": "id",
        "code": "UNAUTHORIZED",
        "erp_internal_id": "CAj2w5b3w9hoe0ga",
        "erp_code": "sample"
      }
    ]
  },
  "meta": {
    "request_id": "3adb2d16090c7b3bdbde3b326a814b30",
    "timestamp": "2026-09-09T10:07:52.143Z"
  }
}
```

### Errors

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