mhlb_print_transaction
Generate a printable receipt PDF for a specific transaction by passing its transaction ID, so the document reflects the account’s real data.
Instructions
Generate the printable receipt PDF for one transaction. Pass the transaction id from mhlb_list_transactions; the server fetches that transaction’s detail record and has the endpoint render it, so the receipt always reflects the account’s real data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inline | No | Return the PDF as base64 in the result instead of writing it to a file. Default false. | |
| filename | No | Output filename. Defaults to "Transaction.pdf". | |
| isCreditType | No | Render as a credit rather than a payment. Default false. | |
| transactionId | Yes | Transaction id (the `id` field from mhlb_list_transactions). |