therapyportal_download_receipt
Download a therapy payment receipt as a PDF using its payment ID to submit to insurance, an HSA, or FSA.
Instructions
Download a therapy payment receipt as a PDF, by payment_id from therapyportal_list_receipts — e.g. to submit to insurance or an HSA/FSA. Saves to disk and returns the path on a local install, or returns the bytes inline (base64) on a hosted runner.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"payment_id": "<payment_id>"
},
"name": "therapyportal_download_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest | No | Folder to save into (server transport, local install only). Must be inside THERAPYPORTAL_OUTPUT_DIR, or ~/Downloads / ~/Documents when that is unset. | |
| payment_id | Yes | paymentId from therapyportal_list_receipts. |