Cancel Policy Transaction
Cancels a policy as of a given date via a CANCEL transaction. The policy must be active at the cancellation date.
cancellationDate (= the transaction effective date) is sugar the server expands into
per-segment, segment-scoped deltas on framework-required fields. policyStatus flips to
cancelled from the cancellation date through end of term (splitting the segment at the
boundary), and a single cancellationEffectiveOnDate is recorded uniformly across the
whole term — the same value on both sides of the boundary. policyStatus alone marks
which side a segment is on. There is no policyEarlyTerminationDate and no status-enum
machinery.
Two optional derived channels are whole-object overwrites of a policy-root full-term container — necessarily whole-term, so neither carries dates nor an element-level form:
fullTermPolicyBillingInfo— full-term billing (e.g. short-rate penalties, cancellation fees). ItspolicyPremiummust equal the earned premium through the cancellation date. WhenfullTermPolicyBillingInfois omitted, the policy’s existing full-term billing carries forward and that carried-forwardpolicyPremiumis validated against earned premium — so a barecancellationDatebody only succeeds when the carried-forward premium already equals the earned premium through the cancellation date.fullTermPolicyRatingResult— the canonical policy-level rating result.
Required permission: policy:update
Authorizations
API key authentication. Send your raw API key as the Authorization header value with NO scheme prefix — Authorization: YOUR-API-KEY. Do NOT prefix it with Bearer or ApiKey , and do not use an X-API-Key header; those are not accepted.
Path Parameters
Company identifier
Policy identifier
Body
The date the cancellation takes effect in ISO 8601 format. Must fall within the policy term, and the policy must be active at this date.
When the business decision was made. Defaults to the current time if omitted. Set explicitly for imports (e.g., aligning to a bordereau booking date).
Optional whole-object overwrite of the policy-root full-term billing summary
(e.g. short-rate penalties, cancellation fees). policyPremium must equal the
earned premium through the cancellation date.
Optional whole-object overwrite of the policy-root canonical rating result.
Response
Policy cancelled successfully
Response returned by policy transaction endpoints. Contains the policy version produced by the transaction, including all derived segments.
Policy identifier
Sequential version number produced by this transaction
Identifier of the transaction that produced this version
Policy term start date (ISO 8601)
Policy term end date (ISO 8601)
When the transaction was created (ISO 8601)
Derived segments for this policy version. Each segment represents a maximal contiguous date range where policy state is identical. Adjacent segments with identical data are automatically merged.
Endorsable full-term policy info, hoisted as a read-once convenience (also
duplicated in every segment). Contains term dates, the renewal pointer
(previousPolicyId), and the primary insured reference. Term bounds are
sourced here. Segment-scoped policyStatus is not part of this object.
Derived full-term billing aggregates, hoisted as a read-once convenience (also duplicated in every segment). Contains premium, taxes, fees, and grand total for the full policy term.
Derived canonical policy-level rating result for the full term, hoisted as a
read-once convenience (also duplicated in every segment). Element-level rating
output (crossSegmentRatingOutputs) stays inline at its host and is not hoisted.
