---
title: "Period-explorer months (default 11 back through 1 ahead)"
method: GET
path: "/companies/{companyId}/receivables/pipeline/periods"
tags: ["Receivables"]
---

# Period-explorer months (default 11 back through 1 ahead)

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

## Request

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

## Query parameters

- `from` string
- `to` string

## Response `200`

{ from, to, periods: [{ key, label, monthIdx (0-based), year, isCurrent, isFuture, contractedCents, invoicedCents, collectedCents, contractCount }], currency, minorUnitExponent }

## Other responses

- `401`: Authentication required
- `404`: AR/AP items not enabled for this company
- `422`: Invalid range or unavailable homogeneous 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)
