Generate the chase letter for the current stage
letter_renderChase an unpaid invoice: generate the letter for the current stage of the ladder -- reminder 1 (polite), reminder 2 (firm, with the late fees note) or the final notice (before-action wording) -- as Markdown or as self-contained printable HTML. Nothing is emailed or sent anywhere: this server produces the letter text, and sending it is your act. Record the sending with letter_sent so the ladder advances.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | No | The letter's date, YYYY-MM-DD; late fees accrue to it and the final-notice deadline is 7 days after it. Default today | |
| stage | No | Render a specific stage instead of the one currently due, to preview or to re-issue a letter already sent | |
| format | No | markdown (default) or html: a self-contained printable page with no external anything | |
| invoice | Yes | The chased invoice: its id (DUN-2026-0001) or its invoice reference |