medianfi-com AR/AP API

The AR/AP API from medianfi-com — 34 operation(s) for ar/ap.

Operations 48

GET /companies/{companyId}/ar List AR (invoice) items #
POST /companies/{companyId}/ar Create a manual AR item #
GET /companies/{companyId}/ar/{id} Get an AR item (includes availableTransitions) #
PATCH /companies/{companyId}/ar/{id} Edit non-status fields of an AR item #
POST /companies/{companyId}/ar/{id}/issue Issue an AR item (draft → open) #
POST /companies/{companyId}/ar/{id}/document Attach a document to an AR item #
DELETE /companies/{companyId}/ar/{id}/document Detach the document from an AR item #
POST /companies/{companyId}/ar/{id}/send Send an invoice (draft → open, mints the payment token; idempotent) #
POST /companies/{companyId}/ar/{id}/resend-email Resend the invoice email (already-sent invoices; same payment token) #
GET /companies/{companyId}/ar/{id}/email-preview Server-rendered invoice email preview (nothing sent) #
POST /companies/{companyId}/ar/compose Create an invoice from the composer (server-owned totals) #
POST /companies/{companyId}/ar/drafts/from-document Create a DRAFT invoice from an uploaded invoice document's extraction #
GET /companies/{companyId}/ar/{id}/composed Get an invoice with its composer lines #
PATCH /companies/{companyId}/ar/{id}/composed Re-compose a draft invoice (lines replace wholesale, totals recompute) #
POST /companies/{companyId}/ar/{id}/status Drawer lifecycle action (mark paid / void / uncollectible), FSM-enforced #
POST /companies/{companyId}/ar/{id}/match-transaction Match a bank deposit to the invoice (marks fully paid) #
GET /companies/{companyId}/ar/{id}/payments List the invoice's card-collection payments (charge-rail subledger) #
GET /companies/{companyId}/ap List AP (bill) items #
POST /companies/{companyId}/ap Create a manual AP item #
GET /companies/{companyId}/ap/{id} Get an AP item (includes availableTransitions and ledger authority) #
PATCH /companies/{companyId}/ap/{id} Edit non-status fields of an AP item #
POST /companies/{companyId}/ap/{id}/document Attach a document to an AP item #
DELETE /companies/{companyId}/ap/{id}/document Detach the document from an AP item #
POST /companies/{companyId}/ap/{id}/transitions Apply a customer workflow transition to an AP item #
POST /companies/{companyId}/ap/transitions/batch Apply customer workflow transitions to multiple AP items #
GET /companies/{companyId}/ap/recognition/timeline Forward expense recognition by month across posted AP items #
GET /companies/{companyId}/ap/{id}/match-candidates List unreconciled bank-transaction candidates for a bill #
POST /companies/{companyId}/ap/{id}/match Match a bank transaction to a bill and reflect its pay state #
GET /companies/{companyId}/ap/{id}/match-coverage Aggregate applied bank-match coverage for a bill #
GET /companies/{companyId}/ap/{id}/recognition Server-authoritative recognition for one AP item #
GET /companies/{companyId}/customers List customers #
POST /companies/{companyId}/customers Create a customer #
GET /companies/{companyId}/customers/{id} Get a customer #
PATCH /companies/{companyId}/customers/{id} Update a customer #
DELETE /companies/{companyId}/customers/{id} Soft-delete a customer (is_active=false) #
GET /companies/{companyId}/vendors List vendors (bare records; rollups live on the detail read) #
POST /companies/{companyId}/vendors Create a vendor #
GET /companies/{companyId}/vendors/{id} Get a vendor (with bills + outstanding/billCount/lifetimeSpend rollup) #
PATCH /companies/{companyId}/vendors/{id} Update a vendor #
DELETE /companies/{companyId}/vendors/{id} Soft-delete a vendor (is_active=false) #
PATCH /accountant/companies/{customerId}/ar/{id}/status Change an AR item's lifecycle status (FSM-enforced) #
POST /accountant/companies/{customerId}/ar/{id}/deferral Generate/regenerate an AR deferred-revenue schedule #
PATCH /accountant/companies/{customerId}/ap/{id}/status Change an AP item's lifecycle status (FSM-enforced) #
POST /accountant/companies/{customerId}/ap/{id}/deferral Generate/regenerate an AP prepaid-amortization schedule #
POST /accountant/companies/{customerId}/ap/{id}/schedule-payment Record an accountant-approved AP payment intent #
DELETE /accountant/companies/{customerId}/ap/{id}/schedule-payment Cancel an unexecuted AP payment intent #
GET /accountant/companies/{customerId}/ap Customer AP bill list (accountant mirror, read-only) #
GET /accountant/companies/{customerId}/customers Customer's customer records (accountant mirror, read-only) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/medianfi-com:medianfi-com-ar-ap-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

medianfi-com-ar-ap-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Median AR/AP API
  version: 0.1.0
  description: Production-grade Node.js + Express API starter template
  license:
    name: Proprietary
servers:
- url: /api/v1
security: []
tags:


# --- truncated at 32 KB (55 KB total) ---
# Full source: https://artifacts.apis.io/medianfi-com/openapi/medianfi-com-ar-ap-api-openapi.yml