---
title: "Send an invoice sample to the authenticated user"
method: POST
path: "/invoices/{id}/sample"
tags: ["Invoicing"]
---

# Send an invoice sample to the authenticated user

`POST /invoices/{id}/sample`

## Request

- Base URL: `https://ledgerhq.pro/api/v1`
- URL: `https://ledgerhq.pro/api/v1/invoices/{id}/sample`
- Auth: one of:
  - HTTP bearer and API key in header `x-organization-id`
  - HTTP bearer and API key in header `x-organization-id`

Uses the canonical email and PDF renderer. Recipient is fixed to the authenticated account email. Does not post or mutate the invoice or persist payment links. Demo workspaces simulate delivery. Reuse requestId for retries.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `requestId` string, uuid, required
  - `personalMessage` string
  - `attachPdf` boolean

## Response `200`

Sample delivery receipt, recipient, and simulated flag. Invoice unchanged.

## Other responses

- `default`: Error response

---

[API](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api.md) · [All operations](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/revisions/9a8269f0a586?raw)
