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

# List all journals

`GET /accounting/{connection_id}/journal`

## Request

- Base URL: `http://api.unified.to`
- URL: `http://api.unified.to/accounting/{connection_id}/journal`
- 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
- `org_id` string
- `account_id` string
- `fields` string[]
- `raw` string

## Response `200`

Successful

- AccountingJournal[]
  - `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)
  - `reference` string
  - `tax_amount` number
  - `currency` string
  - `lineitems` AccountingJournalLineitem[]: new field name
    - `id` string
    - `tax_amount` number
    - `total_amount` number: will be a positive value for a debit and negative for a credit
    - `debit_amount` number: will replace total_amount (absolute value)
    - `credit_amount` number
    - `description` string
    - `account_id` string: (reference to AccountingAccount)
    - `contact_id` string: (reference to AccountingContact)
    - `payment_id` string: link to PaymentPayment (reference to PaymentPayment)
    - `invoice_id` string: (reference to AccountingInvoice)
    - `category_ids` string[]
    - `group_id` string: points to a HRIS Group (reference to HrisGroup)
    - `project_id` string: (reference to TaskProject)
    - `organization_id` string: points to a AccountingOrganization
    - `taxrate_id` string: ref -> AccountingTaxrate applied to the line
  - `taxrate_id` string
  - `description` string
  - `posted_at` string, date-time: (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `source` string
  - `organization_id` string
  - `category_ids` string[]
  - `project_id` string: (reference to TaskProject)
  - `attachments` AccountingAttachment[]
    - `id` string
    - `download_url` string
    - `name` string
    - `mime_type` string
  - `total_amount` number: Total of the debit lines; equals the total of the credit lines
  - `exchange_rate` number: Exchange rate to the base/home currency at the posting date
  - `status` 'DRAFT' | 'POSTED' | 'VOID' | 'OTHER': Posting state of the journal entry
  - `is_inclusive_of_tax` boolean: True when the line amounts already include tax
  - `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)
