Skip to content

Purchase Order Template

Purchase order PDF template for mail merge — one PO per order number from your spreadsheet, with line items that grow to fit, totals, and page numbers.

Updated

Purchase Order Template for Mail Merge

A professional purchase order template designed for bulk generation with Mergram. Upload your PO PDF, connect your procurement spreadsheet, and generate hundreds of purchase orders in a single batch. Whether you issue POs daily, weekly, or for large project bids, this template eliminates the repetitive work of creating individual purchase orders by hand.

When to Use This Template

This purchase order template is ideal whenever you need to produce a high volume of POs that share the same layout but contain different vendor and order data. Common scenarios include:

If your procurement team currently copies vendor details into the same PO layout for every order, this template will save hours of manual work.

Template Fields

FieldDescriptionExampleSpreadsheet Column
PO NumberUnique purchase order IDPO-2025-0347po_number
PO DateIssue dateMarch 10, 2025po_date
Vendor NameSupplier or vendor companyApex Materials Inc.vendor_name
Vendor AddressVendor mailing address789 Industrial Blvd, Dallas, TXvendor_address
Buyer NameYour company nameMergram Corpbuyer_name
Buyer AddressYour billing/shipping address100 Main St, San Francisco, CAbuyer_address
Item descriptionOne line per row, laid out by a repeat blockSteel Rods, 12 mm, galvanizeditem_description
QuantityUnits ordered on that line200quantity
Unit pricePrice per unit$20.00unit_price
Line totalQuantity × unit price, from a spreadsheet formula$4,000.00line_total
SubtotalSum of line totals — a Sum field, or a column$4,000.00subtotal
TaxTax amount$400.00tax
ShippingShipping or freight cost$150.00shipping
TotalGrand total$4,550.00total
Payment TermsPayment conditionsNet 30payment_terms
NotesSpecial instructionsDeliver to Dock B before noonnotes

Field Mapping Guide

Field mapping connects each spreadsheet column to a specific position on the PO PDF. Here is how to set it up:

  1. Prepare your spreadsheet — Each row is one line item, and every line of the same order repeats its po_number, vendor, and buyer columns. Column headers should match the field names above (e.g., po_number, vendor_name). Mergram’s fuzzy matching will suggest the closest field if your headers differ.
  2. Place fields on the canvas — Drag each field from the sidebar onto the PDF at the exact position where the data should appear. Resize fields to control text wrapping and alignment.
  3. Add a repeat block for the line items — In the Repeat Block tab, click Add repeat block, cover the item table with it, and drag item_description, quantity, unit_price, and line_total into the first slot. Under One PDF per, choose po_number.
  4. Add totals — Under Totals, pick line_total and drag a Sum field next to the Subtotal label. It prints once, on the PO’s last page.
  5. Choose render types — Most fields use plain text. Use the barcode type for PO numbers if you scan orders in your warehouse. Use the QR code type for linking to internal approval portals.
  6. Preview before merging — Click Preview to render the first PO with all its lines. Verify that the item table, totals, and page breaks look right.

Tip

Keep vendor information in a separate reference sheet and use spreadsheet lookup formulas (VLOOKUP, INDEX/MATCH) to populate vendor fields automatically. This ensures consistent vendor data across all POs.

Customization Tips

The visual appearance of your purchase orders is entirely controlled by your PDF template. Mergram overlays dynamic data onto the PDF without altering the underlying design:

Info

If you issue POs with different payment terms per vendor (Net 15, Net 30, Net 60), include a payment_terms column in your spreadsheet. Place the field prominently on the template so vendors see terms at a glance.

Best Practices

Get Started

For every repeat block setting, see repeat blocks and grouped merge. The bulk invoices guide uses the same line-item setup.

Upload any purchase order PDF and start merging at Mergram. Connect your procurement spreadsheet, place your fields, and generate your first batch of POs in minutes.

Key features

Bulk PO Generation

Generate dozens or hundreds of purchase orders from a single spreadsheet

Custom Branding

Upload your company logo and use custom fonts

Email to Vendors

Send POs as PDF email attachments with merge tags

Filename Templates

Auto-name files: PO-[[po_number]]-[[vendor_name]].pdf

Frequently asked questions

Can I use my own purchase order design?
Yes! Upload any PDF purchase order layout. You can also import designs from Canva directly into Mergram.
Does Mergram calculate line item totals and shipping?
Mergram adds up the lines for you. With a repeat block, a Sum field totals a column such as line_total over every line of the PO and prints it once, on the last page. Per-line math (quantity × unit price), tax rates, and shipping rules still belong in your spreadsheet.
Can I include approval signatures on POs?
Yes. Add a signature column to your spreadsheet with image file names, then upload the signature images to a media album. Map the field as an image type on the canvas.
How do I handle multiple line items per PO?
Put one line item per spreadsheet row and repeat the PO number on each row. Add a repeat block over the item table, design one line in its first slot, and set One PDF per to po_number. Each PO lists its own lines and continues onto extra pages when it runs long.
What if some item descriptions are much longer than others?
Set the repeat block's height to Grow to fit text. A line whose description wraps gets taller and pushes the next lines down, like a table, and a line is never split across pages.
Can I email POs directly to vendors?
Yes! Configure SMTP settings in Mergram and use email campaigns to send each PO as a PDF attachment to the corresponding vendor email address.

Ready to try it yourself?

Start merging PDFs in minutes — free account required, no credit card needed.

Related articles