> ## Documentation Index
> Fetch the complete documentation index at: https://foliant-help.iforiti.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Invoice a sale outside Shopify

> Issue a numbered, locked invoice for a phone, wholesale or in-person sale that isn't a Shopify order, email it, and credit it later.

Some sales never become a Shopify order: a phone order, a wholesale deal, a sale at a fair. Foliant can still invoice them. You fill in the customer, the items and the prices, and Foliant issues the invoice with the next number of your invoice series, from your invoice template, and locks it like every other invoice. You can email it to the customer and credit it later.

## Before you start

* Invoices outside Shopify depend on your plan: they come with the paid plans. See [Plans and what's included](https://foliant-help.iforiti.com/billing-and-plans/plans-and-pricing.md).
* [Locked invoices](https://foliant-help.iforiti.com/invoices-and-numbering/locked-invoices.md) must be on, with **Number invoices** on in [document numbering](https://foliant-help.iforiti.com/invoices-and-numbering/document-numbering.md).
* You need a template with **Document type** set to **Invoice**. Foliant uses it to make the PDF.
* To credit these invoices, you also need **Number credit notes** on and a template with **Document type** set to **Credit note**.

## Create an invoice

1. Go to **Issued invoices** and click **New invoice**.
2. Under **Customer**, search in **Find a Shopify customer** and click the right one in the results. Foliant fills in their name, email, phone, company, VAT number and billing address. Or type the **Name**, **Email**, **Company**, **VAT number** and **Phone** yourself.
3. Fill in the **Billing address**. To ship somewhere else, tick **Ship to a different address** and fill in the **Shipping address**.
4. Under **Items**, click **Add product** to pick products from your Shopify store (one line per variant, with its SKU and price), or **Add item** to type a line. For each line, set:
   * **Title**, **SKU** and **Quantity**.
   * **Unit price**, before tax.
   * **Discount**: an amount off this line.
   * **Tax rate (%)** and **Tax name**.
5. Optional: under **Shipping**, tick **Add shipping** and fill in the **Shipping method**, **Price** (before tax), **Tax rate (%)** and **Tax name**.
6. Under **Invoice details**, set:
   * **Reference**: shown on the invoice instead of an order number. Leave it empty and Foliant uses M- with a number, such as M-12.
   * **Currency**.
   * **PO number** and **Due date** (optional).
   * **Note**: printed on the invoice.
   * **Paid**: tick it when the customer has already paid.

The **Summary** on the right adds up the **Subtotal**, **Discounts**, **Shipping**, **Tax** and **Total** as you type.

## Preview and save a draft

* Click **Preview** to see the invoice as it will print, from your invoice template.
* Click **Save draft** (or **Save** in the save bar) to keep it and finish later.

Drafts are listed in the **Drafts** card on **Issued invoices**. Click **Edit** to open one, or the delete icon to delete it for good. A draft has no number yet.

## Issue the invoice

1. Click **Issue invoice**.
2. Foliant asks **Issue this invoice?** It takes the next invoice number and can't be changed afterwards. Click **Issue invoice**.

Foliant issues it like any other invoice: the next number in your one invoice series, the PDF kept as the original with its hash, and [e-invoice data](https://foliant-help.iforiti.com/invoices-and-numbering/e-invoices.md) when you have that on. The page then shows "Issued as INV-0042. It can't change any more."

If something's missing, Foliant says what: **Turn on locked invoices to issue invoices.**, **Turn on invoice numbering to issue invoices.** or **Add an invoice template first.**, with a button to the right page.

## Email the invoice

1. On **Issued invoices**, click the email icon (**Send**) on the invoice's row. Or open the invoice with the eye icon (**Open**) and click **Send**.
2. Check the **Customer email** and, optionally, add a **Message**. It's shown in the email above the attached invoice.
3. Click **Send invoice**.

Foliant emails the issued PDF from your store, the same way it sends [PDF delivery](https://foliant-help.iforiti.com/pdf-delivery/pdf-delivery-overview.md) emails. The invoice page then shows when and to whom it was emailed. You can send it again at any time. Foliant won't send to an address on your [blocked addresses](https://foliant-help.iforiti.com/pdf-delivery/blocked-addresses.md).

## Credit the invoice

To give something back, issue a credit note:

1. On **Issued invoices**, open the invoice with the eye icon (**Open**) and click **Credit**.
2. For each item, set the **Quantity to credit**. You can't credit more than is left (**Left to credit**). Tick **Credit shipping** to give the shipping back too.
3. Optional: type a **Reason**. It's kept with the credit note, and templates can print it.
4. Click **Issue credit note**.

The credit note takes the next credit note number, can't be changed afterwards, and corrects the invoice. It's listed in the invoice's **Credit notes** card and on **Issued invoices**. **Credit** disappears once everything on the invoice has been credited. See [Correct an invoice with a credit note](https://foliant-help.iforiti.com/invoices-and-numbering/credit-notes-for-refunds.md).

## On the Issued invoices page

Invoices and credit notes made this way are listed with the others. Their **Order** column shows the reference with an **Outside Shopify** badge, and their row has **Open** (the eye icon) and, for invoices, **Send**. You download, verify and archive them like any other issued document. See [The Issued invoices page](https://foliant-help.iforiti.com/invoices-and-numbering/issued-invoices-page.md).

## Good to know

* Invoices outside Shopify share your one invoice series with your Shopify orders, so the numbers stay in sequence.
* Nothing is created in Shopify: no order, no customer and no change to your stock.
* Tax is calculated per line from the rate you type and rounded to the cent.
* **Settings › Activity log** records when one is issued, emailed or credited.

## Related articles

* [The Issued invoices page](https://foliant-help.iforiti.com/invoices-and-numbering/issued-invoices-page.md)
* [Lock issued invoices](https://foliant-help.iforiti.com/invoices-and-numbering/locked-invoices.md)
* [Set up document numbering](https://foliant-help.iforiti.com/invoices-and-numbering/document-numbering.md)
* [Correct an invoice with a credit note](https://foliant-help.iforiti.com/invoices-and-numbering/credit-notes-for-refunds.md)


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