Who created the hub: the acting user (X-Acting-User, else the access credential), system for our own writes, or <authority>:<notice> for a write on an authority's behalf, e.g. hmrc:P6.
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"Intermezzo Docs","colors":{"primary":"#73f","light":"#a67cf0","dark":"#73f"},"logo":{"light":"https://mintcdn.com/intermezzo/XOEFYK36Q6eJv_R4/logo/intermezzo_light.svg?fit=max\u0026auto=format\u0026n=XOEFYK36Q6eJv_R4\u0026q=85\u0026s=4b9e8941df9647de37ca603f7ca47f49","dark":"https://mintcdn.com/intermezzo/sciYsehRUBwL7M2i/logo/intermezzo_dark.svg?fit=max\u0026auto=format\u0026n=sciYsehRUBwL7M2i\u0026q=85\u0026s=5bed853d508d4d8bae6691ed85740729","href":"https://intermezzo.ai"},"favicon":"https://mintcdn.com/intermezzo/XOEFYK36Q6eJv_R4/favicon.png?fit=max\u0026auto=format\u0026n=XOEFYK36Q6eJv_R4\u0026q=85\u0026s=5970f25bec25b022614415fec2a93940","api":{"examples":{"defaults":"required","prefill":true}},"appearance":{"default":"light","strict":true},"navbar":{"links":[{"href":"mailto:support@intermezzo.ai","label":"Support"}]},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"intermezzo","hasAudioNarration":false,"actualSubdomain":"intermezzo","customDomains":["docs.intermezzo.ai"],"gitSource":{"type":"github","owner":"intermezzo-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ad20dd390399234bc7bc063","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"API Reference","count":205},{"language":"default","tag":"Great Britain","count":129},{"language":"default","tag":"Core","count":80},{"language":"default","tag":"Employees","count":45},{"language":"default","tag":"Organizations","count":26},{"language":"default","tag":"Payroll","count":21},{"language":"default","tag":"Reports","count":21},{"language":"default","tag":"Worksites","count":16},{"language":"default","tag":"Pension","count":15},{"language":"default","tag":"Post Payroll","count":14}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","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":"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":"assistant-v5","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":"workos-sso-scim","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":"workos-signup","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":"workos-enabled","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":"sso-setup-deadline-banner","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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/preview/great-britain/close-employee","slug":"/api-reference/preview/great-britain/close-employee","pageMetadata":{"title":"Close Employee","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/employees/{employee_id}/close","href":"/api-reference/preview/great-britain/close-employee","autogeneratedByOpenApi":true},"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":"Close Employee","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/employees/{employee_id}/close","href":"/api-reference/preview/great-britain/close-employee","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Great Britain","Employees"],"summary":"Close Employee","operationId":"gb_employee_close","security":["bc538534-6255-4f47-991d-d71fa04d4579"],"parameters":["840fa2ba-453a-4035-aacb-f597f1986ee5","92a19a79-53ec-488b-b8f7-0626b0024992"],"responses":{"200":"015db5d6-545a-4db5-8d05-f45fca47fff7","400":"3b7e115b-0431-4576-bbea-107d4ac75bf9","404":"dbd6e335-48d7-4c5b-a2df-38f1713c0f72","409":"624d2c91-cc9c-4919-825d-4da3e4e3af60","422":"dcc75798-33a3-42e2-abdf-e29ee613a1cd"},"method":"post","type":"path","servers":["6065456c-46b1-44e8-a7ee-50f9e55aa028"],"path":"/gb/organizations/{organization_id}/employees/{employee_id}/close","baseUrlOptions":["https://preview.intermezzo.ai"],"title":"Close Employee","description":"","codeSamples":[],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[]},"dependencies":{"parameters":{"840fa2ba-453a-4035-aacb-f597f1986ee5":{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"92a19a79-53ec-488b-b8f7-0626b0024992":{"name":"employee_id","in":"path","required":true,"schema":{"type":"string","title":"Employee Id","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"responses":{"015db5d6-545a-4db5-8d05-f45fca47fff7":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"id":{"type":"string","title":"Id","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"external_ref":{"oneOf":[{"type":"string","title":"External Ref","isRequired":true,"uniqueKey":"external_ref.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Ref","isRequired":true,"uniqueKey":"external_ref.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"external_ref","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","title":"Created At","readOnly":true,"isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"created_by":{"type":"string","title":"Created By","description":"Who created the hub: the acting user (`X-Acting-User`, else the access credential), `system` for our own writes, or `\u003cauthority>:\u003cnotice>` for a write on an authority's behalf, e.g. `hmrc:P6`.","readOnly":true,"isRequired":true,"uniqueKey":"created_by","typeLabel":"string"},"deleted_at":{"oneOf":[{"type":"string","title":"Deleted At","description":"When the hub was closed","format":"date-time","isRequired":true,"uniqueKey":"deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Deleted At","description":"When the hub was closed","isRequired":true,"uniqueKey":"deleted_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"deleted_at","typeLabel":"string\u003cdate-time> | null"},"organization_id":{"type":"string","title":"Organization Id","isRequired":true,"uniqueKey":"organization_id","typeLabel":"string"},"status":{"properties":{},"additionalProperties":false,"type":"object","title":"GBEmployeeStatus","description":"The read-only status satellite. It carries no fields; it exists so that every\nemployee read has a `status` object.","isRequired":true,"uniqueKey":"status","typeLabel":"GBEmployeeStatus · object"},"core":{"oneOf":[{"type":"object","title":"GBEmployeeCoreSatellite","required":["edition","valid_from","valid_to","created_at","created_by"],"properties":{"edition":{"type":"integer","title":"Edition","readOnly":true,"isRequired":true,"uniqueKey":"core.oneOf.0.edition","typeLabel":"integer"},"valid_from":{"type":"string","format":"date","title":"Valid From","isRequired":true,"uniqueKey":"core.oneOf.0.valid_from","typeLabel":"string\u003cdate>"},"valid_to":{"type":"string","format":"date","title":"Valid To","isRequired":true,"uniqueKey":"core.oneOf.0.valid_to","typeLabel":"string\u003cdate>"},"created_at":{"type":"string","format":"date-time","title":"Created At","readOnly":true,"isRequired":true,"uniqueKey":"core.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"created_by":{"type":"string","title":"Created By","description":"Who wrote the edition: the acting user (`X-Acting-User`, else the access credential), `system` for our own writes, or `\u003cauthority>:\u003cnotice>` for a write on an authority's behalf, e.g. `hmrc:P6`.","readOnly":true,"isRequired":true,"uniqueKey":"core.oneOf.0.created_by","typeLabel":"string"},"title":{"oneOf":[{"type":"string","title":"Title","description":"Title","uniqueKey":"core.oneOf.0.title.oneOf.0","typeLabel":"string"},{"type":"null","title":"Title","description":"Title","uniqueKey":"core.oneOf.0.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"core.oneOf.0.title","typeLabel":"string | null"},"first_name":{"type":"string","title":"First Name","description":"First forename","default":"","uniqueKey":"core.oneOf.0.first_name","typeLabel":"string"},"middle_name":{"oneOf":[{"type":"string","title":"Middle Name","description":"Second forename","uniqueKey":"core.oneOf.0.middle_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Middle Name","description":"Second forename","uniqueKey":"core.oneOf.0.middle_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"core.oneOf.0.middle_name","typeLabel":"string | null"},"last_name":{"type":"string","title":"Last Name","description":"Surname","default":"","uniqueKey":"core.oneOf.0.last_name","typeLabel":"string"},"maiden_name":{"oneOf":[{"type":"string","title":"Maiden Name","description":"Surname before marriage","uniqueKey":"core.oneOf.0.maiden_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Maiden Name","description":"Surname before marriage","uniqueKey":"core.oneOf.0.maiden_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"core.oneOf.0.maiden_name","typeLabel":"string | null"},"gender":{"oneOf":[{"type":"string","title":"GBGender","description":"Gender","enum":["M","F"],"uniqueKey":"core.oneOf.0.gender.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Gender","uniqueKey":"core.oneOf.0.gender.oneOf.1","typeLabel":"null"}],"uniqueKey":"core.oneOf.0.gender","typeLabel":"enum\u003cstring> | null"},"marital_status":{"oneOf":[{"type":"string","title":"MaritalStatus","description":"Marital status","enum":["SINGLE","MARRIED"],"uniqueKey":"core.oneOf.0.marital_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Marital status","uniqueKey":"core.oneOf.0.marital_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"core.oneOf.0.marital_status","typeLabel":"enum\u003cstring> | null"},"birth_date":{"oneOf":[{"type":"string","title":"Birth Date","description":"Birth date","format":"date","uniqueKey":"core.oneOf.0.birth_date.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","title":"Birth Date","description":"Birth date","uniqueKey":"core.oneOf.0.birth_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"core.oneOf.0.birth_date","typeLabel":"string\u003cdate> | null"},"personal_email":{"oneOf":[{"type":"string","title":"Personal Email","format":"email","uniqueKey":"core.oneOf.0.personal_email.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"null","title":"Personal Email","uniqueKey":"core.oneOf.0.personal_email.oneOf.1","typeLabel":"null"}],"uniqueKey":"core.oneOf.0.personal_email","typeLabel":"string\u003cemail> | null"},"work_email":{"oneOf":[{"type":"string","title":"Work Email","format":"email","uniqueKey":"core.oneOf.0.work_email.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"null","title":"Work Email","uniqueKey":"core.oneOf.0.work_email.oneOf.1","typeLabel":"null"}],"uniqueKey":"core.oneOf.0.work_email","typeLabel":"string\u003cemail> | null"},"phone_numbers":{"items":{"properties":{"phone_number":{"type":"string","format":"phone","title":"Phone Number","isRequired":true,"uniqueKey":"core.oneOf.0.phone_numbers.items.[INDEX].phone_number","typeLabel":"string\u003cphone>"},"phone_type":{"type":"string","enum":["MOBILE","HOME","WORK"],"title":"PhoneType","isRequired":true,"uniqueKey":"core.oneOf.0.phone_numbers.items.[INDEX].phone_type","typeLabel":"enum\u003cstring>"},"is_primary":{"oneOf":[{"type":"boolean","title":"Is Primary","description":"Is this the primary phone number for the employee?","default":false,"uniqueKey":"core.oneOf.0.phone_numbers.items.[INDEX].is_primary.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Is Primary","description":"Is this the primary phone number for the employee?","default":false,"uniqueKey":"core.oneOf.0.phone_numbers.items.[INDEX].is_primary.oneOf.1","typeLabel":"null"}],"uniqueKey":"core.oneOf.0.phone_numbers.items.[INDEX].is_primary","typeLabel":"boolean | null"}},"additionalProperties":false,"type":"object","required":["phone_number","phone_type"],"title":"GBPhonesRead","uniqueKey":"core.oneOf.0.phone_numbers.items.[INDEX]","typeLabel":"GBPhonesRead · object"},"type":"array","title":"Phone Numbers","description":"Phone numbers","uniqueKey":"core.oneOf.0.phone_numbers","typeLabel":"GBPhonesRead · object[]"}},"additionalProperties":false,"uniqueKey":"core.oneOf.0","typeLabel":"GBEmployeeCoreSatellite · object"},{"type":"null","uniqueKey":"core.oneOf.1","typeLabel":"null"}],"uniqueKey":"core","typeLabel":"GBEmployeeCoreSatellite · object | null"},"address":{"oneOf":[{"type":"object","title":"GBEmployeeAddressSatellite","required":["edition","valid_from","valid_to","created_at","created_by"],"properties":{"edition":{"type":"integer","title":"Edition","readOnly":true,"isRequired":true,"uniqueKey":"address.oneOf.0.edition","typeLabel":"integer"},"valid_from":{"type":"string","format":"date","title":"Valid From","isRequired":true,"uniqueKey":"address.oneOf.0.valid_from","typeLabel":"string\u003cdate>"},"valid_to":{"type":"string","format":"date","title":"Valid To","isRequired":true,"uniqueKey":"address.oneOf.0.valid_to","typeLabel":"string\u003cdate>"},"created_at":{"type":"string","format":"date-time","title":"Created At","readOnly":true,"isRequired":true,"uniqueKey":"address.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"created_by":{"type":"string","title":"Created By","description":"Who wrote the edition: the acting user (`X-Acting-User`, else the access credential), `system` for our own writes, or `\u003cauthority>:\u003cnotice>` for a write on an authority's behalf, e.g. `hmrc:P6`.","readOnly":true,"isRequired":true,"uniqueKey":"address.oneOf.0.created_by","typeLabel":"string"},"address":{"oneOf":[{"type":"string","title":"Address","uniqueKey":"address.oneOf.0.address.oneOf.0","typeLabel":"string"},{"type":"null","title":"Address","uniqueKey":"address.oneOf.0.address.oneOf.1","typeLabel":"null"}],"uniqueKey":"address.oneOf.0.address","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"address.oneOf.0","typeLabel":"GBEmployeeAddressSatellite · object"},{"type":"null","uniqueKey":"address.oneOf.1","typeLabel":"null"}],"uniqueKey":"address","typeLabel":"GBEmployeeAddressSatellite · object | null"},"job":{"oneOf":[{"type":"object","title":"GBEmployeeJobSatellite","required":["edition","valid_from","valid_to","created_at","created_by"],"properties":{"edition":{"type":"integer","title":"Edition","readOnly":true,"isRequired":true,"uniqueKey":"job.oneOf.0.edition","typeLabel":"integer"},"valid_from":{"type":"string","format":"date","title":"Valid From","isRequired":true,"uniqueKey":"job.oneOf.0.valid_from","typeLabel":"string\u003cdate>"},"valid_to":{"type":"string","format":"date","title":"Valid To","isRequired":true,"uniqueKey":"job.oneOf.0.valid_to","typeLabel":"string\u003cdate>"},"created_at":{"type":"string","format":"date-time","title":"Created At","readOnly":true,"isRequired":true,"uniqueKey":"job.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"created_by":{"type":"string","title":"Created By","description":"Who wrote the edition: the acting user (`X-Acting-User`, else the access credential), `system` for our own writes, or `\u003cauthority>:\u003cnotice>` for a write on an authority's behalf, e.g. `hmrc:P6`.","readOnly":true,"isRequired":true,"uniqueKey":"job.oneOf.0.created_by","typeLabel":"string"},"start_date":{"oneOf":[{"type":"string","title":"Start Date","description":"Employment start date","format":"date","uniqueKey":"job.oneOf.0.start_date.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","title":"Start Date","description":"Employment start date","uniqueKey":"job.oneOf.0.start_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"job.oneOf.0.start_date","typeLabel":"string\u003cdate> | null"},"contracted_weekly_hours":{"oneOf":[{"type":"integer","title":"Contracted Weekly Hours","description":"Contracted weekly hours","default":40,"uniqueKey":"job.oneOf.0.contracted_weekly_hours.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Contracted Weekly Hours","description":"Contracted weekly hours","default":40,"uniqueKey":"job.oneOf.0.contracted_weekly_hours.oneOf.1","typeLabel":"null"}],"uniqueKey":"job.oneOf.0.contracted_weekly_hours","typeLabel":"integer | null"},"department":{"oneOf":[{"type":"string","title":"Department","description":"Department","uniqueKey":"job.oneOf.0.department.oneOf.0","typeLabel":"string"},{"type":"null","title":"Department","description":"Department","uniqueKey":"job.oneOf.0.department.oneOf.1","typeLabel":"null"}],"uniqueKey":"job.oneOf.0.department","typeLabel":"string | null"},"pay_group_id":{"oneOf":[{"type":"string","title":"Pay Group Id","description":"The pay group the employee is paid in","uniqueKey":"job.oneOf.0.pay_group_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Pay Group Id","description":"The pay group the employee is paid in","uniqueKey":"job.oneOf.0.pay_group_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"job.oneOf.0.pay_group_id","typeLabel":"string | null"},"contracted_weekdays":{"oneOf":[{"type":"array","items":{"type":"string","enum":["MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY","SUNDAY"],"title":"Weekday","description":"Days of the week.","uniqueKey":"job.oneOf.0.contracted_weekdays.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"title":"Contracted Weekdays","description":"Contracted working days of the week","uniqueKey":"job.oneOf.0.contracted_weekdays.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","title":"Contracted Weekdays","description":"Contracted working days of the week","uniqueKey":"job.oneOf.0.contracted_weekdays.oneOf.1","typeLabel":"null"}],"uniqueKey":"job.oneOf.0.contracted_weekdays","typeLabel":"enum\u003cstring>[] | null"},"worker_type":{"type":"string","enum":["EMPLOYEE","DIRECTOR"],"title":"WorkerType","description":"UK employment status","default":"EMPLOYEE","uniqueKey":"job.oneOf.0.worker_type","typeLabel":"enum\u003cstring>"},"director_since":{"oneOf":[{"type":"string","title":"Director Since","description":"Date appointed as director","format":"date","uniqueKey":"job.oneOf.0.director_since.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","title":"Director Since","description":"Date appointed as director","uniqueKey":"job.oneOf.0.director_since.oneOf.1","typeLabel":"null"}],"uniqueKey":"job.oneOf.0.director_since","typeLabel":"string\u003cdate> | null"},"pay_basis":{"type":"string","enum":["SALARIED","HOURLY"],"title":"PayBasis","description":"How pay and hours are determined","default":"SALARIED","uniqueKey":"job.oneOf.0.pay_basis","typeLabel":"enum\u003cstring>"},"apprenticeship":{"oneOf":[{"type":"object","title":"Apprenticeship","description":"Apprenticeship details","required":["start_date","expected_end_date","level"],"properties":{"start_date":{"type":"string","format":"date","title":"Start Date","description":"Start date of current apprenticeship agreement","isRequired":true,"uniqueKey":"job.oneOf.0.apprenticeship.oneOf.0.start_date","typeLabel":"string\u003cdate>"},"expected_end_date":{"oneOf":[{"type":"string","title":"Expected End Date","description":"Expected end date (informational); null when not known","format":"date","isRequired":true,"uniqueKey":"job.oneOf.0.apprenticeship.oneOf.0.expected_end_date.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","title":"Expected End Date","description":"Expected end date (informational); null when not known","isRequired":true,"uniqueKey":"job.oneOf.0.apprenticeship.oneOf.0.expected_end_date.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"job.oneOf.0.apprenticeship.oneOf.0.expected_end_date","typeLabel":"string\u003cdate> | null"},"level":{"type":"integer","maximum":7,"minimum":2,"title":"Level","description":"UK apprenticeship level (2-7)","isRequired":true,"uniqueKey":"job.oneOf.0.apprenticeship.oneOf.0.level","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"job.oneOf.0.apprenticeship.oneOf.0","typeLabel":"Apprenticeship · object"},{"type":"null","description":"Apprenticeship details","uniqueKey":"job.oneOf.0.apprenticeship.oneOf.1","typeLabel":"null"}],"uniqueKey":"job.oneOf.0.apprenticeship","typeLabel":"Apprenticeship · object | null"},"p45_issued":{"type":"boolean","title":"P45 Issued","description":"True once a P45 has been issued","default":false,"uniqueKey":"job.oneOf.0.p45_issued","typeLabel":"boolean"},"irregular_payment_pattern":{"type":"boolean","title":"Irregular Payment Pattern","description":"The employee is not paid every pay period","default":false,"uniqueKey":"job.oneOf.0.irregular_payment_pattern","typeLabel":"boolean"},"ordinarily_works_in_uk":{"type":"boolean","title":"Ordinarily Works In Uk","description":"Whether the worker's ordinary place of work is in the UK","default":true,"uniqueKey":"job.oneOf.0.ordinarily_works_in_uk","typeLabel":"boolean"},"uk_work_exclusion_reason":{"type":"string","enum":["NOT_APPLICABLE","OVERSEAS_CONTRACT","OUTBOUND_POSTING","INBOUND_TEMPORARY_POSTING","MOBILE_WORKER_OVERSEAS_BASE","OTHER"],"title":"UKWorkExclusionReason","description":"Why the worker does not ordinarily work in the UK","default":"NOT_APPLICABLE","uniqueKey":"job.oneOf.0.uk_work_exclusion_reason","typeLabel":"enum\u003cstring>"},"proration_basis":{"oneOf":[{"type":"object","title":"ProrationBasis","description":"Employee-level override of the inherited proration basis","required":["mode"],"properties":{"mode":{"type":"string","enum":["CALENDAR_DAY","CONTRACTED_DAY","CONTRACTED_HOURS"],"title":"BasisMode","description":"Salary-apportionment basis for proration.","isRequired":true,"uniqueKey":"job.oneOf.0.proration_basis.oneOf.0.mode","typeLabel":"enum\u003cstring>"},"business_days_per_year":{"oneOf":[{"type":"string","title":"Business Days Per Year","uniqueKey":"job.oneOf.0.proration_basis.oneOf.0.business_days_per_year.oneOf.0","typeLabel":"string"},{"type":"null","title":"Business Days Per Year","uniqueKey":"job.oneOf.0.proration_basis.oneOf.0.business_days_per_year.oneOf.1","typeLabel":"null"}],"uniqueKey":"job.oneOf.0.proration_basis.oneOf.0.business_days_per_year","typeLabel":"string | null"}},"uniqueKey":"job.oneOf.0.proration_basis.oneOf.0","typeLabel":"ProrationBasis · object"},{"type":"null","description":"Employee-level override of the inherited proration basis","uniqueKey":"job.oneOf.0.proration_basis.oneOf.1","typeLabel":"null"}],"uniqueKey":"job.oneOf.0.proration_basis","typeLabel":"ProrationBasis · object | null"},"end_date":{"oneOf":[{"type":"string","title":"End Date","description":"Last day of employment","format":"date","uniqueKey":"job.oneOf.0.end_date.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","title":"End Date","description":"Last day of employment","uniqueKey":"job.oneOf.0.end_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"job.oneOf.0.end_date","typeLabel":"string\u003cdate> | null"}},"additionalProperties":false,"uniqueKey":"job.oneOf.0","typeLabel":"GBEmployeeJobSatellite · object"},{"type":"null","uniqueKey":"job.oneOf.1","typeLabel":"null"}],"uniqueKey":"job","typeLabel":"GBEmployeeJobSatellite · object | null"},"tax":{"oneOf":[{"type":"object","title":"GBEmployeeTaxSatellite","required":["edition","valid_from","valid_to","created_at","created_by"],"properties":{"edition":{"type":"integer","title":"Edition","readOnly":true,"isRequired":true,"uniqueKey":"tax.oneOf.0.edition","typeLabel":"integer"},"valid_from":{"type":"string","format":"date","title":"Valid From","isRequired":true,"uniqueKey":"tax.oneOf.0.valid_from","typeLabel":"string\u003cdate>"},"valid_to":{"type":"string","format":"date","title":"Valid To","isRequired":true,"uniqueKey":"tax.oneOf.0.valid_to","typeLabel":"string\u003cdate>"},"created_at":{"type":"string","format":"date-time","title":"Created At","readOnly":true,"isRequired":true,"uniqueKey":"tax.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"created_by":{"type":"string","title":"Created By","description":"Who wrote the edition: the acting user (`X-Acting-User`, else the access credential), `system` for our own writes, or `\u003cauthority>:\u003cnotice>` for a write on an authority's behalf, e.g. `hmrc:P6`.","readOnly":true,"isRequired":true,"uniqueKey":"tax.oneOf.0.created_by","typeLabel":"string"},"rti_id":{"oneOf":[{"type":"string","title":"Rti Id","description":"RTI Payroll ID","uniqueKey":"tax.oneOf.0.rti_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Rti Id","description":"RTI Payroll ID","uniqueKey":"tax.oneOf.0.rti_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"tax.oneOf.0.rti_id","typeLabel":"string | null"},"tax_code":{"oneOf":[{"type":"string","uniqueKey":"tax.oneOf.0.tax_code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tax.oneOf.0.tax_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"tax.oneOf.0.tax_code","typeLabel":"string | null"},"student_loan_type":{"oneOf":[{"type":"string","title":"StudentLoanPlanType","description":"Student loan type","enum":["PLAN_1","PLAN_2","PLAN_4","PLAN_5"],"uniqueKey":"tax.oneOf.0.student_loan_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Student loan type","uniqueKey":"tax.oneOf.0.student_loan_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"tax.oneOf.0.student_loan_type","typeLabel":"enum\u003cstring> | null"},"postgraduate_loan":{"type":"boolean","title":"Postgraduate Loan","description":"Postgraduate loan?","default":false,"uniqueKey":"tax.oneOf.0.postgraduate_loan","typeLabel":"boolean"},"p45_gross_pay":{"oneOf":[{"type":"string","title":"P45 Gross Pay","description":"P45 gross pay","default":"0.00","uniqueKey":"tax.oneOf.0.p45_gross_pay.oneOf.0","typeLabel":"string"},{"type":"null","title":"P45 Gross Pay","description":"P45 gross pay","default":"0.00","uniqueKey":"tax.oneOf.0.p45_gross_pay.oneOf.1","typeLabel":"null"}],"uniqueKey":"tax.oneOf.0.p45_gross_pay","typeLabel":"string | null"},"p45_tax_amount":{"oneOf":[{"type":"string","title":"P45 Tax Amount","description":"P45 tax amount","default":"0.00","uniqueKey":"tax.oneOf.0.p45_tax_amount.oneOf.0","typeLabel":"string"},{"type":"null","title":"P45 Tax Amount","description":"P45 tax amount","default":"0.00","uniqueKey":"tax.oneOf.0.p45_tax_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"tax.oneOf.0.p45_tax_amount","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"tax.oneOf.0","typeLabel":"GBEmployeeTaxSatellite · object"},{"type":"null","uniqueKey":"tax.oneOf.1","typeLabel":"null"}],"uniqueKey":"tax","typeLabel":"GBEmployeeTaxSatellite · object | null"},"insurance":{"oneOf":[{"type":"object","title":"GBEmployeeInsuranceSatellite","required":["edition","valid_from","valid_to","created_at","created_by"],"properties":{"edition":{"type":"integer","title":"Edition","readOnly":true,"isRequired":true,"uniqueKey":"insurance.oneOf.0.edition","typeLabel":"integer"},"valid_from":{"type":"string","format":"date","title":"Valid From","isRequired":true,"uniqueKey":"insurance.oneOf.0.valid_from","typeLabel":"string\u003cdate>"},"valid_to":{"type":"string","format":"date","title":"Valid To","isRequired":true,"uniqueKey":"insurance.oneOf.0.valid_to","typeLabel":"string\u003cdate>"},"created_at":{"type":"string","format":"date-time","title":"Created At","readOnly":true,"isRequired":true,"uniqueKey":"insurance.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"created_by":{"type":"string","title":"Created By","description":"Who wrote the edition: the acting user (`X-Acting-User`, else the access credential), `system` for our own writes, or `\u003cauthority>:\u003cnotice>` for a write on an authority's behalf, e.g. `hmrc:P6`.","readOnly":true,"isRequired":true,"uniqueKey":"insurance.oneOf.0.created_by","typeLabel":"string"},"national_insurance_number":{"oneOf":[{"type":"string","title":"National Insurance Number","description":"National Insurance number","uniqueKey":"insurance.oneOf.0.national_insurance_number.oneOf.0","typeLabel":"string"},{"type":"null","title":"National Insurance Number","description":"National Insurance number","uniqueKey":"insurance.oneOf.0.national_insurance_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"insurance.oneOf.0.national_insurance_number","typeLabel":"string | null"},"nic_category":{"oneOf":[{"type":"string","title":"NICCategory","description":"NIC Letter Categories","enum":["A","B","C","D","E","F","H","I","J","K","L","M","N","S","V","X","Z"],"uniqueKey":"insurance.oneOf.0.nic_category.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"insurance.oneOf.0.nic_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"insurance.oneOf.0.nic_category","typeLabel":"enum\u003cstring> | null"}},"additionalProperties":false,"uniqueKey":"insurance.oneOf.0","typeLabel":"GBEmployeeInsuranceSatellite · object"},{"type":"null","uniqueKey":"insurance.oneOf.1","typeLabel":"null"}],"uniqueKey":"insurance","typeLabel":"GBEmployeeInsuranceSatellite · object | null"},"compensation":{"oneOf":[{"type":"object","title":"GBEmployeeCompensationSatellite","required":["edition","valid_from","valid_to","created_at","created_by"],"properties":{"edition":{"type":"integer","title":"Edition","readOnly":true,"isRequired":true,"uniqueKey":"compensation.oneOf.0.edition","typeLabel":"integer"},"valid_from":{"type":"string","format":"date","title":"Valid From","isRequired":true,"uniqueKey":"compensation.oneOf.0.valid_from","typeLabel":"string\u003cdate>"},"valid_to":{"type":"string","format":"date","title":"Valid To","isRequired":true,"uniqueKey":"compensation.oneOf.0.valid_to","typeLabel":"string\u003cdate>"},"created_at":{"type":"string","format":"date-time","title":"Created At","readOnly":true,"isRequired":true,"uniqueKey":"compensation.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"created_by":{"type":"string","title":"Created By","description":"Who wrote the edition: the acting user (`X-Acting-User`, else the access credential), `system` for our own writes, or `\u003cauthority>:\u003cnotice>` for a write on an authority's behalf, e.g. `hmrc:P6`.","readOnly":true,"isRequired":true,"uniqueKey":"compensation.oneOf.0.created_by","typeLabel":"string"},"earnings":{"oneOf":[{"type":"array","items":{"properties":{"wage_type_code":{"type":"string","title":"Wage Type Code","description":"Wage type code from catalog (e.g. UK-E-001)","isRequired":true,"uniqueKey":"compensation.oneOf.0.earnings.oneOf.0.items.[INDEX].wage_type_code","typeLabel":"string"},"amount":{"type":"string","title":"Amount","description":"Earnings amount (negative values represent period adjustments, e.g. leave reductions)","isRequired":true,"uniqueKey":"compensation.oneOf.0.earnings.oneOf.0.items.[INDEX].amount","typeLabel":"string"},"external_ref":{"oneOf":[{"type":"string","title":"External Ref","description":"Caller-owned line key, scoped to (payrun, employee, wage_type). Re-send with the same value to patch that line in place. Omit for the single default line of the wage type (also patched in place on re-send). Use distinct values to carry multiple lines of one wage type.","uniqueKey":"compensation.oneOf.0.earnings.oneOf.0.items.[INDEX].external_ref.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Ref","description":"Caller-owned line key, scoped to (payrun, employee, wage_type). Re-send with the same value to patch that line in place. Omit for the single default line of the wage type (also patched in place on re-send). Use distinct values to carry multiple lines of one wage type.","uniqueKey":"compensation.oneOf.0.earnings.oneOf.0.items.[INDEX].external_ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"compensation.oneOf.0.earnings.oneOf.0.items.[INDEX].external_ref","typeLabel":"string | null"},"earning_type":{"type":"string","const":"AMOUNT","title":"Earning Type","default":"AMOUNT","uniqueKey":"compensation.oneOf.0.earnings.oneOf.0.items.[INDEX].earning_type","typeLabel":"string"},"earning_frequency":{"oneOf":[{"type":"string","title":"PayCycle","description":"If recurring, specify the frequency","default":"MONTH","enum":["YEAR","MONTH","WEEK","TWO_WEEK","FOUR_WEEK","QUARTER","BIANNUAL"],"uniqueKey":"compensation.oneOf.0.earnings.oneOf.0.items.[INDEX].earning_frequency.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"If recurring, specify the frequency","default":"MONTH","uniqueKey":"compensation.oneOf.0.earnings.oneOf.0.items.[INDEX].earning_frequency.oneOf.1","typeLabel":"null"}],"uniqueKey":"compensation.oneOf.0.earnings.oneOf.0.items.[INDEX].earning_frequency","typeLabel":"enum\u003cstring> | null"},"is_lumpsum":{"type":"boolean","title":"Is Lumpsum","description":"True if onetime. Defaults to False","default":false,"uniqueKey":"compensation.oneOf.0.earnings.oneOf.0.items.[INDEX].is_lumpsum","typeLabel":"boolean"},"sacrificed_amount":{"oneOf":[{"type":"string","title":"Sacrificed Amount","description":"Amount of this earning the employee has sacrificed (Type A OpRA). Pre-tax. Must be > 0 when set. The wage type's is_salary_sacrifice_allowed must be true","uniqueKey":"compensation.oneOf.0.earnings.oneOf.0.items.[INDEX].sacrificed_amount.oneOf.0","typeLabel":"string"},{"type":"null","title":"Sacrificed Amount","description":"Amount of this earning the employee has sacrificed (Type A OpRA). Pre-tax. Must be > 0 when set. The wage type's is_salary_sacrifice_allowed must be true","uniqueKey":"compensation.oneOf.0.earnings.oneOf.0.items.[INDEX].sacrificed_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"compensation.oneOf.0.earnings.oneOf.0.items.[INDEX].sacrificed_amount","typeLabel":"string | null"}},"additionalProperties":false,"type":"object","required":["wage_type_code","amount"],"title":"AmountEarnings","description":"Fixed-amount earnings (salary, bonus, allowance). Amount + frequency.","uniqueKey":"compensation.oneOf.0.earnings.oneOf.0.items.[INDEX]","typeLabel":"AmountEarnings · object"},"title":"Earnings","uniqueKey":"compensation.oneOf.0.earnings.oneOf.0","typeLabel":"AmountEarnings · object[]"},{"type":"null","title":"Earnings","uniqueKey":"compensation.oneOf.0.earnings.oneOf.1","typeLabel":"null"}],"uniqueKey":"compensation.oneOf.0.earnings","typeLabel":"AmountEarnings · object[] | null"},"benefits":{"oneOf":[{"type":"array","items":{"properties":{"wage_type_code":{"type":"string","title":"Wage Type Code","description":"Wage type code from catalog (e.g. UK-B-001)","isRequired":true,"uniqueKey":"compensation.oneOf.0.benefits.oneOf.0.items.[INDEX].wage_type_code","typeLabel":"string"},"external_ref":{"oneOf":[{"type":"string","title":"External Ref","description":"Caller-owned line key, scoped to (payrun, employee, wage_type). Re-send with the same value to patch that line in place. Omit for the single default line of the wage type (also patched in place on re-send). Use distinct values to carry multiple lines of one wage type.","uniqueKey":"compensation.oneOf.0.benefits.oneOf.0.items.[INDEX].external_ref.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Ref","description":"Caller-owned line key, scoped to (payrun, employee, wage_type). Re-send with the same value to patch that line in place. Omit for the single default line of the wage type (also patched in place on re-send). Use distinct values to carry multiple lines of one wage type.","uniqueKey":"compensation.oneOf.0.benefits.oneOf.0.items.[INDEX].external_ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"compensation.oneOf.0.benefits.oneOf.0.items.[INDEX].external_ref","typeLabel":"string | null"},"amount":{"oneOf":[{"type":"string","title":"Amount","description":"Amount of benefit","default":"0.00","uniqueKey":"compensation.oneOf.0.benefits.oneOf.0.items.[INDEX].amount.oneOf.0","typeLabel":"string"},{"type":"null","title":"Amount","description":"Amount of benefit","default":"0.00","uniqueKey":"compensation.oneOf.0.benefits.oneOf.0.items.[INDEX].amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"compensation.oneOf.0.benefits.oneOf.0.items.[INDEX].amount","typeLabel":"string | null"},"make_good_amount":{"oneOf":[{"type":"string","title":"Make Good Amount","description":"Amount paid by employee for the benefit","default":"0.00","uniqueKey":"compensation.oneOf.0.benefits.oneOf.0.items.[INDEX].make_good_amount.oneOf.0","typeLabel":"string"},{"type":"null","title":"Make Good Amount","description":"Amount paid by employee for the benefit","default":"0.00","uniqueKey":"compensation.oneOf.0.benefits.oneOf.0.items.[INDEX].make_good_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"compensation.oneOf.0.benefits.oneOf.0.items.[INDEX].make_good_amount","typeLabel":"string | null"},"foregone_amount":{"oneOf":[{"type":"string","title":"Foregone Amount","description":"If subject to OpRa, amount foregone","default":"0.00","uniqueKey":"compensation.oneOf.0.benefits.oneOf.0.items.[INDEX].foregone_amount.oneOf.0","typeLabel":"string"},{"type":"null","title":"Foregone Amount","description":"If subject to OpRa, amount foregone","default":"0.00","uniqueKey":"compensation.oneOf.0.benefits.oneOf.0.items.[INDEX].foregone_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"compensation.oneOf.0.benefits.oneOf.0.items.[INDEX].foregone_amount","typeLabel":"string | null"},"cash_alternative_amount":{"oneOf":[{"type":"string","title":"Cash Alternative Amount","description":"Cash alternative the employee declined in favour of this benefit (Type B OpRA). Contributes to BIK higher-of valuation only; does NOT reduce gross. The wage type's is_salary_sacrifice_allowed must be true.","default":"0.00","uniqueKey":"compensation.oneOf.0.benefits.oneOf.0.items.[INDEX].cash_alternative_amount.oneOf.0","typeLabel":"string"},{"type":"null","title":"Cash Alternative Amount","description":"Cash alternative the employee declined in favour of this benefit (Type B OpRA). Contributes to BIK higher-of valuation only; does NOT reduce gross. The wage type's is_salary_sacrifice_allowed must be true.","default":"0.00","uniqueKey":"compensation.oneOf.0.benefits.oneOf.0.items.[INDEX].cash_alternative_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"compensation.oneOf.0.benefits.oneOf.0.items.[INDEX].cash_alternative_amount","typeLabel":"string | null"}},"additionalProperties":false,"type":"object","required":["wage_type_code"],"title":"Benefits","uniqueKey":"compensation.oneOf.0.benefits.oneOf.0.items.[INDEX]","typeLabel":"Benefits · object"},"title":"Benefits","uniqueKey":"compensation.oneOf.0.benefits.oneOf.0","typeLabel":"Benefits · object[]"},{"type":"null","title":"Benefits","uniqueKey":"compensation.oneOf.0.benefits.oneOf.1","typeLabel":"null"}],"uniqueKey":"compensation.oneOf.0.benefits","typeLabel":"Benefits · object[] | null"},"deductions":{"oneOf":[{"type":"array","items":{"properties":{"wage_type_code":{"type":"string","title":"Wage Type Code","description":"Wage type code from catalog (e.g. UK-D-001)","isRequired":true,"uniqueKey":"compensation.oneOf.0.deductions.oneOf.0.items.[INDEX].wage_type_code","typeLabel":"string"},"amount":{"type":"string","title":"Amount","isRequired":true,"uniqueKey":"compensation.oneOf.0.deductions.oneOf.0.items.[INDEX].amount","typeLabel":"string"},"external_ref":{"oneOf":[{"type":"string","title":"External Ref","description":"Caller-owned line key, scoped to (payrun, employee, wage_type). Re-send with the same value to patch that line in place. Omit for the single default line of the wage type (also patched in place on re-send). Use distinct values to carry multiple lines of one wage type.","uniqueKey":"compensation.oneOf.0.deductions.oneOf.0.items.[INDEX].external_ref.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Ref","description":"Caller-owned line key, scoped to (payrun, employee, wage_type). Re-send with the same value to patch that line in place. Omit for the single default line of the wage type (also patched in place on re-send). Use distinct values to carry multiple lines of one wage type.","uniqueKey":"compensation.oneOf.0.deductions.oneOf.0.items.[INDEX].external_ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"compensation.oneOf.0.deductions.oneOf.0.items.[INDEX].external_ref","typeLabel":"string | null"},"sacrificed_amount":{"oneOf":[{"type":"string","title":"Sacrificed Amount","description":"Portion of this deduction that is pre-tax salary sacrifice (Type A OpRA). Must be > 0 and \u003c= amount when set. The wage type's is_salary_sacrifice_allowed must be true.","uniqueKey":"compensation.oneOf.0.deductions.oneOf.0.items.[INDEX].sacrificed_amount.oneOf.0","typeLabel":"string"},{"type":"null","title":"Sacrificed Amount","description":"Portion of this deduction that is pre-tax salary sacrifice (Type A OpRA). Must be > 0 and \u003c= amount when set. The wage type's is_salary_sacrifice_allowed must be true.","uniqueKey":"compensation.oneOf.0.deductions.oneOf.0.items.[INDEX].sacrificed_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"compensation.oneOf.0.deductions.oneOf.0.items.[INDEX].sacrificed_amount","typeLabel":"string | null"}},"additionalProperties":false,"type":"object","required":["wage_type_code","amount"],"title":"Deductions","uniqueKey":"compensation.oneOf.0.deductions.oneOf.0.items.[INDEX]","typeLabel":"Deductions · object"},"title":"Deductions","uniqueKey":"compensation.oneOf.0.deductions.oneOf.0","typeLabel":"Deductions · object[]"},{"type":"null","title":"Deductions","uniqueKey":"compensation.oneOf.0.deductions.oneOf.1","typeLabel":"null"}],"uniqueKey":"compensation.oneOf.0.deductions","typeLabel":"Deductions · object[] | null"},"reimbursements":{"oneOf":[{"type":"array","items":{"properties":{"wage_type_code":{"type":"string","title":"Wage Type Code","description":"Wage type code from catalog (e.g. UK-R-001)","isRequired":true,"uniqueKey":"compensation.oneOf.0.reimbursements.oneOf.0.items.[INDEX].wage_type_code","typeLabel":"string"},"amount":{"type":"string","title":"Amount","isRequired":true,"uniqueKey":"compensation.oneOf.0.reimbursements.oneOf.0.items.[INDEX].amount","typeLabel":"string"},"external_ref":{"oneOf":[{"type":"string","title":"External Ref","description":"Caller-owned line key, scoped to (payrun, employee, wage_type). Re-send with the same value to patch that line in place. Omit for the single default line of the wage type (also patched in place on re-send). Use distinct values to carry multiple lines of one wage type.","uniqueKey":"compensation.oneOf.0.reimbursements.oneOf.0.items.[INDEX].external_ref.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Ref","description":"Caller-owned line key, scoped to (payrun, employee, wage_type). Re-send with the same value to patch that line in place. Omit for the single default line of the wage type (also patched in place on re-send). Use distinct values to carry multiple lines of one wage type.","uniqueKey":"compensation.oneOf.0.reimbursements.oneOf.0.items.[INDEX].external_ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"compensation.oneOf.0.reimbursements.oneOf.0.items.[INDEX].external_ref","typeLabel":"string | null"}},"additionalProperties":false,"type":"object","required":["wage_type_code","amount"],"title":"Reimbursement","uniqueKey":"compensation.oneOf.0.reimbursements.oneOf.0.items.[INDEX]","typeLabel":"Reimbursement · object"},"title":"Reimbursements","uniqueKey":"compensation.oneOf.0.reimbursements.oneOf.0","typeLabel":"Reimbursement · object[]"},{"type":"null","title":"Reimbursements","uniqueKey":"compensation.oneOf.0.reimbursements.oneOf.1","typeLabel":"null"}],"uniqueKey":"compensation.oneOf.0.reimbursements","typeLabel":"Reimbursement · object[] | null"}},"additionalProperties":false,"uniqueKey":"compensation.oneOf.0","typeLabel":"GBEmployeeCompensationSatellite · object"},{"type":"null","uniqueKey":"compensation.oneOf.1","typeLabel":"null"}],"uniqueKey":"compensation","typeLabel":"GBEmployeeCompensationSatellite · object | null"},"bank":{"oneOf":[{"type":"object","title":"GBEmployeeBankSatellite","required":["edition","valid_from","valid_to","created_at","created_by"],"properties":{"edition":{"type":"integer","title":"Edition","readOnly":true,"isRequired":true,"uniqueKey":"bank.oneOf.0.edition","typeLabel":"integer"},"valid_from":{"type":"string","format":"date","title":"Valid From","isRequired":true,"uniqueKey":"bank.oneOf.0.valid_from","typeLabel":"string\u003cdate>"},"valid_to":{"type":"string","format":"date","title":"Valid To","isRequired":true,"uniqueKey":"bank.oneOf.0.valid_to","typeLabel":"string\u003cdate>"},"created_at":{"type":"string","format":"date-time","title":"Created At","readOnly":true,"isRequired":true,"uniqueKey":"bank.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"created_by":{"type":"string","title":"Created By","description":"Who wrote the edition: the acting user (`X-Acting-User`, else the access credential), `system` for our own writes, or `\u003cauthority>:\u003cnotice>` for a write on an authority's behalf, e.g. `hmrc:P6`.","readOnly":true,"isRequired":true,"uniqueKey":"bank.oneOf.0.created_by","typeLabel":"string"},"accounts":{"items":{"properties":{"account_number":{"oneOf":[{"type":"string","title":"Account Number","uniqueKey":"bank.oneOf.0.accounts.items.[INDEX].account_number.oneOf.0","typeLabel":"string"},{"type":"null","title":"Account Number","uniqueKey":"bank.oneOf.0.accounts.items.[INDEX].account_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"bank.oneOf.0.accounts.items.[INDEX].account_number","typeLabel":"string | null"},"sort_code":{"oneOf":[{"type":"string","title":"Sort Code","uniqueKey":"bank.oneOf.0.accounts.items.[INDEX].sort_code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Sort Code","uniqueKey":"bank.oneOf.0.accounts.items.[INDEX].sort_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"bank.oneOf.0.accounts.items.[INDEX].sort_code","typeLabel":"string | null"},"financial_institution_name":{"oneOf":[{"type":"string","title":"Financial Institution Name","uniqueKey":"bank.oneOf.0.accounts.items.[INDEX].financial_institution_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Financial Institution Name","uniqueKey":"bank.oneOf.0.accounts.items.[INDEX].financial_institution_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"bank.oneOf.0.accounts.items.[INDEX].financial_institution_name","typeLabel":"string | null"},"is_primary":{"type":"boolean","title":"Is Primary","description":"Receives the whole net pay when no account has an allocation","default":false,"uniqueKey":"bank.oneOf.0.accounts.items.[INDEX].is_primary","typeLabel":"boolean"},"is_active":{"type":"boolean","title":"Is Active","description":"Inactive accounts are not paid into","default":true,"uniqueKey":"bank.oneOf.0.accounts.items.[INDEX].is_active","typeLabel":"boolean"},"allocation_percentage":{"oneOf":[{"type":"string","title":"Allocation Percentage","uniqueKey":"bank.oneOf.0.accounts.items.[INDEX].allocation_percentage.oneOf.0","typeLabel":"string"},{"type":"null","title":"Allocation Percentage","uniqueKey":"bank.oneOf.0.accounts.items.[INDEX].allocation_percentage.oneOf.1","typeLabel":"null"}],"uniqueKey":"bank.oneOf.0.accounts.items.[INDEX].allocation_percentage","typeLabel":"string | null"}},"additionalProperties":false,"type":"object","title":"GBBankAccountRead","description":"An account as stored. Accounts moved from before the bank satellite were not\nchecked against the UK formats, so a read does not check them either.","uniqueKey":"bank.oneOf.0.accounts.items.[INDEX]","typeLabel":"GBBankAccountRead · object"},"type":"array","title":"Accounts","uniqueKey":"bank.oneOf.0.accounts","typeLabel":"GBBankAccountRead · object[]"}},"additionalProperties":false,"uniqueKey":"bank.oneOf.0","typeLabel":"GBEmployeeBankSatellite · object"},{"type":"null","uniqueKey":"bank.oneOf.1","typeLabel":"null"}],"uniqueKey":"bank","typeLabel":"GBEmployeeBankSatellite · object | null"}},"additionalProperties":false,"type":"object","required":["id","external_ref","created_at","created_by","deleted_at","organization_id","status"],"title":"GBEmployeeResponse","description":"The employee with every satellite as it reads on one date. A satellite never\nwritten, or with no slice on an explicit date, is null.","uniqueKey":"","typeLabel":"GBEmployeeResponse · object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","external_ref":"\u003cstring>","created_at":"2023-11-07T05:31:56Z","created_by":"\u003cstring>","deleted_at":"2023-11-07T05:31:56Z","organization_id":"\u003cstring>","status":{},"core":{"edition":123,"valid_from":"2023-12-25","valid_to":"2023-12-25","created_at":"2023-11-07T05:31:56Z","created_by":"\u003cstring>","title":"\u003cstring>","first_name":"","middle_name":"\u003cstring>","last_name":"","maiden_name":"\u003cstring>","gender":"M","marital_status":"SINGLE","birth_date":"2023-12-25","personal_email":"jsmith@example.com","work_email":"jsmith@example.com","phone_numbers":[{"phone_number":"\u003cstring>","phone_type":"MOBILE","is_primary":false}]},"address":{"edition":123,"valid_from":"2023-12-25","valid_to":"2023-12-25","created_at":"2023-11-07T05:31:56Z","created_by":"\u003cstring>","address":"\u003cstring>"},"job":{"edition":123,"valid_from":"2023-12-25","valid_to":"2023-12-25","created_at":"2023-11-07T05:31:56Z","created_by":"\u003cstring>","start_date":"2023-12-25","contracted_weekly_hours":40,"department":"\u003cstring>","pay_group_id":"\u003cstring>","contracted_weekdays":["MONDAY"],"worker_type":"EMPLOYEE","director_since":"2023-12-25","pay_basis":"SALARIED","apprenticeship":{"start_date":"2023-12-25","expected_end_date":"2023-12-25","level":4},"p45_issued":false,"irregular_payment_pattern":false,"ordinarily_works_in_uk":true,"uk_work_exclusion_reason":"NOT_APPLICABLE","proration_basis":{"mode":"CALENDAR_DAY","business_days_per_year":"\u003cstring>"},"end_date":"2023-12-25"},"tax":{"edition":123,"valid_from":"2023-12-25","valid_to":"2023-12-25","created_at":"2023-11-07T05:31:56Z","created_by":"\u003cstring>","rti_id":"\u003cstring>","tax_code":"\u003cstring>","student_loan_type":"PLAN_1","postgraduate_loan":false,"p45_gross_pay":"0.00","p45_tax_amount":"0.00"},"insurance":{"edition":123,"valid_from":"2023-12-25","valid_to":"2023-12-25","created_at":"2023-11-07T05:31:56Z","created_by":"\u003cstring>","national_insurance_number":"\u003cstring>","nic_category":"A"},"compensation":{"edition":123,"valid_from":"2023-12-25","valid_to":"2023-12-25","created_at":"2023-11-07T05:31:56Z","created_by":"\u003cstring>","earnings":[{"wage_type_code":"\u003cstring>","amount":"\u003cstring>","external_ref":"\u003cstring>","earning_type":"AMOUNT","earning_frequency":"MONTH","is_lumpsum":false,"sacrificed_amount":"\u003cstring>"}],"benefits":[{"wage_type_code":"\u003cstring>","external_ref":"\u003cstring>","amount":"0.00","make_good_amount":"0.00","foregone_amount":"0.00","cash_alternative_amount":"0.00"}],"deductions":[{"wage_type_code":"\u003cstring>","amount":"\u003cstring>","external_ref":"\u003cstring>","sacrificed_amount":"\u003cstring>"}],"reimbursements":[{"wage_type_code":"\u003cstring>","amount":"\u003cstring>","external_ref":"\u003cstring>"}]},"bank":{"edition":123,"valid_from":"2023-12-25","valid_to":"2023-12-25","created_at":"2023-11-07T05:31:56Z","created_by":"\u003cstring>","accounts":[{"account_number":"\u003cstring>","sort_code":"\u003cstring>","financial_institution_name":"\u003cstring>","is_primary":false,"is_active":true,"allocation_percentage":"\u003cstring>"}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"3b7e115b-0431-4576-bbea-107d4ac75bf9":{"description":"- `ORG_BELONGS_TO_A_DIFFERENT_COUNTRY`: Raised when an organization belongs to a different country than the one in the path.","content":{"application/json":{"schema":{"type":"object","title":"ErrorResponse","required":["errors"],"properties":{"errors":{"type":"array","items":{"additionalProperties":false,"description":"Represents an error that occurred during processing.\n\nDesigned for client-side i18n:\n- code: Use this to look up translation (e.g., \"ORG_NOT_FOUND\")\n- message: English fallback if translation not available\n- field: Field name for form validation highlighting\n- params: Dynamic values for translation interpolation","properties":{"code":{"type":"string","enum":["ORG_BELONGS_TO_A_DIFFERENT_COUNTRY"],"title":"Code","description":"Unique error code for i18n lookup","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","title":"Message","description":"English fallback error message","isRequired":true,"uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"string","title":"Field","description":"Field that caused the error","uniqueKey":"errors.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","title":"Field","description":"Field that caused the error","uniqueKey":"errors.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors.items.[INDEX].field","typeLabel":"string | null"},"params":{"oneOf":[{"type":"object","title":"Params","description":"Parameters for translation interpolation","additionalProperties":true,"uniqueKey":"errors.items.[INDEX].params.oneOf.0","typeLabel":"Params · object"},{"type":"null","title":"Params","description":"Parameters for translation interpolation","uniqueKey":"errors.items.[INDEX].params.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors.items.[INDEX].params","typeLabel":"Params · object | null"}},"required":["code","message"],"title":"ErrorDetail","type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"ErrorDetail · object"},"isRequired":true,"uniqueKey":"errors","typeLabel":"ErrorDetail · object[]"}},"uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"ORG_BELONGS_TO_A_DIFFERENT_COUNTRY":{"title":"ORG_BELONGS_TO_A_DIFFERENT_COUNTRY","value":{"errors":[{"code":"ORG_BELONGS_TO_A_DIFFERENT_COUNTRY","message":"Raised when an organization belongs to a different country than the one in the path."}]}}},"exampleType":"examples"}},"exampleType":"examples"},"dbd6e335-48d7-4c5b-a2df-38f1713c0f72":{"description":"- `ORG_NOT_FOUND`: Raised when an organization is not found.\n- `HUB_NOT_FOUND`: Raised when a hub does not exist under the parent named in the path.","content":{"application/json":{"schema":{"type":"object","title":"ErrorResponse","required":["errors"],"properties":{"errors":{"type":"array","items":{"additionalProperties":false,"description":"Represents an error that occurred during processing.\n\nDesigned for client-side i18n:\n- code: Use this to look up translation (e.g., \"ORG_NOT_FOUND\")\n- message: English fallback if translation not available\n- field: Field name for form validation highlighting\n- params: Dynamic values for translation interpolation","properties":{"code":{"type":"string","enum":["ORG_NOT_FOUND","HUB_NOT_FOUND"],"title":"Code","description":"Unique error code for i18n lookup","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","title":"Message","description":"English fallback error message","isRequired":true,"uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"string","title":"Field","description":"Field that caused the error","uniqueKey":"errors.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","title":"Field","description":"Field that caused the error","uniqueKey":"errors.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors.items.[INDEX].field","typeLabel":"string | null"},"params":{"oneOf":[{"type":"object","title":"Params","description":"Parameters for translation interpolation","additionalProperties":true,"uniqueKey":"errors.items.[INDEX].params.oneOf.0","typeLabel":"Params · object"},{"type":"null","title":"Params","description":"Parameters for translation interpolation","uniqueKey":"errors.items.[INDEX].params.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors.items.[INDEX].params","typeLabel":"Params · object | null"}},"required":["code","message"],"title":"ErrorDetail","type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"ErrorDetail · object"},"isRequired":true,"uniqueKey":"errors","typeLabel":"ErrorDetail · object[]"}},"uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"ORG_NOT_FOUND":{"title":"ORG_NOT_FOUND","value":{"errors":[{"code":"ORG_NOT_FOUND","message":"Raised when an organization is not found."}]}},"HUB_NOT_FOUND":{"title":"HUB_NOT_FOUND","value":{"errors":[{"code":"HUB_NOT_FOUND","message":"Raised when a hub does not exist under the parent named in the path."}]}}},"exampleType":"examples"}},"exampleType":"examples"},"624d2c91-cc9c-4919-825d-4da3e4e3af60":{"description":"- `HUB_CLOSED`: Raised on a write to a closed hub: it stays readable, its satellites take no writes.\n- `EMPLOYEE_IN_OPEN_PAYROLL`: Raised when closing an employee whose pay group has a payroll that is running or calculated and not yet approved: the employee would drop out of it unpaid.","content":{"application/json":{"schema":{"type":"object","title":"ErrorResponse","required":["errors"],"properties":{"errors":{"type":"array","items":{"additionalProperties":false,"description":"Represents an error that occurred during processing.\n\nDesigned for client-side i18n:\n- code: Use this to look up translation (e.g., \"ORG_NOT_FOUND\")\n- message: English fallback if translation not available\n- field: Field name for form validation highlighting\n- params: Dynamic values for translation interpolation","properties":{"code":{"type":"string","enum":["HUB_CLOSED","EMPLOYEE_IN_OPEN_PAYROLL"],"title":"Code","description":"Unique error code for i18n lookup","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","title":"Message","description":"English fallback error message","isRequired":true,"uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"string","title":"Field","description":"Field that caused the error","uniqueKey":"errors.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","title":"Field","description":"Field that caused the error","uniqueKey":"errors.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors.items.[INDEX].field","typeLabel":"string | null"},"params":{"oneOf":[{"type":"object","title":"Params","description":"Parameters for translation interpolation","additionalProperties":true,"uniqueKey":"errors.items.[INDEX].params.oneOf.0","typeLabel":"Params · object"},{"type":"null","title":"Params","description":"Parameters for translation interpolation","uniqueKey":"errors.items.[INDEX].params.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors.items.[INDEX].params","typeLabel":"Params · object | null"}},"required":["code","message"],"title":"ErrorDetail","type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"ErrorDetail · object"},"isRequired":true,"uniqueKey":"errors","typeLabel":"ErrorDetail · object[]"}},"uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"HUB_CLOSED":{"title":"HUB_CLOSED","value":{"errors":[{"code":"HUB_CLOSED","message":"Raised on a write to a closed hub: it stays readable, its satellites take no writes."}]}},"EMPLOYEE_IN_OPEN_PAYROLL":{"title":"EMPLOYEE_IN_OPEN_PAYROLL","value":{"errors":[{"code":"EMPLOYEE_IN_OPEN_PAYROLL","message":"Raised when closing an employee whose pay group has a payroll that is running or calculated and not yet approved: the employee would drop out of it unpaid."}]}}},"exampleType":"examples"}},"exampleType":"examples"},"dcc75798-33a3-42e2-abdf-e29ee613a1cd":{"description":"The request failed validation. Type and format errors use the generic FIELD_* codes.","content":{"application/json":{"schema":{"type":"object","title":"ErrorResponse","required":["errors"],"properties":{"errors":{"type":"array","items":{"additionalProperties":false,"description":"Represents an error that occurred during processing.\n\nDesigned for client-side i18n:\n- code: Use this to look up translation (e.g., \"ORG_NOT_FOUND\")\n- message: English fallback if translation not available\n- field: Field name for form validation highlighting\n- params: Dynamic values for translation interpolation","properties":{"code":{"type":"string","enum":["FIELD_REQUIRED","FIELD_INVALID_TYPE_STRING","FIELD_INVALID_TYPE_INT","FIELD_INVALID_TYPE_FLOAT","FIELD_INVALID_TYPE_BOOL","FIELD_INVALID_TYPE_DICT","FIELD_INVALID_TYPE_LIST","FIELD_STRING_TOO_SHORT","FIELD_STRING_TOO_LONG","FIELD_STRING_PATTERN_MISMATCH","FIELD_VALUE_TOO_SMALL","FIELD_VALUE_TOO_LARGE","FIELD_INVALID_DATE","FIELD_INVALID_DATETIME","FIELD_INVALID_TIME","FIELD_INVALID_DATE_FORMAT","FIELD_INVALID_DATETIME_FORMAT","FIELD_INVALID_ENUM_VALUE","FIELD_INVALID_EMAIL","FIELD_INVALID_URL","FIELD_LIST_TOO_SHORT","FIELD_LIST_TOO_LONG","FIELD_UNKNOWN","FIELD_VALIDATION_ERROR"],"title":"Code","description":"Unique error code for i18n lookup","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","title":"Message","description":"English fallback error message","isRequired":true,"uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"string","title":"Field","description":"Field that caused the error","uniqueKey":"errors.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","title":"Field","description":"Field that caused the error","uniqueKey":"errors.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors.items.[INDEX].field","typeLabel":"string | null"},"params":{"oneOf":[{"type":"object","title":"Params","description":"Parameters for translation interpolation","additionalProperties":true,"uniqueKey":"errors.items.[INDEX].params.oneOf.0","typeLabel":"Params · object"},{"type":"null","title":"Params","description":"Parameters for translation interpolation","uniqueKey":"errors.items.[INDEX].params.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors.items.[INDEX].params","typeLabel":"Params · object | null"}},"required":["code","message"],"title":"ErrorDetail","type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"ErrorDetail · object"},"isRequired":true,"uniqueKey":"errors","typeLabel":"ErrorDetail · object[]"}},"uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"errors":[{"code":"FIELD_REQUIRED","message":"\u003cstring>","field":"\u003cstring>","params":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"bc538534-6255-4f47-991d-d71fa04d4579":{"BearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Get token from Auth0 and paste it here","scopes":[],"schemeName":"BearerToken"}}},"servers":{"6065456c-46b1-44e8-a7ee-50f9e55aa028":{"url":"https://preview.intermezzo.ai","description":"Preview"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Get token from Auth0 and paste it here","scopes":[],"schemeName":"BearerToken"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Get token from Auth0 and paste it here","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerToken","name":"Authorization"}],"title":"BearerToken"}]},"originalFileLocation":"api-reference/preview.json"},"subdomain":"intermezzo","siteName":"Intermezzo Docs","title":"Close Employee - Intermezzo Docs","navMaps":{"firstHrefInVersion":{"Preview":{"href":"/api-reference/preview/great-britain/close-employee","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-10-16T11:43:27.361Z","originalFileLocation":"api-reference/preview/great-britain/close-employee.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";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=\"light\"}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=\"application-name\" content=\"Intermezzo Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/intermezzo/kfSq5e1CN76wLrfm/_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/intermezzo/kfSq5e1CN76wLrfm/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/intermezzo/kfSq5e1CN76wLrfm/_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/intermezzo/kfSq5e1CN76wLrfm/_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/intermezzo/kfSq5e1CN76wLrfm/_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/intermezzo/kfSq5e1CN76wLrfm/_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/intermezzo/kfSq5e1CN76wLrfm/_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/intermezzo/kfSq5e1CN76wLrfm/_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/intermezzo/kfSq5e1CN76wLrfm/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Close Employee - Intermezzo Docs\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Intermezzo Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.intermezzo.ai/api-reference/preview/great-britain/close-employee\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://intermezzo.mintlify.site/_mintlify/api/og/v2?division=Employees\u0026amp;title=Close+Employee\u0026amp;theme=2cc41bc2d4d72760d1901e1b\u0026amp;signature=ca8857a93c911bae02124b39c06cb34fd19f460c9c1a839d79c6916195cd38ef\">\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=\"Close Employee - Intermezzo Docs\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://intermezzo.mintlify.site/_mintlify/api/og/v2?division=Employees\u0026amp;title=Close+Employee\u0026amp;theme=2cc41bc2d4d72760d1901e1b\u0026amp;signature=ca8857a93c911bae02124b39c06cb34fd19f460c9c1a839d79c6916195cd38ef\">\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/intermezzo/kfSq5e1CN76wLrfm/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Intermezzo Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#73f\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.intermezzo.ai/api-reference/preview/great-britain/close-employee\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/preview/great-britain/close-employee.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.intermezzo.ai/#organization\",\"name\":\"Intermezzo Docs\",\"url\":\"https://docs.intermezzo.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/intermezzo/XOEFYK36Q6eJv_R4/logo/intermezzo_light.svg?fit=max\u0026auto=format\u0026n=XOEFYK36Q6eJv_R4\u0026q=85\u0026s=4b9e8941df9647de37ca603f7ca47f49\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.intermezzo.ai#website\",\"name\":\"Intermezzo Docs\",\"url\":\"https://docs.intermezzo.ai\",\"publisher\":{\"@id\":\"https://docs.intermezzo.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.intermezzo.ai/api-reference/preview/great-britain/close-employee#webpage\",\"url\":\"https://docs.intermezzo.ai/api-reference/preview/great-britain/close-employee\",\"name\":\"Close Employee\",\"dateModified\":\"2026-10-16T11:43:27.361Z\",\"isPartOf\":{\"@id\":\"https://docs.intermezzo.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.intermezzo.ai/api-reference/preview/great-britain/close-employee#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.intermezzo.ai/api-reference/preview/great-britain/close-employee#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Great Britain\",\"item\":\"https://docs.intermezzo.ai/api-reference/preview/great-britain/create-employee\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Employees\",\"item\":\"https://docs.intermezzo.ai/api-reference/preview/great-britain/create-employee\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Close Employee\",\"item\":\"https://docs.intermezzo.ai/api-reference/preview/great-britain/close-employee\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.intermezzo.ai/api-reference/preview/great-britain/close-employee#apireference\",\"headline\":\"Close Employee\",\"name\":\"Close Employee\",\"url\":\"https://docs.intermezzo.ai/api-reference/preview/great-britain/close-employee\",\"mainEntityOfPage\":{\"@id\":\"https://docs.intermezzo.ai/api-reference/preview/great-britain/close-employee#webpage\"},\"dateModified\":\"2026-10-16T11:43:27.361Z\",\"publisher\":{\"@id\":\"https://docs.intermezzo.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.intermezzo.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Intermezzo Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Intermezzo Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/preview/great-britain/close-employee.md","siteName":"Intermezzo Docs","nav":{"global":null,"versions":[{"version":"Preview","tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API Reference","groups":[{"group":"Core","pages":[{"group":"Organizations","pages":[{"title":"Create Orgs","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /organizations","href":"/api-reference/preview/core/create-orgs"},{"title":"List Orgs","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /organizations","href":"/api-reference/preview/core/list-orgs"},{"title":"Create Orgs Bulk","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /organizations/list","href":"/api-reference/preview/core/create-orgs-bulk"},{"title":"Get Org","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /organizations/{organization_id}","href":"/api-reference/preview/core/get-org"},{"title":"Update Org","deprecated":null,"version":null,"openapi":"/api-reference/preview.json patch /organizations/{organization_id}","href":"/api-reference/preview/core/update-org"},{"title":"Shutdown Org","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /organizations/{organization_id}/shutdown","href":"/api-reference/preview/core/shutdown-org"},{"group":"Logo","pages":[{"title":"Generate logo upload URL","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /organizations/{organization_id}/logo/upload-url","href":"/api-reference/preview/core/generate-logo-upload-url"},{"title":"Confirm logo upload","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /organizations/{organization_id}/logo/confirm","href":"/api-reference/preview/core/confirm-logo-upload"}]},{"group":"Preferences","pages":[{"title":"Update Organization Preferences","deprecated":null,"version":null,"openapi":"/api-reference/preview.json patch /organizations/{organization_id}/preferences","href":"/api-reference/preview/core/update-organization-preferences"},{"title":"Get Current Organization Preferences","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /organizations/{organization_id}/preferences","href":"/api-reference/preview/core/get-current-organization-preferences"}]},{"group":"Insurance Details","pages":[{"title":"Get Organization Insurance Details","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /organizations/{organization_id}/insurance-details","href":"/api-reference/preview/core/get-organization-insurance-details"},{"title":"Create Organization Insurance Details","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /organizations/{organization_id}/insurance-details","href":"/api-reference/preview/core/create-organization-insurance-details"},{"title":"Update Organization Insurance Details","deprecated":null,"version":null,"openapi":"/api-reference/preview.json patch /organizations/{organization_id}/insurance-details/{insurance_details_id}","href":"/api-reference/preview/core/update-organization-insurance-details"}]},{"group":"Tax Details","pages":[{"title":"Get Organization Tax Identifiers","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /organizations/{organization_id}/tax-identifiers","href":"/api-reference/preview/core/get-organization-tax-identifiers"},{"title":"Create Organization Tax Identifier","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /organizations/{organization_id}/tax-identifiers","href":"/api-reference/preview/core/create-organization-tax-identifier"},{"title":"Update Organization Tax Identifier","deprecated":null,"version":null,"openapi":"/api-reference/preview.json patch /organizations/{organization_id}/tax-identifiers/{tax_identifier_id}","href":"/api-reference/preview/core/update-organization-tax-identifier"}]},{"group":"Contacts","pages":[{"title":"Get Organization Contacts","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /organizations/{organization_id}/contacts","href":"/api-reference/preview/core/get-organization-contacts"},{"title":"Create Organization Contact","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /organizations/{organization_id}/contacts","href":"/api-reference/preview/core/create-organization-contact"},{"title":"Attach Contacts To Organization","deprecated":null,"version":null,"openapi":"/api-reference/preview.json put /organizations/{organization_id}/contacts","href":"/api-reference/preview/core/attach-contacts-to-organization"},{"title":"Create multiple contacts in bulk","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /organizations/{organization_id}/contacts/list","href":"/api-reference/preview/core/create-multiple-contacts-in-bulk"},{"title":"Attach Contact To Organization","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /organizations/{organization_id}/contacts/{contact_id}","href":"/api-reference/preview/core/attach-contact-to-organization"},{"title":"Patch Organization Contact","deprecated":null,"version":null,"openapi":"/api-reference/preview.json patch /organizations/{organization_id}/contacts/{contact_id}","href":"/api-reference/preview/core/patch-organization-contact"}]},{"group":"Banking","pages":[{"title":"Get Organization Bank Accounts","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /organizations/{organization_id}/bank-accounts","href":"/api-reference/preview/core/get-organization-bank-accounts"},{"title":"Create Organization Bank Account","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /organizations/{organization_id}/bank-accounts","href":"/api-reference/preview/core/create-organization-bank-account"},{"title":"Create Organization Bank Accounts Bulk","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /organizations/{organization_id}/bank-accounts/list","href":"/api-reference/preview/core/create-organization-bank-accounts-bulk"},{"title":"Patch Organization Bank Account","deprecated":null,"version":null,"openapi":"/api-reference/preview.json patch /organizations/{organization_id}/bank-accounts/{bank_account_id}","href":"/api-reference/preview/core/patch-organization-bank-account"}]}]},{"group":"Worksites","pages":[{"title":"List Worksites","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /organizations/{organization_id}/worksites","href":"/api-reference/preview/core/list-worksites"},{"title":"Create Worksite","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /organizations/{organization_id}/worksites","href":"/api-reference/preview/core/create-worksite"},{"title":"Get Worksite","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /organizations/{organization_id}/worksites/{worksite_id}","href":"/api-reference/preview/core/get-worksite"},{"title":"Patch Worksite","deprecated":null,"version":null,"openapi":"/api-reference/preview.json patch /organizations/{organization_id}/worksites/{worksite_id}","href":"/api-reference/preview/core/patch-worksite"},{"title":"Create Worksites Bulk","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /organizations/{organization_id}/worksites/list","href":"/api-reference/preview/core/create-worksites-bulk"},{"group":"Insurance Details","pages":[{"title":"Get Worksite Insurance Details","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /organizations/{organization_id}/worksites/{worksite_id}/insurance-details","href":"/api-reference/preview/core/get-worksite-insurance-details"},{"title":"Create Worksite Insurance Details","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /organizations/{organization_id}/worksites/{worksite_id}/insurance-details","href":"/api-reference/preview/core/create-worksite-insurance-details"},{"title":"Update Worksite Insurance Details","deprecated":null,"version":null,"openapi":"/api-reference/preview.json patch /organizations/{organization_id}/worksites/{worksite_id}/insurance-details/{insurance_details_id}","href":"/api-reference/preview/core/update-worksite-insurance-details"}]},{"group":"Tax Details","pages":[{"title":"Get Worksite Tax Identifiers","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /organizations/{organization_id}/worksites/{worksite_id}/tax-identifiers","href":"/api-reference/preview/core/get-worksite-tax-identifiers"},{"title":"Create Worksite Tax Identifier","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /organizations/{organization_id}/worksites/{worksite_id}/tax-identifiers","href":"/api-reference/preview/core/create-worksite-tax-identifier"},{"title":"Update Worksite Tax Identifier","deprecated":null,"version":null,"openapi":"/api-reference/preview.json patch /organizations/{organization_id}/worksites/{worksite_id}/tax-identifiers/{tax_identifier_id}","href":"/api-reference/preview/core/update-worksite-tax-identifier"}]},{"group":"Contacts","pages":[{"title":"Get Worksite Contacts","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /organizations/{organization_id}/worksites/{worksite_id}/contacts","href":"/api-reference/preview/core/get-worksite-contacts"},{"title":"Create Worksite Contact","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /organizations/{organization_id}/worksites/{worksite_id}/contacts","href":"/api-reference/preview/core/create-worksite-contact"},{"title":"Attach Contacts To Worksite","deprecated":null,"version":null,"openapi":"/api-reference/preview.json put /organizations/{organization_id}/worksites/{worksite_id}/contacts","href":"/api-reference/preview/core/attach-contacts-to-worksite"},{"title":"Create Worksite Contacts Bulk","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /organizations/{organization_id}/worksites/{worksite_id}/contacts/list","href":"/api-reference/preview/core/create-worksite-contacts-bulk"},{"title":"Patch Worksite Contact","deprecated":null,"version":null,"openapi":"/api-reference/preview.json patch /organizations/{organization_id}/worksites/{worksite_id}/contacts/{contact_id}","href":"/api-reference/preview/core/patch-worksite-contact"}]}]},{"group":"Contacts","pages":[{"title":"List Contacts","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /contacts","href":"/api-reference/preview/core/list-contacts"},{"title":"Patch Contact","deprecated":null,"version":null,"openapi":"/api-reference/preview.json patch /contacts/{contact_id}","href":"/api-reference/preview/core/patch-contact"}]},{"group":"Addresses","pages":[{"title":"Get Address","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /organizations/{organization_id}/addresses/{address_id}","href":"/api-reference/preview/core/get-address"},{"title":"Update Addresss","deprecated":null,"version":null,"openapi":"/api-reference/preview.json put /organizations/{organization_id}/addresses/{address_id}","href":"/api-reference/preview/core/update-addresss"},{"title":"Create Addresss","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /organizations/{organization_id}/addresses","href":"/api-reference/preview/core/create-addresss"}]},{"group":"Webhooks","pages":[{"title":"Setup Partner Webhook","deprecated":null,"version":null,"openapi":"/api-reference/preview.json put /webhooks/{category}","href":"/api-reference/preview/core/setup-partner-webhook"},{"title":"Rotate Partner Webhook","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /webhooks/{category}/rotate","href":"/api-reference/preview/core/rotate-partner-webhook"},{"title":"Revoke Partner Webhook","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /webhooks/{category}/revoke","href":"/api-reference/preview/core/revoke-partner-webhook"},{"title":"List Partner Webhooks","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /webhooks","href":"/api-reference/preview/core/list-partner-webhooks"},{"title":"List Partner Webhook Deliveries","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /webhooks/deliveries","href":"/api-reference/preview/core/list-partner-webhook-deliveries"}]},{"group":"Payrolls","pages":[{"title":"Approve Payroll","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /organizations/{organization_id}/payrolls/{payroll_status_id}/approve","href":"/api-reference/preview/core/approve-payroll"},{"title":"List Payruns","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /organizations/{organization_id}/payrolls","href":"/api-reference/preview/core/list-payruns"},{"title":"Get Payroll Status","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /organizations/{organization_id}/payrolls/{payroll_status_id}/status","href":"/api-reference/preview/core/get-payroll-status"},{"title":"Get Payroll Status History","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /organizations/{organization_id}/payrolls/{payroll_status_id}/status/history","href":"/api-reference/preview/core/get-payroll-status-history"},{"title":"List Payroll Statuses","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /organizations/{organization_id}/payrolls/statuses","href":"/api-reference/preview/core/list-payroll-statuses"},{"group":"Pay Calendars","pages":[{"title":"List Pay Calendars","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /organizations/{organization_id}/payrolls/pay-calendars","href":"/api-reference/preview/core/list-pay-calendars"},{"title":"Create Pay Calendar","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /organizations/{organization_id}/payrolls/pay-calendars","href":"/api-reference/preview/core/create-pay-calendar"}]},{"group":"Pay Groups","pages":[{"title":"List Pay Groups","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /organizations/{organization_id}/payrolls/pay-groups","href":"/api-reference/preview/core/list-pay-groups"},{"title":"Create Pay Group","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /organizations/{organization_id}/payrolls/pay-groups","href":"/api-reference/preview/core/create-pay-group"},{"title":"Get Pay Group","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /organizations/{organization_id}/payrolls/pay-groups/{pay_group_id}","href":"/api-reference/preview/core/get-pay-group"},{"title":"List Pay Group Employees","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /organizations/{organization_id}/payrolls/pay-groups/{pay_group_id}/employees","href":"/api-reference/preview/core/list-pay-group-employees"}]},{"group":"Payslips","pages":[{"title":"Get Payslips","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /organizations/{organization_id}/payrolls/{payroll_status_id}/payslips","href":"/api-reference/preview/core/get-payslips"},{"title":"Download Sample Payslip","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /organizations/{organization_id}/payrolls/{payroll_status_id}/payslips/{payslip_id}/download_sample","href":"/api-reference/preview/core/download-sample-payslip"}]}]},{"group":"Employees","pages":[{"group":"Documents","pages":[{"title":"Generate presigned upload URL","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /organizations/{organization_id}/employees/{employee_id}/documents/upload","href":"/api-reference/preview/core/generate-presigned-upload-url"},{"title":"Confirm upload completion","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /organizations/{organization_id}/employees/{employee_id}/documents/confirm","href":"/api-reference/preview/core/confirm-upload-completion"},{"title":"List employee documents","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /organizations/{organization_id}/employees/{employee_id}/documents","href":"/api-reference/preview/core/list-employee-documents"},{"title":"Generate presigned download URL","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /organizations/{organization_id}/employees/{employee_id}/documents/{document_id}/download","href":"/api-reference/preview/core/generate-presigned-download-url"},{"title":"Delete a document","deprecated":null,"version":null,"openapi":"/api-reference/preview.json delete /organizations/{organization_id}/employees/{employee_id}/documents/{document_id}","href":"/api-reference/preview/core/delete-a-document"}]},{"group":"Absences","pages":[{"title":"Create Absence","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /organizations/{organization_id}/employees/{employee_id}/absences","href":"/api-reference/preview/core/create-absence"},{"title":"List Absences","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /organizations/{organization_id}/employees/{employee_id}/absences","href":"/api-reference/preview/core/list-absences"},{"title":"Get Absence","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /organizations/{organization_id}/employees/{employee_id}/absences/{absence_id}","href":"/api-reference/preview/core/get-absence"},{"title":"Amend Absence","deprecated":null,"version":null,"openapi":"/api-reference/preview.json patch /organizations/{organization_id}/employees/{employee_id}/absences/{absence_id}","href":"/api-reference/preview/core/amend-absence"},{"title":"Cancel Absence","deprecated":null,"version":null,"openapi":"/api-reference/preview.json delete /organizations/{organization_id}/employees/{employee_id}/absences/{absence_id}","href":"/api-reference/preview/core/cancel-absence"},{"title":"Get Absence History","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /organizations/{organization_id}/employees/{employee_id}/absences/{absence_id}/history","href":"/api-reference/preview/core/get-absence-history"}]}]}]},{"group":"Great Britain","pages":[{"group":"Employees","pages":[{"title":"Create Employee","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/employees","href":"/api-reference/preview/great-britain/create-employee"},{"title":"List Employees","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/employees","href":"/api-reference/preview/great-britain/list-employees"},{"title":"Create Employees","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/employees/list","href":"/api-reference/preview/great-britain/create-employees"},{"title":"Get Employee","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/employees/{employee_id}","href":"/api-reference/preview/great-britain/get-employee"},{"title":"Close Employee","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/employees/{employee_id}/close","href":"/api-reference/preview/great-britain/close-employee"},{"title":"Get Employee Status","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/employees/{employee_id}/status","href":"/api-reference/preview/great-britain/get-employee-status"},{"group":"Core","pages":[{"title":"Get Core","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/employees/{employee_id}/core","href":"/api-reference/preview/great-britain/get-core"},{"title":"Create Core Edition","deprecated":null,"version":null,"openapi":"/api-reference/preview.json put /gb/organizations/{organization_id}/employees/{employee_id}/core","href":"/api-reference/preview/great-britain/create-core-edition"},{"title":"Get Core Editions","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/employees/{employee_id}/core/editions","href":"/api-reference/preview/great-britain/get-core-editions"},{"title":"Get Core Protocol","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/employees/{employee_id}/core/protocol","href":"/api-reference/preview/great-britain/get-core-protocol"}]},{"group":"Address","pages":[{"title":"Get Address","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/employees/{employee_id}/address","href":"/api-reference/preview/great-britain/get-address"},{"title":"Create Address Edition","deprecated":null,"version":null,"openapi":"/api-reference/preview.json put /gb/organizations/{organization_id}/employees/{employee_id}/address","href":"/api-reference/preview/great-britain/create-address-edition"},{"title":"Get Address Editions","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/employees/{employee_id}/address/editions","href":"/api-reference/preview/great-britain/get-address-editions"},{"title":"Get Address Protocol","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/employees/{employee_id}/address/protocol","href":"/api-reference/preview/great-britain/get-address-protocol"}]},{"group":"Job","pages":[{"title":"Get Job","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/employees/{employee_id}/job","href":"/api-reference/preview/great-britain/get-job"},{"title":"Create Job Edition","deprecated":null,"version":null,"openapi":"/api-reference/preview.json put /gb/organizations/{organization_id}/employees/{employee_id}/job","href":"/api-reference/preview/great-britain/create-job-edition"},{"title":"Get Job Editions","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/employees/{employee_id}/job/editions","href":"/api-reference/preview/great-britain/get-job-editions"},{"title":"Get Job Protocol","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/employees/{employee_id}/job/protocol","href":"/api-reference/preview/great-britain/get-job-protocol"}]},{"group":"Tax","pages":[{"title":"Get Tax","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/employees/{employee_id}/tax","href":"/api-reference/preview/great-britain/get-tax"},{"title":"Create Tax Edition","deprecated":null,"version":null,"openapi":"/api-reference/preview.json put /gb/organizations/{organization_id}/employees/{employee_id}/tax","href":"/api-reference/preview/great-britain/create-tax-edition"},{"title":"Get Tax Editions","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/employees/{employee_id}/tax/editions","href":"/api-reference/preview/great-britain/get-tax-editions"},{"title":"Get Tax Protocol","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/employees/{employee_id}/tax/protocol","href":"/api-reference/preview/great-britain/get-tax-protocol"}]},{"group":"Insurance","pages":[{"title":"Get Insurance","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/employees/{employee_id}/insurance","href":"/api-reference/preview/great-britain/get-insurance"},{"title":"Create Insurance Edition","deprecated":null,"version":null,"openapi":"/api-reference/preview.json put /gb/organizations/{organization_id}/employees/{employee_id}/insurance","href":"/api-reference/preview/great-britain/create-insurance-edition"},{"title":"Get Insurance Editions","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/employees/{employee_id}/insurance/editions","href":"/api-reference/preview/great-britain/get-insurance-editions"},{"title":"Get Insurance Protocol","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/employees/{employee_id}/insurance/protocol","href":"/api-reference/preview/great-britain/get-insurance-protocol"}]},{"group":"Compensation","pages":[{"title":"Get Compensation","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/employees/{employee_id}/compensation","href":"/api-reference/preview/great-britain/get-compensation"},{"title":"Create Compensation Edition","deprecated":null,"version":null,"openapi":"/api-reference/preview.json put /gb/organizations/{organization_id}/employees/{employee_id}/compensation","href":"/api-reference/preview/great-britain/create-compensation-edition"},{"title":"Get Compensation Editions","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/employees/{employee_id}/compensation/editions","href":"/api-reference/preview/great-britain/get-compensation-editions"},{"title":"Get Compensation Protocol","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/employees/{employee_id}/compensation/protocol","href":"/api-reference/preview/great-britain/get-compensation-protocol"}]},{"group":"Bank","pages":[{"title":"Get Bank","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/employees/{employee_id}/bank","href":"/api-reference/preview/great-britain/get-bank"},{"title":"Create Bank Edition","deprecated":null,"version":null,"openapi":"/api-reference/preview.json put /gb/organizations/{organization_id}/employees/{employee_id}/bank","href":"/api-reference/preview/great-britain/create-bank-edition"},{"title":"Get Bank Editions","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/employees/{employee_id}/bank/editions","href":"/api-reference/preview/great-britain/get-bank-editions"},{"title":"Get Bank Protocol","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/employees/{employee_id}/bank/protocol","href":"/api-reference/preview/great-britain/get-bank-protocol"}]}]},{"group":"Absences","pages":[{"title":"Add Kit Day","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/employees/{employee_id}/absences/{absence_id}/kit-days","href":"/api-reference/preview/great-britain/add-kit-day"},{"title":"Record Birth","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/employees/{employee_id}/absences/{absence_id}/birth","href":"/api-reference/preview/great-britain/record-birth"},{"title":"Record Evidence","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/employees/{employee_id}/absences/{absence_id}/evidence","href":"/api-reference/preview/great-britain/record-evidence"},{"title":"Get Family Pay Claim","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/employees/{employee_id}/absences/{absence_id}/claim","href":"/api-reference/preview/great-britain/get-family-pay-claim"},{"title":"Override Claim Awe","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/employees/{employee_id}/absences/{absence_id}/claim/awe-override","href":"/api-reference/preview/great-britain/override-claim-awe"}]},{"group":"Absence Schemes","pages":[{"title":"Create Absence Scheme","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/absence-schemes","href":"/api-reference/preview/great-britain/create-absence-scheme"},{"title":"List Absence Schemes","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/absence-schemes","href":"/api-reference/preview/great-britain/list-absence-schemes"},{"title":"Get Absence Scheme","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/absence-schemes/{scheme_id}","href":"/api-reference/preview/great-britain/get-absence-scheme"},{"title":"Update Absence Scheme","deprecated":null,"version":null,"openapi":"/api-reference/preview.json put /gb/organizations/{organization_id}/absence-schemes/{scheme_id}","href":"/api-reference/preview/great-britain/update-absence-scheme"},{"title":"Delete Absence Scheme","deprecated":null,"version":null,"openapi":"/api-reference/preview.json delete /gb/organizations/{organization_id}/absence-schemes/{scheme_id}","href":"/api-reference/preview/great-britain/delete-absence-scheme"},{"title":"List Absence Scheme Editions","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/absence-schemes/{scheme_id}/editions","href":"/api-reference/preview/great-britain/list-absence-scheme-editions"},{"title":"Create Absence Scheme Assignment","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/absence-scheme-assignments","href":"/api-reference/preview/great-britain/create-absence-scheme-assignment"},{"title":"List Absence Scheme Assignments","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/absence-scheme-assignments","href":"/api-reference/preview/great-britain/list-absence-scheme-assignments"},{"title":"End Absence Scheme Assignment","deprecated":null,"version":null,"openapi":"/api-reference/preview.json delete /gb/organizations/{organization_id}/absence-scheme-assignments/{assignment_id}","href":"/api-reference/preview/great-britain/end-absence-scheme-assignment"}]},{"group":"AWE","pages":[{"title":"Get Awe","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/employees/{employee_id}/awe","href":"/api-reference/preview/great-britain/get-awe"},{"title":"List Earnings History","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/employees/{employee_id}/earnings-history","href":"/api-reference/preview/great-britain/list-earnings-history"}]},{"group":"Payroll","pages":[{"group":"Post Payroll","pages":[{"group":"HMRC Filing","pages":[{"title":"Submit Eps","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/eps","href":"/api-reference/preview/great-britain/submit-eps"},{"title":"List Eps Submissions","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/eps","href":"/api-reference/preview/great-britain/list-eps-submissions"},{"title":"Get Eps Submission","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/eps/{eps_id}","href":"/api-reference/preview/great-britain/get-eps-submission"},{"title":"Run Fps Test In Live","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/payrolls/{payroll_status_id}/fps/test-in-live","href":"/api-reference/preview/great-britain/run-fps-test-in-live"},{"title":"Get test-in-live FPS submission details","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/payrolls/{payroll_status_id}/fps/test-in-live","href":"/api-reference/preview/great-britain/get-test-in-live-fps-submission-details"},{"title":"Get FPS submission details","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/payrolls/{payroll_status_id}/fps","href":"/api-reference/preview/great-britain/get-fps-submission-details"}]},{"group":"Payments","pages":[{"title":"Get P32 for a full tax year","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/p32/{tax_year}","href":"/api-reference/preview/great-britain/get-p32-for-a-full-tax-year"},{"title":"Export P32 for a tax year with cumulative totals","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/p32/{tax_year}/export","href":"/api-reference/preview/great-britain/export-p32-for-a-tax-year-with-cumulative-totals"},{"title":"Get P32 for a single tax month","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/p32/{tax_year}/{tax_month}","href":"/api-reference/preview/great-britain/get-p32-for-a-single-tax-month"},{"title":"Manually trigger P32 recompute for a tax month","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/p32/{tax_year}/{tax_month}/recompute","href":"/api-reference/preview/great-britain/manually-trigger-p32-recompute-for-a-tax-month"},{"title":"Request repayment of a P32 surplus","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/p32/{tax_year}/{tax_month}/request-repayment","href":"/api-reference/preview/great-britain/request-repayment-of-a-p32-surplus"},{"title":"Download stored BACS file","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/payrolls/{payroll_status_id}/bacs-file/download","href":"/api-reference/preview/great-britain/download-stored-bacs-file"},{"title":"Get BACS file task status","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/payrolls/{payroll_status_id}/tasks/bacs-file/status","href":"/api-reference/preview/great-britain/get-bacs-file-task-status"},{"title":"Validate a BACS file","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/payrolls/bacs-file/validate","href":"/api-reference/preview/great-britain/validate-a-bacs-file"}]}]},{"group":"Run Payroll","pages":[{"title":"Run Payroll","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/payrolls","href":"/api-reference/preview/great-britain/run-payroll"},{"group":"Task Status \u0026 Results","pages":[{"title":"Get Payroll Task Status","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/payrolls/{payroll_status_id}/tasks/payroll-calculation/{task_id}/status","href":"/api-reference/preview/great-britain/get-payroll-task-status"},{"title":"Get Payroll Calculation Results By Status","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/payrolls/{payroll_status_id}/tasks/payroll-calculation/latest/results","href":"/api-reference/preview/great-britain/get-payroll-calculation-results-by-status"},{"title":"Get Payroll Calculation Task Results","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/payrolls/{payroll_status_id}/tasks/payroll-calculation/{task_id}/results","href":"/api-reference/preview/great-britain/get-payroll-calculation-task-results"},{"title":"Get Latest Pension Assessment Preview","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/payrolls/{payroll_status_id}/tasks/payroll-calculation/latest/pension-preview","href":"/api-reference/preview/great-britain/get-latest-pension-assessment-preview"},{"title":"Get Pension Assessment Preview","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/payrolls/{payroll_status_id}/tasks/payroll-calculation/{task_id}/pension-preview","href":"/api-reference/preview/great-britain/get-pension-assessment-preview"}]}]},{"group":"Approve Payroll","pages":[{"title":"Approve Payroll","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/payrolls/{payroll_status_id}/approve","href":"/api-reference/preview/great-britain/approve-payroll"}]}]},{"group":"Pay Items","pages":[{"title":"List Pay Items","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/payruns/{payrun_id}/pay-items","href":"/api-reference/preview/great-britain/list-pay-items"},{"title":"Delete Pay Items","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/payruns/{payrun_id}/pay-items/delete","href":"/api-reference/preview/great-britain/delete-pay-items"}]},{"group":"Pension","pages":[{"title":"List pension schemes","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/pension/schemes","href":"/api-reference/preview/great-britain/list-pension-schemes"},{"title":"Create pension scheme","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/pension/schemes","href":"/api-reference/preview/great-britain/create-pension-scheme"},{"title":"Get pension scheme","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/pension/schemes/{scheme_id}","href":"/api-reference/preview/great-britain/get-pension-scheme"},{"title":"Update pension scheme","deprecated":null,"version":null,"openapi":"/api-reference/preview.json patch /gb/organizations/{organization_id}/pension/schemes/{scheme_id}","href":"/api-reference/preview/great-britain/update-pension-scheme"},{"title":"Get pension scheme history","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/pension/schemes/{scheme_id}/history","href":"/api-reference/preview/great-britain/get-pension-scheme-history"},{"title":"Get pension membership","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/employees/{employee_id}/pension/membership","href":"/api-reference/preview/great-britain/get-pension-membership"},{"title":"Get pension membership history","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/employees/{employee_id}/pension/membership/history","href":"/api-reference/preview/great-britain/get-pension-membership-history"},{"title":"Get auto-enrolment assessments","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/employees/{employee_id}/pension/assessments","href":"/api-reference/preview/great-britain/get-auto-enrolment-assessments"},{"title":"Enrol employee in pension scheme","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/employees/{employee_id}/pension/enrol","href":"/api-reference/preview/great-britain/enrol-employee-in-pension-scheme"},{"title":"Record employee opt-out","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/employees/{employee_id}/pension/opt-out","href":"/api-reference/preview/great-britain/record-employee-opt-out"},{"title":"Update per-employee pension rates","deprecated":null,"version":null,"openapi":"/api-reference/preview.json patch /gb/organizations/{organization_id}/employees/{employee_id}/pension/rates","href":"/api-reference/preview/great-britain/update-per-employee-pension-rates"},{"group":"NEST","pages":[{"title":"Register a new NEST employer","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/pension/nest/setup","href":"/api-reference/preview/great-britain/register-a-new-nest-employer"},{"title":"Connect to an existing NEST employer","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/pension/nest/link","href":"/api-reference/preview/great-britain/connect-to-an-existing-nest-employer"},{"title":"Re-check the NEST employer","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/pension/nest/verify","href":"/api-reference/preview/great-britain/re-check-the-nest-employer"},{"title":"Get NEST connection status","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/pension/nest/status","href":"/api-reference/preview/great-britain/get-nest-connection-status"}]}]},{"group":"Wage Types","pages":[{"title":"List wage types","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/wage-types","href":"/api-reference/preview/great-britain/list-wage-types"},{"title":"Create wage type","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/wage-types","href":"/api-reference/preview/great-britain/create-wage-type"},{"title":"Create wage type version","deprecated":null,"version":null,"openapi":"/api-reference/preview.json put /gb/wage-types/{wage_type_code}/versions","href":"/api-reference/preview/great-britain/create-wage-type-version"},{"title":"Get wage type versions","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/wage-types/{wage_type_code}/versions","href":"/api-reference/preview/great-britain/get-wage-type-versions"},{"title":"Approve wage type","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/wage-types/{wage_type_code}/approve","href":"/api-reference/preview/great-britain/approve-wage-type"},{"title":"Deprecate wage type","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/wage-types/{wage_type_code}/deprecate","href":"/api-reference/preview/great-britain/deprecate-wage-type"},{"title":"Get wage types by category","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/wage-types/categories/{category}","href":"/api-reference/preview/great-britain/get-wage-types-by-category"},{"title":"Get wage type by code","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/wage-types/{wage_type_code}","href":"/api-reference/preview/great-britain/get-wage-type-by-code"}]},{"group":"Expenses and Benefits","pages":[{"group":"P11D","pages":[{"title":"List P11Ds","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/exb/p11ds","href":"/api-reference/preview/great-britain/list-p11ds"},{"title":"Create P11D Batch","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/exb/p11ds","href":"/api-reference/preview/great-britain/create-p11d-batch"},{"title":"Preview P11Db","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/exb/p11ds/submissions/p11db-preview","href":"/api-reference/preview/great-britain/preview-p11db"},{"title":"Submit P11D Exb","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/exb/p11ds/submissions","href":"/api-reference/preview/great-britain/submit-p11d-exb"},{"title":"List Exb Submissions","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/exb/p11ds/submissions","href":"/api-reference/preview/great-britain/list-exb-submissions"},{"title":"Get Exb Submission","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/exb/p11ds/submissions/{submission_id}","href":"/api-reference/preview/great-britain/get-exb-submission"},{"title":"Delete P11D Batch","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/exb/p11ds/batch-delete","href":"/api-reference/preview/great-britain/delete-p11d-batch"}]},{"group":"P46 Car","pages":[{"title":"Create P46 Car Batch","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/exb/p46cars","href":"/api-reference/preview/great-britain/create-p46-car-batch"},{"title":"List P46 Cars","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/exb/p46cars","href":"/api-reference/preview/great-britain/list-p46-cars"},{"title":"Get P46 Car","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/exb/p46cars/{car_id}","href":"/api-reference/preview/great-britain/get-p46-car"},{"title":"Patch P46 Car","deprecated":null,"version":null,"openapi":"/api-reference/preview.json patch /gb/organizations/{organization_id}/exb/p46cars/{car_id}","href":"/api-reference/preview/great-britain/patch-p46-car"},{"title":"Delete P46 Car Batch","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/exb/p46cars/batch-delete","href":"/api-reference/preview/great-britain/delete-p46-car-batch"}]}]},{"group":"Reports","pages":[{"title":"Generate Gtn Report","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/reports/gtn","href":"/api-reference/preview/great-britain/generate-gtn-report"},{"title":"Generate High Earners Report","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/reports/high-earners","href":"/api-reference/preview/great-britain/generate-high-earners-report"},{"title":"List High Earners","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/reports/high-earners/{tax_year}","href":"/api-reference/preview/great-britain/list-high-earners"},{"title":"Get High Earner Detail","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/reports/high-earners/{tax_year}/employees/{employee_id}","href":"/api-reference/preview/great-britain/get-high-earner-detail"},{"title":"Generate Pension Report","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/reports/pension","href":"/api-reference/preview/great-britain/generate-pension-report"},{"title":"Generate Variance Report","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/reports/variance","href":"/api-reference/preview/great-britain/generate-variance-report"},{"title":"Generate Fps Summary Report","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/reports/fps-summary","href":"/api-reference/preview/great-britain/generate-fps-summary-report"},{"title":"Generate Payroll Liability Report","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/reports/payroll-liability","href":"/api-reference/preview/great-britain/generate-payroll-liability-report"},{"title":"Generate Bank Detail Change Audit Report","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/reports/bank-detail-change-audit","href":"/api-reference/preview/great-britain/generate-bank-detail-change-audit-report"},{"title":"List Reports","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/reports","href":"/api-reference/preview/great-britain/list-reports"},{"title":"Download Report","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/reports/{report_id}/download","href":"/api-reference/preview/great-britain/download-report"},{"title":"Generate Ytd Report","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/employees/{employee_id}/reports/ytd","href":"/api-reference/preview/great-britain/generate-ytd-report"},{"group":"P60","pages":[{"title":"Generate P60","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/reports/p60/{tax_year}/generate","href":"/api-reference/preview/great-britain/generate-p60"},{"title":"List P60","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/reports/p60/{tax_year}","href":"/api-reference/preview/great-britain/list-p60"},{"title":"Get Employee P60","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/reports/p60/{tax_year}/employees/{employee_id}","href":"/api-reference/preview/great-britain/get-employee-p60"},{"title":"Get Employee P60 Pdf","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/reports/p60/{tax_year}/employees/{employee_id}/pdf","href":"/api-reference/preview/great-britain/get-employee-p60-pdf"}]},{"group":"P45","pages":[{"title":"Generate Employee P45","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/reports/p45/employees/{employee_id}/generate","href":"/api-reference/preview/great-britain/generate-employee-p45"},{"title":"Reissue Employee P45","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/reports/p45/employees/{employee_id}/reissue","href":"/api-reference/preview/great-britain/reissue-employee-p45"},{"title":"Get Employee P45","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/reports/p45/employees/{employee_id}","href":"/api-reference/preview/great-britain/get-employee-p45"},{"title":"Get Employee P45 Pdf","deprecated":null,"version":null,"openapi":"/api-reference/preview.json get /gb/organizations/{organization_id}/reports/p45/employees/{employee_id}/pdf","href":"/api-reference/preview/great-britain/get-employee-p45-pdf"},{"title":"Generate P45 Leavers","deprecated":null,"version":null,"openapi":"/api-reference/preview.json post /gb/organizations/{organization_id}/reports/p45-leavers/{tax_year}/generate","href":"/api-reference/preview/great-britain/generate-p45-leavers"}]}]}]}]}]}]},"basePath":"","title":"Close Employee - Intermezzo Docs","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CybtLBIt.js","utils-BMLj2fvV.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B6In562Y.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dr8Mfhp9.js","snippetPresets-2rmQvMVl.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-WMqJYdZj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CJ-MlPHu.js","shallow-dY3TMRCk.js","getApiPlaygroundDisplay-v-1B2bKm.js","CodeSnippet-BDhiTB7U.js","CodeSnippets-D9hnzQcS.js","Page-C4GwDT3_.js","getPastedJson-Th2V45jI.js","icon-BQXch1W9.js","MethodPill-BCqUneP3.js","DuplicateIcon-Q_-bhurZ.js","createIcon-DUjLHRqp.js","DynamicMarkdown-B-f2cqXQ.js","SectionHeading-Da5NsV4v.js","axios-vUo_bRtp.js","Markdown-D13FWkIM.js","clsx-D3Isdib3.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-C-XZBk9h.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink--qIqmmVG.js"]}