---
title: "Add Payment"
method: POST
path: "/api/finance/bills/{line_id}/payments"
tags: ["finance"]
---

# Add Payment

`POST /api/finance/bills/{line_id}/payments`

## Request

- Base URL: `https://api.pigeonly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pigeonly.com/api/finance/bills/{line_id}/payments`
- Auth: none declared

Count a payment against this bill: a bank transaction Rooster could not
match, or a payment made another way (a check, a cash payment).

## Path parameters

- `line_id` string, uuid, required

## Request body

- PaymentIn: Count a payment against this bill. Either name a bank transaction ("this payment belongs to this bill") or record one made another way.
  - `transaction_id` string, nullable
  - `amount` union
    - string
    - number
    - integer
  - `paid_on` string, date, nullable
  - `note` string, nullable
  - `invoice_id` string, uuid, nullable
  - `period_due_on` string, date, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os.md) - [All operations](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/llms.txt) - [OpenAPI document](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/revisions/14571c4b7007?raw)
