The first page of the document DocMake makes from the sample values on this page.
Finance
Payment Receipt
Proof of payment without the copy-paste: payer, date, method, and an itemized breakdown, each a fill-in field.
Batch-render receipts from your payment processor's export in one API call per row.
Blanks to fill
| receipt_number | Receipt number |
| payment_date | Payment date |
| payer_name | Payer |
| payer_address | Payer address |
| payment_method | Method |
| payment_reference | Reference |
| total | Total received |
| total_in_words | Total in words |
| balance_remaining | Balance remaining |
| issuer_name | Issued by |
| company_name | Company |
| items[] | One per item, so a row is added for every item in the list |
The data behind the preview
This is the exact JSON that produced the document above. Change the values, POST them to the API, and you get your version back as DOCX or PDF. Lists grow and shrink with your data; the layout adapts.
- 01 Sign up free and duplicate this template into your workspace.
- 02 Adjust the wording and branding in the visual editor.
- 03 Fill it in the app, share it as a form link, or call the API.
{
"company_name": "Quayside Print Works",
"receipt_number": "RCP-2026-0455",
"payment_date": "August 8, 2026",
"payer_name": "Ashfield Community Trust",
"payer_address": "The Old Library, 9 Ashfield Road, Providence, RI 02906, United States",
"payment_method": "Bank transfer",
"payment_reference": "ASHFIELD AUG26",
"items": [
{
"description": "Invoice INV-2026-0391, summer programme, 2,000 copies",
"amount": "$1,240.00"
},
{
"description": "Invoice INV-2026-0402, poster reprint, 150 copies",
"amount": "$310.00"
}
],
"total": "$1,550.00",
"total_in_words": "One thousand five hundred and fifty dollars and no cents",
"balance_remaining": "Nothing. Both invoices above are settled in full and the account is clear as at the date of this receipt.",
"issuer_name": "Dana Corrigan, Office Manager"
} Generate this document via the API
One template plus changing data is the whole point. The list of blanks above is the contract, and every new set of values comes back in the same layout: fill it in the app, hand someone a form link, or POST the JSON and get the file straight back.
The request below carries this page's own values, so it runs as soon as the template exists in your workspace. Swap the values for yours and the response is your document.
curl -X POST https://app.docmake.io/api/v1/render \
-H "Authorization: Bearer $DOCMAKE_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
--output receipt.pdf \
--data-binary @- <<'JSON'
{
"template_id": "tmpl_your_template_id",
"format": "pdf",
"data": {
"company_name": "Quayside Print Works",
"receipt_number": "RCP-2026-0455",
"payment_date": "August 8, 2026",
"payer_name": "Ashfield Community Trust",
"payer_address": "The Old Library, 9 Ashfield Road, Providence, RI 02906, United States",
"payment_method": "Bank transfer",
"payment_reference": "ASHFIELD AUG26",
"items": [
{
"description": "Invoice INV-2026-0391, summer programme, 2,000 copies",
"amount": "$1,240.00"
},
{
"description": "Invoice INV-2026-0402, poster reprint, 150 copies",
"amount": "$310.00"
}
],
"total": "$1,550.00",
"total_in_words": "One thousand five hundred and fifty dollars and no cents",
"balance_remaining": "Nothing. Both invoices above are settled in full and the account is clear as at the date of this receipt.",
"issuer_name": "Dana Corrigan, Office Manager"
}
}
JSON tmpl_your_template_id is
a stand-in: build this template in the visual editor and copy the id it shows, or create one with POST /api/v1/templates. Keys, formats, strict mode and batches are in the API reference.
Or let an AI assistant do it
The DocMake MCP server lets Claude and other assistants make this document the same way. Install it once:
claude mcp add docmake \
--env DOCMAKE_API_KEY=dm_your_api_key \
-- npx -y @docmake/mcp@latest Then ask for the document in plain words:
Make a PDF from my Payment Receipt template with receipt number "RCP-2026-0455" and payment date "August 8, 2026".
More finance templates
Commercial Invoice
The invoice that travels with an export: commodity code, origin and weight on every line, and a declaration to sign.
View template →Credit Note
The note that puts an overcharge right: what is being credited, why, and what it leaves owing on the invoice.
View template →Expense Report
A claim for what somebody spent, line by line with the kind of spend, the total, and a line for the approver.
View template →