Render built-in template
render_templateUse when you have structured data for an invoice or travel itinerary and want a clean PDF without writing HTML. Inputs: "template" ("invoice": seller, buyer, items, tax_rate, currency; "itinerary": trip, days), "data" (object; full examples at GET https://rendlet.com/v1/templates), "filename". Output: the PDF as an embedded base64 resource plus pages and remaining quota. Same auth and 402 behaviour as html_to_pdf. Cost: 1 document from your monthly plan, or 1 prepaid credit after the cap.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Template data; see https://rendlet.com/v1/templates | |
| filename | No | document.pdf | |
| template | Yes |