# Invoice Calculation Process

{% stepper %}
{% step %}

### Determine Venue's Money

Calculate the venue's share by excluding service fees charged to the customer from the total order value.

**Example Order:**

* Subtotal (food and drinks): €15.49
* Delivery fee: €4.00
* Discount: -€1.00
* Service fee (charged to customer): €0.50
* Total paid by customer: €18.99
* **Venue's money: €18.49 (total minus service fee)**
  {% endstep %}

{% step %}

### Calculate Fees

Apply percentage and/or flat fees to the venue's money only.

**Example Orders:**

* Order #1 — Payment Method: Online
  * Venue's Money: €18.49
  * Online % rate: 5.00% = €0.92
  * Online flat rate: €0.75
  * **Gross Fee: €1.67**
* Order #2 — Payment Method: Online
  * Venue's Money: €11.35
  * Online % rate: 5.00% = €0.57
  * Online flat rate: €0.75
  * **Gross Fee: €1.32**
* Order #3 — Payment Method: Cash
  * Venue's Money: €16.89
  * Cash % rate: 1.00% = €0.17
  * Cash flat rate: €0.50
  * **Gross Fee: €0.67**
    {% endstep %}

{% step %}

### Apply VAT on Fees

Apply VAT on the service fees.

> VAT rate can vary by location.

**Example Orders:**

23% VAT is used on the examples.

* Order #1
  * Gross Fee: €1.67
  * **VAT: €0.39**
* Order #2
  * Gross Fee: €1.32
  * **VAT: €0.15**
* Order #3
  * Gross Fee: €0.67
  * **VAT: €0.15**
    {% endstep %}

{% step %}

### Final Settlement

* **Total Sales:** All online order revenue
* **Less cash sales:** Deduct cash orders (venue retains this money)
* **Less service fees**
  * Service fees charged to customers
  * Services fees on card transactions
  * Service fees on cash transactions
* **Less VAT on fees charged to venue**
* **Equals Net Payout:** Final amount to be paid to venue

| Service fees charged to customers | €1.50     |
| --------------------------------- | --------- |
| Gross Fees                        | €3.66     |
| VAT on Fees                       | €0.84     |
| **Total Invoice Amount**          | **€6.00** |

| Total Sales         | €48.23     |
| ------------------- | ---------- |
| Less cash sales     | €17.39     |
| Less invoice amount | €6.00      |
| **Net Payout**      | **€24.84** |
| {% endstep %}       |            |
| {% endstepper %}    |            |

## Sample Invoice Calculation

<table><thead><tr><th width="129">Service Fee</th><th width="158"></th></tr></thead><tbody><tr><td>Online % rate</td><td>5.00%</td></tr><tr><td>Online flat rate</td><td>€0.75</td></tr><tr><td>Cash % rate</td><td>10.00%</td></tr><tr><td>Cash flat rate</td><td>€0.50</td></tr></tbody></table>

<table data-full-width="true"><thead><tr><th></th><th>Payment Method</th><th>Subtotal</th><th>Delivery Fee</th><th>Discount</th><th>Venues Money</th><th>Service Fee</th><th>Total</th><th>Percentage Fee</th><th>Flat Fee</th><th>Gross Fee Charged To Venue</th><th>VAT</th><th>Net Fee Charged To Venue</th></tr></thead><tbody><tr><td>Order #1</td><td>Online</td><td>€15.49</td><td>€4.00</td><td>-€1.00</td><td>€18.49</td><td>€0.50</td><td>€18.99</td><td>€0.92</td><td>€0.75</td><td>€1.67</td><td>€0.39</td><td>€2.06</td></tr><tr><td>Order #2</td><td>Online</td><td>€11.35</td><td>€0.00</td><td>€0.00</td><td>€11.35</td><td>€0.50</td><td>€11.85</td><td>€0.57</td><td>€0.75</td><td>€1.32</td><td>€0.30</td><td>€1.62</td></tr><tr><td>Order #3</td><td>Cash</td><td>€12.89</td><td>€4.00</td><td>€0.00</td><td>€16.89</td><td>€0.50</td><td>€17.39</td><td>€0.17</td><td>€0.50</td><td>€0.67</td><td>€0.15</td><td>€0.82</td></tr><tr><td><strong>Total</strong></td><td></td><td><strong>€39.73</strong></td><td><strong>€8.00</strong></td><td><strong>-€1.00</strong></td><td><strong>€46.73</strong></td><td><strong>€1.50</strong></td><td><strong>€48.23</strong></td><td><strong>€1.66</strong></td><td><strong>€2.00</strong></td><td><strong>€3.66</strong></td><td><strong>€0.84</strong></td><td><strong>€4.50</strong></td></tr></tbody></table>

<table data-header-hidden><thead><tr><th width="150"></th><th width="129"></th><th width="158" align="right"></th></tr></thead><tbody><tr><td>Total Sales</td><td></td><td align="right">€48.23</td></tr><tr><td>Less cash sales</td><td></td><td align="right">€17.39</td></tr><tr><td>Service fees</td><td>€1.50</td><td align="right"></td></tr><tr><td>Gross Fees</td><td>€3.66</td><td align="right"></td></tr><tr><td>VAT on Fees</td><td>€0.84</td><td align="right"></td></tr><tr><td>Invoice Amount</td><td></td><td align="right">€6.00</td></tr><tr><td>Net payout</td><td></td><td align="right">€24.84</td></tr></tbody></table>

{% file src="/files/F9zbuwH2zcGWFLxDmhyt" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bossithq.com/invoicing/online-invoicing/invoice-calculation-process.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
