v1

latestOpenAPI 3.0.32026-07-26362271803.3 KB
Accounts Receivable

Mark Invoice as Paid

Mark an invoice as paid, allowing partial payments.

    This endpoint supports multiple payment methods:
    - Apply existing transactions as payments
    - Apply credit memos to reduce the invoice balance
    - Create manual payments without a transaction

    The request body should contain at least one of:
    - transactions: List of transaction payments to apply
    - credit_memos: List of credit memos to apply
    - empty_transactions: List of manual payments without transactions
post/coa/api/v1/invoice/{invoice_id}/pay/

Path parameters

invoice_idinteger required

ID of the invoice to mark as paid

Request body

transaction_match_idinteger nullable

Response

journal_entry_idsinteger[] required
payment_idsinteger[] required