---
title: "Book Transaction"
method: POST
path: "/agent/spaces/{space_id}/transactions"
tags: ["agent"]
---

# Book Transaction

`POST /agent/spaces/{space_id}/transactions`

## Request

- Base URL: `https://app.orla.finance/api`
- URL: `https://app.orla.finance/api/agent/spaces/{space_id}/transactions`
- Auth: HTTP bearer

## Path parameters

- `space_id` string, uuid, required

## Request body

- AgentTxIn
  - `account_id` string, uuid, required
  - `amount` union, required
    - number
    - string
  - `category_id` string, uuid, nullable
  - `kind` 'income' | 'expense' | 'transfer', required
  - `note` string
  - `occurred_on` string, date, required
  - `payee` string

## Response `200`

Successful Response

- AgentWriteOut: The answer to every mutating agent call.
  - `applied` boolean, required
  - `message` string
  - `proposal_id` string, uuid, nullable
  - `result` object, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/orla/apis/orla-api-agent-and-integration-doors.md) · [All operations](https://skmtc.dev/orla/apis/orla-api-agent-and-integration-doors/llms.txt) · [OpenAPI document](https://skmtc.dev/orla/apis/orla-api-agent-and-integration-doors/revisions/5c8a8112ea7c?raw)
