Invoicing

Send an invoice sample to the authenticated user

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.

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

Path parameters

idstring uuid required

Invoice UUID

Request body

requestIdstring uuid required
personalMessagestring
attachPdfboolean

Response

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

Changes

No recorded changes to this operation across all 3 revisions of this API.