Purchase order PDF template
Vendor, delivery address, and ordered items with totals.
Sample data
The preview and the sample PDF are this JSON rendered by the real engine. Send your own data in the same shape.
{
"po": "PO-5521",
"vendor": "Paper Supply Co.",
"deliver_to": "Warehouse 3, 400 Dock Rd",
"items": [
{
"name": "A4 paper, 5 reams",
"qty": 10,
"unit": 24,
"total": 240
}
],
"total": 240
}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_purchase_order",
"data": {
"po": "PO-5521",
"vendor": "Paper Supply Co.",
"deliver_to": "Warehouse 3, 400 Dock Rd",
"items": [
{
"name": "A4 paper, 5 reams",
"qty": 10,
"unit": 24,
"total": 240
}
],
"total": 240
}
}'