> ## 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.

# 支払い

> 支払い行の一覧、入金記録、請求書証跡の更新。

支払いエンドポイントは債権一覧、入金記録、照合状態、請求書/証跡参照を扱います。

| エンドポイント                              | 本文/パラメータ                                                             | 権限                   |
| ------------------------------------ | -------------------------------------------------------------------- | -------------------- |
| `GET /payments`                      | `tab, page, pageSize, contractId, subjectId, includeDeleted`         | `payment_entry view` |
| `GET /payments/stats`                | `subject scope`                                                      | `payment_entry view` |
| `PATCH /payments/:paymentId/receipt` | `receivedAmount, receivedDate, method, proof, reconciliation fields` | `payment_entry edit` |
| `PATCH /payments/:paymentId/invoice` | `invoiceAmount, invoiceDate, invoiceNo, invoiceAttachment`           | `invoice edit`       |
