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

# Invoice Sync Settings

## Setting up Invoice Sync Preferences

### When to create a Fortnox invoice?

* **Fulfilled-Based Creation**

  An invoice will be created in e-conomic when the Shopify order status changes to ‘**Fulfilled**’. This usually means the products have been shipped. Select this option if you want to invoice customers only after their order has been dispatched.
* **When Paid  (payment recorded in Shopify)**

  An invoice will be automatically created in Fortnox as soon as the Shopify order is marked as ‘**Paid**’. This takes place when the payment is successfully processed in Shopify, even if the products are not shipped yet, helping you maintain quicker and more accurate financial records.
* **When Created (order created in Shopify)**

  Perfect for Cash-on-Delivery orders or if you’d like an invoice to be created automatically in Fortnox the moment a new order comes into your Shopify store.

<Frame>
  <img src="https://mintcdn.com/cloudify-c7720744/I7iYSYHjY4E6UU89/images/image-386.png?fit=max&auto=format&n=I7iYSYHjY4E6UU89&q=85&s=332f9a8d4694a12f8c41a7e820a74753" alt="Image" width="1701" height="463" data-path="images/image-386.png" />
</Frame>

## Invoice Types Explained

* **Draft Invoices**

Creates an editable invoice in Fortnox. You'll need to review and manually post it later. Ideal if you often need to make adjustments before finalizing invoices.

* **Draft Orders**

Creates an editable order in Fortnox. You'll need to review and manually post it later. Ideal if you often need to make adjustments before finalizing orders.

## Additional Options

**Shipping Charges**

You can enable sync for shipping charges and select the corresponding charges from the product list. Fortnox doesn’t support direct sync of shipping charges, so you can add it as a product and then select it from the list to reflect the shipping charges of Shopify invoice in Fortnox.

<Frame>
  <img src="https://mintcdn.com/cloudify-c7720744/I7iYSYHjY4E6UU89/images/image-387.png?fit=max&auto=format&n=I7iYSYHjY4E6UU89&q=85&s=19c6e74b2f72f3e45330d634d2f55129" alt="Image" width="1657" height="495" data-path="images/image-387.png" />
</Frame>

## How should invoice data fields be mapped?

Map the necessary fields from Shopify to Fortnox for invoice creation. You can create new fields in Shopify by clicking **Create new Shopify field**.

Click "**Save Mappings"** at the end.

<Frame>
  <img src="https://mintcdn.com/cloudify-c7720744/I7iYSYHjY4E6UU89/images/image-388.png?fit=max&auto=format&n=I7iYSYHjY4E6UU89&q=85&s=b70cef3397a809fc81a951e550ef48fa" alt="Image" width="1387" height="775" data-path="images/image-388.png" />
</Frame>
