curl --request POST \
--url https://api.meetcampfire.com/coa/api/v1/invoice/bulk-apply-payment \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"transaction_id": 123,
"invoice_ids": [
123
],
"filters": {
"entity": 123,
"client": 123,
"status": "<string>",
"max_date": "2023-12-25",
"search_query": "<string>"
}
}
'{}Apply a single transaction payment to multiple selected invoices.
Supports two selection modes:
invoice_ids)filters) for “select all matching” behaviourReuses :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.
curl --request POST \
--url https://api.meetcampfire.com/coa/api/v1/invoice/bulk-apply-payment \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"transaction_id": 123,
"invoice_ids": [
123
],
"filters": {
"entity": 123,
"client": 123,
"status": "<string>",
"max_date": "2023-12-25",
"search_query": "<string>"
}
}
'{}Token-based authentication with required prefix "Token"