---
title: "Forward expense recognition by month across posted AP items"
method: GET
path: "/companies/{companyId}/ap/recognition/timeline"
tags: ["AR/AP"]
---

# Forward expense recognition by month across posted AP items

`GET /companies/{companyId}/ap/recognition/timeline`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/companies/{companyId}/ap/recognition/timeline`
- Auth: HTTP bearer

DARK — 404s unless company_subledger_flags.ar_ap_items_enabled is true. Server-authoritative aggregation of the company's posted AP recognition by month; unposted intake is excluded (not a booked liability). Returns [{ offset, label, amountCents }] where offset 0 is the current month, negatives are past, positives are scheduled. Window defaults to 1 month back / 6 ahead (monthsBack / monthsAhead, each 0..24).

## Query parameters

- `monthsBack` integer
- `monthsAhead` integer

## Response `200`

Forward-expense-by-month points

## Other responses

- `404`: AR/AP items not enabled for this company

---

[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)
