Skip to content

How to Retrieve an Invoice

What This Task Does

This task helps you find and download the right invoice from either the shopper My Account flow or the admin side of the product.

Before You Start

Make sure:

  • the order or fulfillment has already reached a state where an invoice exists
  • you know whether you are retrieving the invoice for a shopper or for internal operations
  • you understand that some invoice types are not surfaced in the shopper UI

Steps

  1. Decide which surface you need:
    • My Account > Orders for shopper-facing retrieval
    • admin order or fulfillment workflow for operator-facing retrieval
  2. If you are in the storefront:
    • open My Account > Orders
    • find the order
    • click Download invoice when the button is available
  3. If you are in admin:
    • open the order or fulfillment you need
    • use the invoice download or invoice email action exposed by your project
  4. If the invoice is still missing, confirm whether:
    • the fulfillment already has an invoice
    • the invoice-producing event has completed
    • the invoice belongs to a more internal flow such as a return or refund

What Happens Next

After the invoice is retrieved:

  • the shopper or operator can review the billing document
  • accounting or customer service can continue with the right document
  • related fulfillment or refund questions are easier to resolve

Common Mistakes

  • Expecting every order to have an invoice before any fulfillment is invoiced.
  • Looking for a shopper-facing invoice when the billing event is internal only.
  • Confusing a consolidated invoice output with a standard single-invoice record.

Sources

  • packages/framework/src/Http/Controllers/Api/Storefront/OrdersController.php
  • packages/framework/src/Http/Controllers/Api/Admin/FulfillmentsController.php
  • packages/framework/src/Http/Controllers/Api/Admin/InvoicesController.php
  • packages/storefront/resources/views/components/my-account/orders/data-table/row/header.blade.php