> ## Documentation Index
> Fetch the complete documentation index at: https://spreecommerce.org/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Spree 6 (v6.x) is the current version. Pages with /v5/ in their URL document Spree 5: follow them in a project that runs Spree 5, or to see what an upgrade changes.
> Spree 6 differs greatly from Spree 4 and 5: it is fully headless, and older code and tutorials mostly do not apply. Before relying on what you remember about Spree, read https://spreecommerce.org/docs/developer/upgrades/spree-6-vs-older-versions.md
> The current REST APIs are the Store API (store.yaml), the Admin API (admin.yaml) and the Seller API (seller.yaml), all under /api/v3.
> The specs named legacy-v2-*, the Storefront API and Platform API pages and their tutorials document the older API v2, which Spree 5 and earlier serve. Read them to maintain or migrate an API v2 client, and build new work on the current APIs.

# Seller Invoices & Documents

> Learn how sellers upload invoices to their own orders, send them to customers, answer invoice requests, keep other paperwork on an order, and receive your commission invoices.

On a marketplace, each seller invoices the orders they sell, in their own name. A seller issues the invoice in their own invoicing software and uploads the PDF to the order from their panel. Spree keeps it on the order, sends it to the customer, and shows it on the customer's order page.

Your marketplace invoices in the other direction too: a commission invoice to the seller, which belongs on their payout.

This page covers the seller's side of both. For your own orders, and for the settings that apply to every invoice, see [Invoices & Documents](https://spreecommerce.org/docs/user/orders/invoices.md).

## Who Invoices a Seller's Order

Whoever sold the goods issues the invoice. Which party that is depends on the seller's **Tax remitted by** setting, on their seller page under [Sellers](https://spreecommerce.org/docs/user/sellers/sellers.md):

| Tax is remitted by | Who invoices the order | Who uploads the invoice |
| - | - | - |
| The seller | The seller, in their own name and numbering | The seller, from their panel |
| The marketplace | Your company, from your business entity | Your team, from the admin dashboard |

A seller sees which applies to them under **Settings → Taxes** in their panel.

Where your marketplace invoices the order, the seller still sees your invoice on the order and can download it. They cannot upload one of their own: the upload is refused with a message saying the marketplace invoices this order.

Spree never generates an invoice for an order a seller invoices, even with **Issue invoices automatically** turned on. The seller uploads every one.

> [!NOTE]
>
> A checkout that reached several sellers became one order per seller, so the customer receives one invoice from each. See [Marketplace Orders](https://spreecommerce.org/docs/user/sellers/orders.md).

## Invoices and Documents on a Seller's Order

![The Invoices and Documents sections on an order in the seller panel](https://mintcdn.com/spreecommerce/zGNathh4RFmnbIil/images/user/sellers/invoices/1-order-invoices.png?fit=max\&auto=format\&n=zGNathh4RFmnbIil\&q=85\&s=3b09d6b88e87c4ef8bc25a4736284558)

Every placed order in the seller panel has two sections for its paperwork, below the payment:

* **Invoices** - The order's invoices, receipts and credit notes, with their number, type, issue date and total, and any open invoice request from the customer.
* **Documents** - Everything else on the order, such as the customer's purchase order.

Under each invoice number, the seller reads who issued it and whether the customer has been sent it. Clicking a number, or a document's file name, downloads the file.

## How a Seller Uploads an Invoice

![The Upload invoice form in the seller panel](https://mintcdn.com/spreecommerce/zGNathh4RFmnbIil/images/user/sellers/invoices/2-upload-invoice.png?fit=max\&auto=format\&n=zGNathh4RFmnbIil\&q=85\&s=8699f3e8b6e0a203bdd512c96bccc457)

1. Open the order and find its **Invoices** section.
2. Click **Upload invoice**.
3. Choose the PDF, up to 10 MB, and fill in:
   * **Type** - Invoice, Receipt, or Credit note.
   * **Number** - The number the seller's invoicing software gave it. Each number can be used once per type.
4. Click **Upload**.

Spree sets the issue date to the day of the upload, and takes the supply date and totals from the order. **More details** changes them, for example for an invoice issued on an earlier day or one that covers part of an order.

Two types ask for more:

* **Credit note** - Its **Total**, entered as a negative amount. When the order already has an invoice or receipt, the form also offers **Corrects**, to choose the one the credit note corrects.
* **Invoice**, on an order that already has a receipt - The form offers **Replaces receipt**, to choose the receipt the invoice replaces. It is optional.

Once uploaded:

* The customer sees it on their order page and can download it.
* The customer is emailed the PDF, if **Email new invoices to customers** is on in your [store settings](https://spreecommerce.org/docs/user/orders/invoices.md#settings) and **Send transactional emails to customers** is on under [Emails](https://spreecommerce.org/docs/user/settings/emails.md). Both are on unless you turned them off.
* An open invoice request on the order is fulfilled, if the upload is an invoice.

### Correcting or Removing an Invoice

An invoice cannot be edited once it is uploaded, because it is a legal record.

* **Before the customer has been sent it**, the seller can delete it from its **⋯** menu and upload the right one.
* **After that**, the seller uploads a credit note that corrects it.

A seller can delete only the invoices issued in their own name. Your invoices on their orders, and your commission invoices, stay.

## How a Seller Sends an Invoice Again

Click the **⋯** menu next to an invoice and choose **Send again**. The customer is emailed the PDF, even if **Email new invoices to customers** is off.

**Send again** is offered only when the email would reach someone. It is missing, and the request is refused, when:

* **The seller did not issue the invoice.** An invoice your company issued on their order is yours to send, and so is a commission invoice.
* **The order has no email address.**
* **Your store has turned off emails to customers**, with **Send transactional emails to customers** under [Emails](https://spreecommerce.org/docs/user/settings/emails.md).

## Invoice Requests from Customers

A customer who bought as a private person can ask for an invoice from their order page, adding a company name and tax number. They can ask while the order has no invoice, for as many days after paying as you allow in your [store settings](https://spreecommerce.org/docs/user/orders/invoices.md#settings).

An open request shows at the top of the order's **Invoices** section as **The customer asked for an invoice**, with the company name and tax number they gave.

The seller answers it by uploading an invoice. The request is fulfilled as soon as the order has one. A receipt or a credit note leaves it open.

## Finding Orders Without an Invoice

In the seller's **Orders** list, the **Missing invoice** filter shows every placed and paid order that has no invoice or receipt yet.

You see the same from your side: each seller's page in the admin dashboard shows how many of their orders are missing one.

## The Invoices List

![The Invoices list in the seller panel](https://mintcdn.com/spreecommerce/zGNathh4RFmnbIil/images/user/sellers/invoices/3-invoices-list.png?fit=max\&auto=format\&n=zGNathh4RFmnbIil\&q=85\&s=a33708652ae5bee439a216e9293e58d1)

**Invoices** in the seller's sidebar lists every invoice, receipt and credit note on their orders, together with the commission invoices your marketplace issued them.

| Column | What it means |
| - | - |
| **Number** | The invoice number. Click it to download the PDF. |
| **Type** | Invoice, Receipt or Credit note. |
| **Issued by** | The seller's own name, your company's name for an order you invoice, or **Marketplace commission** for a commission invoice. |
| **Total** | What the document comes to. A credit note's total is negative. |
| **Issue date** | The date on the document. |

The search box matches on the number, and filters narrow the list by type and issue date.

The list is for finding and downloading. Invoices are uploaded from each order's own page.

## Other Documents on an Order

Documents hold the rest of an order's paperwork: a purchase order, a specification, a shipping document.

To add one:

1. In the order's **Documents** section, click **Upload document**.
2. Give it a **Name**, choose the file, and switch on **Visible to customer** if the customer should see it.
3. Click **Upload**.

A document can be a PDF, an image, a Word or Excel file, an OpenDocument spreadsheet or a CSV, up to 10 MB.

Who sees a document:

| Document | The customer | The seller | Your team |
| - | - | - | - |
| Marked **Visible to customer** | Sees it on their order page and can download it | Sees it | Sees it |
| Marked **Internal** | Does not see it | Sees it | Sees it |
| Marked **From customer** | Uploaded it, and always sees it | Sees it | Sees it |

Internal means hidden from the customer, not from the other side. A seller reads every document on their order, including the ones your team uploaded, and your team reads the seller's.

A seller can show, hide or delete only the documents their own team uploaded, from the document's **⋯** menu. Your documents and the customer's are not theirs to change.

## Commission Invoices

A commission invoice is your marketplace's invoice to a seller for the commission you charged. It belongs to a payout, and your default [business entity](https://spreecommerce.org/docs/user/settings/business-entities.md) issues it.

Your team uploads it:

1. Navigate to **Sellers → Payouts** and open the payout.
2. On the **Commission invoices** card, click **Upload invoice**.
3. Choose the PDF and fill in the **Type**, the **Number** and the **Total**. A payout has no order to take the total from, so it is always asked for.
4. Click **Upload**.

The seller then:

* **Is emailed the PDF**, at their billing email, or their contact email when they have no billing email. This email is sent even if **Email new invoices to customers** is off. It stops only when you turn off emails to sellers under [Marketplace Settings](https://spreecommerce.org/docs/user/settings/marketplace.md#communication).
* **Finds it in their Invoices list**, with **Marketplace commission** under **Issued by**, and downloads it from there.

A seller cannot delete a commission invoice or send it again. It is your document.

## Further Reading

* [Invoices & Documents](https://spreecommerce.org/docs/user/orders/invoices.md) - Invoices on your own orders, and the settings behind every invoice
* [The Seller Panel](https://spreecommerce.org/docs/user/sellers/seller-panel.md) - Everything else a seller sees
* [Marketplace Orders](https://spreecommerce.org/docs/user/sellers/orders.md) - How a checkout is split into one order per seller
* [Payouts](https://spreecommerce.org/docs/user/sellers/payouts.md) - The settlements commission invoices belong to
* [Business Entities](https://spreecommerce.org/docs/user/settings/business-entities.md) - The company your own invoices are issued by


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.