> ## Documentation Index
> Fetch the complete documentation index at: https://docs.printools.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Invoices

> Raising invoices, settling them, and pushing to accounting.

Use the operations below to work with invoices. Each link opens an interactive reference page generated from the published OpenAPI specification.

## Operations

| Operation                                                                                                          | Method and path                                 | Required scopes                   |
| ------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------- | --------------------------------- |
| [A presigned link to the invoice PDF. Expires in 900 seconds](/api/reference/get_v1_invoices_invoiceId_pdf)        | `GET /v1/invoices/{invoiceId}/pdf`              | `documents.read`, `invoices.read` |
| [One invoice](/api/reference/get_v1_invoices_invoiceId)                                                            | `GET /v1/invoices/{invoiceId}`                  | `invoices.read`                   |
| [Email an invoice to the customer](/api/reference/post_v1_invoices_invoiceId_send)                                 | `POST /v1/invoices/{invoiceId}/send`            | `invoices.write`                  |
| [Record an invoice as paid](/api/reference/post_v1_invoices_invoiceId_mark_paid)                                   | `POST /v1/invoices/{invoiceId}/mark-paid`       | `invoices.settle`                 |
| [Undo a paid marking](/api/reference/post_v1_invoices_invoiceId_unmark_paid)                                       | `POST /v1/invoices/{invoiceId}/unmark-paid`     | `invoices.settle`                 |
| [Void an invoice](/api/reference/post_v1_invoices_invoiceId_void)                                                  | `POST /v1/invoices/{invoiceId}/void`            | `invoices.settle`                 |
| [Refund an invoice](/api/reference/post_v1_invoices_invoiceId_refund)                                              | `POST /v1/invoices/{invoiceId}/refund`          | `invoices.settle`                 |
| [Dismiss a customer’s payment claim](/api/reference/post_v1_invoices_invoiceId_dismiss_claim)                      | `POST /v1/invoices/{invoiceId}/dismiss-claim`   | `invoices.settle`                 |
| [Push an invoice into the shop’s Xero connection](/api/reference/post_v1_invoices_invoiceId_push_xero)             | `POST /v1/invoices/{invoiceId}/push/xero`       | `invoices.sync`                   |
| [Push an invoice into the shop’s QuickBooks connection](/api/reference/post_v1_invoices_invoiceId_push_quickbooks) | `POST /v1/invoices/{invoiceId}/push/quickbooks` | `invoices.sync`                   |

See [Authentication](/api/authentication) before your first call. For write retries, see [Writing safely](/api/idempotency).
