Invoices and receipts
This page is for owners and whoever does the bookkeeping. It explains what the shop gives your customers as a record of an order, what it does not do, and how to handle invoice requests in a running store. The receipt feature is described on Permanent order receipts.
Note
Not tax advice. Whether a receipt is enough, or what an invoice must contain, depends on the law that applies to you. Ask your tax adviser.
What the shop gives your customers
| Record | Where | Lasts |
|---|---|---|
| The order page after checkout | The browser | Until the visitor leaves |
| The order confirmation mail | The customer's inbox | As long as they keep it (Order confirmation mail) |
The order view, shop/orderview/<id> | The site | For guests, only until their browser session expires |
The permanent receipt, shop/orderreceipt/<token> | The site | Without end, on any device, with or without an account |
The permanent receipt is switched on with settings/shop.ini [OrderViewSettings] OrderLinkView=orderreceipt (shipped
value orderview). It offers Print, which prints the receipt alone, and Download, a self-contained
receipt-<number>.html file (Permanent order receipts).
Tip
If guests can buy in your store, ask your partner to switch the permanent receipt on. It removes most "I lost my order" calls.
What the shop does not do
Invoices in an accounting system are among the things the shop leaves to an extension or an integration
(Running a shop: overview). The views of the shop module
(kernel/shop/module.php) include no invoice view or invoice
numbering, no credit notes and no export of orders to a spreadsheet file
(What the built-in shop does).
Handling invoices in practice
| Your situation | A common approach |
|---|---|
| Your adviser says the receipt is enough | Keep the receipt link on; nothing else to do |
| You need invoices for some customers (businesses) | Create them in your accounting software from the order view, on request |
| You need an invoice for every order | Ask your partner for an integration with your accounting software |
| You need monthly figures for the bookkeeper | Store > Product statistics per month (Store reports) |
Whatever you choose, write down who creates invoices, from which data, and how fast you answer a request.
Receipt requests from customers
| Request | Answer |
|---|---|
| "Send me my receipt again" | Copy the receipt link from the order and send it, or forward the order mail from the shop's copy |
| "My receipt shows the wrong address" | Agree how corrections are made; the receipt shows the order as it was placed |
| "I need an invoice with our VAT number" | Follow your invoice routine above |
| "Who can see my receipt?" | Anyone holding the link; the footer says to keep it private (Permanent order receipts) |
The receipt secret
Receipt addresses are signed with shop.ini [OrderReceiptSettings] Secret. Changing the secret changes every receipt
address, so links in old mails stop working (Order receipts and confirmation mail for businesses).
- To do: Your partner has set it once, outside the shipped settings file, and recorded it with your other secrets.
- To do: Nobody changes it as part of a routine update.
Related pages
- Order confirmation mail
- Permanent order receipts
- Order receipts and confirmation mail for businesses
- Store reports
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.