A thank-you letter and tax receipt for nonprofits. It has the gift amount, date, type and fund, the total given so far this year for repeat donors, the impact of the gift, and the tax statement, including the deductible amount when the donor received something in return. Download the Word file to add your organization’s details, then generate a receipt for every donor.
Upload the receipt template, then send the structured data to get the finished document. Make sure to 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": {
"organization_name": "Riverbend Community Food Bank",
"organization_tagline": "Neighbors feeding neighbors since 1994",
"organization_address": "1200 Mill Road, Spokane, WA 99201",
"organization_email": "hello@riverbendfoodbank.org",
"organization_phone": "(509) 555-0126",
"organization_website": "riverbendfoodbank.org",
"ein": "84-1234567",
"receipt_number": "DON-2026-1092",
"receipt_date": "October 16, 2026",
"currency": "USD",
"tax_year": "2026",
"donor_name": "Marcus and Elena Whitfield",
"donor_address": "417 Cedar Lane, Spokane, WA 99203",
"thank_you_message": "Thank you for your generous gift to Riverbend Community Food Bank. Your monthly support is what lets us plan ahead and keep our shelves full, even in the leanest weeks of the year.",
"impact_statement": "This month, your gift provided about 600 meals to families across Spokane County.",
"donation_date": "October 15, 2026",
"gift_type": "Monthly recurring gift",
"payment_method": "Credit card ending 4242",
"fund": "Winter Meals Campaign",
"benefit_value": "0.00",
"benefit_description": "a thank-you gift",
"signatory_name": "Hannah Brooks",
"signatory_title": "Executive Director",
"donation_amount": "150.00",
"has_ytd": true,
"ytd_total": "1,500.00",
"no_goods_or_services": true,
"deductible_amount": "150.00"
}
}' 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": "Donation Receipt [receipt_number] [donor_name]",
"data": [
{ "organization_name": "Riverbend Community Food Bank", "organization_tagline": "Neighbors feeding neighbors since 1994", "organization_address": "1200 Mill Road, Spokane, WA 99201", "organization_email": "hello@riverbendfoodbank.org", "organization_phone": "(509) 555-0126", "organization_website": "riverbendfoodbank.org", "ein": "84-1234567", "receipt_number": "DON-2026-1092", "receipt_date": "October 16, 2026", "currency": "USD", "tax_year": "2026", "donor_name": "Marcus and Elena Whitfield", "donor_address": "417 Cedar Lane, Spokane, WA 99203", "thank_you_message": "Thank you for your generous gift to Riverbend Community Food Bank. Your monthly support is what lets us plan ahead and keep our shelves full, even in the leanest weeks of the year.", "impact_statement": "This month, your gift provided about 600 meals to families across Spokane County.", "donation_date": "October 15, 2026", "gift_type": "Monthly recurring gift", "payment_method": "Credit card ending 4242", "fund": "Winter Meals Campaign", "benefit_value": "0.00", "benefit_description": "a thank-you gift", "signatory_name": "Hannah Brooks", "signatory_title": "Executive Director", "donation_amount": "150.00", "has_ytd": true, "ytd_total": "1,500.00", "no_goods_or_services": true, "deductible_amount": "150.00" },
{ "organization_name": "Riverbend Community Food Bank", "organization_tagline": "Neighbors feeding neighbors since 1994", "organization_address": "1200 Mill Road, Spokane, WA 99201", "organization_email": "hello@riverbendfoodbank.org", "organization_phone": "(509) 555-0126", "organization_website": "riverbendfoodbank.org", "ein": "84-1234567", "receipt_number": "DON-2026-1093", "receipt_date": "October 18, 2026", "currency": "USD", "tax_year": "2026", "donor_name": "Priya Nair", "donor_address": "2210 Division Street, Spokane, WA 99202", "thank_you_message": "Thank you for your generous gift to Riverbend Community Food Bank. Gifts like yours let us respond quickly when a family needs food the most.", "impact_statement": "Your gift will provide about 2,000 meals to families across Spokane County.", "donation_date": "October 17, 2026", "gift_type": "One-time gift", "payment_method": "Check no. 2087", "fund": "General Fund", "benefit_value": "0.00", "benefit_description": "a thank-you gift", "signatory_name": "Hannah Brooks", "signatory_title": "Executive Director", "donation_amount": "500.00", "has_ytd": false, "ytd_total": "500.00", "no_goods_or_services": true, "deductible_amount": "500.00" },
{ "organization_name": "Riverbend Community Food Bank", "organization_tagline": "Neighbors feeding neighbors since 1994", "organization_address": "1200 Mill Road, Spokane, WA 99201", "organization_email": "hello@riverbendfoodbank.org", "organization_phone": "(509) 555-0126", "organization_website": "riverbendfoodbank.org", "ein": "84-1234567", "receipt_number": "DON-2026-1094", "receipt_date": "October 20, 2026", "currency": "USD", "tax_year": "2026", "donor_name": "Cascade Dental Partners", "donor_address": "75 Riverside Avenue, Spokane, WA 99201", "thank_you_message": "Thank you for your company’s generous gift to Riverbend Community Food Bank. Support from local businesses is what keeps our weekend backpack program running all school year.", "impact_statement": "Your gift will fill about 500 weekend backpacks for local students.", "donation_date": "October 19, 2026", "gift_type": "Company gift", "payment_method": "Bank transfer (ACH)", "fund": "Backpack Program", "benefit_value": "0.00", "benefit_description": "a thank-you gift", "signatory_name": "Hannah Brooks", "signatory_title": "Executive Director", "donation_amount": "2,500.00", "has_ytd": false, "ytd_total": "2,500.00", "no_goods_or_services": true, "deductible_amount": "2,500.00" },
{ "organization_name": "Riverbend Community Food Bank", "organization_tagline": "Neighbors feeding neighbors since 1994", "organization_address": "1200 Mill Road, Spokane, WA 99201", "organization_email": "hello@riverbendfoodbank.org", "organization_phone": "(509) 555-0126", "organization_website": "riverbendfoodbank.org", "ein": "84-1234567", "receipt_number": "DON-2026-1095", "receipt_date": "October 22, 2026", "currency": "USD", "tax_year": "2026", "donor_name": "Thomas Greer", "donor_address": "908 Hamilton Street, Spokane, WA 99207", "thank_you_message": "Thank you for your monthly gift to Riverbend Community Food Bank. Steady support like yours lets us plan ahead and keep our shelves full, even in the leanest weeks of the year.", "impact_statement": "This month, your gift provided about 300 meals to families across Spokane County.", "donation_date": "October 21, 2026", "gift_type": "Monthly recurring gift", "payment_method": "Credit card ending 1881", "fund": "Winter Meals Campaign", "benefit_value": "0.00", "benefit_description": "a thank-you gift", "signatory_name": "Hannah Brooks", "signatory_title": "Executive Director", "donation_amount": "75.00", "has_ytd": true, "ytd_total": "450.00", "no_goods_or_services": true, "deductible_amount": "75.00" },
{ "organization_name": "Riverbend Community Food Bank", "organization_tagline": "Neighbors feeding neighbors since 1994", "organization_address": "1200 Mill Road, Spokane, WA 99201", "organization_email": "hello@riverbendfoodbank.org", "organization_phone": "(509) 555-0126", "organization_website": "riverbendfoodbank.org", "ein": "84-1234567", "receipt_number": "DON-2026-1096", "receipt_date": "October 24, 2026", "currency": "USD", "tax_year": "2026", "donor_name": "Olivia and Daniel Marsh", "donor_address": "1615 South Grand Boulevard, Spokane, WA 99203", "thank_you_message": "Thank you for joining us at the Harvest Gala and for supporting Riverbend Community Food Bank. Your evening with us helps fund our work for the whole winter season.", "impact_statement": "Your gift will provide about 1,000 meals to families across Spokane County.", "donation_date": "October 23, 2026", "gift_type": "Event gift", "payment_method": "Credit card ending 7305", "fund": "Harvest Gala", "benefit_value": "90.00", "benefit_description": "a dinner for two at the Harvest Gala", "signatory_name": "Hannah Brooks", "signatory_title": "Executive Director", "donation_amount": "250.00", "has_ytd": false, "ytd_total": "250.00", "no_goods_or_services": false, "deductible_amount": "160.00" },
{ "organization_name": "Riverbend Community Food Bank", "organization_tagline": "Neighbors feeding neighbors since 1994", "organization_address": "1200 Mill Road, Spokane, WA 99201", "organization_email": "hello@riverbendfoodbank.org", "organization_phone": "(509) 555-0126", "organization_website": "riverbendfoodbank.org", "ein": "84-1234567", "receipt_number": "DON-2026-1097", "receipt_date": "October 26, 2026", "currency": "USD", "tax_year": "2026", "donor_name": "Eleanor Whitmore", "donor_address": "33 Cannon Hill Road, Spokane, WA 99203", "thank_you_message": "Thank you for your thoughtful gift to Riverbend Community Food Bank in memory of Robert Whitmore. Your kindness will help neighbors in need through the coming season.", "impact_statement": "Your gift will provide about 400 meals to families across Spokane County.", "donation_date": "October 25, 2026", "gift_type": "Memorial gift", "payment_method": "Check no. 1456", "fund": "General Fund", "benefit_value": "0.00", "benefit_description": "a thank-you gift", "signatory_name": "Hannah Brooks", "signatory_title": "Executive Director", "donation_amount": "100.00", "has_ytd": false, "ytd_total": "100.00", "no_goods_or_services": true, "deductible_amount": "100.00" },
{ "organization_name": "Riverbend Community Food Bank", "organization_tagline": "Neighbors feeding neighbors since 1994", "organization_address": "1200 Mill Road, Spokane, WA 99201", "organization_email": "hello@riverbendfoodbank.org", "organization_phone": "(509) 555-0126", "organization_website": "riverbendfoodbank.org", "ein": "84-1234567", "receipt_number": "DON-2026-1098", "receipt_date": "October 29, 2026", "currency": "USD", "tax_year": "2026", "donor_name": "Jamal Henderson", "donor_address": "540 North Monroe Street, Spokane, WA 99201", "thank_you_message": "Thank you for your monthly gift to Riverbend Community Food Bank. Because of you, children in our community have food waiting for them over the weekend.", "impact_statement": "This month, your gift filled about 8 weekend backpacks for local students.", "donation_date": "October 28, 2026", "gift_type": "Monthly recurring gift", "payment_method": "Debit card ending 9926", "fund": "Backpack Program", "benefit_value": "0.00", "benefit_description": "a thank-you gift", "signatory_name": "Hannah Brooks", "signatory_title": "Executive Director", "donation_amount": "40.00", "has_ytd": true, "ytd_total": "400.00", "no_goods_or_services": true, "deductible_amount": "40.00" },
{ "organization_name": "Riverbend Community Food Bank", "organization_tagline": "Neighbors feeding neighbors since 1994", "organization_address": "1200 Mill Road, Spokane, WA 99201", "organization_email": "hello@riverbendfoodbank.org", "organization_phone": "(509) 555-0126", "organization_website": "riverbendfoodbank.org", "ein": "84-1234567", "receipt_number": "DON-2026-1099", "receipt_date": "October 31, 2026", "currency": "USD", "tax_year": "2026", "donor_name": "Sunrise Rotary Club", "donor_address": "12 Lincoln Plaza, Spokane Valley, WA 99216", "thank_you_message": "Thank you for your club’s generous gift to Riverbend Community Food Bank. Your support will help us stock our pantries ahead of the winter rush.", "impact_statement": "Your gift will provide about 4,800 meals to families across Spokane County.", "donation_date": "October 30, 2026", "gift_type": "One-time gift", "payment_method": "Check no. 5620", "fund": "Winter Meals Campaign", "benefit_value": "0.00", "benefit_description": "a thank-you gift", "signatory_name": "Hannah Brooks", "signatory_title": "Executive Director", "donation_amount": "1,200.00", "has_ytd": false, "ytd_total": "1,200.00", "no_goods_or_services": true, "deductible_amount": "1,200.00" },
{ "organization_name": "Riverbend Community Food Bank", "organization_tagline": "Neighbors feeding neighbors since 1994", "organization_address": "1200 Mill Road, Spokane, WA 99201", "organization_email": "hello@riverbendfoodbank.org", "organization_phone": "(509) 555-0126", "organization_website": "riverbendfoodbank.org", "ein": "84-1234567", "receipt_number": "DON-2026-1100", "receipt_date": "November 3, 2026", "currency": "USD", "tax_year": "2026", "donor_name": "Margaret Doyle", "donor_address": "221 West Ninth Avenue, Spokane, WA 99204", "thank_you_message": "Thank you for giving to Riverbend Community Food Bank again this year. Every gift, large or small, puts food on a neighbor’s table.", "impact_statement": "Your gift will provide about 240 meals to families across Spokane County.", "donation_date": "November 2, 2026", "gift_type": "Online gift", "payment_method": "PayPal", "fund": "General Fund", "benefit_value": "0.00", "benefit_description": "a thank-you gift", "signatory_name": "Hannah Brooks", "signatory_title": "Executive Director", "donation_amount": "60.00", "has_ytd": true, "ytd_total": "180.00", "no_goods_or_services": true, "deductible_amount": "60.00" },
{ "organization_name": "Riverbend Community Food Bank", "organization_tagline": "Neighbors feeding neighbors since 1994", "organization_address": "1200 Mill Road, Spokane, WA 99201", "organization_email": "hello@riverbendfoodbank.org", "organization_phone": "(509) 555-0126", "organization_website": "riverbendfoodbank.org", "ein": "84-1234567", "receipt_number": "DON-2026-1101", "receipt_date": "November 5, 2026", "currency": "USD", "tax_year": "2026", "donor_name": "Ben and Sofia Alvarez", "donor_address": "1380 East Sprague Avenue, Spokane, WA 99202", "thank_you_message": "Thank you for your generous gift to Riverbend Community Food Bank. Your support means a warm meal for neighbors facing a hard winter.", "impact_statement": "Your gift will provide about 720 meals to families across Spokane County.", "donation_date": "November 4, 2026", "gift_type": "Online gift", "payment_method": "Credit card ending 3012", "fund": "Winter Meals Campaign", "benefit_value": "0.00", "benefit_description": "a thank-you gift", "signatory_name": "Hannah Brooks", "signatory_title": "Executive Director", "donation_amount": "180.00", "has_ytd": false, "ytd_total": "180.00", "no_goods_or_services": true, "deductible_amount": "180.00" }
]
}' 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=@Donation Receipt Batch.xlsx' \
-F 'output_format=.pdf' \
-F 'single_file=false' \
-F 'output_name=Donation Receipt [receipt_number] [donor_name]' Questions frequently asked about our receipt templates
Get started with 20 free documents per month and our ready-to-use receipt templates.