---
title: "Contract-to-cash pipeline (last / this / next month)"
method: GET
path: "/companies/{companyId}/receivables/pipeline"
tags: ["Receivables"]
---

# Contract-to-cash pipeline (last / this / next month)

`GET /companies/{companyId}/receivables/pipeline`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/companies/{companyId}/receivables/pipeline`
- Auth: HTTP bearer

DARK — 404s unless ar_ap_items_enabled. months[3] each {key: YYYY-MM, label, contractedCents (active contracts' billable that month from cadence + per_invoice_cents), invoicedCents (non-void AR items issued that month), collectedCents (ar_item_payments in the month)}; plus totals across the three months, activeContractCount and totalContractedCents. The envelope carries currency and minorUnitExponent (null/null only when every returned monetary aggregate is empty).

## Response `200`

{ months[3], totals, activeContractCount, totalContractedCents, currency, minorUnitExponent }

## Other responses

- `401`: Authentication required
- `404`: AR/AP items not enabled for this company
- `422`: MONETARY_AGGREGATE_CURRENCY_UNAVAILABLE for mixed, invalid, missing, or non-two-decimal currency authority

---

[API](https://skmtc.dev/medianfi/apis/median-api.md) · [All operations](https://skmtc.dev/medianfi/apis/median-api/llms.txt) · [OpenAPI document](https://skmtc.dev/medianfi/apis/median-api/revisions/20090ea32b0d?raw)
