# Invoices

Group: Accounting

[Open in the interactive reference](https://docs.api.lensing.ai/lensing/v1/groups/accountingInvoices)

Invoices are what a legal entity has billed a customer for, and what is still owed on each one.

## Endpoints

- [List invoices](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/invoices.html): `GET /accounting/invoices`
- [Import invoices](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/importInvoices.html): `POST /accounting/invoices/import`
- [Search invoices](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/searchInvoice.html): `POST /accounting/invoices/search`
- [Retrieve an invoice](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/getInvoice.html): `GET /accounting/invoices/{id}`
- [Update an invoice](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/updateInvoice.html): `PATCH /accounting/invoices/{id}`
- [Record a payment against an invoice](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/payInvoice.html): `POST /accounting/invoices/{id}/pay`

## Events

- [An invoice was issued.](https://docs.api.lensing.ai/reference/lensing/v1/events/accounting_invoices_created.html)
- [An invoice changed after it was issued.](https://docs.api.lensing.ai/reference/lensing/v1/events/accounting_invoices_updated.html)
