AR/AP

Send an invoice (draft → open, mints the payment token; idempotent)

DARK — 404s unless ar_ap_items_enabled. First send transitions a draft to open through the FSM and mints a unique non-guessable payment_token; re-sends are idempotent (token and sentAt stable). Requires a positive total and a counterparty. Email dispatch is a separate sub-issue.

post/companies/{companyId}/ar/{id}/send

Request

  • Base URL: https://api.medianfi.com/api/v1
  • URL: https://api.medianfi.com/api/v1/companies/{companyId}/ar/{id}/send
  • Auth: HTTP bearer

Response

Invoice sent (item with lines and availableTransitions)

Changes

No recorded changes to this operation across all 1 revision of this API.