# Invoice Runs

Group: Accounting

[Open in the interactive reference](https://lensing.ai/api-docs/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://lensing.ai/api-docs/reference/lensing/v1/endpoints/invoiceRuns.html): `GET /accounting/invoice-runs`
- [Start an invoice run](https://lensing.ai/api-docs/reference/lensing/v1/endpoints/startInvoiceRun.html): `POST /accounting/invoice-runs`
- [Retrieve an invoice run](https://lensing.ai/api-docs/reference/lensing/v1/endpoints/getInvoiceRun.html): `GET /accounting/invoice-runs/{id}`
- [Retry an invoice run's failed lines](https://lensing.ai/api-docs/reference/lensing/v1/endpoints/rerunInvoiceRun.html): `POST /accounting/invoice-runs/{id}/rerun`
