# Product fees Product fees are what a borrower pays on a loan under the product. Program-level costs such as trustee and management fees are on the [capital program](../capital-programs/fees.md) instead. | Field | Meaning | |-------|---------| | `name` | The fee's name. | | `category` | `loan` for product fees. | | `trigger` | What raises the fee: `application` (when the loan is applied for), `establishment` (when it is set up), `periodic` (on a schedule, like a line fee) or `manual` (charged by hand, like a variation or discharge fee). | | `calculationMethod` | What the fee is calculated on: `flat` (a fixed amount), or a percentage of `approvedPrincipal`, `currentPrincipal`, `seniorNotes`, `subordinateNotes` or `totalNotes`. | | `feeType` | Always `null` on product fees: `calculationMethod` already says whether the fee is flat. | | `value` | The amount for a `flat` fee; otherwise the percentage, so `1.5` means 1.5%. | | `minimum` | A minimum recorded with the fee, in the same unit as `value`, or `null`. | | `capitalised` | Whether the fee is added to the loan balance rather than paid up front. | | `isRequired` | Whether the fee is mandatory, or optional like the sandbox's variation fee. | | `isTaxed` | Whether tax is charged on the fee. | Internal accounting detail (ledger codes, tax-rate ids) isn't exposed. ## Working out a fee For a loan with an approved principal of $4,500,000 under the product above: - Application fee: `flat`, so **$10,000**. - Establishment fee: 1.5% of the approved principal, so **$67,500**. It is `capitalised`, so it is added to the loan balance.