> ## 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.

# Move a loan period

> Move the next instalment's due date later, for the version's fee. Nothing else moves.

A move carries one period's due date later, to the day the borrower picked. It is the pay sheet's «Mover la fecha»: the next charge, a few days later, for a stated cost.

* **What moves** is the period's due date and its tolerance end. The due date is `to`, or the next open day of the Loan's calendar where `to` is a closed one. The tolerance end is that day plus the Loan's tolerance days. Both are frozen at the act.
* **What stays** is everything else: the period's `scheduled_on`, its principal and its interest, and every other period.
* **The fee** is the version's `move_fee`, taxed as a fee under the Loan's rule. It is owed in the moved period, beside its instalment, and reads on the schedule as a `carried` fee.
* **Lateness** starts the day after the new tolerance end. Before it, nothing is overdue and nothing accrues.

A retraction of the move gives the period back its own dates and takes the fee off.

## What may move

| Rule | Set by |
| - | - |
| The version states `move_days_max`. Without it, the product provides no move | The version |
| `to` falls at most `move_days_max` days after the period's due date | The version |
| Only the next unpaid period moves | The Platform |
| Only before it is overdue: `on` is on or before its tolerance end | The Platform |
| Only later, and landing before the next period's due date | The Platform |
| One move in force per period. Retract it to move again, so the bound counts from the agreed date | The Platform |

Versions published before `move_days_max` existed state none. Publish a new version to sell the move. It reaches the Loans issued under that version.

## Path parameters

**tenant\_id** `string` *required*

The Tenancy acting.

**loan\_id** `string` *required*

The Loan. Another Tenancy's and one that never existed are both `404`.

**index** `integer` *required*

The period, counting from 1 as the schedule numbers it.

## Body

**on** `string` *required*

The day the move was agreed. It takes effect from this day.

**to** `string` *required*

The day the borrower picked.

**fee** `object`

The version's `move_fee`, restated. The fee is always the version's, stated or not. A different fee is `422` `term_refused`. A stated zero restates a version that declares none.

**reference** `string` *required*

Your name for the act, in the one act namespace of the Tenancy.

**actor** `string` *required*

Whoever acted, your own reference.

**basis** `string` *required*

Why, in your words.

**context** `object`

Stored, echoed beside the fact, read by nothing.

## Response

`201` with [the whole Loan](https://docs.capcells.com/api-reference/loans/read.md). Its events carry the move as `period_moved`:

| Field | What it says |
| - | - |
| `segment[0].index` | The period moved |
| `segment[0].scheduled_on` | The `to` you stated |
| `segment[0].due_on` | Where it landed |
| `segment[0].tolerance_end` | The last day it may be paid without being late |
| `fee` | What the move charged, its tax apart. Absent where it charged none |

The [schedule](https://docs.capcells.com/api-reference/loans/schedule.md) from `on` states the moved `due_on` and the fee as `carried`. Retry `200`.

## Refusals

| Condition | Status and code | What clears it |
| - | - | - |
| The version states no `move_days_max` | 422 `move_refused` | Issue under a version that states one |
| Not the next unpaid period, or it is overdue on `on` | 422 `move_refused` | Move the next one, before it is late |
| `to` not later, past `move_days_max`, or landing on or after the next due date | 422 `move_refused` | A day up to `details.bound` |
| A stated `fee` other than the version's | 422 `term_refused` | Leave it out |
| The period already carries a move in force | 409 `move_in_force` | Retract that move |
| An acceleration stands | 409 `acceleration_in_force` | Retract it |
| The Loan owes nothing, or a fact stands after `on` | 422 `invalid_event` | Nothing, or state a later day |

```bash Move a period theme={null}
BODY='{
  "on": "2026-09-05",
  "to": "2026-09-15",
  "reference": "move-0001",
  "actor": "borrower-app",
  "basis": "the borrower picked another day"
}'

curl -X POST "https://api.capcells.com/v1/tenants/$TENANT_ID/loans/$LOAN_ID/periods/1/move" \
  -H "Authorization: $(capcells_sign "$CAPCELLS_API_KEY" POST "/v1/tenants/$TENANT_ID/loans/$LOAN_ID/periods/1/move" "$BODY")" \
  -H "Content-Type: application/json" \
  -d "$BODY"
```


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