Adjustments and Previews for Prepaid Expenses and Capitalized Commissions

V4 adds impairments, early terminations and previews to /prepaid-expenses and /capitalized-commissions.

  • POST /{resource}/{id}/impairments writes down part of the remaining amount.
    POST /{resource}/{id}/early-terminations ends the schedule early and writes off the remaining amount.
    Each request takes one item and a required Idempotency-Key header.
  • GET /{resource}/{id}/adjustments lists the adjustments in effect, newest first.
  • POST /{resource}/{id}/impairments/{impairment_id}/undo and
    POST /{resource}/{id}/early-terminations/{early_termination_id}/undo reverse an adjustment. Only the
    latest adjustment can be undone. A refused undo answers 400 with blocked_reasons.
  • Add /preview to a create, activate, impairment, early termination or undo path to see what the request
    would change. A preview saves nothing and takes no Idempotency-Key.

The endpoints are also available through MCP.

Applies to V4 only.