How Do I Email a PDF Invoice to Customers Automatically After Each Order?

How Do I Email a PDF Invoice to Customers Automatically After Each Order?
Quick answer: You email a PDF invoice automatically by connecting an order event in your store to a document tool that renders the invoice and sends it the moment the trigger fires. The invoice pulls live order data (items, totals, tax, shipping address), renders as a branded PDF, and lands in the customer's inbox without anyone clicking anything. You set the trigger once, usually on payment or on fulfillment, and the rest runs on its own. Most stores get this live in an afternoon and never touch it again.

How Automatic Invoice Emails Actually Work

An automatic invoice email is three small parts wired together: a trigger, a template, and a delivery step. The trigger is an order event. The template is your invoice layout. Delivery is the email that carries the PDF.

When a shopper checks out, your store records the order with everything the invoice needs. Line items, quantities, unit prices, discounts, tax, shipping method, billing address, and an order number. That record is the only source of truth the document needs, which is why nothing has to be typed in twice.

The document tool listens for the event you picked, merges that order data into your template, and renders a PDF. Then it attaches the file to an email and sends it to the address on the order. For merchants running on OpoShop, that whole loop finishes in seconds, and the customer sees a finished document rather than a plain text receipt.

The important mental shift is that you are not writing invoices anymore. You are defining what an invoice looks like once, then letting order data fill it in forever.

Which Order Event Should Trigger the Email

Picking the trigger is the one decision that actually matters, and it depends on when the customer expects a document. There are three sensible options and one that causes support tickets.

  • On payment captured: The invoice sends as soon as money clears. Best for stores where customers need a tax document immediately, especially business buyers.
  • On fulfillment: The invoice sends when the order ships, so it arrives alongside the shipping notification. Good for made-to-order or slow-dispatch stores.
  • On order completion: The invoice sends after delivery or after the order is marked complete. Useful for stores with frequent pre-shipment edits.
  • On order created, before payment: Avoid this one. An unpaid order can change, and sending a document that later becomes wrong is worse than sending nothing.

Here is a concrete example. A store sells a $180 bundle with a $12 flat shipping rate. If the invoice fires on payment, the customer gets a $192 total document while the package is still on the packing bench. That is exactly what a business buyer submitting an expense report wants.

Now flip it. A print-on-demand store where 1 in 20 orders changes size or color before dispatch will send fewer wrong documents by firing on fulfillment. The order is frozen by then. Both approaches are correct, they just fit different businesses. Plenty of OpoShop merchants run payment triggers for one product line and fulfillment triggers for another.

What Belongs on an Automatically Sent Invoice

An automatic invoice has to be complete on the first try, because nobody is reviewing it before it goes out. That raises the bar on what the template includes.

Start with the legal and accounting basics: your business name, address, and any tax or registration number your country requires. Add a unique invoice number, the invoice date, and the order number so the customer can match the document to their purchase.

Then the money. Itemized lines with quantity and unit price, a subtotal, discounts shown as their own line, shipping, tax broken out separately, and a clear grand total. Business buyers care about tax being visible on its own line more than almost anything else, because that is the number their bookkeeper needs.

Finish with the human parts. Payment method and payment status (a big "Paid" mark saves you emails), the shipping address, your support email, and a short return policy line. A customer who can answer their own question from the PDF never opens a ticket.

None of that requires design work. Every field already exists on the order record in your OpoShop store, so the template is really just deciding what to show and where to put it.

How to Set Up Automatic Invoice Emails Step by Step

The setup is short if you do it in the right order. Build the document first, then wire the trigger, then test with a real order before turning it loose on customers.

1
Build the invoice template
Add your logo, business details, tax number, and the line item layout you want customers to see on every order.
2
Choose the trigger event
Decide whether the invoice sends on payment, on fulfillment, or on completion, and set that as the only automatic send.
3
Write the email that carries it
Keep the subject line specific (order number plus the word invoice) and the body to two short sentences.
4
Send yourself a live test order
Place a real order at a low price, confirm the PDF renders correctly, and check it on a phone as well as a desktop.
5
Turn it on and spot-check the first week
Watch the first few real sends, confirm delivery, and adjust the template once rather than tweaking it every day.

Three of those steps deserve more detail.

1. Build the template before you touch automation

Most failed setups start with automation and end with a document nobody proofread. Do it backwards. Design the invoice, render it against a real past order, and print one copy on paper.

Check the alignment of the totals column, make sure long product titles wrap instead of truncating, and confirm your logo is sharp rather than a stretched thumbnail. A template that survives your ugliest product name will survive everything else.

2. Write an email that gets opened

The email is not decoration. If the subject line reads "Your document," it gets ignored. If it reads "Invoice for order #1042," it gets found six months later when the customer searches their inbox.

Keep the body short. Thank them, say the invoice is attached, and give one support address. Anything longer buries the attachment. For merchants selling through OpoShop, this email is often the second thing a new customer reads from your brand, so the tone matters more than the length.

3. Test with a real order, not a preview

Previews use tidy sample data. Real orders have three line items, a discount code, a partial refund, and a customer whose name has an accent in it. Place a genuine low-value order and let the full flow run.

Then test the edge cases you actually see: a multi-quantity line, a free shipping order, and an order with no discount at all. If those three render cleanly, you are ready.

Set up automatic invoices

Automatic Invoices vs Manual PDFs vs Plain Order Confirmations

Three approaches show up in most stores, and they are not interchangeable. One scales, one burns hours, and one is not really an invoice at all.

ApproachBest forWhy it worksWatch-out
Automatic PDF invoiceAny store past roughly 10 orders a daySends instantly, renders identically every time, and costs no daily laborTemplate errors go out at full volume, so test before enabling
Manual PDF on requestVery low volume or highly custom B2B dealsFull control over each document and easy to add bespoke termsRoughly 3 to 5 minutes per invoice, and requests arrive at the worst times
Plain order confirmation emailCasual consumer purchases with no accounting needFree, built in, and requires zero setupNot a document customers can file, forward, or expense

Automatic PDFs win for almost every growing store because the labor curve is flat. Whether you ship 8 orders or 800, the work is the same amount of nothing.

Manual PDFs still have a place. If you close five wholesale deals a month with negotiated terms, writing those by hand is fine and arguably better. The mistake is running manual documents at retail volume, where 40 orders a day quietly becomes three hours of admin a week.

Plain confirmations are useful, just not as invoices. They live inside an email body, they cannot be attached to an expense claim, and they rarely carry a tax breakdown. Sending both is the common setup for many OpoShop stores: the confirmation reassures the shopper, the PDF serves the paperwork.

Mistakes That Break Automatic Invoice Emails

Automation fails quietly. The email either does not arrive or it arrives wrong, and you find out weeks later from an annoyed customer.

The first mistake is sending from an address nobody monitors. A no-reply sender invites deliverability problems and guarantees that a customer's reply about a wrong address disappears into nothing. Send from a real, monitored inbox.

The second is duplicate invoice numbers. If two orders share a number, your accountant will find it eventually and it will not be a good day. Invoice numbers must be sequential and unique, generated by the tool rather than typed by a person.

The third is ignoring refunds and partial refunds. An invoice showing $192 paid when you refunded $40 last week is a document that contradicts your own records. Decide early whether refunds trigger a corrected document or a separate credit note.

The fourth is a template that only looks good on your screen. Customers open PDFs on phones, forward them to accountants, and print them on old office printers. Test all three. A layout with a heavy dark background eats toner and looks awful on paper.

The fifth is letting the attachment balloon in size on every single OpoShop order you process. A 6MB logo turns every invoice into a heavy email that some corporate filters reject outright. Compress your logo once and the problem disappears permanently.

What We Recommend for Store Owners

Trigger on payment for standard retail orders, keep the template plain and complete, and send from a monitored address. That combination covers most stores without any clever configuration.

Three practical defaults worth copying:

  1. One invoice per order, sent within a minute of payment, attached as a PDF rather than linked.
  2. A subject line that contains the order number so the document is searchable forever.
  3. A single template that handles every product line until you have a real reason to split it.

Split templates later if wholesale and retail genuinely need different terms. Splitting on day one usually means maintaining two documents that drift apart and both go slightly stale.

If you sell internationally, add your tax or business registration number now rather than after the first customs question. It costs nothing to include and saves a scramble later. Merchants running international orders through OpoShop tend to find that one field prevents more support emails than any other change.

Best answer: Email PDF invoices automatically by choosing one order trigger (payment for most retail stores, fulfillment for made-to-order), building a complete branded template with itemized totals and a separate tax line, and sending it from a monitored address. Test with a real order in your OpoShop store before you enable it, then leave it alone.

If invoicing still involves opening a design tool, that is the part worth removing first.

Automate your order documents

FAQs

When should the invoice email be sent after an order?

For most retail stores, send it as soon as payment is captured, because that is when the customer expects proof of purchase. Stores where orders change frequently before dispatch do better sending on fulfillment, since the order details are final at that point.

Should the invoice be attached as a PDF or linked?

Attach it. A PDF attachment can be saved, forwarded to an accountant, and filed by the customer without depending on a link that might expire. A download link is a reasonable extra, but it should not replace the attachment.

Do I need a separate invoice number from the order number?

Yes, in most cases. The order number identifies the purchase in your store, while the invoice number is a sequential accounting reference. Keeping both on the document lets customers and bookkeepers match records without guessing.

What happens if a customer's email address is wrong?

The send fails and the invoice never arrives, which is why sending from a monitored address matters. Check bounce notifications weekly, correct the address on the order, and resend the document manually for that one customer.

Can I automatically send invoices for past orders?

Usually yes. Most document tools can generate a PDF from any historical order on demand, so a customer asking for a receipt from three months ago gets one in seconds rather than a rebuild from scratch.

Will automatic invoices work for both consumer and business customers?

They will, as long as the template includes an itemized breakdown, a separate tax line, and your business registration details. Business buyers need those fields for expense claims, and including them by default costs consumer customers nothing.

Ready to stop building invoices by hand? Wire the document to the order and let it send itself.

See how it works

Ready to dive in?

Learn more