Skip to article
auto·printerHelpSystem status
All help articles

Let customers download invoices as PDFs

Updated · 10 min read

On this page

Customer documents lets your customers download their invoice as a PDF, made with the same template you print for that order. They get it from a download link in your order confirmation email and from a Download button on the Thank you page and the Order status page. With Shopify's new customer accounts, the Order status page is also the customer's order page, so signed-in customers see the button there too. You can offer a return slip and a gift receipt too.

Customer documents works on every plan. While it's on, each new order counts once toward your monthly order limit, even if you also print it. See How orders count.

Turn on customer documents#

  1. Open Settings and choose the Customer documents tab.
  2. Turn on Let customers download their own invoices, return slips and gift receipts.
  3. Autoprinter asks you to confirm first, because every new order then counts once toward your monthly order limit, even if the customer never downloads anything. The dialog shows how many orders you've used this month. Click Turn on.
  4. Under Which documents can customers download?, choose what to offer: Invoice (on to start), Return slip and Gift receipt. Customers get the same template you'd print, on Letter or A4 paper.
  5. To leave in-store sales out, check Skip POS orders. See Skip POS orders.

Changes in this card save automatically. One link covers every document you choose, so if you change the list later, your emails don't need editing.

If neither your default invoice nor an invoice picked by a Print Rule is turned on and set to Letter or A4 paper, the card says Customers can't download an invoice yet. In Templates, make a Letter or A4 invoice your default, or point an invoice Print Rule at one.

  1. In the Customer documents card, click Copy code.
  2. In Shopify admin, go to Settings > Notifications > Customer notifications > Order confirmation, then click Edit code.
  3. Paste the code where you want the link, for example under the order summary, then click Save.
Example interface
Order confirmation email · Edit code
1. In Shopify admin, open Settings, Notifications, Customer notifications, Order confirmation, then click Edit code. 2. Paste the code under the order summary. 3. Click Save. The preview shows the new download link. This editor and its email are an example; your template's code will differ.Scroll across the illustration to see the full view.

Your next order confirmation email includes the link. The code looks like this:

{% assign ap_sig = order.id | append: "" | hmac_sha256: "YOUR_KEY" %}
<p><a href="https://app.autoprinter.app/d/YOUR_STORE/{{ order.id }}?s={{ ap_sig }}">Download your invoice (PDF)</a></p>

Settings fills in your store and your private link key, so always copy the code from Settings, not from this page.

The words between > and </a> are the link your customer sees. They start out in your document language, and you can change them in the email editor. Leave the rest of the code as it is.

Shipping confirmation (optional). To put the link in your shipping emails as well, paste the same code into Shipping confirmation the same way.

Note: the code contains your store's private link key. Paste it only into your Shopify email templates.

Add the Download button to your order pages#

You add the button once, in Shopify's checkout editor:

  1. In the Customer documents card, click Open checkout editor. In Shopify admin, that's Settings > Checkout, then Edit.
  2. Choose the Thank you page, click Add app block, pick Autoprinter, then click Save.
  3. Do the same on the Order status page.
Example interface
Thank you page · Download button
The Download button under the order confirmation on a store's Thank you page. It says Download invoice when the invoice is the only document you offer, and Download documents otherwise. The store and order are an example.Scroll across the illustration to see the full view.

The button says Download invoice when the invoice is the only document you offer, and Download documents otherwise. It opens in a new tab.

Customer accounts. With Shopify's new customer accounts, the Order status page is also the customer's order page, so signed-in customers see the button there once you've added it. Shopify's legacy customer accounts don't show it; those customers use the email link.

The button checks the order's confirmation number before it shows a link, so a link only appears on that order's own pages. Right after checkout it can take a few seconds to appear.

See what your customers get#

Click Preview customer link in the card. It opens the download page for the most recent order customers can download, in a new tab, so you can check it before you change any email. Before your first order with Customer documents on, the card says the preview appears after your next order.

The page shows your logo or store name, the order number and date, and a row for each document with Download PDF and View. It uses the language you chose in Settings → Language and format, like your printed documents.

If a PDF can't be made at that moment, your customer sees a page asking them to try again in a minute.

How orders count#

While Customer documents is on, each new order counts once toward your monthly order limit when it comes in, whether or not your customer downloads anything:

  • Once, ever. An order you also print, or whose shipping label you print, still counts once. An order already counted in an earlier month never counts again.
  • Test orders count like any other order while Customer documents is on, so trying the email with a test order uses one order of your allowance.
  • Skipped POS orders don't count for Customer documents while Skip POS orders is on. They still count if you print them, for example with Automatic Printing, Auto Print Chain or Shopify Flow.
  • Past your limit, the link and the button still show, but your customer is asked to contact you. See When customers are asked to contact you.

Orders that came in while Customer documents was off aren't counted by it. See the Billing FAQ for how the monthly order limit works.

Skip POS orders#

Check Skip POS orders in the card to leave in-store Shopify POS sales out. New POS orders are then not made downloadable, so Customer documents doesn't count them, and their links ask the customer to contact you. POS orders that were already made available stay available.

This is separate from Skip POS orders under Settings → Printing → Automatic Printing, which decides whether POS orders print automatically. A POS order you print still counts once for printing.

When customers are asked to contact you#

Whether an order's documents can be downloaded depends on whether Customer documents made that order available, usually when it came in, not on your settings today. For an order that wasn't made available, the link and the button open a page that says the document isn't available online and asks your customer to contact your store for a copy. The page never says why. An order isn't made available when:

  • it came in while Customer documents was off, or before you turned it on;
  • it is a POS order that came in while Skip POS orders was on;
  • it came in after you reached your monthly order limit.

If a customer opens the link within 3 days of the order, Autoprinter checks again then. If Customer documents is on, the order isn't a skipped POS order and you have room in your monthly allowance, the order becomes available and counts then.

Separately, an order Shopify doesn't let Autoprinter read opens a page that names your store and asks your customer to contact you. See Older orders.

Which template customers get#

Customers get the template you would print for that order:

  • Print Rules pick it. Your rules for that document are checked top to bottom and the first match wins. If no rule matches, customers get your default template for that document. The Print Station on a rule doesn't matter here.
  • One document of each type. Even if your Print Chain prints every matching rule, customers get one of each document, from the first matching rule.
  • Letter and A4 only. If the chosen template uses 4×6 label or receipt paper, customers get your default template when it is Letter or A4. Otherwise that document isn't offered for the order.
  • Split orders get one document. An order that ships from more than one location gets one invoice, return slip or gift receipt for the whole order, even if you print one for each location. Rules that use Fulfillment Location match only orders that ship from one location.

If no document is available for an order, the page says so and asks the customer to contact your store.

See Print Rules to set up rules and test them on a real order.

Documents show the order as it is today#

Each document is made when your customer opens it, from the order as Shopify has it at that moment. If you edit or refund the order, the next download shows the change. The download page says so, and Autoprinter doesn't keep a copy of the document.

Older orders#

Once you approve Autoprinter's updated permissions, customers can download documents for any order Customer documents counted, however old. Shopify shows the prompt when you open Autoprinter. Until you approve, an order older than about 60 days opens a page that names your store and asks your customer to contact you for a copy. The same page appears if the order was deleted.

Logos and images hosted outside Shopify#

Customer documents show only images stored on Shopify, such as a logo from your Shopify brand settings, a logo you uploaded to Shopify, and product images. An image hosted anywhere else, such as a logo on your own website or a QR code from an online generator, is left out of your customer's copy. Your printed documents are not affected.

Barcodes and QR codes made by Autoprinter's own template helpers are part of the document, so they always appear.

To show your logo on customer documents, use a logo stored on Shopify in Settings → Branding. Re-sync from Shopify brings in your Shopify brand logo. See Branding and tax ID.

The code in the card holds your store's private link key. Reset it only if the code was shared somewhere it shouldn't be, for example pasted into a public page or sent to someone by mistake. You don't need to reset when you change your email or your list of documents.

To reset, click Reset customer links at the bottom of the card, then Reset links. Then:

  • Download links in emails you've already sent stop working. Customers who open one see a page saying "This link isn't valid".
  • Paste the new code right away. Copy the new code from the card and paste it into Order confirmation, and into Shipping confirmation if you added it there, in place of the old code.
  • The Download button keeps working on its own. It gets the new link the next time its page loads, so there is nothing to change in the checkout editor.

Turn it off#

Turn off Let customers download their own invoices, return slips and gift receipts to stop all downloads. Turning it off doesn't ask first. Links in emails you've already sent then open a page saying the link isn't valid. The Download button stops appearing on the Thank you and Order status pages the next time they load. Turn it back on and documents for orders that were made available work again, unless you reset your links in between. Orders that came in while it was off ask customers to contact you.

To stop offering one document, uncheck it in the list. It disappears from the download page for every order.

If you uninstall Autoprinter, the links and the button stop working.

Need help? Use Need help? inside the app or email support@autoprinter.app.

Did this help?

Still stuck?

Use the Need help? button inside Autoprinter, or email support@autoprinter.app. Average response time: one business day.

Related articles

  • Print Rules

    Automatically choose the right template for each order based on its tags, channel, and more.

  • Branding & Tax ID

    Set logos, colors, brand intensity, tax ID, and the language and format of your printed documents.

  • Print documents in another language

    Print built-in packing slips, invoices and other documents in English, French, German, Spanish, Dutch or Italian, with local dates, prices and addresses.