A membership receipt for gyms, clubs and subscription businesses. It shows the member, the plan and the period covered in a bold band, the charges with an optional joining fee and discount, the total paid and the card used, then either the next billing date for plans that renew automatically or the end date for fixed terms. Download the Word file to add your logo, then generate a receipt for every membership payment.
Upload the receipt template, then send the structured data to get the finished document. Replace YOUR_API_KEY with your unique key and YOUR_TEMPLATE_ID with the ID of your template.
Send an array of JSON objects and get one document for each object, returned in a ZIP archive. Use the output_name parameter to customize each filename with the merge tags from your template.
Upload an Excel spreadsheet and every row becomes a document, with the column headers matching your merge tags. Use the sheet parameter to read a specific sheet from the Excel file.
curl -X 'POST' \
'https://api.docugenerate.com/v1/document' \
-H 'Accept: application/json' \
-H 'Authorization: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"template_id": "YOUR_TEMPLATE_ID",
"output_format": ".pdf",
"data": {
"Receipt Number": "MR-2027-6040",
"Receipt Date": "Feb 1, 2027",
"Club Name": "Ironwood Fitness Club",
"Club Address": "320 Maple Avenue, Portland, OR 97205",
"Support Email": "members@ironwoodfitness.com",
"Support Phone": "(503) 555-0129",
"Member Name": "Emily Carter",
"Member ID": "M-30410",
"Plan Name": "Annual Plus",
"Plan Period": "Annual",
"Start Date": "Feb 1, 2027",
"End Date": "Jan 31, 2028",
"Card": "Visa ending 4421",
"Plan Fee": "$599.00",
"Joining Fee Charged": true,
"Joining Fee": "$49.00",
"Discount Applied": true,
"Discount Name": "Early renewal discount",
"Discount": "$60.00",
"Total Paid": "$588.00",
"Auto Renewal": true,
"Next Billing Date": "Feb 1, 2028"
}
}' curl -X 'POST' \
'https://api.docugenerate.com/v1/document' \
-H 'Accept: application/json' \
-H 'Authorization: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"template_id": "YOUR_TEMPLATE_ID",
"output_format": ".pdf",
"single_file": false,
"output_name": "Membership Receipt [Receipt Number]",
"data": [
{ "Receipt Number": "MR-2027-6040", "Receipt Date": "Feb 1, 2027", "Club Name": "Ironwood Fitness Club", "Club Address": "320 Maple Avenue, Portland, OR 97205", "Support Email": "members@ironwoodfitness.com", "Support Phone": "(503) 555-0129", "Member Name": "Emily Carter", "Member ID": "M-30410", "Plan Name": "Annual Plus", "Plan Period": "Annual", "Start Date": "Feb 1, 2027", "End Date": "Jan 31, 2028", "Card": "Visa ending 4421", "Plan Fee": "$599.00", "Joining Fee Charged": true, "Joining Fee": "$49.00", "Discount Applied": true, "Discount Name": "Early renewal discount", "Discount": "$60.00", "Total Paid": "$588.00", "Auto Renewal": true, "Next Billing Date": "Feb 1, 2028" },
{ "Receipt Number": "MR-2027-6047", "Receipt Date": "Feb 3, 2027", "Club Name": "Ironwood Fitness Club", "Club Address": "320 Maple Avenue, Portland, OR 97205", "Support Email": "members@ironwoodfitness.com", "Support Phone": "(503) 555-0129", "Member Name": "Jonas Weber", "Member ID": "M-30427", "Plan Name": "Monthly Standard", "Plan Period": "Monthly", "Start Date": "Feb 3, 2027", "End Date": "Mar 2, 2027", "Card": "Mastercard ending 7702", "Plan Fee": "$49.00", "Joining Fee Charged": false, "Joining Fee": "$0.00", "Discount Applied": false, "Discount Name": "Early renewal discount", "Discount": "$0.00", "Total Paid": "$49.00", "Auto Renewal": true, "Next Billing Date": "Mar 3, 2027" },
{ "Receipt Number": "MR-2027-6054", "Receipt Date": "Feb 5, 2027", "Club Name": "Ironwood Fitness Club", "Club Address": "320 Maple Avenue, Portland, OR 97205", "Support Email": "members@ironwoodfitness.com", "Support Phone": "(503) 555-0129", "Member Name": "Priya Raman", "Member ID": "M-30444", "Plan Name": "Student", "Plan Period": "6 months", "Start Date": "Feb 5, 2027", "End Date": "Aug 4, 2027", "Card": "Visa ending 9085", "Plan Fee": "$199.00", "Joining Fee Charged": false, "Joining Fee": "$0.00", "Discount Applied": true, "Discount Name": "Student discount", "Discount": "$40.00", "Total Paid": "$159.00", "Auto Renewal": false, "Next Billing Date": "Aug 5, 2027" },
{ "Receipt Number": "MR-2027-6061", "Receipt Date": "Feb 7, 2027", "Club Name": "Ironwood Fitness Club", "Club Address": "320 Maple Avenue, Portland, OR 97205", "Support Email": "members@ironwoodfitness.com", "Support Phone": "(503) 555-0129", "Member Name": "Daniel Okafor", "Member ID": "M-30461", "Plan Name": "Family Plan", "Plan Period": "Annual", "Start Date": "Feb 7, 2027", "End Date": "Feb 6, 2028", "Card": "Amex ending 1007", "Plan Fee": "$1,099.00", "Joining Fee Charged": true, "Joining Fee": "$99.00", "Discount Applied": false, "Discount Name": "Early renewal discount", "Discount": "$0.00", "Total Paid": "$1,198.00", "Auto Renewal": true, "Next Billing Date": "Feb 7, 2028" },
{ "Receipt Number": "MR-2027-6068", "Receipt Date": "Feb 9, 2027", "Club Name": "Ironwood Fitness Club", "Club Address": "320 Maple Avenue, Portland, OR 97205", "Support Email": "members@ironwoodfitness.com", "Support Phone": "(503) 555-0129", "Member Name": "Chloe Beaumont", "Member ID": "M-30478", "Plan Name": "Monthly Standard", "Plan Period": "Monthly", "Start Date": "Feb 9, 2027", "End Date": "Mar 8, 2027", "Card": "Visa ending 3318", "Plan Fee": "$49.00", "Joining Fee Charged": true, "Joining Fee": "$29.00", "Discount Applied": false, "Discount Name": "Early renewal discount", "Discount": "$0.00", "Total Paid": "$78.00", "Auto Renewal": true, "Next Billing Date": "Mar 9, 2027" },
{ "Receipt Number": "MR-2027-6075", "Receipt Date": "Feb 11, 2027", "Club Name": "Ironwood Fitness Club", "Club Address": "320 Maple Avenue, Portland, OR 97205", "Support Email": "members@ironwoodfitness.com", "Support Phone": "(503) 555-0129", "Member Name": "Mateo Fernandez", "Member ID": "M-30495", "Plan Name": "Annual Plus", "Plan Period": "Annual", "Start Date": "Feb 11, 2027", "End Date": "Feb 10, 2028", "Card": "Mastercard ending 5521", "Plan Fee": "$599.00", "Joining Fee Charged": false, "Joining Fee": "$0.00", "Discount Applied": true, "Discount Name": "Corporate partner discount", "Discount": "$90.00", "Total Paid": "$509.00", "Auto Renewal": true, "Next Billing Date": "Feb 11, 2028" },
{ "Receipt Number": "MR-2027-6082", "Receipt Date": "Feb 13, 2027", "Club Name": "Ironwood Fitness Club", "Club Address": "320 Maple Avenue, Portland, OR 97205", "Support Email": "members@ironwoodfitness.com", "Support Phone": "(503) 555-0129", "Member Name": "Sofia Lindqvist", "Member ID": "M-30512", "Plan Name": "Off-peak", "Plan Period": "3 months", "Start Date": "Feb 13, 2027", "End Date": "May 12, 2027", "Card": "Visa ending 8820", "Plan Fee": "$99.00", "Joining Fee Charged": true, "Joining Fee": "$29.00", "Discount Applied": false, "Discount Name": "Early renewal discount", "Discount": "$0.00", "Total Paid": "$128.00", "Auto Renewal": false, "Next Billing Date": "May 13, 2027" },
{ "Receipt Number": "MR-2027-6089", "Receipt Date": "Feb 15, 2027", "Club Name": "Ironwood Fitness Club", "Club Address": "320 Maple Avenue, Portland, OR 97205", "Support Email": "members@ironwoodfitness.com", "Support Phone": "(503) 555-0129", "Member Name": "Lucas Oliveira", "Member ID": "M-30529", "Plan Name": "Annual Plus", "Plan Period": "Annual", "Start Date": "Feb 15, 2027", "End Date": "Feb 14, 2028", "Card": "Visa ending 2044", "Plan Fee": "$599.00", "Joining Fee Charged": true, "Joining Fee": "$49.00", "Discount Applied": false, "Discount Name": "Early renewal discount", "Discount": "$0.00", "Total Paid": "$648.00", "Auto Renewal": false, "Next Billing Date": "Feb 15, 2028" },
{ "Receipt Number": "MR-2027-6096", "Receipt Date": "Feb 17, 2027", "Club Name": "Ironwood Fitness Club", "Club Address": "320 Maple Avenue, Portland, OR 97205", "Support Email": "members@ironwoodfitness.com", "Support Phone": "(503) 555-0129", "Member Name": "Hannah Weiss", "Member ID": "M-30546", "Plan Name": "Monthly Standard", "Plan Period": "Monthly", "Start Date": "Feb 17, 2027", "End Date": "Mar 16, 2027", "Card": "Mastercard ending 6613", "Plan Fee": "$49.00", "Joining Fee Charged": false, "Joining Fee": "$0.00", "Discount Applied": true, "Discount Name": "Referral credit", "Discount": "$10.00", "Total Paid": "$39.00", "Auto Renewal": true, "Next Billing Date": "Mar 17, 2027" },
{ "Receipt Number": "MR-2027-6103", "Receipt Date": "Feb 19, 2027", "Club Name": "Ironwood Fitness Club", "Club Address": "320 Maple Avenue, Portland, OR 97205", "Support Email": "members@ironwoodfitness.com", "Support Phone": "(503) 555-0129", "Member Name": "Tariq Haddad", "Member ID": "M-30563", "Plan Name": "Senior", "Plan Period": "Annual", "Start Date": "Feb 19, 2027", "End Date": "Feb 18, 2028", "Card": "Visa ending 7176", "Plan Fee": "$449.00", "Joining Fee Charged": false, "Joining Fee": "$0.00", "Discount Applied": true, "Discount Name": "Senior discount", "Discount": "$45.00", "Total Paid": "$404.00", "Auto Renewal": true, "Next Billing Date": "Feb 19, 2028" }
]
}' curl -X 'POST' \
'https://api.docugenerate.com/v1/document' \
-H 'Accept: application/json' \
-H 'Authorization: YOUR_API_KEY' \
-H 'Content-Type: multipart/form-data' \
-F 'template_id=YOUR_TEMPLATE_ID' \
-F 'file=@Membership Receipt Batch.xlsx' \
-F 'output_format=.pdf' \
-F 'single_file=false' \
-F 'output_name=Membership Receipt [Receipt Number]' Questions frequently asked about our receipt templates
Get started with 20 free documents per month and our ready-to-use receipt templates.