# Customer Charges

This feature lets you define additional charges (for example collection, shipping or handling fees) that are applied automatically to sales invoices. Charges can apply to a single customer, a customer discount group or all customers, have a validity period, and be calculated as a fixed amount, as a percentage of the invoice amount, or based on the number of invoiced shipments.

The calculation adds G/L account lines to the invoice with the charge description, quantity and price.


- **Customer Charges**: search for the page with Business Central's search to view and manage all charges.
- **Customer Card**, **Customer** menu:
  - **Charges (customer)**: opens the charges defined specifically for the customer; new charges entered here are already set to the customer.
  - **Charges (discount group)**: opens the charges defined for the customer's customer discount group.
- **Sales Invoice**: **Calculate Customer Charges** action, next to the invoice discount calculation.
- **Invoicing Rule**: **Calculate Customer Charges** field for automatic calculation.


| Field | Description |
|---|---|
| Customer Type | Who the charge applies to: **Customer**, **Customer Disc. Group** or **All Customers**. |
| Customer No. | The customer or customer discount group the charge applies to (blank for All Customers). |
| Starting Date | Date from which the charge is valid. Compared with the invoice document date. |
| Ending Date | Date until which the charge is valid. If blank, the charge does not expire. |
| Description | Description shown on the invoice line. If blank, it is suggested from the charge's product posting group. |
| Application Type | How often the charge is applied (see below). |
| Charge Base | Calculation method: blank (fixed amount), **Amount** or **Shipment Nos.** (see below). |
| Charge % | Percentage applied to the invoice amount. Alternative to Charge Amount. |
| Charge Amount | Fixed charge amount. Alternative to Charge %. |
| Charge Prod. Posting Group | General product posting group used for the line; it determines the sales account from the general posting setup. When selected, it suggests the description and VAT group if not already filled in. |
| Charge VAT Posting Group | VAT product posting group of the charge line. |
| Threshold Amount | With base **Amount**: minimum invoice amount below which the charge is not applied. With base **Shipment Nos.**: invoiced amount that "covers" one shipment (see below). |
| Base Filter | Lets you calculate the amount on part of the lines only, for example by **Product Type**. |
| Base Filter No. | The filter value (for example the product type). |

You cannot enter both **Charge %** and **Charge Amount**.


| Value | Behavior |
|---|---|
| (blank) | The charge is applied to every invoice. Charges with the same description and posting groups are combined into a single line, adding up their amounts. |
| One Shot | The charge is applied only once to the customer: if it is already on another invoice (open or posted) of the customer, it is not repeated. |
| One for Date | The charge is applied once per posting date: if it is already on another invoice of the customer with the same posting date, it is not repeated. |
| One for Due | The charge is applied once per due date: if it is already on another invoice of the customer with the same due date, it is not repeated. |


| Value | Calculation |
|---|---|
| (blank) | The **Charge Amount** is charged with quantity 1. |
| Amount | The amount of the invoice lines is calculated (optionally limited by the **Base Filter**). If it is below the **Threshold Amount** the charge is not applied; otherwise the fixed amount or the **Charge %** of the amount is charged. |
| Shipment Nos. | The quantity is the number of distinct invoiced deliveries (same date, warehouse and delivery line), minus those "covered" by sales: each multiple of the **Threshold Amount** of shipped amount cancels one shipment. The unit price is the **Charge Amount**. Requires a Threshold Amount greater than zero. |



1. Open the **Customer Card** and choose **Customer** > **Charges (customer)**.
2. Add a new line: customer type and customer number are already filled in.
3. Enter the **Starting Date** and, if needed, the **Ending Date**.
4. Choose the **Charge Prod. Posting Group** (description and VAT group are suggested) and change the **Description** if needed.
5. Set **Application Type**, **Charge Base** and the amount or percentage, with an optional **Threshold Amount** and **Base Filter**.


1. Open the **Sales Invoice**.
2. Choose the **Calculate Customer Charges** action and confirm.
3. Previously calculated charge lines are deleted and recalculated, and added at the end of the invoice.


- The calculation applies to invoices only and requires the bill-to customer. It considers charges valid at the document date for all customers, for the bill-to customer and for its customer discount group.
- Charges with zero amount or quantity do not create lines.
- Each charge must have both posting groups, and a sales account must exist in the general posting setup for the invoice's general business posting group; otherwise the calculation stops with an error.
- If **Calculate Customer Charges** is enabled on the invoice's **Invoicing Rule**, charges are calculated automatically when the rule is applied to the invoice.