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
Authorizations
Token-based authentication with required prefix "Token"
Path Parameters
ID of the invoice to mark as paid
Body
Response
-1000000000000000000 < x < 1000000000000000000-1000000000000000000 < x < 1000000000000000000-1000000 < x < 1000000Accounts Receivable account for this invoice. Populated for single-AR and migrated invoices. NULL for multi-AR invoices (aging uses ChartTransactions instead).
Dictionary tracking when reminders were sent for each day overdue (e.g., {'5': '2024-01-15', '10': '2024-01-20'})
Dictionary tracking when pre-due reminders were sent for each day before due date (e.g., {'3': '2024-01-10', '7': '2024-01-06'})
255255custom- Customnet_5- Net 5net_7- Net 7net_10- Net 10net_15- Net 15net_20- Net 20net_30- Net 30net_40- Net 40net_45- Net 45net_60- Net 60net_90- Net 90net_105- Net 105net_120- Net 120due_on_receipt- Due on Receipt
custom, net_5, net_7, net_10, net_15, net_20, net_30, net_40, net_45, net_60, net_90, net_105, net_120, due_on_receipt 1201209^\d{9}$draft- Draftopen- Opensent- Sentpartial- Partially Paidpaid- Paiduncollectible- Uncollectiblevoided- Voided
draft, open, sent, partial, paid, uncollectible, voided ID of the transaction in Anrok (set when transaction is created)
2553-100000000000000 < x < 100000000000000-100000000000000 < x < 100000000000000250250Discount amount for the invoice
-1000000000000000000 < x < 1000000000000000000Discount amount applied based on payment term early payment discount
-1000000000000000000 < x < 1000000000000000000500500500500500250True for invoices imported via opening balance migration (no finalization JE).
10-2147483648 <= x <= 2147483647