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

# Discounts

> How to create and manage percentage-based discounts for invoices.

Discounts allow you to reduce invoice amounts by a percentage. They are configured in **Settings** > **Invoicing** > **Discounts** tab and can be assigned to individual children. A child can have multiple discounts applied simultaneously.

## Creating a Discount

1. Go to **Settings** > **Invoicing** and select the **Discounts** tab.
2. Click **Add Discount**.
3. Enter a **Name** for the discount (e.g. "Sibling Discount", "Staff Discount").
4. Enter a **Percentage** between 0.01% and 100%.
5. For each charge category, select how the discount applies:
   * **All** — the discount applies to all items in this category
   * **None** — the discount does not apply to this category
   * **Specific** — the discount only applies to selected sessions or charges
6. The categories are:
   * **Regular Sessions** — recurring booked sessions
   * **One-Off Sessions** — ad-hoc session bookings
   * **Regular Charges** — recurring additional charges (e.g. meals)
   * **One-Off Charges** — one-time additional charges (e.g. trips)
7. At least one category must be set to "All" or "Specific".
8. Click **Save** to create the discount.

### Targeting Specific Sessions or Charges

When you select **Specific** for a category, a list of available sessions or charges appears. Tick the ones the discount should apply to. This is useful when a discount should only cover certain session types (e.g. only the "Lunch" session) rather than all sessions.

## Editing and Deleting Discounts

From the Discounts tab, each discount is shown in a list with its name, percentage, and what it applies to. Use the actions on each row to:

* **Edit** — update the name, percentage, or targeting rules.
* **Delete** — remove the discount. This will not affect invoices that have already been generated with the discount applied.

## Assigning Discounts to a Child

A child can have one or more discounts assigned. When multiple discounts are applied, each is calculated independently against the applicable items and both appear as separate line items on the invoice.

1. Open the child's profile page.
2. Go to the **Invoicing** tab, then the **Settings** sub-tab.
3. In the **Discounts** section, toggle on the discounts you want to apply to this child.
4. Click **Save**. The discounts will be applied automatically the next time an invoice is generated for this child.

### Example: Multiple Discounts

A child could have both a "Staff Discount" (50% off regular sessions) and a "Lunch Discount" (100% off the lunch charge). Each discount is calculated separately and both deductions appear on the invoice PDF.

## How Discounts Appear on Invoices

When an invoice is generated for a child with discounts assigned, the invoice shows:

* The original charge amounts for sessions and charges
* Each applicable discount as a separate line showing the discount name, percentage, and deduction amount
* The invoice total reflects the reduced amount after all discounts have been applied

Discounts with a zero amount (where the targeted items have no cost for that invoice period) are automatically excluded from the invoice.
