Skip to main content
POST
Terminate amortization schedule
DualEntry archives every amortization dated on or after terminate_from that sits in an open period, and sets the status of the asset to inactive. Omit terminate_from to stop from today. An asset with the status disposed and an asset that is not posted are refused with 422. When an approval policy covers the asset, DualEntry holds the request until an approver approves it.

Authorizations

X-API-KEY
string
header
required

Headers

Idempotency-Key
string

Optional. A unique value (a UUID works well) identifying this operation. If the request is repeated with the same key, the original response is replayed instead of the operation running again, so a retry cannot create a duplicate record. Results are replayable for 48 hours. Reusing a key with a different request body returns 422.

Maximum string length: 255

Path Parameters

record_number
integer
required

Body

application/json
terminate_from
string<date> | null

First date that DualEntry stops. Every amortization on or after this date moves to archived. Defaults to today.

Response

OK

success
boolean
default:true
errors
Errors · object
message
string | null