Get one journal entry

​

One journal entry in the entity's general ledger, with its lines. Amounts are integer atoms: divide by 100 for USD.

Path Parameters

Query Parameters

  • External id of the entity to act for, from GET /v1/entities. Required when signed in with OAuth (an organization can hold several entities; ask the user which one if more than one could apply). Optional with an API key, which is scoped to one entity already.

Responses

  • application/json
  • The credential was refused: none sent (CAPI11), an API key that is not valid (CAPI15), or an OAuth sign-in that has expired (CAPI16), was not issued for this API (CAPI17), names an organization T0 does not hold (CAPI18) or a membership that is no longer usable (CAPI19). detail says what to do.

  • The key lacks customer_api:read, or the signed-in user cannot read journal entries in this entity (CAPI71).

  • No journal entry with that id in the entity (CAPI61).

  • application/json
Request Example for get/v1/journal-entries/{journal_entry_id}
curl 'https://api.t0.ai/v1/journal-entries/{journal_entry_id}' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "id": "string",
  "object": "journal_entry",
  "created_at": "2026-11-11T18:10:37.308Z",
  "updated_at": "2026-11-11T18:10:37.308Z",
  "je_number": "string",
  "entry_date": "2026-11-11",
  "memo": "string",
  "source": "string",
  "currency": "string",
  "transaction_currency": "string",
  "atoms_per_unit": 1,
  "transaction_atoms_per_unit": 1,
  "total_debit_atoms": 1,
  "total_credit_atoms": 1,
  "total_transaction_debit_atoms": 1,
  "total_transaction_credit_atoms": 1,
  "status": "string",
  "is_adjusting": false,
  "counterparty_name": "string",
  "lines": [
    {
      "id": "string",
      "object": "journal_entry_line",
      "created_at": "2026-11-11T18:10:37.309Z",
      "updated_at": "2026-11-11T18:10:37.309Z",
      "journal_entry_id": "string",
      "account_id": "string",
      "account_number": "string",
      "account_name": "string",
      "account_type": "bank",
      "line_type": "debit",
      "amount_atoms": 1,
      "transaction_amount_atoms": 1,
      "memo": "string",
      "counterparty_type": "customer",
      "counterparty_external_id": "string",
      "counterparty_name": "string"
    }
  ]
}