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

# Penalties

> What a late payment costs the client: the tolerance, the penalty rate, the late fee, and the two limits on the penalty.

Penalties set **what a late payment costs**. It is the fourth step of [New product](https://docs.capcells.com/products/create.md), and every product type has all five terms.

![The Penalties step of New product: a fixed penalty rate of 72 percent, tolerance 3 days, no late fee, penalty stops after 90 days, penalty cap 20 percent of the loan](https://mintcdn.com/capcells/pik8-STZbuHD3D3L/images/workspace/new-product-penalties.png?fit=max\&auto=format\&n=pik8-STZbuHD3D3L\&q=85\&s=c31baf28f5a16e8e31755a65f3ca0712)

Two words are kept apart on every screen: the **penalty** is a yearly rate, and the **late fee** is a flat charge.

## How a late payment runs

A payment of \$1,000, of which \$800 is principal, is due on 5 March. The product has a tolerance of 3 days and a penalty rate of 72% a year.

**1. 5 March: the payment is due**

Nothing is charged yet.

**2. 6 to 8 March: tolerance**

Paying now still counts as on time.

**3. 9 March: the payment is late**

Penalty starts on the \$800 of principal, about \$1.60 a day. The late fee, if the product has one, is charged once.

**4. The day it is paid**

Penalty stops. The money settles the penalty first, then the rest.

## Tolerance

The **days after a due date before a payment counts as late**. Nothing is charged for lateness inside them.

* **Enter** a number of days, from 0 to 90.
* **Example:** 3. At 0, a payment is late the day after it falls due.
* **API:** `tolerance_days`. Left out means zero.

> [!WARNING]
>
> **Tolerance is not a grace period.** The payment is still due on its date. A grace period, *período de gracia*, is a stretch at the start of a loan in which no principal falls due, and it is not this field.

## Penalty rate (a year)

A **yearly rate charged on overdue principal** for every day it stays unpaid, on top of the regular interest.

* **Enter** one rate with **Fixed**, or the lowest and the highest with **Range**. Enter 0 for no penalty.
* **Example:** Fixed, 72.
* **On a loan:** each loan gets one rate inside the range, under the market's cap.
* **API:** `penalty_rate_min`, `penalty_rate_max`. The one term the Engine requires of every product.

The rate **never runs on interest or fees**, **never compounds**, and **never reaches back into the tolerance**.

A market can cap it. In Mexico a loan takes a penalty rate of at most twice its own interest rate. See [Lending in Mexico](https://docs.capcells.com/lending/mexico.md#penalty-interest).

## Late fee

A **flat fee for each missed payment**, charged once when the payment goes past its tolerance.

* **Enter** a sum, or leave the field empty.
* **Example:** 80.
* **On a loan:** each payment that goes late adds the fee once, however long it stays late.
* **API:** `late_fee`. Left out means no fee.

> [!WARNING]
>
> **In Mexico a delay is charged once:** a loan carries either a late fee or a penalty rate, not both. With the Credit Engine connected, it refuses a loan that has both.

## The two limits

A penalty can stop in two ways. You can set **one, both or neither**. With both, whichever is reached first stops it.

| | Penalty stops after | Penalty cap (of loan) |
| - | - | - |
| **Limits** | Time | Money |
| **Counts** | Each late payment by itself | The whole loan |
| **Example** | 90 days | 20% of the loan |

A limit stops the penalty and **forgives nothing**. The payment is still owed and still counts as late.

### Penalty stops after

Penalty on one missed payment **stops growing after this many late days**.

* **Enter** a number of days, from 1 to 3,650. Empty means the penalty never stops.
* **Example:** 90. A payment late since 9 March stops growing after its 90th late day.
* **API:** `penalty_ceiling_days`.

### Penalty cap (of loan)

Penalty across the whole loan **stops once it reaches this share of the amount lent**.

* **Enter** a percentage of the loan. Empty means no cap.
* **Example:** 20. On a loan of \$10,000, all penalty together stops at \$2,000.
* **API:** `penalty_ceiling_bps`, in basis points: 20% is `2000`.

## More in the API

The API also holds a tolerance band: a shortfall small enough to be treated as paid. [Terms reference](https://docs.capcells.com/products/terms-reference.md#penalties) covers it.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.