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

# Pay reimbursements

> One-time amounts that payroll pays an employee for approved claims.

For some benefits, an approved claim is paid back on the employee's next paycheck. Hammock
reviews the claim and tells you how much to pay. You add it to a paycheck and report it with the
payroll.

| Benefit | `tax_treatment` | Pay it as |
| - | - | - |
| Dependent care FSA | `non_taxable` | A non-taxable earning |
| ICHRA | `non_taxable` | A non-taxable earning |
| Lifestyle spending account | `taxable` | Supplemental wages, with no gross-up |

A reimbursement must land in an earning type with the matching tax treatment. Paying a
non-taxable reimbursement as wages, or the reverse, misstates the employee's income.

## The lifecycle

```mermaid theme={null}
sequenceDiagram
  participant M as Employee
  participant H as Hammock
  participant P as Your platform
  M->>H: Submits a claim
  H->>H: Reviews and approves it
  H-->>P: Event reimbursement.created
  P->>H: GET /reimbursements, status pending
  P->>P: Add it to the next paycheck
  P->>H: POST /payrolls, naming the reimbursement
  H-->>P: Event reimbursement.paid
```

```json theme={null}
{
  "id": "reimb_8Wq3Zr6tHy1D",
  "object": "reimbursement",
  "employer": "empr_1Qx8Zt2eZvKYlo2C",
  "employee": "emp_5Tg7Rw2nBx8P",
  "benefit": "ben_1Zx5Cv9bNm3Q",
  "benefit_type": "dependent_care_fsa",
  "amount": 12500,
  "currency": "usd",
  "tax_treatment": "non_taxable",
  "status": "pending",
  "payroll": null,
  "paid_at": null
}
```

## Pay pending reimbursements

Before you finalize a payroll, list the employer's pending reimbursements.

```bash theme={null}
curl "https://api.usehammock.co/reimbursements?employer=empr_1Qx8Zt2eZvKYlo2C&status=pending" \
  -H "Authorization: Bearer hmk_live_..."
```

Add each one to the employee's paycheck, then include its ID in the `reimbursements` array when
you [report the payroll](https://partners.usehammock.co/guides/payrolls.md). That moves it to `paid`.

Rules that keep a claim from being paid twice or short:

* **In full or not at all.** A reimbursement has one amount. If it doesn't fit this payroll, leave
  it out and it stays `pending` for the next one.
* **Once.** A reimbursement can be named by one payroll. Naming a `paid` or `canceled` one returns
  `reimbursement_not_pending`.
* **Late approvals wait.** A claim approved after you listed pending reimbursements stays
  `pending` and goes on the next payroll.
* **Voids release them.** Voiding a payroll returns its reimbursements to `pending`.

A reimbursement moves to `canceled` when the claim is withdrawn or reversed before it's paid, and
you receive `reimbursement.canceled`. Reimbursements move no money through Hammock: the employee
is paid from the employer's payroll.

## Off-cycle reimbursements

You don't have to wait for the regular payroll. Pay a reimbursement on an off-cycle run and
report that payroll with `"type": "off_cycle"`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.