v1

latestOpenAPI 3.0.32026-07-26362271803.3 KB
Accounts Receivable

Bulk Apply Transaction Payment to Selected Invoices

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.

post/coa/api/v1/invoice/bulk-apply-payment

Request body

transaction_idinteger required
invoice_idsinteger[] nullable

Response

object required