PDFs

Generate Customer Receipt

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
post/pdfs/receipt/{customer_id}

Path parameters

customer_idstring uuid required

Request body

receipt_numberstring nullable
datestring date-time nullable
descriptionstring
billing_run_item_idstring uuid nullable

Response

Successful Response

{"stackTrail":"paths:/pdfs/receipt/{customer_id}:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 2 revisions of this API.