Receipt PDF template
A compact payment receipt for Stripe or Shopify orders.
Sample data
The preview and the sample PDF are this JSON rendered by the real engine. Send your own data in the same shape.
{
"store": "Bean & Leaf Coffee",
"number": "R-20931",
"paid_at": "2026-11-15",
"method": "Visa •••• 4242",
"items": [
{
"name": "Oat flat white",
"qty": 2,
"amount": 9
},
{
"name": "Almond croissant",
"qty": 1,
"amount": 4.5
}
],
"total": 13.5
}Render it from your workflow
Publish the template, then call it with its id. Test keys are free and watermark the PDF.
curl https://docspout.com/v1/renders \
-H "Authorization: Bearer sk_test_…" \
-H "Idempotency-Key: order-1182" \
-H "Content-Type: application/json" \
-d '{
"template": "tpl_your_receipt",
"data": {
"store": "Bean & Leaf Coffee",
"number": "R-20931",
"paid_at": "2026-11-15",
"method": "Visa •••• 4242",
"items": [
{
"name": "Oat flat white",
"qty": 2,
"amount": 9
},
{
"name": "Almond croissant",
"qty": 1,
"amount": 4.5
}
],
"total": 13.5
}
}'