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

# Add Invoice

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

## 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}/invoices`
- Auth: none declared

The accountant files an invoice under an invoiced bill. The same
vendor and invoice number twice answers 409 with `existing_id`.

## Path parameters

- `line_id` string, uuid, required

## Request body

- InvoiceIn
  - `invoice_number` string, required
  - `invoice_date` string, date, required
  - `due_date` string, date, required
  - `amount` union, required
    - string
    - number
    - integer
  - `description` string, 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)
