# Invoice Runs

Group: Accounting

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

An invoice run invoices the pending lines of one sales order, customer, or legal entity, and records the invoices it created and the lines that failed.

## Endpoints

- [List invoice runs](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/invoiceRuns.html): `GET /accounting/invoice-runs`
- [Start an invoice run](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/startInvoiceRun.html): `POST /accounting/invoice-runs`
- [Retrieve an invoice run](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/getInvoiceRun.html): `GET /accounting/invoice-runs/{id}`
- [Retry an invoice run's failed lines](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/rerunInvoiceRun.html): `POST /accounting/invoice-runs/{id}/rerun`
