# Invoicing

Invoicing covers issued invoices and the customers they are billed to.
Endpoints return invoice lifecycle and accounting-sync state, customer
records, applied payments, and invoice PDFs.

 - [GET /invoicing/customers](https://docs.rho.co/api/v1/openapi/invoicing/listinvoicingcustomers.md): Returns a paginated list of customers for the authenticated business. Deleted customers are excluded unless include_deleted is true.
 - [GET /invoicing/customers/{customer_id}](https://docs.rho.co/api/v1/openapi/invoicing/getinvoicingcustomer.md): Returns a single customer from Invoicing by ID, including deleted customers when they still exist (deleted_at is set).
 - [GET /invoicing/invoices](https://docs.rho.co/api/v1/openapi/invoicing/listinvoicinginvoices.md): Returns a paginated list of invoices for the authenticated business. Results are ordered by creation time, newest first. Ordering is not user-configurable; keep filters unchanged while paginating.
 - [GET /invoicing/invoices/{invoice_id}](https://docs.rho.co/api/v1/openapi/invoicing/getinvoicinginvoice.md): Returns a single invoice by ID.
 - [GET /invoicing/invoices/{invoice_id}/files/{file_id}](https://docs.rho.co/api/v1/openapi/invoicing/getinvoicinginvoicefile.md): Returns file metadata and a fresh, short-lived signed download URL for the file attached to the invoice. file_id must match invoice.file_id from list or get when that field is set. Fetch again wheneve
