How to Automatically Create Hundreds of Addressed PDF Invoices
Question details
The user needs to generate approximately 300 personalized PDF invoices by pulling varying customer address data from a structured file, avoiding manual data entry.

- Product
- PDF / Word Processing
- Device & OS
- not provided
- Scenario
- Automating the creation of multiple individualized invoices based on a single template and a customer database spreadsheet.
- Observed behavior
- The user requires an efficient mail merge workflow to combine external address data into a PDF invoice format to create hundreds of individual files easily.
Ensure your customer data is organized properly in a spreadsheet, with clear column headers such as 'Name', 'Address', and 'Invoice Amount' before starting the merge process.
Use the Mail Merge Feature in Word and Export to PDF
The most common and reliable method is to use Microsoft Word (or a compatible word processor) to perform a mail merge with an Excel data file, then export the combined result as a PDF.
While PDF editors can combine files, performing a large-scale database merge directly inside a PDF is complex and typically requires expensive add-ons. Using a word processor for the merge and then converting to PDF is much simpler.
Open Excel, list your customer addresses and invoice details in structured columns, and save the file to an easily accessible location.
Open a new Word document and create your standard invoice layout, leaving blank spaces where the customer-specific data will go.
Go to the 'Mailings' tab on the top ribbon, select 'Start Mail Merge', and choose 'Letters' or 'Directory' depending on your formatting preference.
Click 'Select Recipients', choose 'Use an Existing List', and browse your computer to select the Excel file you saved earlier.
Place your text cursor where a specific piece of data (like the customer's name) should appear, click 'Insert Merge Field', and select the corresponding column header from your spreadsheet.
Click 'Finish & Merge' to generate the populated documents. You can then go to 'File', select 'Export' or 'Save As', and choose 'PDF' to save the entire batch of invoices as a single PDF or print them to a PDF printer to save individually.

Use Specialized PDF Mail Merge Add-ons
If your invoice template is already a fillable PDF form, you can use specialized third-party plugins designed for PDF editors to perform a mail merge directly.
Automate Your Invoices with WPS Mail Merge
WPS Office provides a powerful, built-in Mail Merge feature in WPS Writer that seamlessly integrates with WPS Spreadsheets. You can easily generate hundreds of personalized invoices and export them directly to PDF without needing expensive third-party PDF add-ons.
- 1. Create an Invoice Template: Open WPS Writer and design your base invoice template exactly how you want it to look.
- 2. Connect WPS Spreadsheets Data: Navigate to the 'References' tab, click 'Mail Merge', then 'Open Data Source' to load your spreadsheet containing customer addresses.
- 3. Insert Merge Fields: Click 'Insert Merge Field' to place dynamic placeholders for names, addresses, and amounts directly into your template.
- 4. Merge and Export to PDF: Click 'Merge to New Document' to generate all invoices, then go to 'Menu' > 'Export to PDF' to save your hundreds of invoices as a finalized PDF document.

Frequently Asked Questions
Can I email the generated PDF invoices automatically to my customers?
Yes, if you use the Mail Merge feature with a properly configured default email client (like Outlook), you can select 'Merge to E-mail' (or 'Send E-mail Messages' in the Finish & Merge menu) to send the invoices directly to the email addresses listed in your spreadsheet.
Why is it difficult to perform a mail merge directly in standard PDF editors?
Most standard PDF editors are designed for fixed document layouts and do not have built-in database connectivity for dynamic data population. Word processors paired with spreadsheets are natively built to handle variable data, making them the preferred route for mail merges.
Can I use a CSV file for my customer address data?
Yes. Mail merge features in both standard Word processors and WPS Office fully support CSV (Comma Separated Values) files as a valid data source, along with standard Excel spreadsheets (.xls, .xlsx) and text files.
How do I save each merged invoice as a separate PDF file?
By default, word processors generate one large document containing all invoices. To save them as separate PDFs, you can use specialized split-PDF tools after exporting, or utilize a mail merge macro/add-in specifically designed to 'Merge to Individual PDFs'.




