# Free invoice PDFs

Send a complete invoice document to `POST /invoice-pdfs` without Authorization. This creates an A4 PDF without saving customers or invoices, allocating a workspace number, publishing a page or sending email. A supplied Authorization header is rejected rather than treated as anonymous access.

## Request and response

Send `Content-Type: application/json` and accept `application/pdf`. The response is a PDF attachment. `X-Invoice-Subtotal`, `X-Invoice-Discount`, `X-Invoice-Tax` and `X-Invoice-Total` contain calculated decimal amounts.

Use `payment.method` (`bank`, `stablecoin` or `custom`) and `payment.details` (up to 1,000 characters) for payment instructions. The older `bankAccount` and `paymentInstructions` fields remain supported separately. Remote images, HTML and saved workspace identifiers are not accepted.

## Document limits

At most 50 items, 128 KiB of JSON, 10 PDF pages and 5 MiB output. Contents are not stored. Hashed request metadata expires after one hour. Responses use `Cache-Control: no-store`.
