Render a credit note as Markdown or printable HTML
credit_note_renderRender a credit note as Markdown for emails or self-contained printable HTML; drafts carry a DRAFT banner so unfinished notes are not sent by mistake.
Instructions
Turn a credit note into the document: Markdown to paste into an email or ticket, or a self-contained printable HTML page with every style inline. Drafts render with a DRAFT banner so a half-finished credit cannot be sent by mistake. Writes nothing. Free; the free tier stamps a one-line footer.
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": {
"id": "<id>"
},
"name": "credit_note_render"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The credit note number CN-2026-0001 or draft id CN-DRAFT-2026-0001 | |
| format | No | markdown (default) or html, a self-contained printable page |