Referral Voucher Template

Free Word template with sample data

A referral voucher for online shops, subscription services and local businesses. It prints at actual size with two halves, what the friend gets and what the customer gets, a personal referral code in a dashed box and a QR code that opens the referral link, followed by three reward levels, a ready-to-send message and the steps of the program, filling the page. Download the Word file to match your offer, then generate a referral card for every customer.

  • Edit the voucher in Word, no special software needed
  • Add voucher generation to your app with our REST API
  • Automate via Zapier, Make, n8n & other no-code integrations
  • Generate vouchers in batch from JSON data
Referral Voucher template, finished document Referral Voucher template with merge tags
Developers

Generate Vouchers With the API

Upload the voucher 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.

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": {
    "tier_1_friends": "1 friend",
    "tier_1_reward": "$20 credit",
    "tier_1_note": "Added to your account when their first order is delivered.",
    "tier_2_friends": "3 friends",
    "tier_2_reward": "$70 credit",
    "tier_2_note": "Three rewards plus a $10 thank-you bonus.",
    "tier_3_friends": "5 friends",
    "tier_3_reward": "$120 credit",
    "tier_3_note": "Five rewards plus a $20 bonus, and early access to new offers.",
    "share_message": "Hi, I have been a customer of Brightside Meals for a while and I like it. Use my code EMILY20 to get $20 off your first order of $35 or more.",
    "brand": "Brightside Meals",
    "friend_gets": "20",
    "you_get": "20",
    "minimum_order": "35",
    "referrer": "Emily Carter",
    "referral_code": "EMILY20",
    "referral_link": "https://brightsidemeals.example.com/r/emily20",
    "expiry": "June 30, 2028",
    "steps": [
      "Send your code or link to a friend who has not ordered yet.",
      "Your friend enters the code at checkout and gets the discount at once.",
      "When their first order is delivered, your credit is added to your account."
    ]
  }
}'
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": "Referral [referral_code]",
  "data": [
    { "tier_1_friends": "1 friend", "tier_1_reward": "$20 credit", "tier_1_note": "Added to your account when their first order is delivered.", "tier_2_friends": "3 friends", "tier_2_reward": "$70 credit", "tier_2_note": "Three rewards plus a $10 thank-you bonus.", "tier_3_friends": "5 friends", "tier_3_reward": "$120 credit", "tier_3_note": "Five rewards plus a $20 bonus, and early access to new offers.", "share_message": "Hi, I have been a customer of Brightside Meals for a while and I like it. Use my code EMILY20 to get $20 off your first order of $35 or more.", "brand": "Brightside Meals", "friend_gets": "20", "you_get": "20", "minimum_order": "35", "referrer": "Emily Carter", "referral_code": "EMILY20", "referral_link": "https://brightsidemeals.example.com/r/emily20", "expiry": "June 30, 2028", "steps": ["Send your code or link to a friend who has not ordered yet.","Your friend enters the code at checkout and gets the discount at once.","When their first order is delivered, your credit is added to your account."] },
    { "tier_1_friends": "1 friend", "tier_1_reward": "$25 credit", "tier_1_note": "Added to your account when their first order is delivered.", "tier_2_friends": "3 friends", "tier_2_reward": "$88 credit", "tier_2_note": "Three rewards plus a $13 thank-you bonus.", "tier_3_friends": "5 friends", "tier_3_reward": "$150 credit", "tier_3_note": "Five rewards plus a $25 bonus, and early access to new offers.", "share_message": "Hi, I have been a customer of Northwind Studio for a while and I like it. Use my code JONAS21 to get $25 off your first order of $50 or more.", "brand": "Northwind Studio", "friend_gets": "25", "you_get": "25", "minimum_order": "50", "referrer": "Jonas Weber", "referral_code": "JONAS21", "referral_link": "https://northwindstudio.example.com/r/jonas21", "expiry": "June 30, 2028", "steps": ["Send your code or link to a friend who has not ordered yet.","Your friend enters the code at checkout and gets the discount at once.","When their first order is delivered, your credit is added to your account."] },
    { "tier_1_friends": "1 friend", "tier_1_reward": "$10 credit", "tier_1_note": "Added to your account when their first order is delivered.", "tier_2_friends": "3 friends", "tier_2_reward": "$35 credit", "tier_2_note": "Three rewards plus a $5 thank-you bonus.", "tier_3_friends": "5 friends", "tier_3_reward": "$60 credit", "tier_3_note": "Five rewards plus a $10 bonus, and early access to new offers.", "share_message": "Hi, I have been a customer of Harbor Coffee Roasters for a while and I like it. Use my code PRIYA22 to get $10 off your first order of $20 or more.", "brand": "Harbor Coffee Roasters", "friend_gets": "10", "you_get": "10", "minimum_order": "20", "referrer": "Priya Raman", "referral_code": "PRIYA22", "referral_link": "https://harborcoffeeroasters.example.com/r/priya22", "expiry": "June 30, 2028", "steps": ["Send your code or link to a friend who has not ordered yet.","Your friend enters the code at checkout and gets the discount at once.","When their first order is delivered, your credit is added to your account."] },
    { "tier_1_friends": "1 friend", "tier_1_reward": "$15 credit", "tier_1_note": "Added to your account when their first order is delivered.", "tier_2_friends": "3 friends", "tier_2_reward": "$53 credit", "tier_2_note": "Three rewards plus a $8 thank-you bonus.", "tier_3_friends": "5 friends", "tier_3_reward": "$90 credit", "tier_3_note": "Five rewards plus a $15 bonus, and early access to new offers.", "share_message": "Hi, I have been a customer of Willow Pet Supply for a while and I like it. Use my code DANIE23 to get $15 off your first order of $40 or more.", "brand": "Willow Pet Supply", "friend_gets": "15", "you_get": "15", "minimum_order": "40", "referrer": "Daniel Okafor", "referral_code": "DANIE23", "referral_link": "https://willowpetsupply.example.com/r/daniel23", "expiry": "June 30, 2028", "steps": ["Send your code or link to a friend who has not ordered yet.","Your friend enters the code at checkout and gets the discount at once.","When their first order is delivered, your credit is added to your account."] },
    { "tier_1_friends": "1 friend", "tier_1_reward": "$30 credit", "tier_1_note": "Added to your account when their first order is delivered.", "tier_2_friends": "3 friends", "tier_2_reward": "$105 credit", "tier_2_note": "Three rewards plus a $15 thank-you bonus.", "tier_3_friends": "5 friends", "tier_3_reward": "$180 credit", "tier_3_note": "Five rewards plus a $30 bonus, and early access to new offers.", "share_message": "Hi, I have been a customer of Summit Fitness for a while and I like it. Use my code SOFIA24 to get $30 off your first order of $60 or more.", "brand": "Summit Fitness", "friend_gets": "30", "you_get": "30", "minimum_order": "60", "referrer": "Sofia Martinez", "referral_code": "SOFIA24", "referral_link": "https://summitfitness.example.com/r/sofia24", "expiry": "June 30, 2028", "steps": ["Send your code or link to a friend who has not ordered yet.","Your friend enters the code at checkout and gets the discount at once.","When their first order is delivered, your credit is added to your account."] },
    { "tier_1_friends": "1 friend", "tier_1_reward": "$10 credit", "tier_1_note": "Added to your account when their first order is delivered.", "tier_2_friends": "3 friends", "tier_2_reward": "$35 credit", "tier_2_note": "Three rewards plus a $5 thank-you bonus.", "tier_3_friends": "5 friends", "tier_3_reward": "$60 credit", "tier_3_note": "Five rewards plus a $10 bonus, and early access to new offers.", "share_message": "Hi, I have been a customer of Fernhill Flowers for a while and I like it. Use my code LIAM25 to get $10 off your first order of $25 or more.", "brand": "Fernhill Flowers", "friend_gets": "10", "you_get": "10", "minimum_order": "25", "referrer": "Liam Chen", "referral_code": "LIAM25", "referral_link": "https://fernhillflowers.example.com/r/liam25", "expiry": "June 30, 2028", "steps": ["Send your code or link to a friend who has not ordered yet.","Your friend enters the code at checkout and gets the discount at once.","When their first order is delivered, your credit is added to your account."] },
    { "tier_1_friends": "1 friend", "tier_1_reward": "$15 credit", "tier_1_note": "Added to your account when their first order is delivered.", "tier_2_friends": "3 friends", "tier_2_reward": "$53 credit", "tier_2_note": "Three rewards plus a $8 thank-you bonus.", "tier_3_friends": "5 friends", "tier_3_reward": "$90 credit", "tier_3_note": "Five rewards plus a $15 bonus, and early access to new offers.", "share_message": "Hi, I have been a customer of Quill Stationery for a while and I like it. Use my code MIA26 to get $15 off your first order of $30 or more.", "brand": "Quill Stationery", "friend_gets": "15", "you_get": "15", "minimum_order": "30", "referrer": "Mia Nakamura", "referral_code": "MIA26", "referral_link": "https://quillstationery.example.com/r/mia26", "expiry": "June 30, 2028", "steps": ["Send your code or link to a friend who has not ordered yet.","Your friend enters the code at checkout and gets the discount at once.","When their first order is delivered, your credit is added to your account."] },
    { "tier_1_friends": "1 friend", "tier_1_reward": "$50 credit", "tier_1_note": "Added to your account when their first order is delivered.", "tier_2_friends": "3 friends", "tier_2_reward": "$175 credit", "tier_2_note": "Three rewards plus a $25 thank-you bonus.", "tier_3_friends": "5 friends", "tier_3_reward": "$300 credit", "tier_3_note": "Five rewards plus a $50 bonus, and early access to new offers.", "share_message": "Hi, I have been a customer of Cedar Street Dental for a while and I like it. Use my code NOAH27 to get $50 off your first order of $150 or more.", "brand": "Cedar Street Dental", "friend_gets": "50", "you_get": "50", "minimum_order": "150", "referrer": "Noah Kowalski", "referral_code": "NOAH27", "referral_link": "https://cedarstreetdental.example.com/r/noah27", "expiry": "June 30, 2028", "steps": ["Send your code or link to a friend who has not ordered yet.","Your friend enters the code at checkout and gets the discount at once.","When their first order is delivered, your credit is added to your account."] },
    { "tier_1_friends": "1 friend", "tier_1_reward": "$40 credit", "tier_1_note": "Added to your account when their first order is delivered.", "tier_2_friends": "3 friends", "tier_2_reward": "$140 credit", "tier_2_note": "Three rewards plus a $20 thank-you bonus.", "tier_3_friends": "5 friends", "tier_3_reward": "$240 credit", "tier_3_note": "Five rewards plus a $40 bonus, and early access to new offers.", "share_message": "Hi, I have been a customer of Blue Harbor Travel for a while and I like it. Use my code AVA28 to get $40 off your first order of $100 or more.", "brand": "Blue Harbor Travel", "friend_gets": "40", "you_get": "40", "minimum_order": "100", "referrer": "Ava Thompson", "referral_code": "AVA28", "referral_link": "https://blueharbortravel.example.com/r/ava28", "expiry": "June 30, 2028", "steps": ["Send your code or link to a friend who has not ordered yet.","Your friend enters the code at checkout and gets the discount at once.","When their first order is delivered, your credit is added to your account."] },
    { "tier_1_friends": "1 friend", "tier_1_reward": "$5 credit", "tier_1_note": "Added to your account when their first order is delivered.", "tier_2_friends": "3 friends", "tier_2_reward": "$18 credit", "tier_2_note": "Three rewards plus a $3 thank-you bonus.", "tier_3_friends": "5 friends", "tier_3_reward": "$30 credit", "tier_3_note": "Five rewards plus a $5 bonus, and early access to new offers.", "share_message": "Hi, I have been a customer of Lakeside Bakery for a while and I like it. Use my code LUCAS29 to get $5 off your first order of $15 or more.", "brand": "Lakeside Bakery", "friend_gets": "5", "you_get": "5", "minimum_order": "15", "referrer": "Lucas Moreau", "referral_code": "LUCAS29", "referral_link": "https://lakesidebakery.example.com/r/lucas29", "expiry": "June 30, 2028", "steps": ["Send your code or link to a friend who has not ordered yet.","Your friend enters the code at checkout and gets the discount at once.","When their first order is delivered, your credit is added to your account."] }
  ]
}'
FAQ

Your Questions Answered

Questions frequently asked about our voucher templates

Download a template, adapt it in Word and upload it to DocuGenerate. Then send your data from a spreadsheet, the API or a no-code tool, and your vouchers are generated automatically. Our guide walks you through every step. Learn more.
Yes. Instead of building each voucher by hand, send your data and every voucher is created with its own code and details, whether you need one or thousands. Learn more.
Yes. Connect your store through Zapier, Make, n8n or Pipedream to generate each voucher and email it to the customer as soon as they pay.
Yes. Add a QR code or barcode tag to your template, and it's generated from the unique voucher code in your data. Learn more.
No. The data is transient. It is used for the merge and then discarded, never written to the logs or the database. The generated vouchers are kept until you delete them.
Yes. Send your voucher data as JSON to the REST API and get the generated voucher back in seconds. SDKs are available for Node.js, Python, PHP, Ruby, Go, C#, Rust and Java, and every plan includes full API access. Learn more.
Sign Up

Start Generating Your Vouchers

Get started with 20 free documents per month and our ready-to-use voucher templates.

Start Generating for Free
  • Free forever plan
  • No credit card required