Skip to main content
DELETE
Archive Contract Termination
This is a soft delete: the termination stays readable with record_status set to archived. The request fails when the fee invoice of this termination is paid, or when termination_date is in a locked period. Side effects
  • DualEntry reverses the entries of this termination, archives its fee invoice, and restores the invoices, revenue recognitions, and milestones that this termination archived. If this termination was posted, the contract status goes back to active, or to completed when the contract has ended.

Authorizations

Authorization
string
header
required

An access token from the DualEntry authorization server, sent as Authorization: Bearer <token>. The token acts as the user who signed in, with that user's roles and company access. Do not send an X-API-KEY header in the same request.

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

contract_id
integer
required
termination_id
integer
required

Response

OK

created_at
string<date-time>
required

Date and time the record was created

updated_at
string<date-time>
required

Date and time the record was last updated

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