---
title: "Create Bulk Invoices Payment"
method: POST
path: "/invoices/bulk-payment"
tags: ["Invoice Payments"]
---

# Create Bulk Invoices Payment

`POST /invoices/bulk-payment`

## Request

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

Create Bulk Invoices Payment

## Request body

- object
  - `organization_id` integer, required
  - `client_account_id` integer, required
  - `deposit_account_id` integer, required
  - `payment_method` 'Bank Transfer' | 'Cash' | 'Cheque' | 'Credit Card' | 'Other' | 'Online payment' | 'Trust Account', required
  - `trust_asset_account` integer: client trust asset account, required in case of payment method is Trust Account
  - `comments` string
  - `payment_reference` string
  - `payment_rows` object[], required: invoice payment rows
    - `invoice_header_id` integer, required: invoice header id
    - `deposit_amount` number, required: payment amount
    - `paid_on` string, date, required: paid on date
    - `bank_charges` number: bank charges amount

## Response `200`

Successful operation

- object
  - `message` string
  - `invoices_payment` object, nullable

## 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/invoices/bulk-payment/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)
