---
title: "Preview early termination"
method: POST
path: "/amortizations/{id}/preview-end-early/"
tags: ["Amortizations"]
---

# Preview early termination

`POST /amortizations/{id}/preview-end-early/`

Endpoint for previewing the remaining balance and the posted events that would be reversed by terminating the amortization early at the given date.

## Path parameters

- `id` string, required

## Request body

- AmortizationPreviewEndEarlyInput
  - `date` string, date, required — The date to preview the early termination at.
  - `start_date` string, date — Auto-populated; not user-provided.

## Response `200`

- AmortizationPreviewEndEarly
  - `posted_events_to_delete` AmortizationEvent[], required — The posted events that will be reversed by ending early at this date.
    - `amount` number, double, required — The amount recognized for this event.
    - `amount_to_bcy` number, double, nullable, required — The amount converted to the organization base currency.
    - `balance` number, double, required — The remaining balance after this event.
    - `date` string, date, required — The date when this event is recognized.
    - `description` string, required — The description of the event.
    - `id` string, required — The unique identifier of the amortization event.
    - `journal` string, nullable, required — The journal entry generated by this amortization event, if posted.
    - `legacy_id` string, required — [Deprecated] The legacy identifier of the amortization event.
  - `remaining_balance` number, double, required — The remaining un-amortized balance at the requested date.

---

[API](https://skmtc.net/wafeq/apis/wafeq-public-api.md) · [All operations](https://skmtc.net/wafeq/apis/wafeq-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wafeq/wafeq-public-api/versions/36816b4fce7f/schema)
