Terminates a prepaid expense early

Ends the prepaid expense on effective_date, before its schedule does, and writes off what is left on that date. Send exactly one item in early_terminations.
The status becomes fully_amortized on posting_date. Until the termination is undone, another impairment or early termination returns 400 with code CLOSED.
Returns 400 if the termination is refused, for example when nothing is left to write off.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

UUID of the prepaid expense.

Body Params
early_terminations
array of objects
required
length between 1 and 1

The adjustment to apply; exactly one for now.

early_terminations*
Headers
uuid
required

A UUID that you generate once for each request: one for each adjustment you apply, and one for each undo.
Store it with the request, and send the same header and the same body on every retry, for example after a
timeout. A retry returns the original result and never applies or undoes twice. If a call ends without a
response, send it again with the same key and body, or list the adjustments to see what is in effect.
Never generate a new key for a retry: on apply, a new key applies a second adjustment. The same key with a
different body, or on a different path, returns 409. A key counts only for the API key or user that sends it.

Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json