Cancels a policy as of a given date via a CANCEL transaction. The policy must
be Active at the cancellation date. The action sets policyStatus to
cancelled from the cancellation date through the end of the policy term and
records a policyEarlyTerminationDate on fullTermPolicyInfo.
Optional fullTermDeltas allow adjusting fullTermPolicyBilling fields (e.g.
short-rate penalties, cancellation fees). Only fullTermPolicyBilling-prefixed
paths are accepted — per-segment data and policy dates are not modifiable via
cancel. Dates are not accepted on these deltas because they always span the
full policy term; the server injects them.
API key authentication. Include your API key in the Authorization header.
Path Parameters
companyId
string<uuid>
required
Company identifier
policyId
string<uuid>
required
Policy identifier
Body
application/json
cancellationDate
string<date>
required
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.
transactionTimestamp
string<date-time>
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).
fullTermDeltas
object[]
Optional billing-only deltas. Each delta specifies a fullTermPolicyBilling
path and a new value. These are applied as Overwrite actions across the full
policy term (since fullTermPolicyBilling is a cross-segment invariant that
must be identical in every segment).
Show child attributes
Response
Policy cancelled successfully
Response returned by policy transaction endpoints. Contains the policy version
produced by the transaction, including all derived segments.
policyId
string<uuid>
required
Policy identifier
policyVersion
integer
required
Sequential version number produced by this transaction
transactionId
string<uuid>
required
Identifier of the transaction that produced this version
startDate
string<date>
required
Policy term start date (ISO 8601)
endDate
string<date>
required
Policy term end date (ISO 8601)
createdAt
string<date-time>
required
When the transaction was created (ISO 8601)
segments
object[]
required
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.
Show child attributes
fullTermPolicyInfo
object | null
Full-term policy information. Contains policy status, term dates, and primary insured reference.
fullTermPolicyBilling
object | null
Full-term billing aggregates. Contains premium, taxes, fees, and grand total for the full policy term.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"AI Insurance","colors":{"primary":"#714CC5","light":"#D3BFFF","dark":"#A887F3"},"logo":{"light":"https://mintcdn.com/aiinsurance-1ef97d09/ls88CnBYSdncVsv-/logo/dark.jpg?fit=max\u0026auto=format\u0026n=ls88CnBYSdncVsv-\u0026q=85\u0026s=70f2fca24207981e78b1a1fd14e47a66","dark":"https://mintcdn.com/aiinsurance-1ef97d09/ls88CnBYSdncVsv-/logo/dark.jpg?fit=max\u0026auto=format\u0026n=ls88CnBYSdncVsv-\u0026q=85\u0026s=70f2fca24207981e78b1a1fd14e47a66","href":"https://app.aiinsurance.io"},"favicon":"https://mintcdn.com/aiinsurance-1ef97d09/ls88CnBYSdncVsv-/logo/dark.jpg?fit=max\u0026auto=format\u0026n=ls88CnBYSdncVsv-\u0026q=85\u0026s=70f2fca24207981e78b1a1fd14e47a66","navbar":{"links":[{"href":"mailto:support@aiinsurance.io","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.aiinsurance.io"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/a-i-insurance-inc"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"aiinsurance-1ef97d09","hasAudioNarration":false,"actualSubdomain":"aiinsurance-1ef97d09","customDomains":["docs.aiinsurance.io"],"gitSource":{"type":"github","owner":"ai-insurance","repo":"app","deployBranch":"trunk","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ab6b1b4e840ec07c6292b3c","clientVersion":"0.0.4342","searchFilterCounts":[{"language":"default","tag":"API (Legacy)","count":139},{"language":"default","tag":"API (v1)","count":99},{"language":"default","tag":"Features","count":85},{"language":"default","tag":"Policies","count":46},{"language":"default","tag":"Platform","count":34},{"language":"default","tag":"Exposures","count":21},{"language":"default","tag":"Events","count":20},{"language":"default","tag":"Companies","count":20},{"language":"default","tag":"Submissions","count":17},{"language":"default","tag":"Quotes","count":15}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/field-model-policy-transactions/cancel-policy-transaction","slug":"/api-reference/field-model-policy-transactions/cancel-policy-transaction","pageMetadata":{"title":"Cancel Policy Transaction","description":"Cancels a policy as of a given date via a CANCEL transaction. The policy must\nbe Active at the cancellation date. The action sets `policyStatus` to\n`cancelled` from the cancellation date through the end of the policy term and\nrecords a `policyEarlyTerminationDate` on `fullTermPolicyInfo`.\n\nOptional `fullTermDeltas` allow adjusting `fullTermPolicyBilling` fields (e.g.\nshort-rate penalties, cancellation fees). Only `fullTermPolicyBilling`-prefixed\npaths are accepted — per-segment data and policy dates are not modifiable via\ncancel. Dates are not accepted on these deltas because they always span the\nfull policy term; the server injects them.\n\n**Required permission:** `company.policy:update`\n","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml post /api/v1/external/companies/{companyId}/policies/{policyId}/transaction/cancel","href":"/api-reference/field-model-policy-transactions/cancel-policy-transaction","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Cancels a policy as of a given date via a CANCEL transaction. The policy must\\nbe Active at the cancellation date. The action sets \", _jsx(_components.code, {\n children: \"policyStatus\"\n }), \" to\\n\", _jsx(_components.code, {\n children: \"cancelled\"\n }), \" from the cancellation date through the end of the policy term and\\nrecords a \", _jsx(_components.code, {\n children: \"policyEarlyTerminationDate\"\n }), \" on \", _jsx(_components.code, {\n children: \"fullTermPolicyInfo\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Optional \", _jsx(_components.code, {\n children: \"fullTermDeltas\"\n }), \" allow adjusting \", _jsx(_components.code, {\n children: \"fullTermPolicyBilling\"\n }), \" fields (e.g.\\nshort-rate penalties, cancellation fees). Only \", _jsx(_components.code, {\n children: \"fullTermPolicyBilling\"\n }), \"-prefixed\\npaths are accepted — per-segment data and policy dates are not modifiable via\\ncancel. Dates are not accepted on these deltas because they always span the\\nfull policy term; the server injects them.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Required permission:\"\n }), \" \", _jsx(_components.code, {\n children: \"company.policy:update\"\n })]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Cancel Policy Transaction","description":"Cancels a policy as of a given date via a CANCEL transaction. The policy must\nbe Active at the cancellation date. The action sets `policyStatus` to\n`cancelled` from the cancellation date through the end of the policy term and\nrecords a `policyEarlyTerminationDate` on `fullTermPolicyInfo`.\n\nOptional `fullTermDeltas` allow adjusting `fullTermPolicyBilling` fields (e.g.\nshort-rate penalties, cancellation fees). Only `fullTermPolicyBilling`-prefixed\npaths are accepted — per-segment data and policy dates are not modifiable via\ncancel. Dates are not accepted on these deltas because they always span the\nfull policy term; the server injects them.\n\n**Required permission:** `company.policy:update`\n","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml post /api/v1/external/companies/{companyId}/policies/{policyId}/transaction/cancel","href":"/api-reference/field-model-policy-transactions/cancel-policy-transaction","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/aiinsurance-1ef97d09/4e1c246dd3af6ca5/getting-started/troubleshooting-and-support/faqs/faq-questions.js"],"openApiReferenceData":{"operation":{"operationId":"cancelPolicyTransaction","summary":"Cancel Policy Transaction","description":"Cancels a policy as of a given date via a CANCEL transaction. The policy must\nbe Active at the cancellation date. The action sets `policyStatus` to\n`cancelled` from the cancellation date through the end of the policy term and\nrecords a `policyEarlyTerminationDate` on `fullTermPolicyInfo`.\n\nOptional `fullTermDeltas` allow adjusting `fullTermPolicyBilling` fields (e.g.\nshort-rate penalties, cancellation fees). Only `fullTermPolicyBilling`-prefixed\npaths are accepted — per-segment data and policy dates are not modifiable via\ncancel. Dates are not accepted on these deltas because they always span the\nfull policy term; the server injects them.\n\n**Required permission:** `company.policy:update`\n","tags":["Field Model Policy Transactions"],"parameters":["c1f6c7a4-39d9-4c93-b40f-13111e2d0ef7","2a8851c2-fe73-4a6f-935a-cffb77777cde"],"requestBody":"e065696b-6ba3-4ef1-9b76-053b2510aafb","responses":{"201":"3f0ea9a0-da76-4125-bba6-f079fbc6696f","400":"1288f771-a878-431f-98d5-0b0aba51ce31","401":"504a222a-a876-432c-b7fb-538a56973fdd","403":"743ea1a3-fd5b-42cb-a590-ae031b5a4849","404":"69108eaf-daba-4cd5-9d34-2620398c0227","500":"4dbe01f5-61db-401c-bc2c-5452d13cbb68"},"method":"post","type":"path","servers":["2b61fdd4-788f-4748-ba4d-04ce900bb4a0"],"security":["7989fc0b-09e9-462b-a38b-64409e876087"],"path":"/api/v1/external/companies/{companyId}/policies/{policyId}/transaction/cancel","baseUrlOptions":["https://app.aiinsurance.io"],"title":"Cancel Policy Transaction","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"c1f6c7a4-39d9-4c93-b40f-13111e2d0ef7":{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"description":"Company identifier","uniqueKey":"","typeLabel":"string\u003cuuid>"},"description":"Company identifier"},"2a8851c2-fe73-4a6f-935a-cffb77777cde":{"name":"policyId","in":"path","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"description":"Policy identifier","uniqueKey":"","typeLabel":"string\u003cuuid>"},"description":"Policy identifier"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["cancellationDate"],"properties":{"cancellationDate":{"type":"string","format":"date","description":"The date the cancellation takes effect in ISO 8601 format. Must fall\nwithin the policy term, and the policy must be Active at this date.\n","isRequired":true,"uniqueKey":"cancellationDate","typeLabel":"string\u003cdate>"},"transactionTimestamp":{"type":"string","format":"date-time","description":"When the business decision was made. Defaults to the current time if omitted.\nSet explicitly for imports (e.g., aligning to a bordereau booking date).\n","uniqueKey":"transactionTimestamp","typeLabel":"string\u003cdate-time>"},"fullTermDeltas":{"type":"array","description":"Optional billing-only deltas. Each delta specifies a `fullTermPolicyBilling`\npath and a new value. These are applied as Overwrite actions across the full\npolicy term (since `fullTermPolicyBilling` is a cross-segment invariant that\nmust be identical in every segment).\n","items":{"type":"object","required":["path","value"],"properties":{"path":{"type":"string","description":"Path within `fullTermPolicyBilling` (e.g.\n`policy.fullTermPolicyBilling.cancellationPenalty`).\n","isRequired":true,"uniqueKey":"fullTermDeltas.items.[INDEX].path","typeLabel":"string"},"value":{"description":"The new value to set at the path.","isRequired":true,"uniqueKey":"fullTermDeltas.items.[INDEX].value","typeLabel":"any"}},"uniqueKey":"fullTermDeltas.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fullTermDeltas","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"simpleCancellation":{"title":"simpleCancellation","summary":"Cancel policy mid-term","value":{"cancellationDate":"2025-06-15"}},"cancellationWithFees":{"title":"cancellationWithFees","summary":"Cancel with short-rate penalty","value":{"cancellationDate":"2025-06-15","fullTermDeltas":[{"path":"policy.fullTermPolicyBilling.cancellationPenalty","value":2500},{"path":"policy.fullTermPolicyBilling.policyGrandTotal","value":88000}]}},"cancellationWithTimestamp":{"title":"cancellationWithTimestamp","summary":"Cancel with explicit transaction timestamp","value":{"cancellationDate":"2025-06-15","transactionTimestamp":"2025-06-14T16:00:00Z"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"3f0ea9a0-da76-4125-bba6-f079fbc6696f":{"description":"Policy cancelled successfully","content":{"application/json":{"schema":{"type":"object","description":"Response returned by policy transaction endpoints. Contains the policy version\nproduced by the transaction, including all derived segments.\n","required":["policyId","policyVersion","transactionId","startDate","endDate","createdAt","segments"],"properties":{"policyId":{"type":"string","format":"uuid","description":"Policy identifier","isRequired":true,"uniqueKey":"policyId","typeLabel":"string\u003cuuid>"},"policyVersion":{"type":"integer","description":"Sequential version number produced by this transaction","isRequired":true,"uniqueKey":"policyVersion","typeLabel":"integer"},"transactionId":{"type":"string","format":"uuid","description":"Identifier of the transaction that produced this version","isRequired":true,"uniqueKey":"transactionId","typeLabel":"string\u003cuuid>"},"startDate":{"type":"string","format":"date","description":"Policy term start date (ISO 8601)","isRequired":true,"uniqueKey":"startDate","typeLabel":"string\u003cdate>"},"endDate":{"type":"string","format":"date","description":"Policy term end date (ISO 8601)","isRequired":true,"uniqueKey":"endDate","typeLabel":"string\u003cdate>"},"createdAt":{"type":"string","format":"date-time","description":"When the transaction was created (ISO 8601)","isRequired":true,"uniqueKey":"createdAt","typeLabel":"string\u003cdate-time>"},"segments":{"type":"array","description":"Derived segments for this policy version. Each segment represents a maximal contiguous\ndate range where policy state is identical. Adjacent segments with identical data are\nautomatically merged.\n","items":{"type":"object","description":"A derived policy segment representing a date range where policy state is identical.\nContains the full policy data (policy-level fields and nested exposures) for this period.\n","required":["startDate","endDate","fieldModelV1Data"],"properties":{"startDate":{"type":"string","format":"date","description":"Segment start date (ISO 8601)","isRequired":true,"uniqueKey":"segments.items.[INDEX].startDate","typeLabel":"string\u003cdate>"},"endDate":{"type":"string","format":"date","description":"Segment end date (ISO 8601)","isRequired":true,"uniqueKey":"segments.items.[INDEX].endDate","typeLabel":"string\u003cdate>"},"fieldModelV1Data":{"type":"object","description":"Policy state for this segment. Contains a `policy` key with policy-level fields\nand a nested `exposures` array.\n","properties":{"policy":{"type":"object","description":"Policy-level fields and nested exposures for this segment.","additionalProperties":true,"uniqueKey":"segments.items.[INDEX].fieldModelV1Data.policy","typeLabel":"object"}},"additionalProperties":true,"isRequired":true,"uniqueKey":"segments.items.[INDEX].fieldModelV1Data","typeLabel":"object"}},"uniqueKey":"segments.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"segments","typeLabel":"object[]"},"fullTermPolicyInfo":{"oneOf":[{"type":"object","description":"Full-term policy information. Contains policy status, term dates, and primary insured reference.\n","additionalProperties":true,"uniqueKey":"fullTermPolicyInfo.oneOf.0","typeLabel":"object"},{"type":"null","description":"Full-term policy information. Contains policy status, term dates, and primary insured reference.\n","additionalProperties":true,"uniqueKey":"fullTermPolicyInfo.oneOf.1","typeLabel":"null"}],"uniqueKey":"fullTermPolicyInfo","typeLabel":"object | null"},"fullTermPolicyBilling":{"oneOf":[{"type":"object","description":"Full-term billing aggregates. Contains premium, taxes, fees, and grand total for the full policy term.\n","additionalProperties":true,"uniqueKey":"fullTermPolicyBilling.oneOf.0","typeLabel":"object"},{"type":"null","description":"Full-term billing aggregates. Contains premium, taxes, fees, and grand total for the full policy term.\n","additionalProperties":true,"uniqueKey":"fullTermPolicyBilling.oneOf.1","typeLabel":"null"}],"uniqueKey":"fullTermPolicyBilling","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"success":{"title":"success","summary":"Cancellation transaction response","value":{"policyId":"550e8400-e29b-41d4-a716-446655440001","policyVersion":2,"transactionId":"550e8400-e29b-41d4-a716-446655440040","startDate":"2025-01-01","endDate":"2025-12-31","createdAt":"2025-06-15T10:30:00.000Z","fullTermPolicyInfo":{"policyStatus":"active","policyStartDate":{"year":2025,"month":1,"day":1,"timezone":"America/New_York"},"policyEndDate":{"year":2025,"month":12,"day":31,"timezone":"America/New_York"},"primaryInsuredId":"550e8400-e29b-41d4-a716-446655440010","policyEarlyTerminationDate":"2025-06-15"},"fullTermPolicyBilling":{"policyPremium":85000,"policyTaxes":0,"policyFees":500,"policyGrandTotal":85500},"segments":[{"startDate":"2025-01-01","endDate":"2025-06-14","fieldModelV1Data":{"policy":{"policyStatus":"active","annualPremium":85000,"fullTermPolicyInfo":{"policyStatus":"active","policyStartDate":{"year":2025,"month":1,"day":1,"timezone":"America/New_York"},"policyEndDate":{"year":2025,"month":12,"day":31,"timezone":"America/New_York"},"primaryInsuredId":"550e8400-e29b-41d4-a716-446655440010","policyEarlyTerminationDate":"2025-06-15"},"fullTermPolicyBilling":{"policyPremium":85000,"policyTaxes":0,"policyFees":500,"policyGrandTotal":85500}}}},{"startDate":"2025-06-15","endDate":"2025-12-31","fieldModelV1Data":{"policy":{"policyStatus":"cancelled","annualPremium":85000,"fullTermPolicyInfo":{"policyStatus":"active","policyStartDate":{"year":2025,"month":1,"day":1,"timezone":"America/New_York"},"policyEndDate":{"year":2025,"month":12,"day":31,"timezone":"America/New_York"},"primaryInsuredId":"550e8400-e29b-41d4-a716-446655440010","policyEarlyTerminationDate":"2025-06-15"},"fullTermPolicyBilling":{"policyPremium":85000,"policyTaxes":0,"policyFees":500,"policyGrandTotal":85500}}}}]}}},"exampleType":"examples"}},"exampleType":"examples"},"1288f771-a878-431f-98d5-0b0aba51ce31":{"description":"Validation error","content":{"application/json":{"schema":{"type":"object","description":"Standard error response for all external API endpoints","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Machine-readable error code","example":"VALIDATION_ERROR","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message","example":"submissionId: Required field is missing","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"array","description":"Additional details for validation errors (field-level errors)","items":{"type":"object","properties":{"field":{"type":"string","description":"The field that caused the error","example":"submissionId","uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","description":"Description of the field error","example":"Required field is missing","uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"noExistingVersion":{"title":"noExistingVersion","summary":"Policy has no NEW_BUSINESS transaction","value":{"error":{"code":"InvalidRequest","message":"Policy has no existing version — NEW_BUSINESS must be created first"}}},"dateOutsidePolicyPeriod":{"title":"dateOutsidePolicyPeriod","summary":"Cancellation date outside policy term","value":{"error":{"code":"InvalidRequest","message":"Cancellation date 2026-03-01 falls outside policy period [2025-01-01, 2025-12-31]"}}},"policyNotActive":{"title":"policyNotActive","summary":"Policy is not Active at cancellation date","value":{"error":{"code":"InvalidRequest","message":"Policy must be Active at cancellation date 2025-09-01 — current status is \"cancelled\""}}},"invalidDeltaPath":{"title":"invalidDeltaPath","summary":"fullTermDeltas path not targeting fullTermPolicyBilling","value":{"error":{"code":"InvalidDelta","message":"Invalid fullTermDeltas path \"policy.annualPremium\" — must target policy.fullTermPolicyBilling"}}},"missingPremium":{"title":"missingPremium","summary":"Cancel transaction missing required premium","value":{"error":{"code":"InvalidRequest","message":"Cancel transaction must specify a premium (policy.fullTermPolicyBilling.policyPremium)"}}},"premiumMismatch":{"title":"premiumMismatch","summary":"Cancel premium does not match earned premium","value":{"error":{"code":"InvalidRequest","message":"Cancel premium (50000) does not match earned premium through cancellation date (42500.00)."}}}},"exampleType":"examples"}},"exampleType":"examples"},"504a222a-a876-432c-b7fb-538a56973fdd":{"description":"Unauthorized - Invalid or missing API key","content":{"application/json":{"schema":{"type":"object","description":"Standard error response for all external API endpoints","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Machine-readable error code","example":"VALIDATION_ERROR","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message","example":"submissionId: Required field is missing","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"array","description":"Additional details for validation errors (field-level errors)","items":{"type":"object","properties":{"field":{"type":"string","description":"The field that caused the error","example":"submissionId","uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","description":"Description of the field error","example":"Required field is missing","uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"missingApiKey":{"title":"missingApiKey","summary":"Missing API key","value":{"error":{"code":"UNAUTHORIZED","message":"Authorization header is required"}}},"bearerTokenNotAllowed":{"title":"bearerTokenNotAllowed","summary":"Bearer token used instead of API key","value":{"error":{"code":"UNAUTHORIZED","message":"External API endpoints require API key authentication"}}}},"exampleType":"examples"}},"exampleType":"examples"},"743ea1a3-fd5b-42cb-a590-ae031b5a4849":{"description":"Forbidden - Insufficient permissions","content":{"application/json":{"schema":{"type":"object","description":"Standard error response for all external API endpoints","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Machine-readable error code","example":"VALIDATION_ERROR","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message","example":"submissionId: Required field is missing","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"array","description":"Additional details for validation errors (field-level errors)","items":{"type":"object","properties":{"field":{"type":"string","description":"The field that caused the error","example":"submissionId","uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","description":"Description of the field error","example":"Required field is missing","uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"insufficientPermissions":{"title":"insufficientPermissions","summary":"Insufficient permissions","value":{"error":{"code":"FORBIDDEN","message":"Insufficient permissions to perform this action"}}}},"exampleType":"examples"}},"exampleType":"examples"},"69108eaf-daba-4cd5-9d34-2620398c0227":{"description":"Policy not found","content":{"application/json":{"schema":{"type":"object","description":"Standard error response for all external API endpoints","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Machine-readable error code","example":"VALIDATION_ERROR","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message","example":"submissionId: Required field is missing","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"array","description":"Additional details for validation errors (field-level errors)","items":{"type":"object","properties":{"field":{"type":"string","description":"The field that caused the error","example":"submissionId","uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","description":"Description of the field error","example":"Required field is missing","uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"policyNotFound":{"title":"policyNotFound","summary":"Policy does not exist","value":{"error":{"code":"NOT_FOUND","message":"Policy 550e8400-e29b-41d4-a716-446655440099 not found"}}}},"exampleType":"examples"}},"exampleType":"examples"},"4dbe01f5-61db-401c-bc2c-5452d13cbb68":{"description":"Internal Server Error - Unexpected error occurred","content":{"application/json":{"schema":{"type":"object","description":"Standard error response for all external API endpoints","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Machine-readable error code","example":"VALIDATION_ERROR","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message","example":"submissionId: Required field is missing","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"array","description":"Additional details for validation errors (field-level errors)","items":{"type":"object","properties":{"field":{"type":"string","description":"The field that caused the error","example":"submissionId","uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","description":"Description of the field error","example":"Required field is missing","uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"internalError":{"title":"internalError","summary":"Unexpected server error","value":{"error":{"code":"INTERNAL_ERROR","message":"An unexpected error occurred. Please try again later."}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"7989fc0b-09e9-462b-a38b-64409e876087":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"API key authentication. Include your API key in the Authorization header.","scopes":[]}}},"servers":{"2b61fdd4-788f-4748-ba4d-04ce900bb4a0":{"url":"https://app.aiinsurance.io","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"Authorization","description":"API key authentication. Include your API key in the Authorization header.","scopes":[]},"schema":{"title":"Authorization","type":"string","description":"API key authentication. Include your API key in the Authorization header.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"Authorization"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"openapi/generated-external-api.yaml"},"subdomain":"aiinsurance-1ef97d09","siteName":"AI Insurance","title":"Cancel Policy Transaction - AI Insurance","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-25T17:39:19.465Z","originalFileLocation":"api-reference/field-model-policy-transactions/cancel-policy-transaction.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Cancels a policy as of a given date via a CANCEL transaction. The policy must be Active at the cancellation date. The action sets policyStatus to cancelled from the cancellation date through the end of the policy term and records a policyEarlyTerminationDate on fullTermPolicyInfo. Optional fullTermDeltas allow adjusting fullTermPolicyBilling fields (e.g. short-rate penalties, cancellation fees). Only fullTermPolicyBilling-prefixed paths are accepted — per-segment data and policy dates are not modifiable via cancel. Dates are not accepted on these deltas because they always span the full policy term; the server injects them. Required permission: company.policy:update\">\u003cmeta data-mint-head name=\"application-name\" content=\"AI Insurance\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/aiinsurance-1ef97d09/oQoqFFzWmBxGYA2D/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/aiinsurance-1ef97d09/oQoqFFzWmBxGYA2D/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/aiinsurance-1ef97d09/oQoqFFzWmBxGYA2D/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/aiinsurance-1ef97d09/oQoqFFzWmBxGYA2D/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/aiinsurance-1ef97d09/oQoqFFzWmBxGYA2D/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/aiinsurance-1ef97d09/oQoqFFzWmBxGYA2D/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/aiinsurance-1ef97d09/oQoqFFzWmBxGYA2D/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/aiinsurance-1ef97d09/oQoqFFzWmBxGYA2D/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/aiinsurance-1ef97d09/oQoqFFzWmBxGYA2D/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Cancel Policy Transaction - AI Insurance\">\u003cmeta data-mint-head property=\"og:description\" content=\"Cancels a policy as of a given date via a CANCEL transaction. The policy must be Active at the cancellation date. The action sets policyStatus to cancelled from the cancellation date through the end of the policy term and records a policyEarlyTerminationDate on fullTermPolicyInfo. Optional fullTermDeltas allow adjusting fullTermPolicyBilling fields (e.g. short-rate penalties, cancellation fees). Only fullTermPolicyBilling-prefixed paths are accepted — per-segment data and policy dates are not modifiable via cancel. Dates are not accepted on these deltas because they always span the full policy term; the server injects them. Required permission: company.policy:update\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"AI Insurance\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.aiinsurance.io/api-reference/field-model-policy-transactions/cancel-policy-transaction\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://aiinsurance-1ef97d09.mintlify.site/_mintlify/api/og/v2?division=Transactions\u0026amp;title=Cancel+Policy+Transaction\u0026amp;description=Cancels+a+policy+as+of+a+given+date+via+a+CANCEL+transaction.+The+policy+must%0Abe+Active+at+the+cancellation+date.+The+action+sets+%60policyStatus%60+to%0A%60cancelled%60+\u0026amp;theme=6c43b79e81469ba65deaf743\u0026amp;signature=df26213c35ef4e6faa509c10aaa15940c91732b9d1a8037f9c6520d9cab5b843\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Cancel Policy Transaction - AI Insurance\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Cancels a policy as of a given date via a CANCEL transaction. The policy must be Active at the cancellation date. The action sets policyStatus to cancelled from the cancellation date through the end of the policy term and records a policyEarlyTerminationDate on fullTermPolicyInfo. Optional fullTermDeltas allow adjusting fullTermPolicyBilling fields (e.g. short-rate penalties, cancellation fees). Only fullTermPolicyBilling-prefixed paths are accepted — per-segment data and policy dates are not modifiable via cancel. Dates are not accepted on these deltas because they always span the full policy term; the server injects them. Required permission: company.policy:update\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://aiinsurance-1ef97d09.mintlify.site/_mintlify/api/og/v2?division=Transactions\u0026amp;title=Cancel+Policy+Transaction\u0026amp;description=Cancels+a+policy+as+of+a+given+date+via+a+CANCEL+transaction.+The+policy+must%0Abe+Active+at+the+cancellation+date.+The+action+sets+%60policyStatus%60+to%0A%60cancelled%60+\u0026amp;theme=6c43b79e81469ba65deaf743\u0026amp;signature=df26213c35ef4e6faa509c10aaa15940c91732b9d1a8037f9c6520d9cab5b843\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/aiinsurance-1ef97d09/oQoqFFzWmBxGYA2D/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"AI Insurance\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#714CC5\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.aiinsurance.io/api-reference/field-model-policy-transactions/cancel-policy-transaction\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/field-model-policy-transactions/cancel-policy-transaction.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.aiinsurance.io/#organization\",\"name\":\"AI Insurance\",\"url\":\"https://docs.aiinsurance.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/aiinsurance-1ef97d09/ls88CnBYSdncVsv-/logo/dark.jpg?fit=max\u0026auto=format\u0026n=ls88CnBYSdncVsv-\u0026q=85\u0026s=70f2fca24207981e78b1a1fd14e47a66\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.aiinsurance.io#website\",\"name\":\"AI Insurance\",\"url\":\"https://docs.aiinsurance.io\",\"publisher\":{\"@id\":\"https://docs.aiinsurance.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.aiinsurance.io/api-reference/field-model-policy-transactions/cancel-policy-transaction#webpage\",\"url\":\"https://docs.aiinsurance.io/api-reference/field-model-policy-transactions/cancel-policy-transaction\",\"name\":\"Cancel Policy Transaction\",\"description\":\"Cancels a policy as of a given date via a CANCEL transaction. The policy must be Active at the cancellation date. The action sets policyStatus to cancelled from the cancellation date through the end of the policy term and records a policyEarlyTerminationDate on fullTermPolicyInfo. Optional fullTermDeltas allow adjusting fullTermPolicyBilling fields (e.g. short-rate penalties, cancellation fees). Only fullTermPolicyBilling-prefixed paths are accepted — per-segment data and policy dates are not modifiable via cancel. Dates are not accepted on these deltas because they always span the full policy term; the server injects them. Required permission: company.policy:update\",\"dateModified\":\"2026-09-25T17:39:19.465Z\",\"isPartOf\":{\"@id\":\"https://docs.aiinsurance.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.aiinsurance.io/api-reference/field-model-policy-transactions/cancel-policy-transaction#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.aiinsurance.io/api-reference/field-model-policy-transactions/cancel-policy-transaction#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Policies\",\"item\":\"https://docs.aiinsurance.io/api-v1-reference/policies/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Transactions\",\"item\":\"https://docs.aiinsurance.io/api-reference/field-model-policy-transactions/new-business-transaction\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Cancel Policy Transaction\",\"item\":\"https://docs.aiinsurance.io/api-reference/field-model-policy-transactions/cancel-policy-transaction\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.aiinsurance.io/api-reference/field-model-policy-transactions/cancel-policy-transaction#apireference\",\"headline\":\"Cancel Policy Transaction\",\"name\":\"Cancel Policy Transaction\",\"description\":\"Cancels a policy as of a given date via a CANCEL transaction. The policy must be Active at the cancellation date. The action sets policyStatus to cancelled from the cancellation date through the end of the policy term and records a policyEarlyTerminationDate on fullTermPolicyInfo. Optional fullTermDeltas allow adjusting fullTermPolicyBilling fields (e.g. short-rate penalties, cancellation fees). Only fullTermPolicyBilling-prefixed paths are accepted — per-segment data and policy dates are not modifiable via cancel. Dates are not accepted on these deltas because they always span the full policy term; the server injects them. Required permission: company.policy:update\",\"url\":\"https://docs.aiinsurance.io/api-reference/field-model-policy-transactions/cancel-policy-transaction\",\"mainEntityOfPage\":{\"@id\":\"https://docs.aiinsurance.io/api-reference/field-model-policy-transactions/cancel-policy-transaction#webpage\"},\"dateModified\":\"2026-09-25T17:39:19.465Z\",\"publisher\":{\"@id\":\"https://docs.aiinsurance.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.aiinsurance.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"AI Insurance\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"AI Insurance\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/field-model-policy-transactions/cancel-policy-transaction.md","siteName":"AI Insurance","nav":{"global":null,"tabs":[{"tab":"Home","pages":[{"title":"Home","href":"/homepage"}]},{"tab":"Get Started","pages":[{"title":"Get Started","href":"/getting-started/intro-to-aiinsurance/what-is-aiinsurance"}]},{"tab":"Features","pages":[{"title":"Features","href":"/platform/platform-overview/key-components"}]},{"tab":"API (v1)","groups":[{"group":"Getting Started","pages":[{"title":"Overview","href":"/api-v1-reference/overview"},{"title":"Roadmap","href":"/api-v1-reference/roadmap"},{"title":"Generating API Keys","href":"/api-v1-reference/authentication"}]},{"group":"Exposures","pages":[{"title":"Overview","href":"/api-v1-reference/exposures/overview"},{"title":"Get Exposure Configuration","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/exposures/configuration","href":"/api-reference/field-model-exposures/get-exposure-configuration"},{"title":"Create Exposure","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml post /api/v1/external/companies/{companyId}/exposures","href":"/api-reference/field-model-exposures/create-exposure"},{"title":"List Exposures","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/exposures","href":"/api-reference/field-model-exposures/list-exposures"},{"title":"Get Exposure","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/exposures/{exposureId}","href":"/api-reference/field-model-exposures/get-exposure"},{"title":"Update Exposure","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml put /api/v1/external/companies/{companyId}/exposures/{exposureId}","href":"/api-reference/field-model-exposures/update-exposure"},{"title":"Delete Exposure","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml delete /api/v1/external/companies/{companyId}/exposures/{exposureId}","href":"/api-reference/field-model-exposures/delete-exposure"}]},{"group":"Events","pages":[{"title":"Overview","href":"/api-v1-reference/events/overview"},{"title":"Get Event Configuration","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/events/configuration","href":"/api-reference/field-model-events/get-event-configuration"},{"title":"Create Event","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml post /api/v1/external/companies/{companyId}/events","href":"/api-reference/field-model-events/create-event"},{"title":"List Events","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/events","href":"/api-reference/field-model-events/list-events"},{"title":"Get Event","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/events/{eventId}","href":"/api-reference/field-model-events/get-event"},{"title":"Update Event","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml put /api/v1/external/companies/{companyId}/events/{eventId}","href":"/api-reference/field-model-events/update-event"},{"title":"Delete Event","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml delete /api/v1/external/companies/{companyId}/events/{eventId}","href":"/api-reference/field-model-events/delete-event"}]},{"group":"Event Financials","pages":[{"title":"Overview","href":"/api-v1-reference/event-financials/overview"},{"title":"List Event Financial Transactions","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/events/{eventId}/financials/transactions","href":"/api-reference/field-model-event-financials/list-event-financial-transactions"},{"title":"Update Expected Totals","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml patch /api/v1/external/companies/{companyId}/events/{eventId}/financials/expected-totals","href":"/api-reference/field-model-events/update-expected-totals"}]},{"group":"Policies","pages":[{"title":"Overview","href":"/api-v1-reference/policies/overview"},{"title":"Concepts","href":"/api-v1-reference/policies/concepts"},{"title":"Lifecycle Walkthrough","href":"/api-v1-reference/policies/lifecycle-walkthrough"},{"group":"Transactions","pages":[{"title":"New Business Transaction","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml post /api/v1/external/companies/{companyId}/policies/transaction/new-business","href":"/api-reference/field-model-policy-transactions/new-business-transaction"},{"title":"Endorse Policy Transaction","description":"Applies an ENDORSE transaction to an existing policy. Endorsements modify\npolicy state over specified date ranges using per-field deltas. Each delta\ntargets a specific path within the policy data (e.g. `policy.annualPremium`,\n`policy.exposures`) and can Add, Remove, or Overwrite values.\n\nDeltas come in two flavors:\n\n- **`deltas`** — segmented deltas for per-segment fields. Each delta\n specifies a `startDate` / `endDate` within the policy term.\n- **`fullTermDeltas`** — deltas for cross-segment invariant fields\n (`fullTermPolicyBilling`, `fullTermPolicyInfo`, `fullTermPolicyRatingResponse`,\n `fullTermExposureRatingResponse`). These are applied uniformly across\n the entire policy term, so no dates are accepted — the server injects\n `policyStartDate` → `policyEndDate` automatically.\n\nMixing the two is a validation error: `fullTerm*` paths in `deltas` are\nrejected, and non-`fullTerm*` paths in `fullTermDeltas` are rejected. At\nleast one of the two arrays must be non-empty.\n\nThe engine recomputes segments after applying all deltas — adjacent\nsegments with identical data are automatically merged. The response\nincludes the full set of resulting segments.\n\n**Required permission:** `company.policy:update`\n","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml post /api/v1/external/companies/{companyId}/policies/{policyId}/transaction/endorse","href":"/api-reference/field-model-policy-transactions/endorse-policy-transaction"},{"title":"Cancel Policy Transaction","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml post /api/v1/external/companies/{companyId}/policies/{policyId}/transaction/cancel","href":"/api-reference/field-model-policy-transactions/cancel-policy-transaction"},{"title":"Reinstate Policy Transaction","description":"Reinstates a previously cancelled policy as of a given date via a REINSTATE\ntransaction. The policy must be Cancelled at the reinstatement date. The action\nsets `policyStatus` back to `active` from the reinstatement date through the\nend of the policy term and clears the `policyEarlyTerminationDate` on\n`fullTermPolicyInfo`.\n\nOptional `fullTermDeltas` allow adjusting `fullTermPolicyBilling` fields (e.g.\nreinstatement fees). Only `fullTermPolicyBilling`-prefixed paths are accepted —\nper-segment data and policy dates are not modifiable via reinstate. Dates are\nnot accepted on these deltas because they always span the full policy term;\nthe server injects them.\n\n**Required permission:** `company.policy:update`\n","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml post /api/v1/external/companies/{companyId}/policies/{policyId}/transaction/reinstate","href":"/api-reference/field-model-policy-transactions/reinstate-policy-transaction"},{"title":"Renew Policy Transaction","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml post /api/v1/external/companies/{companyId}/policies/transaction/renew","href":"/api-reference/field-model-policy-transactions/renew-policy-transaction"},{"title":"Delete Policy Transaction","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml delete /api/v1/external/companies/{companyId}/policies/{policyId}/transactions/{transactionId}","href":"/api-reference/field-model-policy-transactions/delete-policy-transaction"},{"title":"Get Policy Version","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/policies/{policyId}/versions/{version}","href":"/api-reference/field-model-policy-transactions/get-policy-version"},{"title":"List Single Policy Versions","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/policies/{policyId}/versions","href":"/api-reference/field-model-policy-transactions/list-single-policy-versions"},{"title":"List Policy Transactions","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/policies/{policyId}/transactions","href":"/api-reference/field-model-policy-transactions/list-policy-transactions"},{"title":"Get Policy Transaction","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/policies/{policyId}/transactions/{transactionId}","href":"/api-reference/field-model-policy-transactions/get-policy-transaction"}]},{"group":"Earned Premium","pages":[{"title":"Get Earned Premium (Single Policy)","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/policies/{policyId}/earned-premium","href":"/api-reference/field-model-earned-premium/get-earned-premium-single-policy"},{"title":"List Earned Premium (Multi-Policy)","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/policies/list/earned-premium","href":"/api-reference/field-model-earned-premium/list-earned-premium-multi-policy"},{"title":"Aggregate Earned Premium","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/policies/aggregate/earned-premium","href":"/api-reference/field-model-earned-premium/aggregate-earned-premium"}]},{"group":"Bordereau","pages":[{"title":"List Bordereau Rows","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/policies/bordereau","href":"/api-reference/field-model-bordereau/list-bordereau-rows"},{"title":"Download Bordereau CSV","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/policies/bordereau/download","href":"/api-reference/field-model-bordereau/download-bordereau-csv"},{"title":"Export Bordereau to Google Sheets","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml post /api/v1/external/companies/{companyId}/policies/bordereau/export","href":"/api-reference/field-model-bordereau/export-bordereau-to-google-sheets"}]},{"group":"Search","pages":[{"title":"List Policies","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/policies/list","href":"/api-reference/field-model-policy-transactions/list-policies"},{"title":"List Policy Versions","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/policies/versions","href":"/api-reference/field-model-policy-transactions/list-policy-versions"}]},{"group":"Validation","pages":[{"title":"Validate Policy","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/policies/{policyId}/validate","href":"/api-reference/field-model-policy-validation/validate-policy"},{"title":"Validate Policies (Batch)","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/policies/validate","href":"/api-reference/field-model-policy-validation/validate-policies-batch"}]},{"group":"Configuration","pages":[{"title":"Get Policies Configuration","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/policies/configuration","href":"/api-reference/field-model-policies/get-policies-configuration"}]}]},{"group":"Submissions","pages":[{"title":"Overview","href":"/api-v1-reference/submissions/overview"},{"title":"List Submissions","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/submissions","href":"/api-reference/field-model-submissions/list-submissions"},{"title":"Create Submission","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml post /api/v1/external/companies/{companyId}/submissions","href":"/api-reference/field-model-submissions/create-submission"},{"title":"Get Submission","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/submissions/{submissionId}","href":"/api-reference/field-model-submissions/get-submission"},{"title":"Update Submission","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml put /api/v1/external/companies/{companyId}/submissions/{submissionId}","href":"/api-reference/field-model-submissions/update-submission"},{"title":"Delete Submission","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml delete /api/v1/external/companies/{companyId}/submissions/{submissionId}","href":"/api-reference/field-model-submissions/delete-submission"},{"title":"Get Submissions Configuration","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/submissions/configuration","href":"/api-reference/field-model-submissions/get-submissions-configuration"}]},{"group":"Quotes","pages":[{"title":"Overview","href":"/api-v1-reference/quotes/overview"},{"title":"List Quotes","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/quotes","href":"/api-reference/field-model-quotes/list-quotes"},{"title":"Create Quote","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml post /api/v1/external/companies/{companyId}/quotes","href":"/api-reference/field-model-quotes/create-quote"},{"title":"Get Quote","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/quotes/{quoteId}","href":"/api-reference/field-model-quotes/get-quote"},{"title":"Update Quote","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml put /api/v1/external/companies/{companyId}/quotes/{quoteId}","href":"/api-reference/field-model-quotes/update-quote"},{"title":"Delete Quote","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml delete /api/v1/external/companies/{companyId}/quotes/{quoteId}","href":"/api-reference/field-model-quotes/delete-quote"},{"title":"Send Quote","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml post /api/v1/external/companies/{companyId}/quotes/{quoteId}/send","href":"/api-reference/field-model-quotes/send-quote"},{"title":"Get Quotes Configuration","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/quotes/configuration","href":"/api-reference/field-model-quotes/get-quotes-configuration"}]},{"group":"Rating","pages":[{"title":"Overview","href":"/api-v1-reference/rating/overview"}]},{"group":"Custom Objects","pages":[{"title":"Overview","href":"/api-v1-reference/custom-objects/overview"},{"title":"List Custom Object Types","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/custom-objects","href":"/api-reference/field-model-custom-objects/list-custom-object-types"},{"title":"Get Custom Object Configuration","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/custom-objects/{objectType}/configuration","href":"/api-reference/field-model-custom-objects/get-custom-object-configuration"},{"title":"List Custom Objects","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/custom-objects/{objectType}","href":"/api-reference/field-model-custom-objects/list-custom-objects"},{"title":"Get Custom Object","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/custom-objects/{objectType}/{objectId}","href":"/api-reference/field-model-custom-objects/get-custom-object"},{"title":"Create Custom Object","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml post /api/v1/external/companies/{companyId}/custom-objects/{objectType}","href":"/api-reference/field-model-custom-objects/create-custom-object"},{"title":"Update Custom Object","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml put /api/v1/external/companies/{companyId}/custom-objects/{objectType}/{objectId}","href":"/api-reference/field-model-custom-objects/update-custom-object"},{"title":"Delete Custom Object","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml delete /api/v1/external/companies/{companyId}/custom-objects/{objectType}/{objectId}","href":"/api-reference/field-model-custom-objects/delete-custom-object"},{"title":"Add Custom Object Relationship","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml put /api/v1/external/companies/{companyId}/custom-objects/{objectType}/{objectId}/relationships/{fieldRefId}/{targetId}","href":"/api-reference/field-model-custom-objects/add-custom-object-relationship"},{"title":"Remove Custom Object Relationship","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml delete /api/v1/external/companies/{companyId}/custom-objects/{objectType}/{objectId}/relationships/{fieldRefId}/{targetId}","href":"/api-reference/field-model-custom-objects/remove-custom-object-relationship"}]},{"group":"Configuration Management","pages":[{"title":"Overview","href":"/api-v1-reference/configuration/overview"},{"title":"Generate Configuration Spreadsheet","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml post /api/v1/external/companies/{companyId}/configuration/generate","href":"/api-reference/fmv1-configuration/generate-configuration-spreadsheet"},{"title":"Export Configuration","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml post /api/v1/external/companies/{companyId}/configuration/export","href":"/api-reference/fmv1-configuration/export-configuration"},{"title":"Validate Configuration Spreadsheet","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml post /api/v1/external/companies/{companyId}/configuration/validate","href":"/api-reference/fmv1-configuration/validate-configuration-spreadsheet"},{"title":"Compare Configuration","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml post /api/v1/external/companies/{companyId}/configuration/compare","href":"/api-reference/fmv1-configuration/compare-configuration"},{"title":"Import Configuration","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml post /api/v1/external/companies/{companyId}/configuration/import","href":"/api-reference/fmv1-configuration/import-configuration"}]},{"group":"Basic Policies","pages":[{"title":"Basic Policies Overview","href":"/api-v1-reference/policies/basic-overview"},{"title":"Get Policies Configuration","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/policies/configuration","href":"/api-reference/field-model-policies/get-policies-configuration"},{"title":"Create Basic Policy","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml post /api/v1/external/companies/{companyId}/policies","href":"/api-reference/basic-policies/create-basic-policy"},{"title":"Bind Quote","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml post /api/v1/external/companies/{companyId}/quotes/{quoteId}/bind","href":"/api-reference/basic-policies/bind-quote"},{"title":"List Basic Policies","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/policies","href":"/api-reference/basic-policies/list-basic-policies"},{"title":"Get Basic Policy","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/policies/{policyId}","href":"/api-reference/basic-policies/get-basic-policy"},{"title":"Delete Basic Policy","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml delete /api/v1/external/companies/{companyId}/policies/{policyId}","href":"/api-reference/basic-policies/delete-basic-policy"}]},{"group":"Company Files","pages":[{"title":"Overview","href":"/api-v1-reference/company-files/overview"},{"title":"Create Folder","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml post /api/v1/external/companies/{companyId}/folders","href":"/api-reference/company-files/create-folder"},{"title":"List Folder Tree","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/folders","href":"/api-reference/company-files/list-folder-tree"},{"title":"List Folder Contents","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/folders/{folderId}","href":"/api-reference/company-files/list-folder-contents"},{"title":"Rename or Move Folder","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml patch /api/v1/external/companies/{companyId}/folders/{folderId}","href":"/api-reference/company-files/rename-or-move-folder"},{"title":"Delete Folder","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml delete /api/v1/external/companies/{companyId}/folders/{folderId}","href":"/api-reference/company-files/delete-folder"},{"title":"Upload File","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml post /api/v1/external/companies/{companyId}/files","href":"/api-reference/company-files/upload-file"},{"title":"Get File Metadata","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/files/{fileId}","href":"/api-reference/company-files/get-file-metadata"},{"title":"Download File Content","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/v1/external/companies/{companyId}/files/{fileId}/content","href":"/api-reference/company-files/download-file-content"},{"title":"Rename or Move File","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml patch /api/v1/external/companies/{companyId}/files/{fileId}","href":"/api-reference/company-files/rename-or-move-file"},{"title":"Delete File","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml delete /api/v1/external/companies/{companyId}/files/{fileId}","href":"/api-reference/company-files/delete-file"}]},{"group":"Document Generation","pages":[{"title":"Overview","href":"/api-v1-reference/documents/overview"}]},{"group":"Submission Parsing","pages":[{"title":"Overview","href":"/api-v1-reference/parsing/overview"}]},{"group":"Address Tools","pages":[{"title":"Resolve Address","href":"/api-v1-reference/address-tools/resolve-address"},{"title":"Resolve Address","deprecated":null,"version":null,"openapi":"/openapi/generated-external-api.yaml get /api/external/companies/{companyId}/resolve-address","href":"/api-reference/address/resolve-address"}]},{"group":"Reference","pages":[{"title":"Object Primitives","href":"/api-v1-reference/object-primitives/overview"},{"title":"Data Models","href":"/api-v1-reference/data-models"},{"title":"API Changelog","href":"/api-v1-reference/changelog"}]}]},{"tab":"API (Legacy)","pages":[{"title":"API (Legacy)","href":"/api-legacy-reference/overview"}]},{"tab":"FAQs","pages":[{"title":"FAQs","href":"/FAQs/FAQs"}]},{"tab":"Resources","pages":[{"title":"Resources","href":"/getting-started/glossary"}]}]},"basePath":"","title":"Cancel Policy Transaction - AI Insurance","deploymentId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","buildId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CyAr6xD1.js","snippetPresets-BSqedH3o.js","utils-DXfQSZU_.js","style-to-object-BY3JEAdk.js","utils-DiMyLQC-.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-DvPCxzT8.js","conditional-requirements-CFM0id0Q.js","cloneDeep-dx7iM-7h.js","_Uint8Array-DpQIK2Aw.js","isObject-FP1Yky1u.js","ApiExamples-B2sy5qvP.js","usePlaygroundInputsStore-BDc5FJKB.js","shallow-DxZq5uhD.js","isEqual-Bl_IuwU4.js","CodeSnippets-D1UoeS-I.js","CodeSnippet-C87it1Zg.js","use-playground-group-access-DyECiQ2v.js","Page-wigwbDGe.js","api-description-markdown-DHZIfeWZ.js","DynamicMarkdown-D8KwOkxZ.js","SectionHeading-uish4Ed2.js","MethodPill-DR7O5MCP.js","getPastedJson-D2WQib0m.js","Check2Icon-CUuzblYS.js","axios-CsQoIw0U.js","Markdown-K6_WYP3x.js","AssistantPageLink-BrppVW5v.js","dist-OmDnwAnM.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}