---
title: "List all transactions"
method: GET
path: "/accounting/{connection_id}/transaction"
tags: ["accounting", "transaction"]
---

# List all transactions

`GET /accounting/{connection_id}/transaction`

## Request

- Base URL: `http://api.unified.to`
- URL: `http://api.unified.to/accounting/{connection_id}/transaction`
- Auth: API key in header `authorization`

## Path parameters

- `connection_id` string, required

## Query parameters

- `limit` number
- `offset` number
- `updated_gte` string, date-time
- `sort` 'name' | 'updated_at' | 'created_at'
- `order` 'asc' | 'desc'
- `query` string
- `contact_id` string
- `start_gte` string
- `end_lt` string
- `org_id` string
- `account_id` string
- `fields` string[]
- `raw` string

## Response `200`

Successful

- AccountingTransaction[]
  - `id` string
  - `created_at` string, date-time: (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `updated_at` string, date-time: (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `memo` string
  - `total_amount` number: negative for CREDIT, positive for DEBIT
  - `tax_amount` number: negative for CREDIT, positive for DEBIT
  - `account_id` string: (reference to AccountingAccount)
  - `reference` string
  - `sub_total_amount` number
  - `split_account_id` string
  - `payment_method` string
  - `payment_terms` string
  - `customer_message` string
  - `type` string: eg. CreditCardCharge, Check, Invoice, ReceivePayment, JournalEntry, Bill, CreditCardCredit, VendorCredit, Credit, BillPaymentCheck, BillPaymentCreditCard, Charge, Transfer, Deposit, BANK_DEPOSIT, BANK_TRANSFER, Statement, BillableCharge, TimeActivity, CashPurchase, SalesReceipt, CreditMemo, CreditRefund, Estimate, InventoryQuantityAdjustment, PurchaseOrder, GlobalTaxPayment, GlobalTaxAdjustment, Service Tax Refund, Service Tax Gross Adjustment, Service Tax Reversal, Service Tax Defer, Service Tax Partial Utilisation
  - `lineitems` AccountingTransactionLineItem[]
    - `id` string
    - `unit_quantity` number
    - `unit_amount` number
    - `total_amount` number: will be a positive value for a debit and negative for a credit
    - `account_id` string: (reference to AccountingAccount)
    - `object_type` string
    - `name` string
    - `description` string
    - `category_ids` string[]
    - `taxrate_id` string: ref -> AccountingTaxrate applied to the line
  - `currency` string
  - `contacts` AccountingTransactionContact[]
    - `id` string, required
    - `is_customer` boolean
    - `is_supplier` boolean
  - `organization_id` string
  - `category_ids` string[]
  - `project_id` string: (reference to TaskProject)
  - `transaction_at` string, date-time: (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `exchange_rate` number: Exchange rate to the base/home currency at the transaction date
  - `status` 'PENDING' | 'POSTED' | 'VOID' | 'OTHER': Posting state of the transaction
  - `metadata` AccountingMetadata[]
    - `id` string
    - `slug` string
    - `value` unknown
    - `namespace` string
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'FILE' | 'TEXTAREA' | 'SINGLE_SELECT' | 'MULTIPLE_SELECT' | 'MEASUREMENT' | 'PRICE' | 'YES_NO' | 'CURRENCY' | 'URL'
    - `extra_data` unknown
  - `raw` unknown

---

[API](https://skmtc.dev/unified/apis/unified-to-api-2.md) · [All operations](https://skmtc.dev/unified/apis/unified-to-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/unified/apis/unified-to-api-2/revisions/7a38bdd7f089?raw)
