---
title: "Aggregate applied bank-match coverage for a bill"
method: GET
path: "/companies/{companyId}/ap/{id}/match-coverage"
tags: ["AR/AP"]
---

# Aggregate applied bank-match coverage for a bill

`GET /companies/{companyId}/ap/{id}/match-coverage`

## Request

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

DARK — 404s unless company_subledger_flags.ar_ap_items_enabled is true. Server-authoritative evidence the record-paid control gates on: `coveredCents` is the SUM of every applied document_match allocation against this bill's linked document, counted once per transaction, so a bill settled by several partial payments reports `fullyCovered: true`. Fails closed to zero coverage when the bill has no linked document. Deliberately served here rather than from the documents match-proposal read, which is gated by the unrelated intelligence-home flag.

## Response `200`

{ amountCents, coveredCents, fullyCovered, matches: [{ transactionId, amountCents }] }

## Other responses

- `404`: Not found or AR/AP not enabled

---

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