AR/AP
Match a bank deposit to the invoice (marks fully paid)
DARK — 404s unless ar_ap_items_enabled. Body {transactionId}. The transaction must belong to the company (company-scoped lookup; a cross-tenant id is a 404). Writes an ar_item_payments row for the item's OUTSTANDING amount (paid_at = the transaction's occurred_on), bumps amountPaidCents to the total, and transitions to 'paid' through the FSM — the Stripe-source lock and legal-transition guards hold exactly as for the drawer actions.
post/companies/{companyId}/ar/{id}/match-transaction
Request
- Base URL: https://api.medianfi.com/api/v1
- URL: https://api.medianfi.com/api/v1/companies/{companyId}/ar/{id}/match-transaction
- Auth: HTTP bearer
Request body
Response
Invoice marked paid (item with availableTransitions)
Changes
No recorded changes to this operation across all 1 revision of this API.