eCommerce Invoices: Connecting Online Orders with Your Accounting System

13 minutes
, ,
Customer receives an invoice from an adviser at a hardware-store checkout.

Hardware customer and retail adviser check an invoice at the counter.

A customer has paid for an online order, but their accounts team still needs an invoice. Your store sends an order confirmation, the accounting system creates another document, and customer service cannot tell which version to resend. The sale is complete from the shopper’s perspective; the administration is only beginning.

For a retailer selling to both consumers and businesses, this becomes an integration decision. The question is which system creates the financial record, what information the customer needs, and how every later payment, change and credit stays connected.

New Zealand’s taxable supply information rules and growing use of eInvoicing make that distinction particularly useful. A better-looking PDF alone will not resolve duplicate transactions or missing customer details. The process needs to work from checkout through to accounting.

Key Takeaways

  • Choose one system to create the invoice and share its references.
  • Connect customer documents, payments and accounting records without duplicate sales.
  • Work with OSE to plan, implement and support the integration.

Decide which system owns the invoice

Start with one completed order and follow it through your actual systems. Identify the order confirmation, payment receipt, customer invoice, accounting transaction and any eInvoice. These may describe the same purchase, but they perform different jobs. A payment receipt confirms money received; an order confirmation acknowledges the order; neither should be assumed to contain every detail required for the customer’s accounting.

Choose one system to authorise each invoice number and its financial content. That may be the accounting platform, ERP or commerce platform, depending on how the business operates. Other systems can display or distribute the approved document without independently creating another sale.

For a retailer with central finance, several stores and trade accounts, ERP ownership may simplify account statements and credit control. For a simpler operation, a commerce-led process may be appropriate if its accounting connection reliably transfers the agreed transaction. Neither arrangement is automatically better. Assess the actual payment methods, fulfilment stages and finance controls.

Write the decision in plain language: “The ERP creates the customer invoice after this event; the website displays that invoice after confirmation.” Include who can correct it. This gives developers, finance and customer service a shared rule rather than three interpretations of an order status.

Collect the information the customer actually needs

Customer and lighting-store adviser check billing details on a purchase document.

New Zealand replaced the requirement for tax invoices with taxable supply information from 1 April 2023. Retailers can still use the familiar term “tax invoice”. The Inland Revenue guidance on taxable supply information explains the change; it does not mean the underlying GST record-keeping obligation disappeared.

Have finance approve the fields for each sales scenario before redesigning checkout. IRD’s current information requirements vary with the value and type of supply. Its guidance also allows relevant records to work together, rather than requiring everything to exist on one physical document.

Translate those requirements into customer journeys. A household buying a kettle should not have to complete an unnecessary business registration form. A trade customer purchasing for a company may need its correct billing identity recorded separately from the employee collecting the goods. An established account should use approved account details, with a controlled route for changes.

Do not silently treat the delivery recipient as the buying business. Someone may ship an office purchase to their home or arrange collection by a colleague. Give customer service enough context to distinguish a typo from a request to change the legal buyer. Collect only the information needed for the approved process, and restrict access appropriately.

Choose when the invoice is created

An order can be accepted, authorised, paid, partially dispatched and completed at different times. Decide which event triggers invoicing for each supported payment and fulfilment scenario. Finance should approve that timing, including its tax treatment; a developer should not infer it from whichever webhook arrives first.

ScenarioDecision to settleWhat the integration must preserve
Card payment at checkoutWhich confirmed event permits invoice creation?Order reference, payment transaction and issued invoice reference.
Trade order on accountWhen is an approved order invoiced?Account identity, agreed terms and authorised invoice lines.
Split fulfilmentOne invoice or separately invoiced quantities?Which quantities and charges have already been invoiced.
Deposit or pre-orderHow are initial and later amounts recorded?Relationship between the order, payments and approved documents.
Cancellation or returnWhich correction follows an issued invoice?Original document, affected lines and approved adjustment.

The table is a discussion framework, not a tax policy. Ask finance to work through real examples with your implementation team. Include a failed payment, an order edited before dispatch, and a customer who pays an account invoice through a different channel.

For businesses using purchase orders, keep the customer’s purchasing reference distinct from your invoice number. Approval to buy and recognition of the sale are separate steps. OSE’s guide to B2B purchase order approval workflows explores that earlier decision.

Separate customer documents from accounting entries

The most expensive mistake may be creating two records that both represent the same sale. For example, the website might send an invoice while an integration creates a second sales invoice in accounting without linking them. Staff then need to decide whether they are duplicates, related records or different stages.

Agree a reference structure before building the connection. Keep the original commerce order ID, the accounting invoice ID and the payment transaction ID. A document number intended for customers should remain recognisable when customer service searches for it. Avoid matching transactions solely by an email address or total amount.

Preserve line-level meaning as well. Product discounts, shipping, tax, gift cards and payment fees may require different treatment. A gateway payout can cover many orders and include deductions; it should not be mistaken for the value of a single invoice. Finance should approve how these amounts reach the ledger.

Consider a hypothetical order containing a lamp and a chair, with the chair dispatched later. If the business invoices each dispatch separately, the integration must know the lamp quantity has already been invoiced. Replaying the second dispatch must not create the chair invoice twice or invoice the full order again.

Document which differences are expected and which require investigation. This gives finance a usable exception process instead of a spreadsheet of unexplained totals. It also makes the commercial scope clearer: a connector that transfers headers may require additional work to handle your line-level rules.

Give customers a reliable way to retrieve documents

Customer retrieves an order document on a laptop beside a boxed cordless drill.

A successful process should reduce the need to ask customer service for another copy. Decide where an approved invoice becomes available: an email, the customer account, an account portal, or an agreed business channel. Make the reference and document type clear.

The person who placed an order may not be the person who pays it. For business accounts, define who can access invoices and which billing contact receives them. Do not expose an entire company’s documents merely because someone knows an order number. A guest-order retrieval journey also needs appropriate verification.

If the ERP creates the document asynchronously, avoid telling customers an invoice is ready before it exists. Show a truthful status and provide a support route if the expected document does not arrive. Resending the approved invoice should not create a new financial transaction.

Separate delivery problems from accounting failures. An email bounce does not necessarily mean an invoice was never created; a website download error does not mean the sale should be posted again. Customer service needs these distinctions in the interface it actually uses.

Understand where eInvoicing fits

An emailed PDF and an eInvoice are different delivery methods. New Zealand’s government eInvoicing guidance describes structured invoice exchange between financial systems using the Peppol network. This can be relevant when retail customers buy on behalf of businesses or public organisations.

Treat it as another supported route for an approved invoice, rather than a reason to create a parallel sale. The business still needs accurate customer records and a clear relationship between the order and invoice.

The government’s advice for larger businesses highlights the customer’s NZBN in accounting records. Confirm the receiving business and the capabilities of your accounting software or provider before promising this option. An email address is not a substitute for the relevant routing setup.

Decide how delivery status reaches the support team and what happens if the receiving route fails. A customer asking for a PDF copy should receive a copy of the same invoice, not a fresh accounting transaction. Introduce eInvoicing where the customer requirement and system readiness justify it; do not make every consumer checkout more complicated.

Assess the complete Shopify or Adobe Commerce workflow

A platform feature list is only the starting point. Demonstrate the actual sequence from checkout to the customer document and accounting record using your store configuration, payment methods and integration.

For Shopify, review the order notifications, any document-generation app, customer account experience and accounting connector together. Confirm which component creates the numbered invoice, how it obtains approved billing details, and what happens after an order changes. A template can improve presentation, but it does not establish transaction ownership or prove that the accounting entry is correct.

Adobe Commerce has its own invoice lifecycle. Adobe’s invoice documentation describes multiple invoices for one order and printable PDF documents, with invoicing behaviour connected to payment configuration. If an ERP also invoices, agree how those records relate before enabling automation.

Ask an implementation partner to show partial quantities, discounts, failed transfers and corrections, not simply a successful full-price order. Identify what is native, what depends on an app or extension, and what needs integration work. Include ongoing licensing, monitoring and support responsibilities in the proposal.

For trade orders, an available payment term does not necessarily mean the customer is permitted to place another order. Keep invoice generation separate from the account decisions discussed in OSE’s guide to credit limits and account holds.

Handle corrections without losing the original transaction

Homewares customer discusses a credit document with a retail adviser beside a boxed mixer.

After an invoice is issued, a return or price adjustment needs an agreed correction process. Avoid allowing staff to overwrite historical documents independently in several systems. Preserve the relationship between the original sale and the authorised adjustment.

New Zealand’s supply correction information guidance explains the relevant record requirements. Have finance decide the correct treatment for your scenarios, then build the corresponding customer documents and integration rules.

A correction and a refund are related but distinct. One changes the financial record; the other moves money. Do not assume that successfully creating a credit proves the customer received a refund, or that a gateway refund automatically updated accounting. OSE’s refund reconciliation guide covers that wider process.

Keep document reprints distinguishable from newly issued adjustments. Customer service should be able to explain the original amount, the correction and the remaining balance without reconstructing the purchase from several inboxes.

Make failures recoverable before launch

Design for a transfer that succeeds in accounting but times out before the website receives confirmation. Retrying must look up or reuse the original transaction reference rather than blindly creating another invoice. The same principle applies when a queued message arrives more than once.

Give staff a clear exception view: which order is affected, whether the invoice exists, what information is missing, and who owns the next action. Set an escalation threshold appropriate to your operating hours and customer promises. Avoid repeatedly retrying a rejected customer account without fixing the cause.

Reconcile business outcomes as well as technical responses. Check that expected orders have their approved documents, that invoice amounts and lines agree, and that related payment records are accounted for. A successful API response alone cannot answer all those questions.

Agree a recovery procedure with finance and customer service. Include permission to resend a document, permission to replay a transfer, and situations requiring finance approval. For broader failure handling, see OSE’s guide to recovering failed commerce integrations.

Turn the plan into a working integration with OSE

OSE can help define the workflow with your finance and retail teams, then implement the commerce and integration work through our eCommerce systems integration services. That includes selecting document ownership, mapping customer and transaction fields, configuring the store experience, connecting systems and testing the agreed scenarios.

Start with a representative sample of orders rather than an assumption that every sale is identical. Include consumer and trade purchases, different payment methods, split fulfilment, cancellations and corrections. Agree acceptance criteria in terms the business can verify: one intended transaction, correct document details, appropriate access and a recoverable failure process.

Roll out to a controlled scope with named owners for support and reconciliation. Measure document-related enquiries, missing invoices, duplicate transactions and time spent resolving exceptions against a recorded baseline. These measures can show whether the change helped; they are not guaranteed improvements.

If your team is repeatedly re-entering orders or explaining conflicting invoices, talk to OSE about planning and delivering the integration. Bring examples of the documents and systems involved, with sensitive customer information removed. The objective is a process customers can use and finance can trust, supported by a team that can carry the plan through implementation.

Frequently asked questions

Does an order confirmation count as an invoice?

Not automatically. An order confirmation acknowledges a purchase, while an invoice and payment receipt serve different purposes. Whether a record supplies the required information depends on its content and the transaction. Ask finance to approve the information and document types used in your store.

Should the website or accounting system create the invoice?

Choose ownership based on your operating model. Central finance and trade-account processes may favour ERP or accounting ownership; a simpler store may use a commerce-led workflow. Whichever system creates it, retain shared references and prevent another system from posting the same sale independently.

Is a PDF invoice the same as an eInvoice?

No. A PDF is a human-readable document. Peppol eInvoicing exchanges structured invoice information between financial systems. A business may provide a PDF copy alongside an eInvoice, but both should refer to the same authorised invoice rather than create duplicate sales.

Can Shopify or Adobe Commerce connect invoices to accounting?

Both can form part of an integrated process, but the result depends on the selected connector, configuration and business rules. Verify customer details, partial invoicing, payments, corrections and failure recovery in your actual setup. Document generation alone does not demonstrate a complete accounting integration.

Can OSE plan and implement the invoice integration?

Yes. OSE can work with finance and retail teams to define the workflow, then deliver the commerce configuration, customer experience and systems integration. Your finance adviser approves accounting and tax treatment; OSE implements and tests those agreed requirements and can support the process after launch.