---
title: "Create deposit"
method: POST
path: "/deposits"
tags: ["Deposits"]
---

# Create deposit

`POST /deposits`

## Request

- Base URL: `http://localhost/app4legal/api/v2/money`
- URL: `http://localhost/app4legal/api/v2/money/deposits`
- Auth: OAuth 2
  - Password
  - Token URL: `http://localhost/app4legal/api/v2/core/login`
- TypeScript: <https://skmtc.dev/app4legal/apis/a4l-money-api/docs/deposits/post.ts> (a function with typed inputs; its response is checked against the schema)

Create deposit

## Request body

- unknown

## Response `201`

Create Deposit

- object
  - `message` string
  - `deposit` object
    - `id` integer
    - `deposit_id` string
    - `organization_id` integer
    - `voucher_header_id` integer
    - `deposited_on` string, date
    - `client_id` integer
    - `client_name` string
    - `currency_id` integer
    - `exchange_rate` number, float
    - `foreign_amount` number, float
    - `trust_deposited` number, float
    - `payment_method` string
    - `ref_num` string
    - `description` string
    - `liability_account_id` integer
    - `liability_account` string
    - `liability_account_fl1` string
    - `liability_account_fl2` string
    - `asset_account_id` integer
    - `asset_account` string
    - `asset_account_fl1` string
    - `asset_account_fl2` string
    - `trust_fund` string

## Other responses

- `401`: Unauthenticated
- `403`: Forbidden
- `500`: Internal Server Error

## Changes

- **2026-08-06** `e0d144609998`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/app4legal/apis/a4l-money-api/changes/deposits/post.md)

---

[API](https://skmtc.dev/app4legal/apis/a4l-money-api.md) - [All operations](https://skmtc.dev/app4legal/apis/a4l-money-api/llms.txt) - [OpenAPI document](https://skmtc.dev/app4legal/apis/a4l-money-api/revisions/e0d144609998?raw)
