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

# Fees overview

> Calculate customer and barber fees before you show a total or create a payout

Use the Fees API to quote money before you commit. These are reads. They do not
move money. Creating the appointment payment or payout is a separate write under
Appointments or Payouts.

## What you do first

1. Call [calculate customer fees](/api-reference/fees/calculate-customer-fees)
   when a booking total needs Guile and processing fees.
2. Call [calculate barber fees](/api-reference/fees/calculate-barber-fees) before
   an instant or standard payout so the shop sees what lands in the bank.
3. Show the quote to the caller, then create the payment or payout on the
   matching domain.

## When a call fails

Failures come back as problem documents. Open the `type` link for the cause, the
fix, and whether retrying is safe. Common ones include missing appointment
context on an appointment fee quote and stale off-hours quotes.

## Related paths

* Booking money paths live under [Appointments](/api-reference/Appointments/overview).
* Card-present collection lives under [Payments](/api-reference/Payments/overview).
* Transfers to the shop live under [Payouts](/api-reference/Payouts/overview).
