# Generate Invoices

{% hint style="warning" %}
The Invoice Dialog Window only creates invoices for **PAID** sales. If you are looking at how to create invoices without missing sales every quarter, have a read here.
{% endhint %}

{% hint style="info" %}
If you want to sell in B2B, please follow our guide [here](https://docs.restock.gg/problem-solving/tutorials/how-to-do-proper-invoices). For any questions regarding the validity of your invoice, please talk to your accountant or tax advisor.
{% endhint %}

## Where to find the Invoice Dialog Window?

You can access the **Invoice Dialog Window** from the **Features tab** in the tool.

<figure><img src="https://2248495392-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl8fxy9QV4yxlDCej4RdL%2Fuploads%2Fgit-blob-427fc795df0dd285c8c48872e0724e1cd43e4a95%2FInvoice.png?alt=media" alt=""><figcaption></figcaption></figure>

## Profile Settings

Profile settings is the first of the 4 tabs.\
Here you can create profiles containing your business information, which can be later selected when generating the invoice.

## Invoice Presets

The next tab is **Invoice Presets** (previously called "Invoice Settings").\
Here, you can visualize default presets and edit them as you wish. This will be the language pack used on your generated invoice. Currently, we have the following presets: English, Español, German and Polish.

You can also toggle or modify if you want several dates to appear on your invoice.

<figure><img src="https://2248495392-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl8fxy9QV4yxlDCej4RdL%2Fuploads%2Fgit-blob-b13a6007cebbc7bfca52e637e40ec93ea41ba9d3%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

## Integration Settings

Users can set their favorite accounting platform to upload invoices automatically.\
Currently, we support LexOffice, SevDesk and Fakturownia.

## Generate Invoices

Here, you will find several settings, ways of importing, and generation settings to process your invoice.

### Creation Date

The **Creation Date** field (with the calendar icon) sits directly on the Generate Invoices panel, below the From/To range. It defaults to today's date and is applied to the invoices produced by the current generation run.

{% hint style="info" %}
Creation Date used to live inside Invoice Presets and was saved as part of the preset. It has been moved to the Generate Invoices panel so you can pick a fresh date per generation without editing a preset — useful when backdating invoices for a past period or aligning multiple batches to the same accounting date.
{% endhint %}

There are three ways of generating invoices:

* Normal Invoice Generation: This function creates invoices on the selected Selling Site according to the timeframe set by the user.
* StockX Sale History: Generate invoices for your StockX sales. The sales can be downloaded from this [page](https://stockx.com/buying/current) by clicking the VAT export button.
* Normal CSV File and Process: Once the CSV is exported after generation, you can modify it as needed and import it back to process your changes.
* Custom / StockX Buyer Invoices: Create custom invoices using our Customized CSV Template or generate StockX purchase invoices with the StockX historical buyer CSV file.

{% hint style="warning" %}
Alias Invoice Generation works by looking at cashouts in your timeframe. Without cashouts, we cannot determine the EUR rate for your sales, so it's impossible to generate invoices.

If you want USD invoices, these can be generated by selecting Alias USD Only.
{% endhint %}

### Invoice Types <a href="#custom-invoice-generation" id="custom-invoice-generation"></a>

We support different amounts of invoice generations, which might be available to use depending on the site:

* **Summary**: Merges all the sales under a single invoice
* **SummaryByCashout**: Extracts all the sales that pertain for each cashout and generates invoices per cashout. (StockX / Alias only)
* **SummaryByVatRates**: Extracts all the sales, and separates them into B2B and VAT sales. It will also follow the cashout system if the cashouts are included. (Alias only)
* **Individual**: An invoice per sale.
* **Simplified**: Single invoice containing an item which is the sum of all the sales totals.

### Custom Invoice Generation <a href="#custom-invoice-generation" id="custom-invoice-generation"></a>

You can download the template from the Invoice Dialog Window to generate custom-made invoices. On this template, you will find several columns that you will need to fill in to create these invoices.

You can merge items under the same invoice by setting the same invoice number.

<figure><img src="https://2248495392-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl8fxy9QV4yxlDCej4RdL%2Fuploads%2Fgit-blob-6fcf006a8432aed6de103e0ea16d514dc242cf0a%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>
