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.
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Path parameters
Query parameters
Concrete legal entity that owns this AR/AP request. Omission is accepted only when the actor is authorized to exactly one concrete entity; consolidated scope cannot mutate or serve these entity-only resources.
Headers
Optional customer-app bundle marker for production-promoted demo-parity routes. Production customer calls omit this header. When present, qa selects the QA bundle and the server additionally requires an allowlisted test company with persisted client_status=test.
Request body
Response
Invoice marked paid (item with availableTransitions)
Changes
No recorded changes to this operation across all 110 revisions of this API.