---
title: "Generate Customer Receipt"
method: POST
path: "/pdfs/receipt/{customer_id}"
tags: ["PDFs"]
---

# Generate Customer Receipt

`POST /pdfs/receipt/{customer_id}`

## Request

- Base URL: `https://api.openintake.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openintake.ai/pdfs/receipt/{customer_id}`
- Auth: none declared

Generate a receipt PDF for a customer based on their billing contract.

Args:
- customer_id: The customer ID
- request: Receipt generation request with optional date, tax percentage, and receipt number
  - date: Date paid (defaults to first of previous month)
  - tax_percentage: Tax percentage to apply (default 0)
  - receipt_number: Custom receipt number (auto-generated if not provided)

Returns:
- PDF file as application/pdf

## Path parameters

- `customer_id` string, uuid, required

## Request body

- GenerateReceiptRequest: Request to generate a receipt for a customer.
  - `receipt_number` string, nullable
  - `date` string, date-time, nullable
  - `tax_percentage` union
    - number
    - string
  - `description` string
  - `billing_run_item_id` string, uuid, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/openintake/apis/openintake-api.md) - [All operations](https://skmtc.dev/openintake/apis/openintake-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openintake/apis/openintake-api/revisions/de90a8dcbc07?raw)
