---
title: "Bulk Apply Transaction Payment to Selected Invoices"
method: POST
path: "/coa/api/v1/invoice/bulk-apply-payment"
tags: ["Accounts Receivable"]
---

# Bulk Apply Transaction Payment to Selected Invoices

`POST /coa/api/v1/invoice/bulk-apply-payment`

Apply a single transaction payment to multiple selected invoices.

Supports two selection modes:
- Explicit invoice IDs (``invoice_ids``)
- Filter-based selection (``filters``) for "select all matching" behaviour

Reuses :meth:`MarkInvoicePaidView.apply_transaction_payment` so that
line-level payment splitting, FX gain/loss realisation, and transaction
cleanup are all respected.  A single ``DraftQueue`` is created when
approval is required.

## Request body

- BulkApplyInvoicePayment
  - `transaction_id` integer, required
  - `invoice_ids` integer[], nullable
  - `filters` BulkApplyInvoicePaymentFilters
    - `entity` integer, nullable
    - `client` integer, nullable
    - `status` string, nullable
    - `max_date` string, date, nullable
    - `search_query` string, nullable

## Response `200`

- object

---

[API](https://skmtc.net/campfire/apis/campfire-developer-apis.md) · [All operations](https://skmtc.net/campfire/apis/campfire-developer-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/campfire/campfire-developer-apis/versions/6945ebc3180e/schema)
