> ## Documentation Index
> Fetch the complete documentation index at: https://docs.alforse.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Payments & Invoices

> Recording receipts and invoice evidence against a contract's payment plan.

Each contract carries a payment plan (created at intake, or added afterward via
`POST /contracts/:id/payments`). Two things get recorded against each payment line as it's
fulfilled:

## Receipts

Recording a receipt (`PATCH /payments/:paymentId/receipt`) captures the received amount, date,
method, payer name, receiving account, bank serial number, proof file reference, and a
reconciliation status/note. This is what moves a payment from unpaid toward paid in contract
list filters.

## Invoices

Recording invoice evidence (`PATCH /payments/:paymentId/invoice`, or
`POST /contracts/:id/invoices` for contract-level invoice records) captures the invoice amount,
date, number, and attachment reference.

## Where to look things up

* `GET /payments` — paginated list, filterable by tab (`due` / `overdue` / `reconcile` /
  `invoice` / `all`), contract, or subject company.
* `GET /payments/stats` — summary counts for the current tenant.

Full request and response shapes are in [Payments](/api-reference/payments).

<Card title="Evidence Trail" icon="folder-open" href="/guides/evidence-trail">
  Receipts and invoices are also files — see how uploaded proof documents surface in the
  evidence trail and audit log.
</Card>
