Uploads a list of payroll lines to the system. The system will attempt to process each line and return a list of validation issues for any lines that fail. The successful lines will be returned in the response. The combination of employeeID and id must be unique. There’s a hard limit of 100 items per request. In addition to the input data, the response contain an additional field ‘payrollDate’ - which corresponds to the date that will be considered for the payroll process. The payrollDate will always be populated - either with the date in the input - or with the very next yet unlocked date, in case the period for the given date is already locked. On HMRC submission, the system will use the date as reference to the period. Sending an id that matches an existing line item updates (fully replaces) that line item; if the existing line item belongs to an already locked period, the request is rejected with a 409 and no lines are written. Line ids beginning ‘internal_’ are reserved for lines the platform creates itself (pension contributions, for example) and are rejected with a validation issue. The pension context that drives an employer contribution is platform-owned, so it is only honoured on the platform’s own contribution lines and is ignored on uploaded ones. Billing and invoicing fields on a line (its billing status, invoice id and charge value) are derived by the platform and returned on the response, not accepted here.
Access token obtained from OAuth2 client credentials flow
X-Org-Id
string
header
required
Organisation to scope the request to. Required when the principal can access more than one organisation; optional for single-organisation principals (the authorizer resolves it automatically).
Headers
Request-Id
string
Optional. Your id for this request: it is carried into every log line about it, so quote it when you contact support.
Path Parameters
employeeId
string
required
Body
application/json
payElementId
string
required
The ID of the pay element associated with this payroll line.
date
string | null
required
The date the line applies to, in yyyy-MM-dd; required; a date on or before the end of the latest locked pay run's period is placed on the day after that period.
unitName
enum<string>
required
What one unit of the line is, such as Hour, Day or Fixed; required.
Available options:
Hour,
Day,
Week,
Month,
Year,
Fixed,
Informational,
Percentage
id
string
Optional unique identifier for the payroll line
description
string
The text shown for the line on the payslip; required.
unitType
enum<string>
The unit type for calculation. Amount uses payRate * units, Percentage uses payRate * (units / 100)
Available options:
Amount,
Percentage
units
number<decimal>
How many units the line pays; multiplied by payRate to give the line's value, or by payRate divided by 100 when unitType is Percentage.
payRate
number<decimal>
The rate per unit; multiplied by units to give the line's value, or by units divided by 100 when unitType is Percentage.
clientId
string | null
The client this line is billed to, if any.
chargeRate
number<decimal> | null
The rate the client is charged per charge unit; ignored once the line has been invoiced.
chargeUnits
number<decimal> | null
How many units the client is charged for; multiplied by chargeRate to give the charge, and ignored once the line has been invoiced.
Example:
1
chargeDescription
string | null
Charge description for billing; when not provided and clientId is set, defaults to the pay description.
tags
object[] | null
Tags to attach to the line, carried onto its payslip item.
Show child attributes
originalValue
number<decimal> | null
The pre-adjustment value of this line, for callers that reduce a line and want the original kept for reporting. Stored as supplied.
canEdit
boolean | null
Whether the line can be edited in the product. Defaults to editable. Set it false for lines your own system owns, so nobody edits them in Flow Payroll and has the change overwritten by your next upload.
lineItemMetadata
object | null
Context for lines that come from a court order, a recurring line item or a pension; pension details are kept only on the pension lines the platform adds itself.
Payment details (BACS information) that can override default employee bank account
Show child attributes
poNumber
string | null
Purchase order number for billing purposes
Example:
"PO-2025-001"
attachments
object[] | null
Attachment metadata to include when creating the payroll line item (optional, only used during batch upload)
Show child attributes
paymentAfterLeavingPattern
enum<string>
Which National Insurance earnings period this payment takes when it is made after the employment has ended. Only read on a payment after leaving, and ignored entirely for anyone who has not left. Irregular (accrued holiday, an unexpected bonus, arrears after a backdated pay award, a late commission or service charge) is charged on weekly thresholds; Regular (a payment they were expecting on their usual cycle, such as an expected bonus) keeps the employee's usual earnings period. Per CWG2 section 1.14 and NIM08400/NIM08410. Omitting it means Irregular, which is the safe default because the other direction understates NI. National Insurance is charged once per payslip, so a single Irregular payment puts the whole payslip on weekly thresholds.
Available options:
Irregular,
Regular
Example:
"Irregular"
Response
Payroll Uploaded
message
object
required
A readable message about the outcome and a stable token a client can branch on.
Show child attributes
content
object
The data the request returns with its metadata; left out on a response that carries no data, such as most errors.
Show child attributes
validationIssues
object[] | null
Each field the request was refused for and why; left out when the request was not refused for its fields.
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"Flow Payroll","description":"Flow Payroll documentation — product guides and the developer API reference for the UK payroll platform.","colors":{"primary":"#635BFF","light":"#7A73FF","dark":"#0A2540"},"logo":{"light":"https://mintcdn.com/flowpayroll-1ca487e0/ySOA_2Ay6nr7ISKu/logo/light.svg?fit=max\u0026auto=format\u0026n=ySOA_2Ay6nr7ISKu\u0026q=85\u0026s=a1a7d7d96acdc04b96f0d043180b6ae8","dark":"https://mintcdn.com/flowpayroll-1ca487e0/ySOA_2Ay6nr7ISKu/logo/dark.svg?fit=max\u0026auto=format\u0026n=ySOA_2Ay6nr7ISKu\u0026q=85\u0026s=2662d95c9dbe282d032d3d38197a6d88","href":"https://flowpayroll.ai"},"favicon":"https://mintcdn.com/flowpayroll-1ca487e0/ySOA_2Ay6nr7ISKu/favicon.svg?fit=max\u0026auto=format\u0026n=ySOA_2Ay6nr7ISKu\u0026q=85\u0026s=8b194e652c4261052e97014a898c58ea","navbar":{"links":[{"href":"mailto:hello@flowpayroll.ai","label":"Support"},{"href":"https://flowpayroll.ai/book-demo","label":"Talk to us"}],"primary":{"type":"button","label":"Open dashboard","href":"https://app.flowpayroll.ai"}},"footer":{"links":[{"header":"Flow Payroll","items":[{"label":"Website","href":"https://flowpayroll.ai"},{"label":"Embedded payroll for platforms","href":"https://flowpayroll.ai/solutions/software-platforms"},{"label":"Pricing","href":"https://flowpayroll.ai/pricing"},{"label":"Blog","href":"https://flowpayroll.ai/blog"},{"label":"Dashboard","href":"https://app.flowpayroll.ai"},{"label":"Support","href":"mailto:hello@flowpayroll.ai"}]}]},"fonts":{"family":"Inter"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://app.flowpayroll.ai"},{"anchor":"Download OpenAPI","icon":"download","href":"/api-reference/use-in-postman"},{"anchor":"Support","icon":"envelope","href":"mailto:hello@flowpayroll.ai"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"flowpayroll-1ca487e0","hasAudioNarration":false,"actualSubdomain":"flowpayroll-1ca487e0","customDomains":["docs.flowpayroll.ai"],"gitSource":{"type":"github","owner":"bolt-payroll","repo":"mintlify-sync","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10ec659ffae5051c415d9c"},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b116ee3e71f374a14b8f935","clientVersion":"0.0.4428","searchFilterCounts":[{"language":"default","tag":"API reference","count":907},{"language":"default","tag":"Webhooks","count":253},{"language":"default","tag":"Events you receive","count":196},{"language":"default","tag":"Pay API","count":115},{"language":"default","tag":"Pensions","count":111},{"language":"default","tag":"Administration API","count":110},{"language":"default","tag":"Billing","count":69},{"language":"default","tag":"Payroll journals","count":53},{"language":"default","tag":"API","count":46},{"language":"default","tag":"Emails we send for you","count":38}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"a.template-download{display:inline-flex;align-items:center;gap:0.5rem;padding:0.5rem 1.1rem;border-radius:9999px;background-color:#635bff;color:#ffffff!important;font-size:0.875rem;font-weight:500;line-height:1.25rem;text-decoration:none!important;border:none;transition:background-color 150ms ease}a.template-download:hover{background-color:#5048e5}a.template-download::before{content:\"↓\";font-weight:600}"}]}
{"page":{"pagePath":"api-reference/pay-api/payroll-lines/upload-payroll-lines","slug":"/api-reference/pay-api/payroll-lines/upload-payroll-lines","pageMetadata":{"title":"Upload payroll lines","description":"Needs permission pay-run:write.\n\nUploads a list of payroll lines to the system. The system will attempt to process each line and return a list of validation issues for any lines that fail. The successful lines will be returned in the response. The combination of employeeID and id must be unique. There's a hard limit of 100 items per request. In addition to the input data, the response contain an additional field 'payrollDate' - which corresponds to the date that will be considered for the payroll process. The payrollDate will always be populated - either with the date in the input - or with the very next yet unlocked date, in case the period for the given date is already locked. On HMRC submission, the system will use the date as reference to the period. Sending an id that matches an existing line item updates (fully replaces) that line item; if the existing line item belongs to an already locked period, the request is rejected with a 409 and no lines are written. Line ids beginning 'internal_' are reserved for lines the platform creates itself (pension contributions, for example) and are rejected with a validation issue. The pension context that drives an employer contribution is platform-owned, so it is only honoured on the platform's own contribution lines and is ignored on uploaded ones. Billing and invoicing fields on a line (its billing status, invoice id and charge value) are derived by the platform and returned on the response, not accepted here.","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /payroll/line/{employeeId}","href":"/api-reference/pay-api/payroll-lines/upload-payroll-lines","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Needs permission pay-run:write.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"Uploads a list of payroll lines to the system. The system will attempt to process each line and return a list of validation issues for any lines that fail. The successful lines will be returned in the response. The combination of employeeID and id must be unique. There’s a hard limit of 100 items per request. In addition to the input data, the response contain an additional field ‘payrollDate’ - which corresponds to the date that will be considered for the payroll process. The payrollDate will always be populated - either with the date in the input - or with the very next yet unlocked date, in case the period for the given date is already locked. On HMRC submission, the system will use the date as reference to the period. Sending an id that matches an existing line item updates (fully replaces) that line item; if the existing line item belongs to an already locked period, the request is rejected with a 409 and no lines are written. Line ids beginning ‘internal_’ are reserved for lines the platform creates itself (pension contributions, for example) and are rejected with a validation issue. The pension context that drives an employer contribution is platform-owned, so it is only honoured on the platform’s own contribution lines and is ignored on uploaded ones. Billing and invoicing fields on a line (its billing status, invoice id and charge value) are derived by the platform and returned on the response, not accepted here.\"\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Upload payroll lines","description":"Needs permission pay-run:write.\n\nUploads a list of payroll lines to the system. The system will attempt to process each line and return a list of validation issues for any lines that fail. The successful lines will be returned in the response. The combination of employeeID and id must be unique. There's a hard limit of 100 items per request. In addition to the input data, the response contain an additional field 'payrollDate' - which corresponds to the date that will be considered for the payroll process. The payrollDate will always be populated - either with the date in the input - or with the very next yet unlocked date, in case the period for the given date is already locked. On HMRC submission, the system will use the date as reference to the period. Sending an id that matches an existing line item updates (fully replaces) that line item; if the existing line item belongs to an already locked period, the request is rejected with a 409 and no lines are written. Line ids beginning 'internal_' are reserved for lines the platform creates itself (pension contributions, for example) and are rejected with a validation issue. The pension context that drives an employer contribution is platform-owned, so it is only honoured on the platform's own contribution lines and is ignored on uploaded ones. Billing and invoicing fields on a line (its billing status, invoice id and charge value) are derived by the platform and returned on the response, not accepted here.","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /payroll/line/{employeeId}","href":"/api-reference/pay-api/payroll-lines/upload-payroll-lines","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Payroll lines"],"summary":"Upload payroll lines","description":"Needs permission pay-run:write.\n\nUploads a list of payroll lines to the system. The system will attempt to process each line and return a list of validation issues for any lines that fail. The successful lines will be returned in the response. The combination of employeeID and id must be unique. There's a hard limit of 100 items per request. In addition to the input data, the response contain an additional field 'payrollDate' - which corresponds to the date that will be considered for the payroll process. The payrollDate will always be populated - either with the date in the input - or with the very next yet unlocked date, in case the period for the given date is already locked. On HMRC submission, the system will use the date as reference to the period. Sending an id that matches an existing line item updates (fully replaces) that line item; if the existing line item belongs to an already locked period, the request is rejected with a 409 and no lines are written. Line ids beginning 'internal_' are reserved for lines the platform creates itself (pension contributions, for example) and are rejected with a validation issue. The pension context that drives an employer contribution is platform-owned, so it is only honoured on the platform's own contribution lines and is ignored on uploaded ones. Billing and invoicing fields on a line (its billing status, invoice id and charge value) are derived by the platform and returned on the response, not accepted here.","operationId":"UploadPayroll","x-flow-permission":"pay-run:write","parameters":["0fd91e27-c1c7-4ecf-8009-cb5fcc14bf88","d059c123-d0e3-46cd-a0d1-16e53f137e05"],"requestBody":"f643c994-75f8-42bd-9871-66bfbbbe4f35","responses":{"201":"435bb2e5-1816-44f1-b1f1-783833a430bd","207":"6cc82570-a5ca-4b7d-8a28-fab934c2fd02","400":"5f94505b-0a63-41a0-aa48-2fae094218a1","401":"0bb96585-a580-41d1-8967-b2c28612cb83","403":"369fba25-5370-4983-8cb1-725fe24b80d9","404":"713f5849-927d-4c46-b42d-2050ef882f16","409":"3983ec81-bf77-462d-b156-fed49f53146c","500":"56cc19e0-d35c-47ea-bd04-b1fff5282168","503":"ed5b4d20-d8ed-4904-a2b0-0448deefb828"},"method":"post","type":"path","servers":["4f10880e-c0ad-40a3-a61a-d2a198e39654"],"security":["973976aa-1bf6-4af6-9e68-200c04a60a73"],"path":"/payroll/line/{employeeId}","baseUrlOptions":["https://api.sandbox.flowpayroll.ai/v1"],"title":"Upload payroll lines","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"0fd91e27-c1c7-4ecf-8009-cb5fcc14bf88":{"name":"employeeId","in":"path","required":true,"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"d059c123-d0e3-46cd-a0d1-16e53f137e05":{"name":"Request-Id","in":"header","required":false,"description":"Optional. Your id for this request: it is carried into every log line about it, so quote it when you contact support.","schema":{"type":"string","isRequired":false,"description":"Optional. Your id for this request: it is carried into every log line about it, so quote it when you contact support.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["payElementId","date","unitName"],"properties":{"payElementId":{"type":"string","description":"The ID of the pay element associated with this payroll line.","isRequired":true,"uniqueKey":"items.[INDEX].payElementId","typeLabel":"string"},"date":{"oneOf":[{"type":"string","description":"The date the line applies to, in yyyy-MM-dd; required; a date on or before the end of the latest locked pay run's period is placed on the day after that period.","isRequired":true,"uniqueKey":"items.[INDEX].date.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the line applies to, in yyyy-MM-dd; required; a date on or before the end of the latest locked pay run's period is placed on the day after that period.","isRequired":true,"uniqueKey":"items.[INDEX].date.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"items.[INDEX].date","typeLabel":"string | null"},"unitName":{"type":"string","enum":["Hour","Day","Week","Month","Year","Fixed","Informational","Percentage"],"description":"What one unit of the line is, such as Hour, Day or Fixed; required.","isRequired":true,"uniqueKey":"items.[INDEX].unitName","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"Optional unique identifier for the payroll line","uniqueKey":"items.[INDEX].id","typeLabel":"string"},"description":{"type":"string","description":"The text shown for the line on the payslip; required.","uniqueKey":"items.[INDEX].description","typeLabel":"string"},"unitType":{"type":"string","enum":["Amount","Percentage"],"description":"The unit type for calculation. Amount uses payRate * units, Percentage uses payRate * (units / 100)","uniqueKey":"items.[INDEX].unitType","typeLabel":"enum\u003cstring>"},"units":{"type":"number","format":"decimal","description":"How many units the line pays; multiplied by payRate to give the line's value, or by payRate divided by 100 when unitType is Percentage.","uniqueKey":"items.[INDEX].units","typeLabel":"number\u003cdecimal>"},"payRate":{"type":"number","format":"decimal","description":"The rate per unit; multiplied by units to give the line's value, or by units divided by 100 when unitType is Percentage.","uniqueKey":"items.[INDEX].payRate","typeLabel":"number\u003cdecimal>"},"clientId":{"oneOf":[{"type":"string","description":"The client this line is billed to, if any.","uniqueKey":"items.[INDEX].clientId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The client this line is billed to, if any.","uniqueKey":"items.[INDEX].clientId.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].clientId","typeLabel":"string | null"},"chargeRate":{"oneOf":[{"type":"number","format":"decimal","description":"The rate the client is charged per charge unit; ignored once the line has been invoiced.","uniqueKey":"items.[INDEX].chargeRate.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"The rate the client is charged per charge unit; ignored once the line has been invoiced.","uniqueKey":"items.[INDEX].chargeRate.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].chargeRate","typeLabel":"number\u003cdecimal> | null"},"chargeUnits":{"oneOf":[{"type":"number","format":"decimal","description":"How many units the client is charged for; multiplied by chargeRate to give the charge, and ignored once the line has been invoiced.","example":1,"uniqueKey":"items.[INDEX].chargeUnits.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"How many units the client is charged for; multiplied by chargeRate to give the charge, and ignored once the line has been invoiced.","example":1,"uniqueKey":"items.[INDEX].chargeUnits.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].chargeUnits","typeLabel":"number\u003cdecimal> | null"},"chargeDescription":{"oneOf":[{"type":"string","description":"Charge description for billing; when not provided and clientId is set, defaults to the pay description.","uniqueKey":"items.[INDEX].chargeDescription.oneOf.0","typeLabel":"string"},{"type":"null","description":"Charge description for billing; when not provided and clientId is set, defaults to the pay description.","uniqueKey":"items.[INDEX].chargeDescription.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].chargeDescription","typeLabel":"string | null"},"tags":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The tag's name within its group.","example":"FullTime","uniqueKey":"items.[INDEX].tags.oneOf.0.items.[INDEX].name","typeLabel":"string"},"group":{"type":"string","description":"The group the tag belongs to.","example":"EmploymentType","uniqueKey":"items.[INDEX].tags.oneOf.0.items.[INDEX].group","typeLabel":"string"},"value":{"type":"string","description":"The tag's value for that name.","example":"FullTime","uniqueKey":"items.[INDEX].tags.oneOf.0.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"items.[INDEX].tags.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Tags to attach to the line, carried onto its payslip item.","uniqueKey":"items.[INDEX].tags.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"name":{"type":"string","description":"The tag's name within its group.","example":"FullTime"},"group":{"type":"string","description":"The group the tag belongs to.","example":"EmploymentType"},"value":{"type":"string","description":"The tag's value for that name.","example":"FullTime"}}},"description":"Tags to attach to the line, carried onto its payslip item.","uniqueKey":"items.[INDEX].tags.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].tags","typeLabel":"object[] | null"},"originalValue":{"oneOf":[{"type":"number","format":"decimal","description":"The pre-adjustment value of this line, for callers that reduce a line and want the original kept for reporting. Stored as supplied.","uniqueKey":"items.[INDEX].originalValue.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"The pre-adjustment value of this line, for callers that reduce a line and want the original kept for reporting. Stored as supplied.","uniqueKey":"items.[INDEX].originalValue.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].originalValue","typeLabel":"number\u003cdecimal> | null"},"canEdit":{"oneOf":[{"type":"boolean","description":"Whether the line can be edited in the product. Defaults to editable. Set it false for lines your own system owns, so nobody edits them in Flow Payroll and has the change overwritten by your next upload.","uniqueKey":"items.[INDEX].canEdit.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the line can be edited in the product. Defaults to editable. Set it false for lines your own system owns, so nobody edits them in Flow Payroll and has the change overwritten by your next upload.","uniqueKey":"items.[INDEX].canEdit.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].canEdit","typeLabel":"boolean | null"},"lineItemMetadata":{"oneOf":[{"type":"object","description":"Context for lines that come from a court order, a recurring line item or a pension; pension details are kept only on the pension lines the platform adds itself.","properties":{"courtOrders":{"oneOf":[{"type":"object","description":"Court order metadata for this line item","properties":{"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this order.","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.protectedEarningsSetting.oneOf.0","typeLabel":"string"},{"type":"null","description":"The protected earnings rule applied to this order.","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.protectedEarningsSetting.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.protectedEarningsSetting","typeLabel":"string | null"},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100,"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.protectedEarningsAmount.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100,"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.protectedEarningsAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.protectedEarningsAmount","typeLabel":"number\u003cdecimal> | null"},"shortfallCarryForward":{"oneOf":[{"type":"number","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0,"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.shortfallCarryForward.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0,"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.shortfallCarryForward.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.shortfallCarryForward","typeLabel":"number\u003cdecimal> | null"},"rateType":{"oneOf":[{"type":"string","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.rateType.oneOf.0","typeLabel":"string"},{"type":"null","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.rateType.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.rateType","typeLabel":"string | null"},"adminFeeApplied":{"oneOf":[{"type":"boolean","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true,"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.adminFeeApplied.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true,"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.adminFeeApplied.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.adminFeeApplied","typeLabel":"boolean | null"},"tableType":{"oneOf":[{"type":"string","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.tableType.oneOf.0","typeLabel":"string"},{"type":"null","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.tableType.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.tableType","typeLabel":"string | null"},"remittanceReference":{"oneOf":[{"type":"string","description":"Remittance reference as instructed on the order","example":"REF123","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.remittanceReference.oneOf.0","typeLabel":"string"},{"type":"null","description":"Remittance reference as instructed on the order","example":"REF123","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.remittanceReference.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.remittanceReference","typeLabel":"string | null"},"remittanceDeadline":{"oneOf":[{"type":"string","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.remittanceDeadline.oneOf.0","typeLabel":"string"},{"type":"null","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.remittanceDeadline.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.remittanceDeadline","typeLabel":"string | null"},"jurisdiction":{"oneOf":[{"type":"string","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.jurisdiction.oneOf.0","typeLabel":"string"},{"type":"null","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.jurisdiction.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.jurisdiction","typeLabel":"string | null"},"aeoCategory":{"oneOf":[{"type":"string","description":"AEO category","example":"Priority","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.aeoCategory.oneOf.0","typeLabel":"string"},{"type":"null","description":"AEO category","example":"Priority","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.aeoCategory.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.aeoCategory","typeLabel":"string | null"},"instructionAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The amount the order instructs, before any protection is applied.","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.instructionAmount.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"The amount the order instructs, before any protection is applied.","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.instructionAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.instructionAmount","typeLabel":"number\u003cdecimal> | null"},"orderDate":{"oneOf":[{"type":"string","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.orderDate.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.orderDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.orderDate","typeLabel":"string\u003cdate> | null"},"dailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10,"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.dailyRate.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10,"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.dailyRate.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.dailyRate","typeLabel":"number\u003cdecimal> | null"},"ordinaryDebtAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000,"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.ordinaryDebtAmount.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000,"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.ordinaryDebtAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.ordinaryDebtAmount","typeLabel":"number\u003cdecimal> | null"},"maintenanceDailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5,"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.maintenanceDailyRate.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5,"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.maintenanceDailyRate.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.maintenanceDailyRate","typeLabel":"number\u003cdecimal> | null"},"agreedHigherRatePercentage":{"oneOf":[{"type":"number","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25,"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.agreedHigherRatePercentage.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25,"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.agreedHigherRatePercentage.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.agreedHigherRatePercentage","typeLabel":"number\u003cdecimal> | null"},"normalDeductionRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50,"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.normalDeductionRate.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50,"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.normalDeductionRate.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.normalDeductionRate","typeLabel":"number\u003cdecimal> | null"},"protectedEarningsRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200,"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.protectedEarningsRate.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200,"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.protectedEarningsRate.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.protectedEarningsRate","typeLabel":"number\u003cdecimal> | null"},"ratePeriod":{"type":"string","enum":["Weekly","Monthly","Daily"],"description":"Enforcement of Judgments Office order (Northern Ireland) only. The period the order's two rates are stated for.","example":"Weekly","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.ratePeriod","typeLabel":"enum\u003cstring>"},"lastDeductedPayDate":{"oneOf":[{"type":"string","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.lastDeductedPayDate.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.lastDeductedPayDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.lastDeductedPayDate","typeLabel":"string\u003cdate> | null"},"startDate":{"oneOf":[{"type":"string","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.startDate.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.startDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.startDate","typeLabel":"string\u003cdate> | null"},"lastPayDate":{"oneOf":[{"type":"string","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.lastPayDate.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.lastPayDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.lastPayDate","typeLabel":"string\u003cdate> | null"},"firstPayDate":{"oneOf":[{"type":"string","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.firstPayDate.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.firstPayDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.firstPayDate","typeLabel":"string\u003cdate> | null"}},"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0","typeLabel":"object"},{"type":"null","description":"Court order metadata for this line item","properties":{"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this order."},{"type":"null","description":"The protected earnings rule applied to this order."}]},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100},{"type":"null","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100}]},"shortfallCarryForward":{"oneOf":[{"type":"number","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0},{"type":"null","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0}]},"rateType":{"oneOf":[{"type":"string","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable"},{"type":"null","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable"}]},"adminFeeApplied":{"oneOf":[{"type":"boolean","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true},{"type":"null","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true}]},"tableType":{"oneOf":[{"type":"string","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A"},{"type":"null","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A"}]},"remittanceReference":{"oneOf":[{"type":"string","description":"Remittance reference as instructed on the order","example":"REF123"},{"type":"null","description":"Remittance reference as instructed on the order","example":"REF123"}]},"remittanceDeadline":{"oneOf":[{"type":"string","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days"},{"type":"null","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days"}]},"jurisdiction":{"oneOf":[{"type":"string","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND"},{"type":"null","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND"}]},"aeoCategory":{"oneOf":[{"type":"string","description":"AEO category","example":"Priority"},{"type":"null","description":"AEO category","example":"Priority"}]},"instructionAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The amount the order instructs, before any protection is applied."},{"type":"null","format":"decimal","description":"The amount the order instructs, before any protection is applied."}]},"orderDate":{"oneOf":[{"type":"string","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01"},{"type":"null","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01"}]},"dailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10},{"type":"null","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10}]},"ordinaryDebtAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000}]},"maintenanceDailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5}]},"agreedHigherRatePercentage":{"oneOf":[{"type":"number","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25},{"type":"null","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25}]},"normalDeductionRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50}]},"protectedEarningsRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200}]},"ratePeriod":{"type":"string","enum":["Weekly","Monthly","Daily"],"description":"Enforcement of Judgments Office order (Northern Ireland) only. The period the order's two rates are stated for.","example":"Weekly"},"lastDeductedPayDate":{"oneOf":[{"type":"string","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30"},{"type":"null","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30"}]},"startDate":{"oneOf":[{"type":"string","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01"},{"type":"null","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01"}]},"lastPayDate":{"oneOf":[{"type":"string","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30"},{"type":"null","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30"}]},"firstPayDate":{"oneOf":[{"type":"string","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30"},{"type":"null","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30"}]}},"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.courtOrders","typeLabel":"object | null"},"recurringLineItem":{"oneOf":[{"type":"object","description":"The recurring line item this line was generated from, if any.","properties":{"recurringLineItemId":{"oneOf":[{"type":"string","description":"The id of the recurring line item this line was generated from.","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.recurringLineItemId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The id of the recurring line item this line was generated from.","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.recurringLineItemId.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.recurringLineItemId","typeLabel":"string | null"},"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this recurring deduction.","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.protectedEarningsSetting.oneOf.0","typeLabel":"string"},{"type":"null","description":"The protected earnings rule applied to this recurring deduction.","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.protectedEarningsSetting.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.protectedEarningsSetting","typeLabel":"string | null"},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount.","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.protectedEarningsAmount.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount.","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.protectedEarningsAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.protectedEarningsAmount","typeLabel":"number\u003cdecimal> | null"},"protectedEarningsPercentage":{"oneOf":[{"type":"number","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage.","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.protectedEarningsPercentage.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage.","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.protectedEarningsPercentage.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.protectedEarningsPercentage","typeLabel":"number\u003cdecimal> | null"}},"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0","typeLabel":"object"},{"type":"null","description":"The recurring line item this line was generated from, if any.","properties":{"recurringLineItemId":{"oneOf":[{"type":"string","description":"The id of the recurring line item this line was generated from."},{"type":"null","description":"The id of the recurring line item this line was generated from."}]},"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this recurring deduction."},{"type":"null","description":"The protected earnings rule applied to this recurring deduction."}]},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount."},{"type":"null","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount."}]},"protectedEarningsPercentage":{"oneOf":[{"type":"number","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage."},{"type":"null","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage."}]}},"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem","typeLabel":"object | null"},"pensions":{"oneOf":[{"type":"object","description":"Pension metadata carried on deterministic pension contribution lines (internal_pension_contrib_* / internal_pension_topup_*) added by the platform under line-item contributions.","properties":{"pensionGroupId":{"oneOf":[{"type":"string","description":"The pension group the contribution line was calculated under.","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.pensionGroupId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The pension group the contribution line was calculated under.","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.pensionGroupId.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.pensionGroupId","typeLabel":"string | null"},"contributionSource":{"type":"string","enum":["Group","RecurringContributionOverride","ContributionOverride"],"description":"Where the contribution settings came from: Group (the pension group), RecurringContributionOverride (the employee's standing override) or ContributionOverride (a one-off override for this pay period only). Only set on the group contribution line; null elsewhere.","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.contributionSource","typeLabel":"enum\u003cstring>"},"basis":{"oneOf":[{"type":"string","description":"Pensionable | QualifyingEarnings","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.basis.oneOf.0","typeLabel":"string"},{"type":"null","description":"Pensionable | QualifyingEarnings","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.basis.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.basis","typeLabel":"string | null"},"employerContributionType":{"type":"string","enum":["Percentage","FixedAmount"],"description":"How the employer share is read. Null on lines with no employer share (additional voluntary contribution lines).","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.employerContributionType","typeLabel":"enum\u003cstring>"},"employerContributionValue":{"oneOf":[{"type":"number","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount.","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.employerContributionValue.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount.","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.employerContributionValue.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.employerContributionValue","typeLabel":"number\u003cdecimal> | null"},"nationalInsuranceSavingsFactor":{"oneOf":[{"type":"number","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice.","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.nationalInsuranceSavingsFactor.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice.","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.nationalInsuranceSavingsFactor.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.nationalInsuranceSavingsFactor","typeLabel":"number\u003cdecimal> | null"},"employerRefundAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create.","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.employerRefundAmount.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create.","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.employerRefundAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.employerRefundAmount","typeLabel":"number\u003cdecimal> | null"},"reliefAtSourceApplied":{"oneOf":[{"type":"boolean","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed.","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.reliefAtSourceApplied.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed.","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.reliefAtSourceApplied.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.reliefAtSourceApplied","typeLabel":"boolean | null"},"reliefAtSourceWithheldReason":{"type":"string","enum":["MissingNationalInsuranceNumber"],"description":"Why relief at source was withheld when it would otherwise have applied. Null whenever reliefAtSourceApplied is not false.","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.reliefAtSourceWithheldReason","typeLabel":"enum\u003cstring>"},"pensionType":{"oneOf":[{"type":"string","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input.","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.pensionType.oneOf.0","typeLabel":"string"},{"type":"null","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input.","uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.pensionType.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.pensionType","typeLabel":"string | null"}},"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0","typeLabel":"object"},{"type":"null","description":"Pension metadata carried on deterministic pension contribution lines (internal_pension_contrib_* / internal_pension_topup_*) added by the platform under line-item contributions.","properties":{"pensionGroupId":{"oneOf":[{"type":"string","description":"The pension group the contribution line was calculated under."},{"type":"null","description":"The pension group the contribution line was calculated under."}]},"contributionSource":{"type":"string","enum":["Group","RecurringContributionOverride","ContributionOverride"],"description":"Where the contribution settings came from: Group (the pension group), RecurringContributionOverride (the employee's standing override) or ContributionOverride (a one-off override for this pay period only). Only set on the group contribution line; null elsewhere."},"basis":{"oneOf":[{"type":"string","description":"Pensionable | QualifyingEarnings"},{"type":"null","description":"Pensionable | QualifyingEarnings"}]},"employerContributionType":{"type":"string","enum":["Percentage","FixedAmount"],"description":"How the employer share is read. Null on lines with no employer share (additional voluntary contribution lines)."},"employerContributionValue":{"oneOf":[{"type":"number","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount."},{"type":"null","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount."}]},"nationalInsuranceSavingsFactor":{"oneOf":[{"type":"number","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice."},{"type":"null","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice."}]},"employerRefundAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create."},{"type":"null","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create."}]},"reliefAtSourceApplied":{"oneOf":[{"type":"boolean","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed."},{"type":"null","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed."}]},"reliefAtSourceWithheldReason":{"type":"string","enum":["MissingNationalInsuranceNumber"],"description":"Why relief at source was withheld when it would otherwise have applied. Null whenever reliefAtSourceApplied is not false."},"pensionType":{"oneOf":[{"type":"string","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input."},{"type":"null","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input."}]}},"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0.pensions","typeLabel":"object | null"}},"example":{"courtOrders":{"protectedEarningsAmount":100,"shortfallCarryForward":0,"rateType":"StandardTable","adminFeeApplied":true,"tableType":"A","remittanceReference":"REF123","remittanceDeadline":"5 days","jurisdiction":"ENGLAND","aeoCategory":"Priority"}},"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.0","typeLabel":"object"},{"type":"null","description":"Context for lines that come from a court order, a recurring line item or a pension; pension details are kept only on the pension lines the platform adds itself.","properties":{"courtOrders":{"oneOf":[{"type":"object","description":"Court order metadata for this line item","properties":{"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this order."},{"type":"null","description":"The protected earnings rule applied to this order."}]},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100},{"type":"null","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100}]},"shortfallCarryForward":{"oneOf":[{"type":"number","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0},{"type":"null","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0}]},"rateType":{"oneOf":[{"type":"string","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable"},{"type":"null","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable"}]},"adminFeeApplied":{"oneOf":[{"type":"boolean","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true},{"type":"null","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true}]},"tableType":{"oneOf":[{"type":"string","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A"},{"type":"null","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A"}]},"remittanceReference":{"oneOf":[{"type":"string","description":"Remittance reference as instructed on the order","example":"REF123"},{"type":"null","description":"Remittance reference as instructed on the order","example":"REF123"}]},"remittanceDeadline":{"oneOf":[{"type":"string","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days"},{"type":"null","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days"}]},"jurisdiction":{"oneOf":[{"type":"string","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND"},{"type":"null","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND"}]},"aeoCategory":{"oneOf":[{"type":"string","description":"AEO category","example":"Priority"},{"type":"null","description":"AEO category","example":"Priority"}]},"instructionAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The amount the order instructs, before any protection is applied."},{"type":"null","format":"decimal","description":"The amount the order instructs, before any protection is applied."}]},"orderDate":{"oneOf":[{"type":"string","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01"},{"type":"null","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01"}]},"dailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10},{"type":"null","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10}]},"ordinaryDebtAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000}]},"maintenanceDailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5}]},"agreedHigherRatePercentage":{"oneOf":[{"type":"number","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25},{"type":"null","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25}]},"normalDeductionRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50}]},"protectedEarningsRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200}]},"ratePeriod":{"type":"string","enum":["Weekly","Monthly","Daily"],"description":"Enforcement of Judgments Office order (Northern Ireland) only. The period the order's two rates are stated for.","example":"Weekly"},"lastDeductedPayDate":{"oneOf":[{"type":"string","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30"},{"type":"null","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30"}]},"startDate":{"oneOf":[{"type":"string","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01"},{"type":"null","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01"}]},"lastPayDate":{"oneOf":[{"type":"string","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30"},{"type":"null","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30"}]},"firstPayDate":{"oneOf":[{"type":"string","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30"},{"type":"null","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30"}]}}},{"type":"null","description":"Court order metadata for this line item","properties":{"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this order."},{"type":"null","description":"The protected earnings rule applied to this order."}]},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100},{"type":"null","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100}]},"shortfallCarryForward":{"oneOf":[{"type":"number","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0},{"type":"null","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0}]},"rateType":{"oneOf":[{"type":"string","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable"},{"type":"null","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable"}]},"adminFeeApplied":{"oneOf":[{"type":"boolean","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true},{"type":"null","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true}]},"tableType":{"oneOf":[{"type":"string","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A"},{"type":"null","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A"}]},"remittanceReference":{"oneOf":[{"type":"string","description":"Remittance reference as instructed on the order","example":"REF123"},{"type":"null","description":"Remittance reference as instructed on the order","example":"REF123"}]},"remittanceDeadline":{"oneOf":[{"type":"string","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days"},{"type":"null","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days"}]},"jurisdiction":{"oneOf":[{"type":"string","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND"},{"type":"null","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND"}]},"aeoCategory":{"oneOf":[{"type":"string","description":"AEO category","example":"Priority"},{"type":"null","description":"AEO category","example":"Priority"}]},"instructionAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The amount the order instructs, before any protection is applied."},{"type":"null","format":"decimal","description":"The amount the order instructs, before any protection is applied."}]},"orderDate":{"oneOf":[{"type":"string","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01"},{"type":"null","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01"}]},"dailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10},{"type":"null","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10}]},"ordinaryDebtAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000}]},"maintenanceDailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5}]},"agreedHigherRatePercentage":{"oneOf":[{"type":"number","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25},{"type":"null","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25}]},"normalDeductionRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50}]},"protectedEarningsRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200}]},"ratePeriod":{"type":"string","enum":["Weekly","Monthly","Daily"],"description":"Enforcement of Judgments Office order (Northern Ireland) only. The period the order's two rates are stated for.","example":"Weekly"},"lastDeductedPayDate":{"oneOf":[{"type":"string","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30"},{"type":"null","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30"}]},"startDate":{"oneOf":[{"type":"string","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01"},{"type":"null","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01"}]},"lastPayDate":{"oneOf":[{"type":"string","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30"},{"type":"null","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30"}]},"firstPayDate":{"oneOf":[{"type":"string","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30"},{"type":"null","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30"}]}}}]},"recurringLineItem":{"oneOf":[{"type":"object","description":"The recurring line item this line was generated from, if any.","properties":{"recurringLineItemId":{"oneOf":[{"type":"string","description":"The id of the recurring line item this line was generated from."},{"type":"null","description":"The id of the recurring line item this line was generated from."}]},"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this recurring deduction."},{"type":"null","description":"The protected earnings rule applied to this recurring deduction."}]},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount."},{"type":"null","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount."}]},"protectedEarningsPercentage":{"oneOf":[{"type":"number","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage."},{"type":"null","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage."}]}}},{"type":"null","description":"The recurring line item this line was generated from, if any.","properties":{"recurringLineItemId":{"oneOf":[{"type":"string","description":"The id of the recurring line item this line was generated from."},{"type":"null","description":"The id of the recurring line item this line was generated from."}]},"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this recurring deduction."},{"type":"null","description":"The protected earnings rule applied to this recurring deduction."}]},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount."},{"type":"null","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount."}]},"protectedEarningsPercentage":{"oneOf":[{"type":"number","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage."},{"type":"null","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage."}]}}}]},"pensions":{"oneOf":[{"type":"object","description":"Pension metadata carried on deterministic pension contribution lines (internal_pension_contrib_* / internal_pension_topup_*) added by the platform under line-item contributions.","properties":{"pensionGroupId":{"oneOf":[{"type":"string","description":"The pension group the contribution line was calculated under."},{"type":"null","description":"The pension group the contribution line was calculated under."}]},"contributionSource":{"type":"string","enum":["Group","RecurringContributionOverride","ContributionOverride"],"description":"Where the contribution settings came from: Group (the pension group), RecurringContributionOverride (the employee's standing override) or ContributionOverride (a one-off override for this pay period only). Only set on the group contribution line; null elsewhere."},"basis":{"oneOf":[{"type":"string","description":"Pensionable | QualifyingEarnings"},{"type":"null","description":"Pensionable | QualifyingEarnings"}]},"employerContributionType":{"type":"string","enum":["Percentage","FixedAmount"],"description":"How the employer share is read. Null on lines with no employer share (additional voluntary contribution lines)."},"employerContributionValue":{"oneOf":[{"type":"number","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount."},{"type":"null","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount."}]},"nationalInsuranceSavingsFactor":{"oneOf":[{"type":"number","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice."},{"type":"null","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice."}]},"employerRefundAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create."},{"type":"null","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create."}]},"reliefAtSourceApplied":{"oneOf":[{"type":"boolean","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed."},{"type":"null","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed."}]},"reliefAtSourceWithheldReason":{"type":"string","enum":["MissingNationalInsuranceNumber"],"description":"Why relief at source was withheld when it would otherwise have applied. Null whenever reliefAtSourceApplied is not false."},"pensionType":{"oneOf":[{"type":"string","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input."},{"type":"null","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input."}]}}},{"type":"null","description":"Pension metadata carried on deterministic pension contribution lines (internal_pension_contrib_* / internal_pension_topup_*) added by the platform under line-item contributions.","properties":{"pensionGroupId":{"oneOf":[{"type":"string","description":"The pension group the contribution line was calculated under."},{"type":"null","description":"The pension group the contribution line was calculated under."}]},"contributionSource":{"type":"string","enum":["Group","RecurringContributionOverride","ContributionOverride"],"description":"Where the contribution settings came from: Group (the pension group), RecurringContributionOverride (the employee's standing override) or ContributionOverride (a one-off override for this pay period only). Only set on the group contribution line; null elsewhere."},"basis":{"oneOf":[{"type":"string","description":"Pensionable | QualifyingEarnings"},{"type":"null","description":"Pensionable | QualifyingEarnings"}]},"employerContributionType":{"type":"string","enum":["Percentage","FixedAmount"],"description":"How the employer share is read. Null on lines with no employer share (additional voluntary contribution lines)."},"employerContributionValue":{"oneOf":[{"type":"number","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount."},{"type":"null","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount."}]},"nationalInsuranceSavingsFactor":{"oneOf":[{"type":"number","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice."},{"type":"null","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice."}]},"employerRefundAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create."},{"type":"null","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create."}]},"reliefAtSourceApplied":{"oneOf":[{"type":"boolean","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed."},{"type":"null","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed."}]},"reliefAtSourceWithheldReason":{"type":"string","enum":["MissingNationalInsuranceNumber"],"description":"Why relief at source was withheld when it would otherwise have applied. Null whenever reliefAtSourceApplied is not false."},"pensionType":{"oneOf":[{"type":"string","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input."},{"type":"null","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input."}]}}}]}},"example":{"courtOrders":{"protectedEarningsAmount":100,"shortfallCarryForward":0,"rateType":"StandardTable","adminFeeApplied":true,"tableType":"A","remittanceReference":"REF123","remittanceDeadline":"5 days","jurisdiction":"ENGLAND","aeoCategory":"Priority"}},"uniqueKey":"items.[INDEX].lineItemMetadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].lineItemMetadata","typeLabel":"object | null"},"paymentDetails":{"oneOf":[{"type":"object","description":"Payment details (BACS information) that can override default employee bank account","properties":{"accountName":{"oneOf":[{"type":"string","description":"Account name","example":"CMS Central Account","uniqueKey":"items.[INDEX].paymentDetails.oneOf.0.accountName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Account name","example":"CMS Central Account","uniqueKey":"items.[INDEX].paymentDetails.oneOf.0.accountName.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].paymentDetails.oneOf.0.accountName","typeLabel":"string | null"},"accountNumber":{"oneOf":[{"type":"string","description":"Account number","example":"12345678","uniqueKey":"items.[INDEX].paymentDetails.oneOf.0.accountNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"Account number","example":"12345678","uniqueKey":"items.[INDEX].paymentDetails.oneOf.0.accountNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].paymentDetails.oneOf.0.accountNumber","typeLabel":"string | null"},"sortCode":{"oneOf":[{"type":"string","description":"Sort code","example":"12-34-56","uniqueKey":"items.[INDEX].paymentDetails.oneOf.0.sortCode.oneOf.0","typeLabel":"string"},{"type":"null","description":"Sort code","example":"12-34-56","uniqueKey":"items.[INDEX].paymentDetails.oneOf.0.sortCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].paymentDetails.oneOf.0.sortCode","typeLabel":"string | null"},"paymentReference":{"oneOf":[{"type":"string","description":"Payment reference to include with BACS payment (e.g., court order remittance reference)","example":"CMS-2025-UK01","uniqueKey":"items.[INDEX].paymentDetails.oneOf.0.paymentReference.oneOf.0","typeLabel":"string"},{"type":"null","description":"Payment reference to include with BACS payment (e.g., court order remittance reference)","example":"CMS-2025-UK01","uniqueKey":"items.[INDEX].paymentDetails.oneOf.0.paymentReference.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].paymentDetails.oneOf.0.paymentReference","typeLabel":"string | null"},"paymentCategory":{"type":"string","enum":["CourtOrders"],"description":"Payment category for categorizing payment details","example":"CourtOrders","uniqueKey":"items.[INDEX].paymentDetails.oneOf.0.paymentCategory","typeLabel":"enum\u003cstring>"}},"uniqueKey":"items.[INDEX].paymentDetails.oneOf.0","typeLabel":"object"},{"type":"null","description":"Payment details (BACS information) that can override default employee bank account","properties":{"accountName":{"oneOf":[{"type":"string","description":"Account name","example":"CMS Central Account"},{"type":"null","description":"Account name","example":"CMS Central Account"}]},"accountNumber":{"oneOf":[{"type":"string","description":"Account number","example":"12345678"},{"type":"null","description":"Account number","example":"12345678"}]},"sortCode":{"oneOf":[{"type":"string","description":"Sort code","example":"12-34-56"},{"type":"null","description":"Sort code","example":"12-34-56"}]},"paymentReference":{"oneOf":[{"type":"string","description":"Payment reference to include with BACS payment (e.g., court order remittance reference)","example":"CMS-2025-UK01"},{"type":"null","description":"Payment reference to include with BACS payment (e.g., court order remittance reference)","example":"CMS-2025-UK01"}]},"paymentCategory":{"type":"string","enum":["CourtOrders"],"description":"Payment category for categorizing payment details","example":"CourtOrders"}},"uniqueKey":"items.[INDEX].paymentDetails.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].paymentDetails","typeLabel":"object | null"},"poNumber":{"oneOf":[{"type":"string","description":"Purchase order number for billing purposes","example":"PO-2025-001","uniqueKey":"items.[INDEX].poNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"Purchase order number for billing purposes","example":"PO-2025-001","uniqueKey":"items.[INDEX].poNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].poNumber","typeLabel":"string | null"},"attachments":{"oneOf":[{"type":"array","items":{"type":"object","required":["filename","contentType","fileSize"],"properties":{"filename":{"type":"string","description":"The original filename of the attachment","example":"invoice.pdf","isRequired":true,"uniqueKey":"items.[INDEX].attachments.oneOf.0.items.[INDEX].filename","typeLabel":"string"},"contentType":{"type":"string","description":"The MIME type of the file (e.g., application/pdf, image/jpeg). The upload must send exactly this type.","example":"application/pdf","isRequired":true,"uniqueKey":"items.[INDEX].attachments.oneOf.0.items.[INDEX].contentType","typeLabel":"string"},"fileSize":{"type":"integer","format":"int64","description":"The exact size of the file in bytes, at most 10 MB (10,485,760 bytes). The upload must be exactly this size.","example":102400,"isRequired":true,"uniqueKey":"items.[INDEX].attachments.oneOf.0.items.[INDEX].fileSize","typeLabel":"integer\u003cint64>"}},"uniqueKey":"items.[INDEX].attachments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Attachment metadata to include when creating the payroll line item (optional, only used during batch upload)","uniqueKey":"items.[INDEX].attachments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["filename","contentType","fileSize"],"properties":{"filename":{"type":"string","description":"The original filename of the attachment","example":"invoice.pdf"},"contentType":{"type":"string","description":"The MIME type of the file (e.g., application/pdf, image/jpeg). The upload must send exactly this type.","example":"application/pdf"},"fileSize":{"type":"integer","format":"int64","description":"The exact size of the file in bytes, at most 10 MB (10,485,760 bytes). The upload must be exactly this size.","example":102400}}},"description":"Attachment metadata to include when creating the payroll line item (optional, only used during batch upload)","uniqueKey":"items.[INDEX].attachments.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].attachments","typeLabel":"object[] | null"},"paymentAfterLeavingPattern":{"type":"string","enum":["Irregular","Regular"],"description":"Which National Insurance earnings period this payment takes when it is made after the employment has ended. Only read on a payment after leaving, and ignored entirely for anyone who has not left. Irregular (accrued holiday, an unexpected bonus, arrears after a backdated pay award, a late commission or service charge) is charged on weekly thresholds; Regular (a payment they were expecting on their usual cycle, such as an expected bonus) keeps the employee's usual earnings period. Per CWG2 section 1.14 and NIM08400/NIM08410. Omitting it means Irregular, which is the safe default because the other direction understates NI. National Insurance is charged once per payslip, so a single Irregular payment puts the whole payslip on weekly thresholds.","example":"Irregular","uniqueKey":"items.[INDEX].paymentAfterLeavingPattern","typeLabel":"enum\u003cstring>"}},"uniqueKey":"items.[INDEX]","typeLabel":"object"},"uniqueKey":"","typeLabel":"object[]"},"examples":{"Example":{"title":"Example","value":[{"payElementId":"\u003cstring>","date":"\u003cstring>","id":"\u003cstring>","description":"\u003cstring>","units":123,"payRate":123,"clientId":"\u003cstring>","chargeRate":123,"chargeUnits":1,"chargeDescription":"\u003cstring>","tags":[{"name":"FullTime","group":"EmploymentType","value":"FullTime"}],"originalValue":123,"canEdit":true,"lineItemMetadata":{"courtOrders":{"protectedEarningsAmount":100,"shortfallCarryForward":0,"rateType":"StandardTable","adminFeeApplied":true,"tableType":"A","remittanceReference":"REF123","remittanceDeadline":"5 days","jurisdiction":"ENGLAND","aeoCategory":"Priority"}},"paymentDetails":{"accountName":"CMS Central Account","accountNumber":"12345678","sortCode":"12-34-56","paymentReference":"CMS-2025-UK01","paymentCategory":"CourtOrders"},"poNumber":"PO-2025-001","attachments":[{"filename":"invoice.pdf","contentType":"application/pdf","fileSize":102400}],"paymentAfterLeavingPattern":"Irregular"}]}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"435bb2e5-1816-44f1-b1f1-783833a430bd":{"description":"Payroll Uploaded","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"object","required":["text","token"],"properties":{"text":{"type":"string","description":"The message in English, ready to show to a user.","isRequired":true,"uniqueKey":"message.text","typeLabel":"string"},"token":{"type":"string","description":"A stable snake_case key for the message, so a client can show its own wording or a translation instead of text.","isRequired":true,"uniqueKey":"message.token","typeLabel":"string"},"tokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it.","isRequired":true,"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"description":"The value itself, as a string, number or other JSON value.","isRequired":true,"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value","typeLabel":"any"}},"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Values to fill into the client's own wording for token, such as the request id; absent when the message has none.","uniqueKey":"message.tokenArguments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for token, such as the request id; absent when the message has none.","uniqueKey":"message.tokenArguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.tokenArguments","typeLabel":"object[] | null"}},"description":"A readable message about the outcome and a stable token a client can branch on.","isRequired":true,"uniqueKey":"message","typeLabel":"object"},"content":{"type":"object","description":"The data the request returns with its metadata; left out on a response that carries no data, such as most errors.","required":["metadata"],"properties":{"metadata":{"type":"object","required":["dateFormat","dateTimeFormat"],"properties":{"dateFormat":{"type":"string","description":"The format of the dates in this response, yyyy-MM-dd.","isRequired":true,"uniqueKey":"content.metadata.dateFormat","typeLabel":"string"},"dateTimeFormat":{"type":"string","description":"The format of the timestamps in this response, yyyy-MM-ddTHH:mm:ss.fffZ in UTC.","isRequired":true,"uniqueKey":"content.metadata.dateTimeFormat","typeLabel":"string"},"paginationToken":{"oneOf":[{"type":"string","description":"Send this value back as the paginationToken query parameter to get the next page; absent when there are no more pages.","uniqueKey":"content.metadata.paginationToken.oneOf.0","typeLabel":"string"},{"type":"null","description":"Send this value back as the paginationToken query parameter to get the next page; absent when there are no more pages.","uniqueKey":"content.metadata.paginationToken.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.metadata.paginationToken","typeLabel":"string | null"}},"description":"The date formats the response uses and, on a paged list, the token for the next page.","isRequired":true,"uniqueKey":"content.metadata","typeLabel":"object"},"data":{"type":"array","items":{"type":"object","required":["id","employeeId","description","unitName","units","payRate","taxType","niType","payType","isPensionable","statutoryType","createdDate","createdBy","updatedDate","updatedBy","canEdit","billingStatus"],"properties":{"id":{"type":"string","description":"The line's id: the one supplied when it was created, or one generated when none was.","example":"PAYLINE-001","isRequired":true,"uniqueKey":"content.data.items.[INDEX].id","typeLabel":"string"},"employeeId":{"type":"string","description":"The employee the line belongs to.","example":"EMPLOYEE-001","isRequired":true,"uniqueKey":"content.data.items.[INDEX].employeeId","typeLabel":"string"},"description":{"type":"string","description":"The text shown for the line on the payslip.","example":"Morning shift","isRequired":true,"uniqueKey":"content.data.items.[INDEX].description","typeLabel":"string"},"unitName":{"type":"string","enum":["Hour","Day","Week","Month","Year","Fixed","Informational","Percentage"],"description":"What one unit of the line is, such as Hour, Day or Fixed.","isRequired":true,"uniqueKey":"content.data.items.[INDEX].unitName","typeLabel":"enum\u003cstring>"},"units":{"type":"number","format":"decimal","description":"How many units the line pays.","example":8,"isRequired":true,"uniqueKey":"content.data.items.[INDEX].units","typeLabel":"number\u003cdecimal>"},"payRate":{"type":"number","format":"decimal","description":"The rate per unit; with units it gives the line's value.","example":10.5,"isRequired":true,"uniqueKey":"content.data.items.[INDEX].payRate","typeLabel":"number\u003cdecimal>"},"taxType":{"type":"string","enum":["Taxable","NonTaxable"],"description":"Whether the line is taxable, copied from its pay element when the line was saved.","isRequired":true,"uniqueKey":"content.data.items.[INDEX].taxType","typeLabel":"enum\u003cstring>"},"niType":{"type":"string","enum":["Niable","NonNiable","EmployerOnly"],"description":"How the line is treated for National Insurance, copied from its pay element when the line was saved.","isRequired":true,"uniqueKey":"content.data.items.[INDEX].niType","typeLabel":"enum\u003cstring>"},"payType":{"type":"string","enum":["Payable","Deductible","Informational"],"description":"The kind of pay the line is, copied from its pay element when the line was saved.","isRequired":true,"uniqueKey":"content.data.items.[INDEX].payType","typeLabel":"enum\u003cstring>"},"isPensionable":{"type":"boolean","description":"Whether the payroll line is pensionable","example":true,"isRequired":true,"uniqueKey":"content.data.items.[INDEX].isPensionable","typeLabel":"boolean"},"statutoryType":{"type":"string","enum":["None","StatutorySickPay","StatutoryMaternityPay","StatutoryPaternityPay","StatutoryAdoptionPay","SharedParentalPay","StatutoryParentalBereavementPay","StatutorySharedParentalPay","StatutoryNeoNatalCarePay","StatutoryParentalBereavementPayNorthernIreland"],"description":"The statutory type for this payroll line","isRequired":true,"uniqueKey":"content.data.items.[INDEX].statutoryType","typeLabel":"enum\u003cstring>"},"createdDate":{"type":"string","description":"When the line item was created","example":"2024-01-01T00:00:00Z","isRequired":true,"uniqueKey":"content.data.items.[INDEX].createdDate","typeLabel":"string"},"createdBy":{"type":"string","description":"Who created the line item","example":"user_123","isRequired":true,"uniqueKey":"content.data.items.[INDEX].createdBy","typeLabel":"string"},"updatedDate":{"type":"string","description":"When the line item was last updated","example":"2024-01-02T00:00:00Z","isRequired":true,"uniqueKey":"content.data.items.[INDEX].updatedDate","typeLabel":"string"},"updatedBy":{"type":"string","description":"Who last updated the line item","example":"user_456","isRequired":true,"uniqueKey":"content.data.items.[INDEX].updatedBy","typeLabel":"string"},"canEdit":{"type":"boolean","description":"Indicates whether this line item can be edited. Court order line items are not editable, for example, because they are automatically generated.","example":true,"isRequired":true,"uniqueKey":"content.data.items.[INDEX].canEdit","typeLabel":"boolean"},"billingStatus":{"type":"string","enum":["None","Accrued","Invoiced"],"description":"The billing status of the payroll line item","example":"None","isRequired":true,"uniqueKey":"content.data.items.[INDEX].billingStatus","typeLabel":"enum\u003cstring>"},"clientId":{"oneOf":[{"type":"string","description":"The client this line is billed to, if any.","example":"CLIENT-001","uniqueKey":"content.data.items.[INDEX].clientId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The client this line is billed to, if any.","example":"CLIENT-001","uniqueKey":"content.data.items.[INDEX].clientId.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].clientId","typeLabel":"string | null"},"date":{"oneOf":[{"type":"string","description":"The date the line applies to, as supplied (yyyy-MM-dd).","example":"2024-05-20","uniqueKey":"content.data.items.[INDEX].date.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the line applies to, as supplied (yyyy-MM-dd).","example":"2024-05-20","uniqueKey":"content.data.items.[INDEX].date.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].date","typeLabel":"string | null"},"payrollDate":{"oneOf":[{"type":"string","description":"The date that decides which pay run takes the line: its own date, or the day after the latest locked pay run's period when its date fell on or before that.","example":"2024-07-06","uniqueKey":"content.data.items.[INDEX].payrollDate.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date that decides which pay run takes the line: its own date, or the day after the latest locked pay run's period when its date fell on or before that.","example":"2024-07-06","uniqueKey":"content.data.items.[INDEX].payrollDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].payrollDate","typeLabel":"string | null"},"chargeRate":{"oneOf":[{"type":"number","format":"decimal","description":"The rate the client is charged per charge unit.","example":15.5,"uniqueKey":"content.data.items.[INDEX].chargeRate.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"The rate the client is charged per charge unit.","example":15.5,"uniqueKey":"content.data.items.[INDEX].chargeRate.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].chargeRate","typeLabel":"number\u003cdecimal> | null"},"chargeUnits":{"oneOf":[{"type":"number","format":"decimal","description":"How many units the client is charged for; multiplied by chargeRate and rounded to the penny to give the charge.","example":1,"uniqueKey":"content.data.items.[INDEX].chargeUnits.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"How many units the client is charged for; multiplied by chargeRate and rounded to the penny to give the charge.","example":1,"uniqueKey":"content.data.items.[INDEX].chargeUnits.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].chargeUnits","typeLabel":"number\u003cdecimal> | null"},"chargeDescription":{"oneOf":[{"type":"string","description":"Charge description for billing; when not provided and clientId is set, defaults to the pay description.","uniqueKey":"content.data.items.[INDEX].chargeDescription.oneOf.0","typeLabel":"string"},{"type":"null","description":"Charge description for billing; when not provided and clientId is set, defaults to the pay description.","uniqueKey":"content.data.items.[INDEX].chargeDescription.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].chargeDescription","typeLabel":"string | null"},"payElementId":{"oneOf":[{"type":"string","description":"The pay element the line is paid under.","example":"PAYELEM-001","uniqueKey":"content.data.items.[INDEX].payElementId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The pay element the line is paid under.","example":"PAYELEM-001","uniqueKey":"content.data.items.[INDEX].payElementId.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].payElementId","typeLabel":"string | null"},"tags":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The tag's name within its group.","example":"FullTime","uniqueKey":"content.data.items.[INDEX].tags.oneOf.0.items.[INDEX].name","typeLabel":"string"},"group":{"type":"string","description":"The group the tag belongs to.","example":"EmploymentType","uniqueKey":"content.data.items.[INDEX].tags.oneOf.0.items.[INDEX].group","typeLabel":"string"},"value":{"type":"string","description":"The tag's value for that name.","example":"FullTime","uniqueKey":"content.data.items.[INDEX].tags.oneOf.0.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"content.data.items.[INDEX].tags.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Tags attached to the line.","uniqueKey":"content.data.items.[INDEX].tags.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"name":{"type":"string","description":"The tag's name within its group.","example":"FullTime"},"group":{"type":"string","description":"The group the tag belongs to.","example":"EmploymentType"},"value":{"type":"string","description":"The tag's value for that name.","example":"FullTime"}}},"description":"Tags attached to the line.","uniqueKey":"content.data.items.[INDEX].tags.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].tags","typeLabel":"object[] | null"},"poNumber":{"oneOf":[{"type":"string","description":"The purchase order number supplied with the line, for billing.","example":"PO-12345","uniqueKey":"content.data.items.[INDEX].poNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"The purchase order number supplied with the line, for billing.","example":"PO-12345","uniqueKey":"content.data.items.[INDEX].poNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].poNumber","typeLabel":"string | null"},"originalValue":{"oneOf":[{"type":"number","format":"decimal","description":"The original deduction amount before protected earnings adjustment","uniqueKey":"content.data.items.[INDEX].originalValue.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"The original deduction amount before protected earnings adjustment","uniqueKey":"content.data.items.[INDEX].originalValue.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].originalValue","typeLabel":"number\u003cdecimal> | null"},"unitType":{"type":"string","enum":["Amount","Percentage"],"description":"The unit type for calculation. Amount uses payRate * units, Percentage uses payRate * (units / 100)","uniqueKey":"content.data.items.[INDEX].unitType","typeLabel":"enum\u003cstring>"},"lineItemMetadata":{"oneOf":[{"type":"object","description":"Metadata for this line item","properties":{"courtOrders":{"oneOf":[{"type":"object","description":"Court order metadata for this line item","properties":{"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this order.","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.protectedEarningsSetting.oneOf.0","typeLabel":"string"},{"type":"null","description":"The protected earnings rule applied to this order.","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.protectedEarningsSetting.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.protectedEarningsSetting","typeLabel":"string | null"},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100,"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.protectedEarningsAmount.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100,"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.protectedEarningsAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.protectedEarningsAmount","typeLabel":"number\u003cdecimal> | null"},"shortfallCarryForward":{"oneOf":[{"type":"number","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0,"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.shortfallCarryForward.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0,"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.shortfallCarryForward.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.shortfallCarryForward","typeLabel":"number\u003cdecimal> | null"},"rateType":{"oneOf":[{"type":"string","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.rateType.oneOf.0","typeLabel":"string"},{"type":"null","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.rateType.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.rateType","typeLabel":"string | null"},"adminFeeApplied":{"oneOf":[{"type":"boolean","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true,"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.adminFeeApplied.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true,"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.adminFeeApplied.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.adminFeeApplied","typeLabel":"boolean | null"},"tableType":{"oneOf":[{"type":"string","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.tableType.oneOf.0","typeLabel":"string"},{"type":"null","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.tableType.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.tableType","typeLabel":"string | null"},"remittanceReference":{"oneOf":[{"type":"string","description":"Remittance reference as instructed on the order","example":"REF123","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.remittanceReference.oneOf.0","typeLabel":"string"},{"type":"null","description":"Remittance reference as instructed on the order","example":"REF123","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.remittanceReference.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.remittanceReference","typeLabel":"string | null"},"remittanceDeadline":{"oneOf":[{"type":"string","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.remittanceDeadline.oneOf.0","typeLabel":"string"},{"type":"null","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.remittanceDeadline.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.remittanceDeadline","typeLabel":"string | null"},"jurisdiction":{"oneOf":[{"type":"string","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.jurisdiction.oneOf.0","typeLabel":"string"},{"type":"null","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.jurisdiction.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.jurisdiction","typeLabel":"string | null"},"aeoCategory":{"oneOf":[{"type":"string","description":"AEO category","example":"Priority","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.aeoCategory.oneOf.0","typeLabel":"string"},{"type":"null","description":"AEO category","example":"Priority","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.aeoCategory.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.aeoCategory","typeLabel":"string | null"},"instructionAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The amount the order instructs, before any protection is applied.","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.instructionAmount.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"The amount the order instructs, before any protection is applied.","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.instructionAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.instructionAmount","typeLabel":"number\u003cdecimal> | null"},"orderDate":{"oneOf":[{"type":"string","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.orderDate.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.orderDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.orderDate","typeLabel":"string\u003cdate> | null"},"dailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10,"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.dailyRate.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10,"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.dailyRate.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.dailyRate","typeLabel":"number\u003cdecimal> | null"},"ordinaryDebtAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000,"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.ordinaryDebtAmount.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000,"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.ordinaryDebtAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.ordinaryDebtAmount","typeLabel":"number\u003cdecimal> | null"},"maintenanceDailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5,"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.maintenanceDailyRate.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5,"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.maintenanceDailyRate.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.maintenanceDailyRate","typeLabel":"number\u003cdecimal> | null"},"agreedHigherRatePercentage":{"oneOf":[{"type":"number","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25,"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.agreedHigherRatePercentage.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25,"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.agreedHigherRatePercentage.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.agreedHigherRatePercentage","typeLabel":"number\u003cdecimal> | null"},"normalDeductionRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50,"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.normalDeductionRate.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50,"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.normalDeductionRate.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.normalDeductionRate","typeLabel":"number\u003cdecimal> | null"},"protectedEarningsRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200,"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.protectedEarningsRate.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200,"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.protectedEarningsRate.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.protectedEarningsRate","typeLabel":"number\u003cdecimal> | null"},"ratePeriod":{"type":"string","enum":["Weekly","Monthly","Daily"],"description":"Enforcement of Judgments Office order (Northern Ireland) only. The period the order's two rates are stated for.","example":"Weekly","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.ratePeriod","typeLabel":"enum\u003cstring>"},"lastDeductedPayDate":{"oneOf":[{"type":"string","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.lastDeductedPayDate.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.lastDeductedPayDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.lastDeductedPayDate","typeLabel":"string\u003cdate> | null"},"startDate":{"oneOf":[{"type":"string","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.startDate.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.startDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.startDate","typeLabel":"string\u003cdate> | null"},"lastPayDate":{"oneOf":[{"type":"string","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.lastPayDate.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.lastPayDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.lastPayDate","typeLabel":"string\u003cdate> | null"},"firstPayDate":{"oneOf":[{"type":"string","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.firstPayDate.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.firstPayDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.firstPayDate","typeLabel":"string\u003cdate> | null"}},"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0","typeLabel":"object"},{"type":"null","description":"Court order metadata for this line item","properties":{"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this order."},{"type":"null","description":"The protected earnings rule applied to this order."}]},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100},{"type":"null","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100}]},"shortfallCarryForward":{"oneOf":[{"type":"number","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0},{"type":"null","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0}]},"rateType":{"oneOf":[{"type":"string","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable"},{"type":"null","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable"}]},"adminFeeApplied":{"oneOf":[{"type":"boolean","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true},{"type":"null","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true}]},"tableType":{"oneOf":[{"type":"string","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A"},{"type":"null","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A"}]},"remittanceReference":{"oneOf":[{"type":"string","description":"Remittance reference as instructed on the order","example":"REF123"},{"type":"null","description":"Remittance reference as instructed on the order","example":"REF123"}]},"remittanceDeadline":{"oneOf":[{"type":"string","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days"},{"type":"null","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days"}]},"jurisdiction":{"oneOf":[{"type":"string","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND"},{"type":"null","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND"}]},"aeoCategory":{"oneOf":[{"type":"string","description":"AEO category","example":"Priority"},{"type":"null","description":"AEO category","example":"Priority"}]},"instructionAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The amount the order instructs, before any protection is applied."},{"type":"null","format":"decimal","description":"The amount the order instructs, before any protection is applied."}]},"orderDate":{"oneOf":[{"type":"string","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01"},{"type":"null","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01"}]},"dailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10},{"type":"null","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10}]},"ordinaryDebtAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000}]},"maintenanceDailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5}]},"agreedHigherRatePercentage":{"oneOf":[{"type":"number","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25},{"type":"null","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25}]},"normalDeductionRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50}]},"protectedEarningsRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200}]},"ratePeriod":{"type":"string","enum":["Weekly","Monthly","Daily"],"description":"Enforcement of Judgments Office order (Northern Ireland) only. The period the order's two rates are stated for.","example":"Weekly"},"lastDeductedPayDate":{"oneOf":[{"type":"string","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30"},{"type":"null","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30"}]},"startDate":{"oneOf":[{"type":"string","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01"},{"type":"null","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01"}]},"lastPayDate":{"oneOf":[{"type":"string","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30"},{"type":"null","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30"}]},"firstPayDate":{"oneOf":[{"type":"string","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30"},{"type":"null","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30"}]}},"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders","typeLabel":"object | null"},"recurringLineItem":{"oneOf":[{"type":"object","description":"The recurring line item this line was generated from, if any.","properties":{"recurringLineItemId":{"oneOf":[{"type":"string","description":"The id of the recurring line item this line was generated from.","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.recurringLineItemId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The id of the recurring line item this line was generated from.","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.recurringLineItemId.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.recurringLineItemId","typeLabel":"string | null"},"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this recurring deduction.","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.protectedEarningsSetting.oneOf.0","typeLabel":"string"},{"type":"null","description":"The protected earnings rule applied to this recurring deduction.","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.protectedEarningsSetting.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.protectedEarningsSetting","typeLabel":"string | null"},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount.","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.protectedEarningsAmount.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount.","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.protectedEarningsAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.protectedEarningsAmount","typeLabel":"number\u003cdecimal> | null"},"protectedEarningsPercentage":{"oneOf":[{"type":"number","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage.","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.protectedEarningsPercentage.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage.","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.protectedEarningsPercentage.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.protectedEarningsPercentage","typeLabel":"number\u003cdecimal> | null"}},"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0","typeLabel":"object"},{"type":"null","description":"The recurring line item this line was generated from, if any.","properties":{"recurringLineItemId":{"oneOf":[{"type":"string","description":"The id of the recurring line item this line was generated from."},{"type":"null","description":"The id of the recurring line item this line was generated from."}]},"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this recurring deduction."},{"type":"null","description":"The protected earnings rule applied to this recurring deduction."}]},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount."},{"type":"null","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount."}]},"protectedEarningsPercentage":{"oneOf":[{"type":"number","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage."},{"type":"null","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage."}]}},"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem","typeLabel":"object | null"},"pensions":{"oneOf":[{"type":"object","description":"Pension metadata carried on deterministic pension contribution lines (internal_pension_contrib_* / internal_pension_topup_*) added by the platform under line-item contributions.","properties":{"pensionGroupId":{"oneOf":[{"type":"string","description":"The pension group the contribution line was calculated under.","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.pensionGroupId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The pension group the contribution line was calculated under.","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.pensionGroupId.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.pensionGroupId","typeLabel":"string | null"},"contributionSource":{"type":"string","enum":["Group","RecurringContributionOverride","ContributionOverride"],"description":"Where the contribution settings came from: Group (the pension group), RecurringContributionOverride (the employee's standing override) or ContributionOverride (a one-off override for this pay period only). Only set on the group contribution line; null elsewhere.","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.contributionSource","typeLabel":"enum\u003cstring>"},"basis":{"oneOf":[{"type":"string","description":"Pensionable | QualifyingEarnings","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.basis.oneOf.0","typeLabel":"string"},{"type":"null","description":"Pensionable | QualifyingEarnings","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.basis.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.basis","typeLabel":"string | null"},"employerContributionType":{"type":"string","enum":["Percentage","FixedAmount"],"description":"How the employer share is read. Null on lines with no employer share (additional voluntary contribution lines).","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.employerContributionType","typeLabel":"enum\u003cstring>"},"employerContributionValue":{"oneOf":[{"type":"number","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount.","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.employerContributionValue.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount.","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.employerContributionValue.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.employerContributionValue","typeLabel":"number\u003cdecimal> | null"},"nationalInsuranceSavingsFactor":{"oneOf":[{"type":"number","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice.","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.nationalInsuranceSavingsFactor.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice.","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.nationalInsuranceSavingsFactor.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.nationalInsuranceSavingsFactor","typeLabel":"number\u003cdecimal> | null"},"employerRefundAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create.","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.employerRefundAmount.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create.","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.employerRefundAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.employerRefundAmount","typeLabel":"number\u003cdecimal> | null"},"reliefAtSourceApplied":{"oneOf":[{"type":"boolean","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed.","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.reliefAtSourceApplied.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed.","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.reliefAtSourceApplied.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.reliefAtSourceApplied","typeLabel":"boolean | null"},"reliefAtSourceWithheldReason":{"type":"string","enum":["MissingNationalInsuranceNumber"],"description":"Why relief at source was withheld when it would otherwise have applied. Null whenever reliefAtSourceApplied is not false.","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.reliefAtSourceWithheldReason","typeLabel":"enum\u003cstring>"},"pensionType":{"oneOf":[{"type":"string","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input.","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.pensionType.oneOf.0","typeLabel":"string"},{"type":"null","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input.","uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.pensionType.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.pensionType","typeLabel":"string | null"}},"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0","typeLabel":"object"},{"type":"null","description":"Pension metadata carried on deterministic pension contribution lines (internal_pension_contrib_* / internal_pension_topup_*) added by the platform under line-item contributions.","properties":{"pensionGroupId":{"oneOf":[{"type":"string","description":"The pension group the contribution line was calculated under."},{"type":"null","description":"The pension group the contribution line was calculated under."}]},"contributionSource":{"type":"string","enum":["Group","RecurringContributionOverride","ContributionOverride"],"description":"Where the contribution settings came from: Group (the pension group), RecurringContributionOverride (the employee's standing override) or ContributionOverride (a one-off override for this pay period only). Only set on the group contribution line; null elsewhere."},"basis":{"oneOf":[{"type":"string","description":"Pensionable | QualifyingEarnings"},{"type":"null","description":"Pensionable | QualifyingEarnings"}]},"employerContributionType":{"type":"string","enum":["Percentage","FixedAmount"],"description":"How the employer share is read. Null on lines with no employer share (additional voluntary contribution lines)."},"employerContributionValue":{"oneOf":[{"type":"number","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount."},{"type":"null","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount."}]},"nationalInsuranceSavingsFactor":{"oneOf":[{"type":"number","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice."},{"type":"null","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice."}]},"employerRefundAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create."},{"type":"null","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create."}]},"reliefAtSourceApplied":{"oneOf":[{"type":"boolean","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed."},{"type":"null","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed."}]},"reliefAtSourceWithheldReason":{"type":"string","enum":["MissingNationalInsuranceNumber"],"description":"Why relief at source was withheld when it would otherwise have applied. Null whenever reliefAtSourceApplied is not false."},"pensionType":{"oneOf":[{"type":"string","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input."},{"type":"null","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input."}]}},"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0.pensions","typeLabel":"object | null"}},"example":{"courtOrders":{"protectedEarningsAmount":100,"shortfallCarryForward":0,"rateType":"StandardTable","adminFeeApplied":true,"tableType":"A","remittanceReference":"REF123","remittanceDeadline":"5 days","jurisdiction":"ENGLAND","aeoCategory":"Priority"}},"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.0","typeLabel":"object"},{"type":"null","description":"Metadata for this line item","properties":{"courtOrders":{"oneOf":[{"type":"object","description":"Court order metadata for this line item","properties":{"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this order."},{"type":"null","description":"The protected earnings rule applied to this order."}]},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100},{"type":"null","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100}]},"shortfallCarryForward":{"oneOf":[{"type":"number","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0},{"type":"null","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0}]},"rateType":{"oneOf":[{"type":"string","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable"},{"type":"null","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable"}]},"adminFeeApplied":{"oneOf":[{"type":"boolean","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true},{"type":"null","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true}]},"tableType":{"oneOf":[{"type":"string","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A"},{"type":"null","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A"}]},"remittanceReference":{"oneOf":[{"type":"string","description":"Remittance reference as instructed on the order","example":"REF123"},{"type":"null","description":"Remittance reference as instructed on the order","example":"REF123"}]},"remittanceDeadline":{"oneOf":[{"type":"string","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days"},{"type":"null","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days"}]},"jurisdiction":{"oneOf":[{"type":"string","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND"},{"type":"null","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND"}]},"aeoCategory":{"oneOf":[{"type":"string","description":"AEO category","example":"Priority"},{"type":"null","description":"AEO category","example":"Priority"}]},"instructionAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The amount the order instructs, before any protection is applied."},{"type":"null","format":"decimal","description":"The amount the order instructs, before any protection is applied."}]},"orderDate":{"oneOf":[{"type":"string","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01"},{"type":"null","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01"}]},"dailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10},{"type":"null","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10}]},"ordinaryDebtAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000}]},"maintenanceDailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5}]},"agreedHigherRatePercentage":{"oneOf":[{"type":"number","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25},{"type":"null","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25}]},"normalDeductionRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50}]},"protectedEarningsRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200}]},"ratePeriod":{"type":"string","enum":["Weekly","Monthly","Daily"],"description":"Enforcement of Judgments Office order (Northern Ireland) only. The period the order's two rates are stated for.","example":"Weekly"},"lastDeductedPayDate":{"oneOf":[{"type":"string","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30"},{"type":"null","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30"}]},"startDate":{"oneOf":[{"type":"string","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01"},{"type":"null","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01"}]},"lastPayDate":{"oneOf":[{"type":"string","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30"},{"type":"null","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30"}]},"firstPayDate":{"oneOf":[{"type":"string","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30"},{"type":"null","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30"}]}}},{"type":"null","description":"Court order metadata for this line item","properties":{"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this order."},{"type":"null","description":"The protected earnings rule applied to this order."}]},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100},{"type":"null","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100}]},"shortfallCarryForward":{"oneOf":[{"type":"number","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0},{"type":"null","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0}]},"rateType":{"oneOf":[{"type":"string","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable"},{"type":"null","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable"}]},"adminFeeApplied":{"oneOf":[{"type":"boolean","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true},{"type":"null","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true}]},"tableType":{"oneOf":[{"type":"string","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A"},{"type":"null","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A"}]},"remittanceReference":{"oneOf":[{"type":"string","description":"Remittance reference as instructed on the order","example":"REF123"},{"type":"null","description":"Remittance reference as instructed on the order","example":"REF123"}]},"remittanceDeadline":{"oneOf":[{"type":"string","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days"},{"type":"null","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days"}]},"jurisdiction":{"oneOf":[{"type":"string","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND"},{"type":"null","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND"}]},"aeoCategory":{"oneOf":[{"type":"string","description":"AEO category","example":"Priority"},{"type":"null","description":"AEO category","example":"Priority"}]},"instructionAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The amount the order instructs, before any protection is applied."},{"type":"null","format":"decimal","description":"The amount the order instructs, before any protection is applied."}]},"orderDate":{"oneOf":[{"type":"string","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01"},{"type":"null","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01"}]},"dailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10},{"type":"null","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10}]},"ordinaryDebtAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000}]},"maintenanceDailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5}]},"agreedHigherRatePercentage":{"oneOf":[{"type":"number","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25},{"type":"null","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25}]},"normalDeductionRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50}]},"protectedEarningsRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200}]},"ratePeriod":{"type":"string","enum":["Weekly","Monthly","Daily"],"description":"Enforcement of Judgments Office order (Northern Ireland) only. The period the order's two rates are stated for.","example":"Weekly"},"lastDeductedPayDate":{"oneOf":[{"type":"string","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30"},{"type":"null","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30"}]},"startDate":{"oneOf":[{"type":"string","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01"},{"type":"null","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01"}]},"lastPayDate":{"oneOf":[{"type":"string","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30"},{"type":"null","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30"}]},"firstPayDate":{"oneOf":[{"type":"string","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30"},{"type":"null","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30"}]}}}]},"recurringLineItem":{"oneOf":[{"type":"object","description":"The recurring line item this line was generated from, if any.","properties":{"recurringLineItemId":{"oneOf":[{"type":"string","description":"The id of the recurring line item this line was generated from."},{"type":"null","description":"The id of the recurring line item this line was generated from."}]},"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this recurring deduction."},{"type":"null","description":"The protected earnings rule applied to this recurring deduction."}]},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount."},{"type":"null","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount."}]},"protectedEarningsPercentage":{"oneOf":[{"type":"number","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage."},{"type":"null","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage."}]}}},{"type":"null","description":"The recurring line item this line was generated from, if any.","properties":{"recurringLineItemId":{"oneOf":[{"type":"string","description":"The id of the recurring line item this line was generated from."},{"type":"null","description":"The id of the recurring line item this line was generated from."}]},"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this recurring deduction."},{"type":"null","description":"The protected earnings rule applied to this recurring deduction."}]},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount."},{"type":"null","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount."}]},"protectedEarningsPercentage":{"oneOf":[{"type":"number","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage."},{"type":"null","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage."}]}}}]},"pensions":{"oneOf":[{"type":"object","description":"Pension metadata carried on deterministic pension contribution lines (internal_pension_contrib_* / internal_pension_topup_*) added by the platform under line-item contributions.","properties":{"pensionGroupId":{"oneOf":[{"type":"string","description":"The pension group the contribution line was calculated under."},{"type":"null","description":"The pension group the contribution line was calculated under."}]},"contributionSource":{"type":"string","enum":["Group","RecurringContributionOverride","ContributionOverride"],"description":"Where the contribution settings came from: Group (the pension group), RecurringContributionOverride (the employee's standing override) or ContributionOverride (a one-off override for this pay period only). Only set on the group contribution line; null elsewhere."},"basis":{"oneOf":[{"type":"string","description":"Pensionable | QualifyingEarnings"},{"type":"null","description":"Pensionable | QualifyingEarnings"}]},"employerContributionType":{"type":"string","enum":["Percentage","FixedAmount"],"description":"How the employer share is read. Null on lines with no employer share (additional voluntary contribution lines)."},"employerContributionValue":{"oneOf":[{"type":"number","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount."},{"type":"null","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount."}]},"nationalInsuranceSavingsFactor":{"oneOf":[{"type":"number","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice."},{"type":"null","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice."}]},"employerRefundAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create."},{"type":"null","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create."}]},"reliefAtSourceApplied":{"oneOf":[{"type":"boolean","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed."},{"type":"null","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed."}]},"reliefAtSourceWithheldReason":{"type":"string","enum":["MissingNationalInsuranceNumber"],"description":"Why relief at source was withheld when it would otherwise have applied. Null whenever reliefAtSourceApplied is not false."},"pensionType":{"oneOf":[{"type":"string","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input."},{"type":"null","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input."}]}}},{"type":"null","description":"Pension metadata carried on deterministic pension contribution lines (internal_pension_contrib_* / internal_pension_topup_*) added by the platform under line-item contributions.","properties":{"pensionGroupId":{"oneOf":[{"type":"string","description":"The pension group the contribution line was calculated under."},{"type":"null","description":"The pension group the contribution line was calculated under."}]},"contributionSource":{"type":"string","enum":["Group","RecurringContributionOverride","ContributionOverride"],"description":"Where the contribution settings came from: Group (the pension group), RecurringContributionOverride (the employee's standing override) or ContributionOverride (a one-off override for this pay period only). Only set on the group contribution line; null elsewhere."},"basis":{"oneOf":[{"type":"string","description":"Pensionable | QualifyingEarnings"},{"type":"null","description":"Pensionable | QualifyingEarnings"}]},"employerContributionType":{"type":"string","enum":["Percentage","FixedAmount"],"description":"How the employer share is read. Null on lines with no employer share (additional voluntary contribution lines)."},"employerContributionValue":{"oneOf":[{"type":"number","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount."},{"type":"null","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount."}]},"nationalInsuranceSavingsFactor":{"oneOf":[{"type":"number","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice."},{"type":"null","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice."}]},"employerRefundAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create."},{"type":"null","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create."}]},"reliefAtSourceApplied":{"oneOf":[{"type":"boolean","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed."},{"type":"null","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed."}]},"reliefAtSourceWithheldReason":{"type":"string","enum":["MissingNationalInsuranceNumber"],"description":"Why relief at source was withheld when it would otherwise have applied. Null whenever reliefAtSourceApplied is not false."},"pensionType":{"oneOf":[{"type":"string","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input."},{"type":"null","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input."}]}}}]}},"example":{"courtOrders":{"protectedEarningsAmount":100,"shortfallCarryForward":0,"rateType":"StandardTable","adminFeeApplied":true,"tableType":"A","remittanceReference":"REF123","remittanceDeadline":"5 days","jurisdiction":"ENGLAND","aeoCategory":"Priority"}},"uniqueKey":"content.data.items.[INDEX].lineItemMetadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].lineItemMetadata","typeLabel":"object | null"},"eligibility":{"oneOf":[{"type":"object","description":"Which court order types may take money from this line, copied from its pay element. Read-only.","properties":{"courtOrders":{"oneOf":[{"type":"object","description":"Which court order types may take money from this pay. Read-only.","required":["cmsDeo","dea","aeoPriority","aeoNonPriority","ctaeo","ea","mcaeo","cma","cao","niFinesAeo","niEjoAeo"],"properties":{"cmsDeo":{"type":"boolean","description":"Child Maintenance Service deduction from earnings order may take money from this pay.","example":true,"isRequired":true,"uniqueKey":"content.data.items.[INDEX].eligibility.oneOf.0.courtOrders.oneOf.0.cmsDeo","typeLabel":"boolean"},"dea":{"type":"boolean","description":"Direct earnings attachment (DWP) may take money from this pay.","example":true,"isRequired":true,"uniqueKey":"content.data.items.[INDEX].eligibility.oneOf.0.courtOrders.oneOf.0.dea","typeLabel":"boolean"},"aeoPriority":{"type":"boolean","description":"Attachment of earnings order, priority (maintenance) may take money from this pay.","example":true,"isRequired":true,"uniqueKey":"content.data.items.[INDEX].eligibility.oneOf.0.courtOrders.oneOf.0.aeoPriority","typeLabel":"boolean"},"aeoNonPriority":{"type":"boolean","description":"Attachment of earnings order, non-priority (civil debt) may take money from this pay.","example":true,"isRequired":true,"uniqueKey":"content.data.items.[INDEX].eligibility.oneOf.0.courtOrders.oneOf.0.aeoNonPriority","typeLabel":"boolean"},"ctaeo":{"type":"boolean","description":"Council tax attachment of earnings order may take money from this pay.","example":true,"isRequired":true,"uniqueKey":"content.data.items.[INDEX].eligibility.oneOf.0.courtOrders.oneOf.0.ctaeo","typeLabel":"boolean"},"ea":{"type":"boolean","description":"Earnings arrestment (Scotland) may take money from this pay.","example":true,"isRequired":true,"uniqueKey":"content.data.items.[INDEX].eligibility.oneOf.0.courtOrders.oneOf.0.ea","typeLabel":"boolean"},"mcaeo":{"type":"boolean","description":"Magistrates' court attachment of earnings order (fines) may take money from this pay.","example":true,"isRequired":true,"uniqueKey":"content.data.items.[INDEX].eligibility.oneOf.0.courtOrders.oneOf.0.mcaeo","typeLabel":"boolean"},"cma":{"type":"boolean","description":"Current maintenance arrestment (Scotland) may take money from this pay.","example":true,"isRequired":true,"uniqueKey":"content.data.items.[INDEX].eligibility.oneOf.0.courtOrders.oneOf.0.cma","typeLabel":"boolean"},"cao":{"type":"boolean","description":"Conjoined arrestment order (Scotland) may take money from this pay.","example":true,"isRequired":true,"uniqueKey":"content.data.items.[INDEX].eligibility.oneOf.0.courtOrders.oneOf.0.cao","typeLabel":"boolean"},"niFinesAeo":{"type":"boolean","description":"Attachment of earnings order for fines (Northern Ireland) may take money from this pay.","example":true,"isRequired":true,"uniqueKey":"content.data.items.[INDEX].eligibility.oneOf.0.courtOrders.oneOf.0.niFinesAeo","typeLabel":"boolean"},"niEjoAeo":{"type":"boolean","description":"Attachment of earnings order made by the Enforcement of Judgments Office (Northern Ireland) may take money from this pay.","example":true,"isRequired":true,"uniqueKey":"content.data.items.[INDEX].eligibility.oneOf.0.courtOrders.oneOf.0.niEjoAeo","typeLabel":"boolean"}},"uniqueKey":"content.data.items.[INDEX].eligibility.oneOf.0.courtOrders.oneOf.0","typeLabel":"object"},{"type":"null","description":"Which court order types may take money from this pay. Read-only.","required":["cmsDeo","dea","aeoPriority","aeoNonPriority","ctaeo","ea","mcaeo","cma","cao","niFinesAeo","niEjoAeo"],"properties":{"cmsDeo":{"type":"boolean","description":"Child Maintenance Service deduction from earnings order may take money from this pay.","example":true},"dea":{"type":"boolean","description":"Direct earnings attachment (DWP) may take money from this pay.","example":true},"aeoPriority":{"type":"boolean","description":"Attachment of earnings order, priority (maintenance) may take money from this pay.","example":true},"aeoNonPriority":{"type":"boolean","description":"Attachment of earnings order, non-priority (civil debt) may take money from this pay.","example":true},"ctaeo":{"type":"boolean","description":"Council tax attachment of earnings order may take money from this pay.","example":true},"ea":{"type":"boolean","description":"Earnings arrestment (Scotland) may take money from this pay.","example":true},"mcaeo":{"type":"boolean","description":"Magistrates' court attachment of earnings order (fines) may take money from this pay.","example":true},"cma":{"type":"boolean","description":"Current maintenance arrestment (Scotland) may take money from this pay.","example":true},"cao":{"type":"boolean","description":"Conjoined arrestment order (Scotland) may take money from this pay.","example":true},"niFinesAeo":{"type":"boolean","description":"Attachment of earnings order for fines (Northern Ireland) may take money from this pay.","example":true},"niEjoAeo":{"type":"boolean","description":"Attachment of earnings order made by the Enforcement of Judgments Office (Northern Ireland) may take money from this pay.","example":true}},"uniqueKey":"content.data.items.[INDEX].eligibility.oneOf.0.courtOrders.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].eligibility.oneOf.0.courtOrders","typeLabel":"object | null"}},"example":{"courtOrders":{"cmsDeo":true,"dea":true,"aeoPriority":true,"aeoNonPriority":true,"ctaeo":true,"ea":true,"mcaeo":true,"cma":true,"cao":true,"niFinesAeo":true,"niEjoAeo":true}},"uniqueKey":"content.data.items.[INDEX].eligibility.oneOf.0","typeLabel":"object"},{"type":"null","description":"Which court order types may take money from this line, copied from its pay element. Read-only.","properties":{"courtOrders":{"oneOf":[{"type":"object","description":"Which court order types may take money from this pay. Read-only.","required":["cmsDeo","dea","aeoPriority","aeoNonPriority","ctaeo","ea","mcaeo","cma","cao","niFinesAeo","niEjoAeo"],"properties":{"cmsDeo":{"type":"boolean","description":"Child Maintenance Service deduction from earnings order may take money from this pay.","example":true},"dea":{"type":"boolean","description":"Direct earnings attachment (DWP) may take money from this pay.","example":true},"aeoPriority":{"type":"boolean","description":"Attachment of earnings order, priority (maintenance) may take money from this pay.","example":true},"aeoNonPriority":{"type":"boolean","description":"Attachment of earnings order, non-priority (civil debt) may take money from this pay.","example":true},"ctaeo":{"type":"boolean","description":"Council tax attachment of earnings order may take money from this pay.","example":true},"ea":{"type":"boolean","description":"Earnings arrestment (Scotland) may take money from this pay.","example":true},"mcaeo":{"type":"boolean","description":"Magistrates' court attachment of earnings order (fines) may take money from this pay.","example":true},"cma":{"type":"boolean","description":"Current maintenance arrestment (Scotland) may take money from this pay.","example":true},"cao":{"type":"boolean","description":"Conjoined arrestment order (Scotland) may take money from this pay.","example":true},"niFinesAeo":{"type":"boolean","description":"Attachment of earnings order for fines (Northern Ireland) may take money from this pay.","example":true},"niEjoAeo":{"type":"boolean","description":"Attachment of earnings order made by the Enforcement of Judgments Office (Northern Ireland) may take money from this pay.","example":true}}},{"type":"null","description":"Which court order types may take money from this pay. Read-only.","required":["cmsDeo","dea","aeoPriority","aeoNonPriority","ctaeo","ea","mcaeo","cma","cao","niFinesAeo","niEjoAeo"],"properties":{"cmsDeo":{"type":"boolean","description":"Child Maintenance Service deduction from earnings order may take money from this pay.","example":true},"dea":{"type":"boolean","description":"Direct earnings attachment (DWP) may take money from this pay.","example":true},"aeoPriority":{"type":"boolean","description":"Attachment of earnings order, priority (maintenance) may take money from this pay.","example":true},"aeoNonPriority":{"type":"boolean","description":"Attachment of earnings order, non-priority (civil debt) may take money from this pay.","example":true},"ctaeo":{"type":"boolean","description":"Council tax attachment of earnings order may take money from this pay.","example":true},"ea":{"type":"boolean","description":"Earnings arrestment (Scotland) may take money from this pay.","example":true},"mcaeo":{"type":"boolean","description":"Magistrates' court attachment of earnings order (fines) may take money from this pay.","example":true},"cma":{"type":"boolean","description":"Current maintenance arrestment (Scotland) may take money from this pay.","example":true},"cao":{"type":"boolean","description":"Conjoined arrestment order (Scotland) may take money from this pay.","example":true},"niFinesAeo":{"type":"boolean","description":"Attachment of earnings order for fines (Northern Ireland) may take money from this pay.","example":true},"niEjoAeo":{"type":"boolean","description":"Attachment of earnings order made by the Enforcement of Judgments Office (Northern Ireland) may take money from this pay.","example":true}}}]}},"example":{"courtOrders":{"cmsDeo":true,"dea":true,"aeoPriority":true,"aeoNonPriority":true,"ctaeo":true,"ea":true,"mcaeo":true,"cma":true,"cao":true,"niFinesAeo":true,"niEjoAeo":true}},"uniqueKey":"content.data.items.[INDEX].eligibility.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].eligibility","typeLabel":"object | null"},"paymentDetails":{"oneOf":[{"type":"object","description":"Payment details (BACS information) that can override default employee bank account","properties":{"accountName":{"oneOf":[{"type":"string","description":"Account name","example":"CMS Central Account","uniqueKey":"content.data.items.[INDEX].paymentDetails.oneOf.0.accountName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Account name","example":"CMS Central Account","uniqueKey":"content.data.items.[INDEX].paymentDetails.oneOf.0.accountName.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].paymentDetails.oneOf.0.accountName","typeLabel":"string | null"},"accountNumber":{"oneOf":[{"type":"string","description":"Account number","example":"12345678","uniqueKey":"content.data.items.[INDEX].paymentDetails.oneOf.0.accountNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"Account number","example":"12345678","uniqueKey":"content.data.items.[INDEX].paymentDetails.oneOf.0.accountNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].paymentDetails.oneOf.0.accountNumber","typeLabel":"string | null"},"sortCode":{"oneOf":[{"type":"string","description":"Sort code","example":"12-34-56","uniqueKey":"content.data.items.[INDEX].paymentDetails.oneOf.0.sortCode.oneOf.0","typeLabel":"string"},{"type":"null","description":"Sort code","example":"12-34-56","uniqueKey":"content.data.items.[INDEX].paymentDetails.oneOf.0.sortCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].paymentDetails.oneOf.0.sortCode","typeLabel":"string | null"},"paymentReference":{"oneOf":[{"type":"string","description":"Payment reference to include with BACS payment (e.g., court order remittance reference)","example":"CMS-2025-UK01","uniqueKey":"content.data.items.[INDEX].paymentDetails.oneOf.0.paymentReference.oneOf.0","typeLabel":"string"},{"type":"null","description":"Payment reference to include with BACS payment (e.g., court order remittance reference)","example":"CMS-2025-UK01","uniqueKey":"content.data.items.[INDEX].paymentDetails.oneOf.0.paymentReference.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].paymentDetails.oneOf.0.paymentReference","typeLabel":"string | null"},"paymentCategory":{"type":"string","enum":["CourtOrders"],"description":"Payment category for categorizing payment details","example":"CourtOrders","uniqueKey":"content.data.items.[INDEX].paymentDetails.oneOf.0.paymentCategory","typeLabel":"enum\u003cstring>"}},"uniqueKey":"content.data.items.[INDEX].paymentDetails.oneOf.0","typeLabel":"object"},{"type":"null","description":"Payment details (BACS information) that can override default employee bank account","properties":{"accountName":{"oneOf":[{"type":"string","description":"Account name","example":"CMS Central Account"},{"type":"null","description":"Account name","example":"CMS Central Account"}]},"accountNumber":{"oneOf":[{"type":"string","description":"Account number","example":"12345678"},{"type":"null","description":"Account number","example":"12345678"}]},"sortCode":{"oneOf":[{"type":"string","description":"Sort code","example":"12-34-56"},{"type":"null","description":"Sort code","example":"12-34-56"}]},"paymentReference":{"oneOf":[{"type":"string","description":"Payment reference to include with BACS payment (e.g., court order remittance reference)","example":"CMS-2025-UK01"},{"type":"null","description":"Payment reference to include with BACS payment (e.g., court order remittance reference)","example":"CMS-2025-UK01"}]},"paymentCategory":{"type":"string","enum":["CourtOrders"],"description":"Payment category for categorizing payment details","example":"CourtOrders"}},"uniqueKey":"content.data.items.[INDEX].paymentDetails.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].paymentDetails","typeLabel":"object | null"},"attachmentUploadUrls":{"oneOf":[{"type":"array","items":{"type":"object","required":["attachmentId","filename","uploadUrl","expiresAt","method","headers"],"properties":{"attachmentId":{"type":"string","description":"The unique identifier for the attachment","isRequired":true,"uniqueKey":"content.data.items.[INDEX].attachmentUploadUrls.oneOf.0.items.[INDEX].attachmentId","typeLabel":"string"},"filename":{"type":"string","description":"The original filename of the attachment","isRequired":true,"uniqueKey":"content.data.items.[INDEX].attachmentUploadUrls.oneOf.0.items.[INDEX].filename","typeLabel":"string"},"uploadUrl":{"type":"string","format":"uri","description":"The address to send the file to, valid for 15 minutes. Send the file's bytes, and nothing else, as the whole body of a PUT with every one of `headers`. The file must be exactly the size and type given when the attachment was added; anything else is refused.","isRequired":true,"uniqueKey":"content.data.items.[INDEX].attachmentUploadUrls.oneOf.0.items.[INDEX].uploadUrl","typeLabel":"string\u003curi>"},"expiresAt":{"type":"string","format":"date-time","description":"When the upload address stops working (ISO 8601 format)","isRequired":true,"uniqueKey":"content.data.items.[INDEX].attachmentUploadUrls.oneOf.0.items.[INDEX].expiresAt","typeLabel":"string\u003cdate-time>"},"method":{"type":"string","description":"The HTTP method of the upload. Always PUT.","isRequired":true,"uniqueKey":"content.data.items.[INDEX].attachmentUploadUrls.oneOf.0.items.[INDEX].method","typeLabel":"string"},"headers":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"content.data.items.[INDEX].attachmentUploadUrls.oneOf.0.items.[INDEX].headers.additionalProperties","typeLabel":"string"},"description":"Headers the upload must carry, exactly as given.","example":{"Content-Type":"application/pdf"},"isRequired":true,"uniqueKey":"content.data.items.[INDEX].attachmentUploadUrls.oneOf.0.items.[INDEX].headers","typeLabel":"object"}},"uniqueKey":"content.data.items.[INDEX].attachmentUploadUrls.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Where to upload each attachment (only present during batch upload when attachments metadata was provided)","uniqueKey":"content.data.items.[INDEX].attachmentUploadUrls.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["attachmentId","filename","uploadUrl","expiresAt","method","headers"],"properties":{"attachmentId":{"type":"string","description":"The unique identifier for the attachment"},"filename":{"type":"string","description":"The original filename of the attachment"},"uploadUrl":{"type":"string","format":"uri","description":"The address to send the file to, valid for 15 minutes. Send the file's bytes, and nothing else, as the whole body of a PUT with every one of `headers`. The file must be exactly the size and type given when the attachment was added; anything else is refused."},"expiresAt":{"type":"string","format":"date-time","description":"When the upload address stops working (ISO 8601 format)"},"method":{"type":"string","description":"The HTTP method of the upload. Always PUT."},"headers":{"type":"object","additionalProperties":{"type":"string"},"description":"Headers the upload must carry, exactly as given.","example":{"Content-Type":"application/pdf"}}}},"description":"Where to upload each attachment (only present during batch upload when attachments metadata was provided)","uniqueKey":"content.data.items.[INDEX].attachmentUploadUrls.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].attachmentUploadUrls","typeLabel":"object[] | null"},"attachments":{"oneOf":[{"type":"array","items":{"type":"object","required":["id","lineItemId","filename","contentType","fileSize","uploadedDate","uploadedBy","downloadUrl","downloadUrlExpiresAt"],"properties":{"id":{"type":"string","description":"The unique identifier for the attachment","isRequired":true,"uniqueKey":"content.data.items.[INDEX].attachments.oneOf.0.items.[INDEX].id","typeLabel":"string"},"lineItemId":{"type":"string","description":"The unique identifier of the associated payroll line item","isRequired":true,"uniqueKey":"content.data.items.[INDEX].attachments.oneOf.0.items.[INDEX].lineItemId","typeLabel":"string"},"filename":{"type":"string","description":"The original filename of the attachment","isRequired":true,"uniqueKey":"content.data.items.[INDEX].attachments.oneOf.0.items.[INDEX].filename","typeLabel":"string"},"contentType":{"type":"string","description":"The MIME type of the file","isRequired":true,"uniqueKey":"content.data.items.[INDEX].attachments.oneOf.0.items.[INDEX].contentType","typeLabel":"string"},"fileSize":{"type":"integer","format":"int64","description":"The size of the file in bytes","isRequired":true,"uniqueKey":"content.data.items.[INDEX].attachments.oneOf.0.items.[INDEX].fileSize","typeLabel":"integer\u003cint64>"},"uploadedDate":{"type":"string","format":"date-time","description":"The date and time the file was uploaded (ISO 8601 format)","isRequired":true,"uniqueKey":"content.data.items.[INDEX].attachments.oneOf.0.items.[INDEX].uploadedDate","typeLabel":"string\u003cdate-time>"},"uploadedBy":{"type":"string","description":"The identifier of the user who uploaded the file","isRequired":true,"uniqueKey":"content.data.items.[INDEX].attachments.oneOf.0.items.[INDEX].uploadedBy","typeLabel":"string"},"downloadUrl":{"type":"string","format":"uri","description":"A link that downloads the file, valid for 60 minutes. Open it as it is; it needs no credentials.","isRequired":true,"uniqueKey":"content.data.items.[INDEX].attachments.oneOf.0.items.[INDEX].downloadUrl","typeLabel":"string\u003curi>"},"downloadUrlExpiresAt":{"type":"string","format":"date-time","description":"When the download link stops working (ISO 8601 format)","isRequired":true,"uniqueKey":"content.data.items.[INDEX].attachments.oneOf.0.items.[INDEX].downloadUrlExpiresAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"content.data.items.[INDEX].attachments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"List of attachments with download URLs (only present when attachments exist)","uniqueKey":"content.data.items.[INDEX].attachments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["id","lineItemId","filename","contentType","fileSize","uploadedDate","uploadedBy","downloadUrl","downloadUrlExpiresAt"],"properties":{"id":{"type":"string","description":"The unique identifier for the attachment"},"lineItemId":{"type":"string","description":"The unique identifier of the associated payroll line item"},"filename":{"type":"string","description":"The original filename of the attachment"},"contentType":{"type":"string","description":"The MIME type of the file"},"fileSize":{"type":"integer","format":"int64","description":"The size of the file in bytes"},"uploadedDate":{"type":"string","format":"date-time","description":"The date and time the file was uploaded (ISO 8601 format)"},"uploadedBy":{"type":"string","description":"The identifier of the user who uploaded the file"},"downloadUrl":{"type":"string","format":"uri","description":"A link that downloads the file, valid for 60 minutes. Open it as it is; it needs no credentials."},"downloadUrlExpiresAt":{"type":"string","format":"date-time","description":"When the download link stops working (ISO 8601 format)"}}},"description":"List of attachments with download URLs (only present when attachments exist)","uniqueKey":"content.data.items.[INDEX].attachments.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].attachments","typeLabel":"object[] | null"},"invoiceId":{"oneOf":[{"type":"string","description":"The ID of the invoice associated with the payroll line item","example":"INV-001","uniqueKey":"content.data.items.[INDEX].invoiceId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the invoice associated with the payroll line item","example":"INV-001","uniqueKey":"content.data.items.[INDEX].invoiceId.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].invoiceId","typeLabel":"string | null"},"creditNoteId":{"oneOf":[{"type":"string","description":"The ID of the credit note associated with the payroll line item","example":"CN-001","uniqueKey":"content.data.items.[INDEX].creditNoteId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the credit note associated with the payroll line item","example":"CN-001","uniqueKey":"content.data.items.[INDEX].creditNoteId.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.items.[INDEX].creditNoteId","typeLabel":"string | null"},"paymentAfterLeavingPattern":{"type":"string","enum":["Irregular","Regular"],"description":"Which National Insurance earnings period this payment takes when it is made after the employment has ended. Only read on a payment after leaving, and ignored entirely for anyone who has not left. Irregular (accrued holiday, an unexpected bonus, arrears after a backdated pay award, a late commission or service charge) is charged on weekly thresholds; Regular (a payment they were expecting on their usual cycle, such as an expected bonus) keeps the employee's usual earnings period. Per CWG2 section 1.14 and NIM08400/NIM08410. Omitting it means Irregular, which is the safe default because the other direction understates NI. National Insurance is charged once per payslip, so a single Irregular payment puts the whole payslip on weekly thresholds.","example":"Irregular","uniqueKey":"content.data.items.[INDEX].paymentAfterLeavingPattern","typeLabel":"enum\u003cstring>"}},"uniqueKey":"content.data.items.[INDEX]","typeLabel":"object"},"description":"The resource or list the request asked for; left out when there is none.","uniqueKey":"content.data","typeLabel":"object[]"}},"uniqueKey":"content","typeLabel":"object"},"validationIssues":{"oneOf":[{"type":"array","items":{"type":"object","description":"Field validation item. `reasonToken` is a stable snake_case key for i18n or custom client messages; `reason` is the default English text from the API.","required":["field","reason","reasonToken"],"properties":{"field":{"type":"string","description":"Dot-path of the field (e.g. name.firstName, address.line1).","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].field","typeLabel":"string"},"reason":{"type":"string","description":"Default human-readable message.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reason","typeLabel":"string"},"reasonToken":{"type":"string","description":"Machine-readable error identifier (snake_case).","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonToken","typeLabel":"string"},"reasonTokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"description":"The value itself, as a string, number or other JSON value.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value","typeLabel":"any"}},"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments","typeLabel":"object[] | null"}},"uniqueKey":"validationIssues.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Each field the request was refused for and why; left out when the request was not refused for its fields.","uniqueKey":"validationIssues.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"Field validation item. `reasonToken` is a stable snake_case key for i18n or custom client messages; `reason` is the default English text from the API.","required":["field","reason","reasonToken"],"properties":{"field":{"type":"string","description":"Dot-path of the field (e.g. name.firstName, address.line1)."},"reason":{"type":"string","description":"Default human-readable message."},"reasonToken":{"type":"string","description":"Machine-readable error identifier (snake_case)."},"reasonTokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none."},{"type":"null","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none."}]}}},"description":"Each field the request was refused for and why; left out when the request was not refused for its fields.","uniqueKey":"validationIssues.oneOf.1","typeLabel":"null"}],"uniqueKey":"validationIssues","typeLabel":"object[] | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":{"text":"\u003cstring>","token":"\u003cstring>","tokenArguments":[{"name":"\u003cstring>","value":"\u003cunknown>"}]},"content":{"metadata":{"dateFormat":"\u003cstring>","dateTimeFormat":"\u003cstring>","paginationToken":"\u003cstring>"},"data":[{"id":"PAYLINE-001","employeeId":"EMPLOYEE-001","description":"Morning shift","unitName":"Hour","units":8,"payRate":10.5,"taxType":"Taxable","niType":"Niable","payType":"Payable","isPensionable":true,"statutoryType":"None","createdDate":"2024-01-01T00:00:00Z","createdBy":"user_123","updatedDate":"2024-01-02T00:00:00Z","updatedBy":"user_456","canEdit":true,"billingStatus":"None","clientId":"CLIENT-001","date":"2024-05-20","payrollDate":"2024-07-06","chargeRate":15.5,"chargeUnits":1,"chargeDescription":"\u003cstring>","payElementId":"PAYELEM-001","tags":[{"name":"FullTime","group":"EmploymentType","value":"FullTime"}],"poNumber":"PO-12345","originalValue":123,"unitType":"Amount","lineItemMetadata":{"courtOrders":{"protectedEarningsAmount":100,"shortfallCarryForward":0,"rateType":"StandardTable","adminFeeApplied":true,"tableType":"A","remittanceReference":"REF123","remittanceDeadline":"5 days","jurisdiction":"ENGLAND","aeoCategory":"Priority"}},"eligibility":{"courtOrders":{"cmsDeo":true,"dea":true,"aeoPriority":true,"aeoNonPriority":true,"ctaeo":true,"ea":true,"mcaeo":true,"cma":true,"cao":true,"niFinesAeo":true,"niEjoAeo":true}},"paymentDetails":{"accountName":"CMS Central Account","accountNumber":"12345678","sortCode":"12-34-56","paymentReference":"CMS-2025-UK01","paymentCategory":"CourtOrders"},"attachmentUploadUrls":[{"attachmentId":"\u003cstring>","filename":"\u003cstring>","uploadUrl":"\u003cstring>","expiresAt":"2023-11-07T05:31:56Z","method":"\u003cstring>","headers":{"Content-Type":"application/pdf"}}],"attachments":[{"id":"\u003cstring>","lineItemId":"\u003cstring>","filename":"\u003cstring>","contentType":"\u003cstring>","fileSize":123,"uploadedDate":"2023-11-07T05:31:56Z","uploadedBy":"\u003cstring>","downloadUrl":"\u003cstring>","downloadUrlExpiresAt":"2023-11-07T05:31:56Z"}],"invoiceId":"INV-001","creditNoteId":"CN-001","paymentAfterLeavingPattern":"Irregular"}]},"validationIssues":[{"field":"\u003cstring>","reason":"\u003cstring>","reasonToken":"\u003cstring>","reasonTokenArguments":[{"name":"\u003cstring>","value":"\u003cunknown>"}]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"6cc82570-a5ca-4b7d-8a28-fab934c2fd02":{"description":"Partial Success - Some Items Failed","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"object","required":["text","token"],"properties":{"text":{"type":"string","description":"The message in English, ready to show to a user.","isRequired":true,"uniqueKey":"message.text","typeLabel":"string"},"token":{"type":"string","description":"A stable snake_case key for the message, so a client can show its own wording or a translation instead of text.","isRequired":true,"uniqueKey":"message.token","typeLabel":"string"},"tokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it.","isRequired":true,"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"description":"The value itself, as a string, number or other JSON value.","isRequired":true,"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value","typeLabel":"any"}},"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Values to fill into the client's own wording for token, such as the request id; absent when the message has none.","uniqueKey":"message.tokenArguments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for token, such as the request id; absent when the message has none.","uniqueKey":"message.tokenArguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.tokenArguments","typeLabel":"object[] | null"}},"description":"A readable message about the outcome and a stable token a client can branch on.","isRequired":true,"uniqueKey":"message","typeLabel":"object"},"content":{"type":"object","description":"The data the request returns with its metadata; left out on a response that carries no data, such as most errors.","required":["metadata"],"properties":{"metadata":{"type":"object","required":["dateFormat","dateTimeFormat"],"properties":{"dateFormat":{"type":"string","description":"The format of the dates in this response, yyyy-MM-dd.","isRequired":true,"uniqueKey":"content.metadata.dateFormat","typeLabel":"string"},"dateTimeFormat":{"type":"string","description":"The format of the timestamps in this response, yyyy-MM-ddTHH:mm:ss.fffZ in UTC.","isRequired":true,"uniqueKey":"content.metadata.dateTimeFormat","typeLabel":"string"},"paginationToken":{"oneOf":[{"type":"string","description":"Send this value back as the paginationToken query parameter to get the next page; absent when there are no more pages.","uniqueKey":"content.metadata.paginationToken.oneOf.0","typeLabel":"string"},{"type":"null","description":"Send this value back as the paginationToken query parameter to get the next page; absent when there are no more pages.","uniqueKey":"content.metadata.paginationToken.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.metadata.paginationToken","typeLabel":"string | null"}},"description":"The date formats the response uses and, on a paged list, the token for the next page.","isRequired":true,"uniqueKey":"content.metadata","typeLabel":"object"},"data":{"type":"object","description":"The resource or list the request asked for; left out when there is none.","required":["totalItems","totalFailed","failedItems"],"properties":{"totalItems":{"type":"integer","format":"int32","description":"Total number of items attempted to process","isRequired":true,"uniqueKey":"content.data.totalItems","typeLabel":"integer\u003cint32>"},"totalFailed":{"type":"integer","format":"int32","description":"Number of items that failed to process","isRequired":true,"uniqueKey":"content.data.totalFailed","typeLabel":"integer\u003cint32>"},"failedItems":{"type":"array","items":{"oneOf":[{}],"uniqueKey":"content.data.failedItems.items.[INDEX]","typeLabel":"any"},"description":"List of items that failed to process","isRequired":true,"uniqueKey":"content.data.failedItems","typeLabel":"any[]"},"successfulItems":{"oneOf":[{"type":"array","items":{"type":"object","required":["id","employeeId","description","unitName","units","payRate","taxType","niType","payType","isPensionable","statutoryType","createdDate","createdBy","updatedDate","updatedBy","canEdit","billingStatus"],"properties":{"id":{"type":"string","description":"The line's id: the one supplied when it was created, or one generated when none was.","example":"PAYLINE-001","isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].id","typeLabel":"string"},"employeeId":{"type":"string","description":"The employee the line belongs to.","example":"EMPLOYEE-001","isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].employeeId","typeLabel":"string"},"description":{"type":"string","description":"The text shown for the line on the payslip.","example":"Morning shift","isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].description","typeLabel":"string"},"unitName":{"type":"string","enum":["Hour","Day","Week","Month","Year","Fixed","Informational","Percentage"],"description":"What one unit of the line is, such as Hour, Day or Fixed.","isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].unitName","typeLabel":"enum\u003cstring>"},"units":{"type":"number","format":"decimal","description":"How many units the line pays.","example":8,"isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].units","typeLabel":"number\u003cdecimal>"},"payRate":{"type":"number","format":"decimal","description":"The rate per unit; with units it gives the line's value.","example":10.5,"isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].payRate","typeLabel":"number\u003cdecimal>"},"taxType":{"type":"string","enum":["Taxable","NonTaxable"],"description":"Whether the line is taxable, copied from its pay element when the line was saved.","isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].taxType","typeLabel":"enum\u003cstring>"},"niType":{"type":"string","enum":["Niable","NonNiable","EmployerOnly"],"description":"How the line is treated for National Insurance, copied from its pay element when the line was saved.","isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].niType","typeLabel":"enum\u003cstring>"},"payType":{"type":"string","enum":["Payable","Deductible","Informational"],"description":"The kind of pay the line is, copied from its pay element when the line was saved.","isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].payType","typeLabel":"enum\u003cstring>"},"isPensionable":{"type":"boolean","description":"Whether the payroll line is pensionable","example":true,"isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].isPensionable","typeLabel":"boolean"},"statutoryType":{"type":"string","enum":["None","StatutorySickPay","StatutoryMaternityPay","StatutoryPaternityPay","StatutoryAdoptionPay","SharedParentalPay","StatutoryParentalBereavementPay","StatutorySharedParentalPay","StatutoryNeoNatalCarePay","StatutoryParentalBereavementPayNorthernIreland"],"description":"The statutory type for this payroll line","isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].statutoryType","typeLabel":"enum\u003cstring>"},"createdDate":{"type":"string","description":"When the line item was created","example":"2024-01-01T00:00:00Z","isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].createdDate","typeLabel":"string"},"createdBy":{"type":"string","description":"Who created the line item","example":"user_123","isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].createdBy","typeLabel":"string"},"updatedDate":{"type":"string","description":"When the line item was last updated","example":"2024-01-02T00:00:00Z","isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].updatedDate","typeLabel":"string"},"updatedBy":{"type":"string","description":"Who last updated the line item","example":"user_456","isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].updatedBy","typeLabel":"string"},"canEdit":{"type":"boolean","description":"Indicates whether this line item can be edited. Court order line items are not editable, for example, because they are automatically generated.","example":true,"isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].canEdit","typeLabel":"boolean"},"billingStatus":{"type":"string","enum":["None","Accrued","Invoiced"],"description":"The billing status of the payroll line item","example":"None","isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].billingStatus","typeLabel":"enum\u003cstring>"},"clientId":{"oneOf":[{"type":"string","description":"The client this line is billed to, if any.","example":"CLIENT-001","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].clientId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The client this line is billed to, if any.","example":"CLIENT-001","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].clientId.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].clientId","typeLabel":"string | null"},"date":{"oneOf":[{"type":"string","description":"The date the line applies to, as supplied (yyyy-MM-dd).","example":"2024-05-20","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].date.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the line applies to, as supplied (yyyy-MM-dd).","example":"2024-05-20","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].date.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].date","typeLabel":"string | null"},"payrollDate":{"oneOf":[{"type":"string","description":"The date that decides which pay run takes the line: its own date, or the day after the latest locked pay run's period when its date fell on or before that.","example":"2024-07-06","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].payrollDate.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date that decides which pay run takes the line: its own date, or the day after the latest locked pay run's period when its date fell on or before that.","example":"2024-07-06","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].payrollDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].payrollDate","typeLabel":"string | null"},"chargeRate":{"oneOf":[{"type":"number","format":"decimal","description":"The rate the client is charged per charge unit.","example":15.5,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].chargeRate.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"The rate the client is charged per charge unit.","example":15.5,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].chargeRate.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].chargeRate","typeLabel":"number\u003cdecimal> | null"},"chargeUnits":{"oneOf":[{"type":"number","format":"decimal","description":"How many units the client is charged for; multiplied by chargeRate and rounded to the penny to give the charge.","example":1,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].chargeUnits.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"How many units the client is charged for; multiplied by chargeRate and rounded to the penny to give the charge.","example":1,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].chargeUnits.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].chargeUnits","typeLabel":"number\u003cdecimal> | null"},"chargeDescription":{"oneOf":[{"type":"string","description":"Charge description for billing; when not provided and clientId is set, defaults to the pay description.","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].chargeDescription.oneOf.0","typeLabel":"string"},{"type":"null","description":"Charge description for billing; when not provided and clientId is set, defaults to the pay description.","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].chargeDescription.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].chargeDescription","typeLabel":"string | null"},"payElementId":{"oneOf":[{"type":"string","description":"The pay element the line is paid under.","example":"PAYELEM-001","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].payElementId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The pay element the line is paid under.","example":"PAYELEM-001","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].payElementId.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].payElementId","typeLabel":"string | null"},"tags":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The tag's name within its group.","example":"FullTime","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].tags.oneOf.0.items.[INDEX].name","typeLabel":"string"},"group":{"type":"string","description":"The group the tag belongs to.","example":"EmploymentType","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].tags.oneOf.0.items.[INDEX].group","typeLabel":"string"},"value":{"type":"string","description":"The tag's value for that name.","example":"FullTime","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].tags.oneOf.0.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].tags.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Tags attached to the line.","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].tags.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"name":{"type":"string","description":"The tag's name within its group.","example":"FullTime"},"group":{"type":"string","description":"The group the tag belongs to.","example":"EmploymentType"},"value":{"type":"string","description":"The tag's value for that name.","example":"FullTime"}}},"description":"Tags attached to the line.","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].tags.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].tags","typeLabel":"object[] | null"},"poNumber":{"oneOf":[{"type":"string","description":"The purchase order number supplied with the line, for billing.","example":"PO-12345","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].poNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"The purchase order number supplied with the line, for billing.","example":"PO-12345","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].poNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].poNumber","typeLabel":"string | null"},"originalValue":{"oneOf":[{"type":"number","format":"decimal","description":"The original deduction amount before protected earnings adjustment","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].originalValue.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"The original deduction amount before protected earnings adjustment","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].originalValue.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].originalValue","typeLabel":"number\u003cdecimal> | null"},"unitType":{"type":"string","enum":["Amount","Percentage"],"description":"The unit type for calculation. Amount uses payRate * units, Percentage uses payRate * (units / 100)","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].unitType","typeLabel":"enum\u003cstring>"},"lineItemMetadata":{"oneOf":[{"type":"object","description":"Metadata for this line item","properties":{"courtOrders":{"oneOf":[{"type":"object","description":"Court order metadata for this line item","properties":{"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this order.","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.protectedEarningsSetting.oneOf.0","typeLabel":"string"},{"type":"null","description":"The protected earnings rule applied to this order.","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.protectedEarningsSetting.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.protectedEarningsSetting","typeLabel":"string | null"},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.protectedEarningsAmount.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.protectedEarningsAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.protectedEarningsAmount","typeLabel":"number\u003cdecimal> | null"},"shortfallCarryForward":{"oneOf":[{"type":"number","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.shortfallCarryForward.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.shortfallCarryForward.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.shortfallCarryForward","typeLabel":"number\u003cdecimal> | null"},"rateType":{"oneOf":[{"type":"string","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.rateType.oneOf.0","typeLabel":"string"},{"type":"null","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.rateType.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.rateType","typeLabel":"string | null"},"adminFeeApplied":{"oneOf":[{"type":"boolean","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.adminFeeApplied.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.adminFeeApplied.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.adminFeeApplied","typeLabel":"boolean | null"},"tableType":{"oneOf":[{"type":"string","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.tableType.oneOf.0","typeLabel":"string"},{"type":"null","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.tableType.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.tableType","typeLabel":"string | null"},"remittanceReference":{"oneOf":[{"type":"string","description":"Remittance reference as instructed on the order","example":"REF123","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.remittanceReference.oneOf.0","typeLabel":"string"},{"type":"null","description":"Remittance reference as instructed on the order","example":"REF123","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.remittanceReference.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.remittanceReference","typeLabel":"string | null"},"remittanceDeadline":{"oneOf":[{"type":"string","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.remittanceDeadline.oneOf.0","typeLabel":"string"},{"type":"null","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.remittanceDeadline.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.remittanceDeadline","typeLabel":"string | null"},"jurisdiction":{"oneOf":[{"type":"string","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.jurisdiction.oneOf.0","typeLabel":"string"},{"type":"null","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.jurisdiction.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.jurisdiction","typeLabel":"string | null"},"aeoCategory":{"oneOf":[{"type":"string","description":"AEO category","example":"Priority","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.aeoCategory.oneOf.0","typeLabel":"string"},{"type":"null","description":"AEO category","example":"Priority","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.aeoCategory.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.aeoCategory","typeLabel":"string | null"},"instructionAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The amount the order instructs, before any protection is applied.","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.instructionAmount.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"The amount the order instructs, before any protection is applied.","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.instructionAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.instructionAmount","typeLabel":"number\u003cdecimal> | null"},"orderDate":{"oneOf":[{"type":"string","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.orderDate.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.orderDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.orderDate","typeLabel":"string\u003cdate> | null"},"dailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.dailyRate.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.dailyRate.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.dailyRate","typeLabel":"number\u003cdecimal> | null"},"ordinaryDebtAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.ordinaryDebtAmount.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.ordinaryDebtAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.ordinaryDebtAmount","typeLabel":"number\u003cdecimal> | null"},"maintenanceDailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.maintenanceDailyRate.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.maintenanceDailyRate.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.maintenanceDailyRate","typeLabel":"number\u003cdecimal> | null"},"agreedHigherRatePercentage":{"oneOf":[{"type":"number","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.agreedHigherRatePercentage.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.agreedHigherRatePercentage.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.agreedHigherRatePercentage","typeLabel":"number\u003cdecimal> | null"},"normalDeductionRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.normalDeductionRate.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.normalDeductionRate.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.normalDeductionRate","typeLabel":"number\u003cdecimal> | null"},"protectedEarningsRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.protectedEarningsRate.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.protectedEarningsRate.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.protectedEarningsRate","typeLabel":"number\u003cdecimal> | null"},"ratePeriod":{"type":"string","enum":["Weekly","Monthly","Daily"],"description":"Enforcement of Judgments Office order (Northern Ireland) only. The period the order's two rates are stated for.","example":"Weekly","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.ratePeriod","typeLabel":"enum\u003cstring>"},"lastDeductedPayDate":{"oneOf":[{"type":"string","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.lastDeductedPayDate.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.lastDeductedPayDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.lastDeductedPayDate","typeLabel":"string\u003cdate> | null"},"startDate":{"oneOf":[{"type":"string","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.startDate.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.startDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.startDate","typeLabel":"string\u003cdate> | null"},"lastPayDate":{"oneOf":[{"type":"string","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.lastPayDate.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.lastPayDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.lastPayDate","typeLabel":"string\u003cdate> | null"},"firstPayDate":{"oneOf":[{"type":"string","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.firstPayDate.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.firstPayDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0.firstPayDate","typeLabel":"string\u003cdate> | null"}},"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.0","typeLabel":"object"},{"type":"null","description":"Court order metadata for this line item","properties":{"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this order."},{"type":"null","description":"The protected earnings rule applied to this order."}]},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100},{"type":"null","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100}]},"shortfallCarryForward":{"oneOf":[{"type":"number","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0},{"type":"null","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0}]},"rateType":{"oneOf":[{"type":"string","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable"},{"type":"null","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable"}]},"adminFeeApplied":{"oneOf":[{"type":"boolean","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true},{"type":"null","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true}]},"tableType":{"oneOf":[{"type":"string","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A"},{"type":"null","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A"}]},"remittanceReference":{"oneOf":[{"type":"string","description":"Remittance reference as instructed on the order","example":"REF123"},{"type":"null","description":"Remittance reference as instructed on the order","example":"REF123"}]},"remittanceDeadline":{"oneOf":[{"type":"string","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days"},{"type":"null","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days"}]},"jurisdiction":{"oneOf":[{"type":"string","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND"},{"type":"null","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND"}]},"aeoCategory":{"oneOf":[{"type":"string","description":"AEO category","example":"Priority"},{"type":"null","description":"AEO category","example":"Priority"}]},"instructionAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The amount the order instructs, before any protection is applied."},{"type":"null","format":"decimal","description":"The amount the order instructs, before any protection is applied."}]},"orderDate":{"oneOf":[{"type":"string","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01"},{"type":"null","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01"}]},"dailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10},{"type":"null","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10}]},"ordinaryDebtAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000}]},"maintenanceDailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5}]},"agreedHigherRatePercentage":{"oneOf":[{"type":"number","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25},{"type":"null","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25}]},"normalDeductionRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50}]},"protectedEarningsRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200}]},"ratePeriod":{"type":"string","enum":["Weekly","Monthly","Daily"],"description":"Enforcement of Judgments Office order (Northern Ireland) only. The period the order's two rates are stated for.","example":"Weekly"},"lastDeductedPayDate":{"oneOf":[{"type":"string","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30"},{"type":"null","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30"}]},"startDate":{"oneOf":[{"type":"string","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01"},{"type":"null","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01"}]},"lastPayDate":{"oneOf":[{"type":"string","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30"},{"type":"null","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30"}]},"firstPayDate":{"oneOf":[{"type":"string","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30"},{"type":"null","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30"}]}},"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.courtOrders","typeLabel":"object | null"},"recurringLineItem":{"oneOf":[{"type":"object","description":"The recurring line item this line was generated from, if any.","properties":{"recurringLineItemId":{"oneOf":[{"type":"string","description":"The id of the recurring line item this line was generated from.","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.recurringLineItemId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The id of the recurring line item this line was generated from.","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.recurringLineItemId.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.recurringLineItemId","typeLabel":"string | null"},"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this recurring deduction.","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.protectedEarningsSetting.oneOf.0","typeLabel":"string"},{"type":"null","description":"The protected earnings rule applied to this recurring deduction.","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.protectedEarningsSetting.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.protectedEarningsSetting","typeLabel":"string | null"},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount.","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.protectedEarningsAmount.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount.","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.protectedEarningsAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.protectedEarningsAmount","typeLabel":"number\u003cdecimal> | null"},"protectedEarningsPercentage":{"oneOf":[{"type":"number","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage.","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.protectedEarningsPercentage.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage.","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.protectedEarningsPercentage.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0.protectedEarningsPercentage","typeLabel":"number\u003cdecimal> | null"}},"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.0","typeLabel":"object"},{"type":"null","description":"The recurring line item this line was generated from, if any.","properties":{"recurringLineItemId":{"oneOf":[{"type":"string","description":"The id of the recurring line item this line was generated from."},{"type":"null","description":"The id of the recurring line item this line was generated from."}]},"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this recurring deduction."},{"type":"null","description":"The protected earnings rule applied to this recurring deduction."}]},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount."},{"type":"null","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount."}]},"protectedEarningsPercentage":{"oneOf":[{"type":"number","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage."},{"type":"null","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage."}]}},"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.recurringLineItem","typeLabel":"object | null"},"pensions":{"oneOf":[{"type":"object","description":"Pension metadata carried on deterministic pension contribution lines (internal_pension_contrib_* / internal_pension_topup_*) added by the platform under line-item contributions.","properties":{"pensionGroupId":{"oneOf":[{"type":"string","description":"The pension group the contribution line was calculated under.","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.pensionGroupId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The pension group the contribution line was calculated under.","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.pensionGroupId.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.pensionGroupId","typeLabel":"string | null"},"contributionSource":{"type":"string","enum":["Group","RecurringContributionOverride","ContributionOverride"],"description":"Where the contribution settings came from: Group (the pension group), RecurringContributionOverride (the employee's standing override) or ContributionOverride (a one-off override for this pay period only). Only set on the group contribution line; null elsewhere.","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.contributionSource","typeLabel":"enum\u003cstring>"},"basis":{"oneOf":[{"type":"string","description":"Pensionable | QualifyingEarnings","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.basis.oneOf.0","typeLabel":"string"},{"type":"null","description":"Pensionable | QualifyingEarnings","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.basis.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.basis","typeLabel":"string | null"},"employerContributionType":{"type":"string","enum":["Percentage","FixedAmount"],"description":"How the employer share is read. Null on lines with no employer share (additional voluntary contribution lines).","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.employerContributionType","typeLabel":"enum\u003cstring>"},"employerContributionValue":{"oneOf":[{"type":"number","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount.","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.employerContributionValue.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount.","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.employerContributionValue.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.employerContributionValue","typeLabel":"number\u003cdecimal> | null"},"nationalInsuranceSavingsFactor":{"oneOf":[{"type":"number","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice.","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.nationalInsuranceSavingsFactor.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice.","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.nationalInsuranceSavingsFactor.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.nationalInsuranceSavingsFactor","typeLabel":"number\u003cdecimal> | null"},"employerRefundAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create.","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.employerRefundAmount.oneOf.0","typeLabel":"number\u003cdecimal>"},{"type":"null","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create.","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.employerRefundAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.employerRefundAmount","typeLabel":"number\u003cdecimal> | null"},"reliefAtSourceApplied":{"oneOf":[{"type":"boolean","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed.","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.reliefAtSourceApplied.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed.","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.reliefAtSourceApplied.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.reliefAtSourceApplied","typeLabel":"boolean | null"},"reliefAtSourceWithheldReason":{"type":"string","enum":["MissingNationalInsuranceNumber"],"description":"Why relief at source was withheld when it would otherwise have applied. Null whenever reliefAtSourceApplied is not false.","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.reliefAtSourceWithheldReason","typeLabel":"enum\u003cstring>"},"pensionType":{"oneOf":[{"type":"string","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input.","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.pensionType.oneOf.0","typeLabel":"string"},{"type":"null","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input.","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.pensionType.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0.pensionType","typeLabel":"string | null"}},"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.0","typeLabel":"object"},{"type":"null","description":"Pension metadata carried on deterministic pension contribution lines (internal_pension_contrib_* / internal_pension_topup_*) added by the platform under line-item contributions.","properties":{"pensionGroupId":{"oneOf":[{"type":"string","description":"The pension group the contribution line was calculated under."},{"type":"null","description":"The pension group the contribution line was calculated under."}]},"contributionSource":{"type":"string","enum":["Group","RecurringContributionOverride","ContributionOverride"],"description":"Where the contribution settings came from: Group (the pension group), RecurringContributionOverride (the employee's standing override) or ContributionOverride (a one-off override for this pay period only). Only set on the group contribution line; null elsewhere."},"basis":{"oneOf":[{"type":"string","description":"Pensionable | QualifyingEarnings"},{"type":"null","description":"Pensionable | QualifyingEarnings"}]},"employerContributionType":{"type":"string","enum":["Percentage","FixedAmount"],"description":"How the employer share is read. Null on lines with no employer share (additional voluntary contribution lines)."},"employerContributionValue":{"oneOf":[{"type":"number","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount."},{"type":"null","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount."}]},"nationalInsuranceSavingsFactor":{"oneOf":[{"type":"number","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice."},{"type":"null","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice."}]},"employerRefundAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create."},{"type":"null","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create."}]},"reliefAtSourceApplied":{"oneOf":[{"type":"boolean","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed."},{"type":"null","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed."}]},"reliefAtSourceWithheldReason":{"type":"string","enum":["MissingNationalInsuranceNumber"],"description":"Why relief at source was withheld when it would otherwise have applied. Null whenever reliefAtSourceApplied is not false."},"pensionType":{"oneOf":[{"type":"string","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input."},{"type":"null","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input."}]}},"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.pensions.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0.pensions","typeLabel":"object | null"}},"example":{"courtOrders":{"protectedEarningsAmount":100,"shortfallCarryForward":0,"rateType":"StandardTable","adminFeeApplied":true,"tableType":"A","remittanceReference":"REF123","remittanceDeadline":"5 days","jurisdiction":"ENGLAND","aeoCategory":"Priority"}},"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.0","typeLabel":"object"},{"type":"null","description":"Metadata for this line item","properties":{"courtOrders":{"oneOf":[{"type":"object","description":"Court order metadata for this line item","properties":{"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this order."},{"type":"null","description":"The protected earnings rule applied to this order."}]},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100},{"type":"null","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100}]},"shortfallCarryForward":{"oneOf":[{"type":"number","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0},{"type":"null","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0}]},"rateType":{"oneOf":[{"type":"string","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable"},{"type":"null","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable"}]},"adminFeeApplied":{"oneOf":[{"type":"boolean","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true},{"type":"null","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true}]},"tableType":{"oneOf":[{"type":"string","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A"},{"type":"null","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A"}]},"remittanceReference":{"oneOf":[{"type":"string","description":"Remittance reference as instructed on the order","example":"REF123"},{"type":"null","description":"Remittance reference as instructed on the order","example":"REF123"}]},"remittanceDeadline":{"oneOf":[{"type":"string","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days"},{"type":"null","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days"}]},"jurisdiction":{"oneOf":[{"type":"string","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND"},{"type":"null","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND"}]},"aeoCategory":{"oneOf":[{"type":"string","description":"AEO category","example":"Priority"},{"type":"null","description":"AEO category","example":"Priority"}]},"instructionAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The amount the order instructs, before any protection is applied."},{"type":"null","format":"decimal","description":"The amount the order instructs, before any protection is applied."}]},"orderDate":{"oneOf":[{"type":"string","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01"},{"type":"null","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01"}]},"dailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10},{"type":"null","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10}]},"ordinaryDebtAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000}]},"maintenanceDailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5}]},"agreedHigherRatePercentage":{"oneOf":[{"type":"number","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25},{"type":"null","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25}]},"normalDeductionRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50}]},"protectedEarningsRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200}]},"ratePeriod":{"type":"string","enum":["Weekly","Monthly","Daily"],"description":"Enforcement of Judgments Office order (Northern Ireland) only. The period the order's two rates are stated for.","example":"Weekly"},"lastDeductedPayDate":{"oneOf":[{"type":"string","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30"},{"type":"null","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30"}]},"startDate":{"oneOf":[{"type":"string","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01"},{"type":"null","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01"}]},"lastPayDate":{"oneOf":[{"type":"string","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30"},{"type":"null","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30"}]},"firstPayDate":{"oneOf":[{"type":"string","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30"},{"type":"null","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30"}]}}},{"type":"null","description":"Court order metadata for this line item","properties":{"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this order."},{"type":"null","description":"The protected earnings rule applied to this order."}]},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100},{"type":"null","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100}]},"shortfallCarryForward":{"oneOf":[{"type":"number","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0},{"type":"null","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0}]},"rateType":{"oneOf":[{"type":"string","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable"},{"type":"null","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable"}]},"adminFeeApplied":{"oneOf":[{"type":"boolean","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true},{"type":"null","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true}]},"tableType":{"oneOf":[{"type":"string","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A"},{"type":"null","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A"}]},"remittanceReference":{"oneOf":[{"type":"string","description":"Remittance reference as instructed on the order","example":"REF123"},{"type":"null","description":"Remittance reference as instructed on the order","example":"REF123"}]},"remittanceDeadline":{"oneOf":[{"type":"string","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days"},{"type":"null","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days"}]},"jurisdiction":{"oneOf":[{"type":"string","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND"},{"type":"null","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND"}]},"aeoCategory":{"oneOf":[{"type":"string","description":"AEO category","example":"Priority"},{"type":"null","description":"AEO category","example":"Priority"}]},"instructionAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The amount the order instructs, before any protection is applied."},{"type":"null","format":"decimal","description":"The amount the order instructs, before any protection is applied."}]},"orderDate":{"oneOf":[{"type":"string","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01"},{"type":"null","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01"}]},"dailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10},{"type":"null","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10}]},"ordinaryDebtAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000}]},"maintenanceDailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5}]},"agreedHigherRatePercentage":{"oneOf":[{"type":"number","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25},{"type":"null","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25}]},"normalDeductionRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50}]},"protectedEarningsRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200}]},"ratePeriod":{"type":"string","enum":["Weekly","Monthly","Daily"],"description":"Enforcement of Judgments Office order (Northern Ireland) only. The period the order's two rates are stated for.","example":"Weekly"},"lastDeductedPayDate":{"oneOf":[{"type":"string","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30"},{"type":"null","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30"}]},"startDate":{"oneOf":[{"type":"string","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01"},{"type":"null","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01"}]},"lastPayDate":{"oneOf":[{"type":"string","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30"},{"type":"null","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30"}]},"firstPayDate":{"oneOf":[{"type":"string","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30"},{"type":"null","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30"}]}}}]},"recurringLineItem":{"oneOf":[{"type":"object","description":"The recurring line item this line was generated from, if any.","properties":{"recurringLineItemId":{"oneOf":[{"type":"string","description":"The id of the recurring line item this line was generated from."},{"type":"null","description":"The id of the recurring line item this line was generated from."}]},"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this recurring deduction."},{"type":"null","description":"The protected earnings rule applied to this recurring deduction."}]},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount."},{"type":"null","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount."}]},"protectedEarningsPercentage":{"oneOf":[{"type":"number","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage."},{"type":"null","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage."}]}}},{"type":"null","description":"The recurring line item this line was generated from, if any.","properties":{"recurringLineItemId":{"oneOf":[{"type":"string","description":"The id of the recurring line item this line was generated from."},{"type":"null","description":"The id of the recurring line item this line was generated from."}]},"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this recurring deduction."},{"type":"null","description":"The protected earnings rule applied to this recurring deduction."}]},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount."},{"type":"null","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount."}]},"protectedEarningsPercentage":{"oneOf":[{"type":"number","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage."},{"type":"null","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage."}]}}}]},"pensions":{"oneOf":[{"type":"object","description":"Pension metadata carried on deterministic pension contribution lines (internal_pension_contrib_* / internal_pension_topup_*) added by the platform under line-item contributions.","properties":{"pensionGroupId":{"oneOf":[{"type":"string","description":"The pension group the contribution line was calculated under."},{"type":"null","description":"The pension group the contribution line was calculated under."}]},"contributionSource":{"type":"string","enum":["Group","RecurringContributionOverride","ContributionOverride"],"description":"Where the contribution settings came from: Group (the pension group), RecurringContributionOverride (the employee's standing override) or ContributionOverride (a one-off override for this pay period only). Only set on the group contribution line; null elsewhere."},"basis":{"oneOf":[{"type":"string","description":"Pensionable | QualifyingEarnings"},{"type":"null","description":"Pensionable | QualifyingEarnings"}]},"employerContributionType":{"type":"string","enum":["Percentage","FixedAmount"],"description":"How the employer share is read. Null on lines with no employer share (additional voluntary contribution lines)."},"employerContributionValue":{"oneOf":[{"type":"number","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount."},{"type":"null","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount."}]},"nationalInsuranceSavingsFactor":{"oneOf":[{"type":"number","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice."},{"type":"null","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice."}]},"employerRefundAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create."},{"type":"null","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create."}]},"reliefAtSourceApplied":{"oneOf":[{"type":"boolean","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed."},{"type":"null","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed."}]},"reliefAtSourceWithheldReason":{"type":"string","enum":["MissingNationalInsuranceNumber"],"description":"Why relief at source was withheld when it would otherwise have applied. Null whenever reliefAtSourceApplied is not false."},"pensionType":{"oneOf":[{"type":"string","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input."},{"type":"null","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input."}]}}},{"type":"null","description":"Pension metadata carried on deterministic pension contribution lines (internal_pension_contrib_* / internal_pension_topup_*) added by the platform under line-item contributions.","properties":{"pensionGroupId":{"oneOf":[{"type":"string","description":"The pension group the contribution line was calculated under."},{"type":"null","description":"The pension group the contribution line was calculated under."}]},"contributionSource":{"type":"string","enum":["Group","RecurringContributionOverride","ContributionOverride"],"description":"Where the contribution settings came from: Group (the pension group), RecurringContributionOverride (the employee's standing override) or ContributionOverride (a one-off override for this pay period only). Only set on the group contribution line; null elsewhere."},"basis":{"oneOf":[{"type":"string","description":"Pensionable | QualifyingEarnings"},{"type":"null","description":"Pensionable | QualifyingEarnings"}]},"employerContributionType":{"type":"string","enum":["Percentage","FixedAmount"],"description":"How the employer share is read. Null on lines with no employer share (additional voluntary contribution lines)."},"employerContributionValue":{"oneOf":[{"type":"number","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount."},{"type":"null","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount."}]},"nationalInsuranceSavingsFactor":{"oneOf":[{"type":"number","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice."},{"type":"null","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice."}]},"employerRefundAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create."},{"type":"null","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create."}]},"reliefAtSourceApplied":{"oneOf":[{"type":"boolean","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed."},{"type":"null","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed."}]},"reliefAtSourceWithheldReason":{"type":"string","enum":["MissingNationalInsuranceNumber"],"description":"Why relief at source was withheld when it would otherwise have applied. Null whenever reliefAtSourceApplied is not false."},"pensionType":{"oneOf":[{"type":"string","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input."},{"type":"null","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input."}]}}}]}},"example":{"courtOrders":{"protectedEarningsAmount":100,"shortfallCarryForward":0,"rateType":"StandardTable","adminFeeApplied":true,"tableType":"A","remittanceReference":"REF123","remittanceDeadline":"5 days","jurisdiction":"ENGLAND","aeoCategory":"Priority"}},"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].lineItemMetadata","typeLabel":"object | null"},"eligibility":{"oneOf":[{"type":"object","description":"Which court order types may take money from this line, copied from its pay element. Read-only.","properties":{"courtOrders":{"oneOf":[{"type":"object","description":"Which court order types may take money from this pay. Read-only.","required":["cmsDeo","dea","aeoPriority","aeoNonPriority","ctaeo","ea","mcaeo","cma","cao","niFinesAeo","niEjoAeo"],"properties":{"cmsDeo":{"type":"boolean","description":"Child Maintenance Service deduction from earnings order may take money from this pay.","example":true,"isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].eligibility.oneOf.0.courtOrders.oneOf.0.cmsDeo","typeLabel":"boolean"},"dea":{"type":"boolean","description":"Direct earnings attachment (DWP) may take money from this pay.","example":true,"isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].eligibility.oneOf.0.courtOrders.oneOf.0.dea","typeLabel":"boolean"},"aeoPriority":{"type":"boolean","description":"Attachment of earnings order, priority (maintenance) may take money from this pay.","example":true,"isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].eligibility.oneOf.0.courtOrders.oneOf.0.aeoPriority","typeLabel":"boolean"},"aeoNonPriority":{"type":"boolean","description":"Attachment of earnings order, non-priority (civil debt) may take money from this pay.","example":true,"isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].eligibility.oneOf.0.courtOrders.oneOf.0.aeoNonPriority","typeLabel":"boolean"},"ctaeo":{"type":"boolean","description":"Council tax attachment of earnings order may take money from this pay.","example":true,"isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].eligibility.oneOf.0.courtOrders.oneOf.0.ctaeo","typeLabel":"boolean"},"ea":{"type":"boolean","description":"Earnings arrestment (Scotland) may take money from this pay.","example":true,"isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].eligibility.oneOf.0.courtOrders.oneOf.0.ea","typeLabel":"boolean"},"mcaeo":{"type":"boolean","description":"Magistrates' court attachment of earnings order (fines) may take money from this pay.","example":true,"isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].eligibility.oneOf.0.courtOrders.oneOf.0.mcaeo","typeLabel":"boolean"},"cma":{"type":"boolean","description":"Current maintenance arrestment (Scotland) may take money from this pay.","example":true,"isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].eligibility.oneOf.0.courtOrders.oneOf.0.cma","typeLabel":"boolean"},"cao":{"type":"boolean","description":"Conjoined arrestment order (Scotland) may take money from this pay.","example":true,"isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].eligibility.oneOf.0.courtOrders.oneOf.0.cao","typeLabel":"boolean"},"niFinesAeo":{"type":"boolean","description":"Attachment of earnings order for fines (Northern Ireland) may take money from this pay.","example":true,"isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].eligibility.oneOf.0.courtOrders.oneOf.0.niFinesAeo","typeLabel":"boolean"},"niEjoAeo":{"type":"boolean","description":"Attachment of earnings order made by the Enforcement of Judgments Office (Northern Ireland) may take money from this pay.","example":true,"isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].eligibility.oneOf.0.courtOrders.oneOf.0.niEjoAeo","typeLabel":"boolean"}},"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].eligibility.oneOf.0.courtOrders.oneOf.0","typeLabel":"object"},{"type":"null","description":"Which court order types may take money from this pay. Read-only.","required":["cmsDeo","dea","aeoPriority","aeoNonPriority","ctaeo","ea","mcaeo","cma","cao","niFinesAeo","niEjoAeo"],"properties":{"cmsDeo":{"type":"boolean","description":"Child Maintenance Service deduction from earnings order may take money from this pay.","example":true},"dea":{"type":"boolean","description":"Direct earnings attachment (DWP) may take money from this pay.","example":true},"aeoPriority":{"type":"boolean","description":"Attachment of earnings order, priority (maintenance) may take money from this pay.","example":true},"aeoNonPriority":{"type":"boolean","description":"Attachment of earnings order, non-priority (civil debt) may take money from this pay.","example":true},"ctaeo":{"type":"boolean","description":"Council tax attachment of earnings order may take money from this pay.","example":true},"ea":{"type":"boolean","description":"Earnings arrestment (Scotland) may take money from this pay.","example":true},"mcaeo":{"type":"boolean","description":"Magistrates' court attachment of earnings order (fines) may take money from this pay.","example":true},"cma":{"type":"boolean","description":"Current maintenance arrestment (Scotland) may take money from this pay.","example":true},"cao":{"type":"boolean","description":"Conjoined arrestment order (Scotland) may take money from this pay.","example":true},"niFinesAeo":{"type":"boolean","description":"Attachment of earnings order for fines (Northern Ireland) may take money from this pay.","example":true},"niEjoAeo":{"type":"boolean","description":"Attachment of earnings order made by the Enforcement of Judgments Office (Northern Ireland) may take money from this pay.","example":true}},"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].eligibility.oneOf.0.courtOrders.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].eligibility.oneOf.0.courtOrders","typeLabel":"object | null"}},"example":{"courtOrders":{"cmsDeo":true,"dea":true,"aeoPriority":true,"aeoNonPriority":true,"ctaeo":true,"ea":true,"mcaeo":true,"cma":true,"cao":true,"niFinesAeo":true,"niEjoAeo":true}},"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].eligibility.oneOf.0","typeLabel":"object"},{"type":"null","description":"Which court order types may take money from this line, copied from its pay element. Read-only.","properties":{"courtOrders":{"oneOf":[{"type":"object","description":"Which court order types may take money from this pay. Read-only.","required":["cmsDeo","dea","aeoPriority","aeoNonPriority","ctaeo","ea","mcaeo","cma","cao","niFinesAeo","niEjoAeo"],"properties":{"cmsDeo":{"type":"boolean","description":"Child Maintenance Service deduction from earnings order may take money from this pay.","example":true},"dea":{"type":"boolean","description":"Direct earnings attachment (DWP) may take money from this pay.","example":true},"aeoPriority":{"type":"boolean","description":"Attachment of earnings order, priority (maintenance) may take money from this pay.","example":true},"aeoNonPriority":{"type":"boolean","description":"Attachment of earnings order, non-priority (civil debt) may take money from this pay.","example":true},"ctaeo":{"type":"boolean","description":"Council tax attachment of earnings order may take money from this pay.","example":true},"ea":{"type":"boolean","description":"Earnings arrestment (Scotland) may take money from this pay.","example":true},"mcaeo":{"type":"boolean","description":"Magistrates' court attachment of earnings order (fines) may take money from this pay.","example":true},"cma":{"type":"boolean","description":"Current maintenance arrestment (Scotland) may take money from this pay.","example":true},"cao":{"type":"boolean","description":"Conjoined arrestment order (Scotland) may take money from this pay.","example":true},"niFinesAeo":{"type":"boolean","description":"Attachment of earnings order for fines (Northern Ireland) may take money from this pay.","example":true},"niEjoAeo":{"type":"boolean","description":"Attachment of earnings order made by the Enforcement of Judgments Office (Northern Ireland) may take money from this pay.","example":true}}},{"type":"null","description":"Which court order types may take money from this pay. Read-only.","required":["cmsDeo","dea","aeoPriority","aeoNonPriority","ctaeo","ea","mcaeo","cma","cao","niFinesAeo","niEjoAeo"],"properties":{"cmsDeo":{"type":"boolean","description":"Child Maintenance Service deduction from earnings order may take money from this pay.","example":true},"dea":{"type":"boolean","description":"Direct earnings attachment (DWP) may take money from this pay.","example":true},"aeoPriority":{"type":"boolean","description":"Attachment of earnings order, priority (maintenance) may take money from this pay.","example":true},"aeoNonPriority":{"type":"boolean","description":"Attachment of earnings order, non-priority (civil debt) may take money from this pay.","example":true},"ctaeo":{"type":"boolean","description":"Council tax attachment of earnings order may take money from this pay.","example":true},"ea":{"type":"boolean","description":"Earnings arrestment (Scotland) may take money from this pay.","example":true},"mcaeo":{"type":"boolean","description":"Magistrates' court attachment of earnings order (fines) may take money from this pay.","example":true},"cma":{"type":"boolean","description":"Current maintenance arrestment (Scotland) may take money from this pay.","example":true},"cao":{"type":"boolean","description":"Conjoined arrestment order (Scotland) may take money from this pay.","example":true},"niFinesAeo":{"type":"boolean","description":"Attachment of earnings order for fines (Northern Ireland) may take money from this pay.","example":true},"niEjoAeo":{"type":"boolean","description":"Attachment of earnings order made by the Enforcement of Judgments Office (Northern Ireland) may take money from this pay.","example":true}}}]}},"example":{"courtOrders":{"cmsDeo":true,"dea":true,"aeoPriority":true,"aeoNonPriority":true,"ctaeo":true,"ea":true,"mcaeo":true,"cma":true,"cao":true,"niFinesAeo":true,"niEjoAeo":true}},"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].eligibility.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].eligibility","typeLabel":"object | null"},"paymentDetails":{"oneOf":[{"type":"object","description":"Payment details (BACS information) that can override default employee bank account","properties":{"accountName":{"oneOf":[{"type":"string","description":"Account name","example":"CMS Central Account","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].paymentDetails.oneOf.0.accountName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Account name","example":"CMS Central Account","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].paymentDetails.oneOf.0.accountName.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].paymentDetails.oneOf.0.accountName","typeLabel":"string | null"},"accountNumber":{"oneOf":[{"type":"string","description":"Account number","example":"12345678","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].paymentDetails.oneOf.0.accountNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"Account number","example":"12345678","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].paymentDetails.oneOf.0.accountNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].paymentDetails.oneOf.0.accountNumber","typeLabel":"string | null"},"sortCode":{"oneOf":[{"type":"string","description":"Sort code","example":"12-34-56","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].paymentDetails.oneOf.0.sortCode.oneOf.0","typeLabel":"string"},{"type":"null","description":"Sort code","example":"12-34-56","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].paymentDetails.oneOf.0.sortCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].paymentDetails.oneOf.0.sortCode","typeLabel":"string | null"},"paymentReference":{"oneOf":[{"type":"string","description":"Payment reference to include with BACS payment (e.g., court order remittance reference)","example":"CMS-2025-UK01","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].paymentDetails.oneOf.0.paymentReference.oneOf.0","typeLabel":"string"},{"type":"null","description":"Payment reference to include with BACS payment (e.g., court order remittance reference)","example":"CMS-2025-UK01","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].paymentDetails.oneOf.0.paymentReference.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].paymentDetails.oneOf.0.paymentReference","typeLabel":"string | null"},"paymentCategory":{"type":"string","enum":["CourtOrders"],"description":"Payment category for categorizing payment details","example":"CourtOrders","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].paymentDetails.oneOf.0.paymentCategory","typeLabel":"enum\u003cstring>"}},"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].paymentDetails.oneOf.0","typeLabel":"object"},{"type":"null","description":"Payment details (BACS information) that can override default employee bank account","properties":{"accountName":{"oneOf":[{"type":"string","description":"Account name","example":"CMS Central Account"},{"type":"null","description":"Account name","example":"CMS Central Account"}]},"accountNumber":{"oneOf":[{"type":"string","description":"Account number","example":"12345678"},{"type":"null","description":"Account number","example":"12345678"}]},"sortCode":{"oneOf":[{"type":"string","description":"Sort code","example":"12-34-56"},{"type":"null","description":"Sort code","example":"12-34-56"}]},"paymentReference":{"oneOf":[{"type":"string","description":"Payment reference to include with BACS payment (e.g., court order remittance reference)","example":"CMS-2025-UK01"},{"type":"null","description":"Payment reference to include with BACS payment (e.g., court order remittance reference)","example":"CMS-2025-UK01"}]},"paymentCategory":{"type":"string","enum":["CourtOrders"],"description":"Payment category for categorizing payment details","example":"CourtOrders"}},"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].paymentDetails.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].paymentDetails","typeLabel":"object | null"},"attachmentUploadUrls":{"oneOf":[{"type":"array","items":{"type":"object","required":["attachmentId","filename","uploadUrl","expiresAt","method","headers"],"properties":{"attachmentId":{"type":"string","description":"The unique identifier for the attachment","isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].attachmentUploadUrls.oneOf.0.items.[INDEX].attachmentId","typeLabel":"string"},"filename":{"type":"string","description":"The original filename of the attachment","isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].attachmentUploadUrls.oneOf.0.items.[INDEX].filename","typeLabel":"string"},"uploadUrl":{"type":"string","format":"uri","description":"The address to send the file to, valid for 15 minutes. Send the file's bytes, and nothing else, as the whole body of a PUT with every one of `headers`. The file must be exactly the size and type given when the attachment was added; anything else is refused.","isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].attachmentUploadUrls.oneOf.0.items.[INDEX].uploadUrl","typeLabel":"string\u003curi>"},"expiresAt":{"type":"string","format":"date-time","description":"When the upload address stops working (ISO 8601 format)","isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].attachmentUploadUrls.oneOf.0.items.[INDEX].expiresAt","typeLabel":"string\u003cdate-time>"},"method":{"type":"string","description":"The HTTP method of the upload. Always PUT.","isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].attachmentUploadUrls.oneOf.0.items.[INDEX].method","typeLabel":"string"},"headers":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].attachmentUploadUrls.oneOf.0.items.[INDEX].headers.additionalProperties","typeLabel":"string"},"description":"Headers the upload must carry, exactly as given.","example":{"Content-Type":"application/pdf"},"isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].attachmentUploadUrls.oneOf.0.items.[INDEX].headers","typeLabel":"object"}},"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].attachmentUploadUrls.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Where to upload each attachment (only present during batch upload when attachments metadata was provided)","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].attachmentUploadUrls.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["attachmentId","filename","uploadUrl","expiresAt","method","headers"],"properties":{"attachmentId":{"type":"string","description":"The unique identifier for the attachment"},"filename":{"type":"string","description":"The original filename of the attachment"},"uploadUrl":{"type":"string","format":"uri","description":"The address to send the file to, valid for 15 minutes. Send the file's bytes, and nothing else, as the whole body of a PUT with every one of `headers`. The file must be exactly the size and type given when the attachment was added; anything else is refused."},"expiresAt":{"type":"string","format":"date-time","description":"When the upload address stops working (ISO 8601 format)"},"method":{"type":"string","description":"The HTTP method of the upload. Always PUT."},"headers":{"type":"object","additionalProperties":{"type":"string"},"description":"Headers the upload must carry, exactly as given.","example":{"Content-Type":"application/pdf"}}}},"description":"Where to upload each attachment (only present during batch upload when attachments metadata was provided)","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].attachmentUploadUrls.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].attachmentUploadUrls","typeLabel":"object[] | null"},"attachments":{"oneOf":[{"type":"array","items":{"type":"object","required":["id","lineItemId","filename","contentType","fileSize","uploadedDate","uploadedBy","downloadUrl","downloadUrlExpiresAt"],"properties":{"id":{"type":"string","description":"The unique identifier for the attachment","isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].attachments.oneOf.0.items.[INDEX].id","typeLabel":"string"},"lineItemId":{"type":"string","description":"The unique identifier of the associated payroll line item","isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].attachments.oneOf.0.items.[INDEX].lineItemId","typeLabel":"string"},"filename":{"type":"string","description":"The original filename of the attachment","isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].attachments.oneOf.0.items.[INDEX].filename","typeLabel":"string"},"contentType":{"type":"string","description":"The MIME type of the file","isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].attachments.oneOf.0.items.[INDEX].contentType","typeLabel":"string"},"fileSize":{"type":"integer","format":"int64","description":"The size of the file in bytes","isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].attachments.oneOf.0.items.[INDEX].fileSize","typeLabel":"integer\u003cint64>"},"uploadedDate":{"type":"string","format":"date-time","description":"The date and time the file was uploaded (ISO 8601 format)","isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].attachments.oneOf.0.items.[INDEX].uploadedDate","typeLabel":"string\u003cdate-time>"},"uploadedBy":{"type":"string","description":"The identifier of the user who uploaded the file","isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].attachments.oneOf.0.items.[INDEX].uploadedBy","typeLabel":"string"},"downloadUrl":{"type":"string","format":"uri","description":"A link that downloads the file, valid for 60 minutes. Open it as it is; it needs no credentials.","isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].attachments.oneOf.0.items.[INDEX].downloadUrl","typeLabel":"string\u003curi>"},"downloadUrlExpiresAt":{"type":"string","format":"date-time","description":"When the download link stops working (ISO 8601 format)","isRequired":true,"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].attachments.oneOf.0.items.[INDEX].downloadUrlExpiresAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].attachments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"List of attachments with download URLs (only present when attachments exist)","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].attachments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["id","lineItemId","filename","contentType","fileSize","uploadedDate","uploadedBy","downloadUrl","downloadUrlExpiresAt"],"properties":{"id":{"type":"string","description":"The unique identifier for the attachment"},"lineItemId":{"type":"string","description":"The unique identifier of the associated payroll line item"},"filename":{"type":"string","description":"The original filename of the attachment"},"contentType":{"type":"string","description":"The MIME type of the file"},"fileSize":{"type":"integer","format":"int64","description":"The size of the file in bytes"},"uploadedDate":{"type":"string","format":"date-time","description":"The date and time the file was uploaded (ISO 8601 format)"},"uploadedBy":{"type":"string","description":"The identifier of the user who uploaded the file"},"downloadUrl":{"type":"string","format":"uri","description":"A link that downloads the file, valid for 60 minutes. Open it as it is; it needs no credentials."},"downloadUrlExpiresAt":{"type":"string","format":"date-time","description":"When the download link stops working (ISO 8601 format)"}}},"description":"List of attachments with download URLs (only present when attachments exist)","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].attachments.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].attachments","typeLabel":"object[] | null"},"invoiceId":{"oneOf":[{"type":"string","description":"The ID of the invoice associated with the payroll line item","example":"INV-001","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].invoiceId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the invoice associated with the payroll line item","example":"INV-001","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].invoiceId.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].invoiceId","typeLabel":"string | null"},"creditNoteId":{"oneOf":[{"type":"string","description":"The ID of the credit note associated with the payroll line item","example":"CN-001","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].creditNoteId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the credit note associated with the payroll line item","example":"CN-001","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].creditNoteId.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].creditNoteId","typeLabel":"string | null"},"paymentAfterLeavingPattern":{"type":"string","enum":["Irregular","Regular"],"description":"Which National Insurance earnings period this payment takes when it is made after the employment has ended. Only read on a payment after leaving, and ignored entirely for anyone who has not left. Irregular (accrued holiday, an unexpected bonus, arrears after a backdated pay award, a late commission or service charge) is charged on weekly thresholds; Regular (a payment they were expecting on their usual cycle, such as an expected bonus) keeps the employee's usual earnings period. Per CWG2 section 1.14 and NIM08400/NIM08410. Omitting it means Irregular, which is the safe default because the other direction understates NI. National Insurance is charged once per payslip, so a single Irregular payment puts the whole payslip on weekly thresholds.","example":"Irregular","uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX].paymentAfterLeavingPattern","typeLabel":"enum\u003cstring>"}},"uniqueKey":"content.data.successfulItems.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"List of items that were successfully processed","uniqueKey":"content.data.successfulItems.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["id","employeeId","description","unitName","units","payRate","taxType","niType","payType","isPensionable","statutoryType","createdDate","createdBy","updatedDate","updatedBy","canEdit","billingStatus"],"properties":{"id":{"type":"string","description":"The line's id: the one supplied when it was created, or one generated when none was.","example":"PAYLINE-001"},"clientId":{"oneOf":[{"type":"string","description":"The client this line is billed to, if any.","example":"CLIENT-001"},{"type":"null","description":"The client this line is billed to, if any.","example":"CLIENT-001"}]},"employeeId":{"type":"string","description":"The employee the line belongs to.","example":"EMPLOYEE-001"},"date":{"oneOf":[{"type":"string","description":"The date the line applies to, as supplied (yyyy-MM-dd).","example":"2024-05-20"},{"type":"null","description":"The date the line applies to, as supplied (yyyy-MM-dd).","example":"2024-05-20"}]},"payrollDate":{"oneOf":[{"type":"string","description":"The date that decides which pay run takes the line: its own date, or the day after the latest locked pay run's period when its date fell on or before that.","example":"2024-07-06"},{"type":"null","description":"The date that decides which pay run takes the line: its own date, or the day after the latest locked pay run's period when its date fell on or before that.","example":"2024-07-06"}]},"description":{"type":"string","description":"The text shown for the line on the payslip.","example":"Morning shift"},"unitName":{"type":"string","enum":["Hour","Day","Week","Month","Year","Fixed","Informational","Percentage"],"description":"What one unit of the line is, such as Hour, Day or Fixed."},"units":{"type":"number","format":"decimal","description":"How many units the line pays.","example":8},"payRate":{"type":"number","format":"decimal","description":"The rate per unit; with units it gives the line's value.","example":10.5},"chargeRate":{"oneOf":[{"type":"number","format":"decimal","description":"The rate the client is charged per charge unit.","example":15.5},{"type":"null","format":"decimal","description":"The rate the client is charged per charge unit.","example":15.5}]},"chargeUnits":{"oneOf":[{"type":"number","format":"decimal","description":"How many units the client is charged for; multiplied by chargeRate and rounded to the penny to give the charge.","example":1},{"type":"null","format":"decimal","description":"How many units the client is charged for; multiplied by chargeRate and rounded to the penny to give the charge.","example":1}]},"chargeDescription":{"oneOf":[{"type":"string","description":"Charge description for billing; when not provided and clientId is set, defaults to the pay description."},{"type":"null","description":"Charge description for billing; when not provided and clientId is set, defaults to the pay description."}]},"payElementId":{"oneOf":[{"type":"string","description":"The pay element the line is paid under.","example":"PAYELEM-001"},{"type":"null","description":"The pay element the line is paid under.","example":"PAYELEM-001"}]},"taxType":{"type":"string","enum":["Taxable","NonTaxable"],"description":"Whether the line is taxable, copied from its pay element when the line was saved."},"niType":{"type":"string","enum":["Niable","NonNiable","EmployerOnly"],"description":"How the line is treated for National Insurance, copied from its pay element when the line was saved."},"payType":{"type":"string","enum":["Payable","Deductible","Informational"],"description":"The kind of pay the line is, copied from its pay element when the line was saved."},"isPensionable":{"type":"boolean","description":"Whether the payroll line is pensionable","example":true},"tags":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The tag's name within its group.","example":"FullTime"},"group":{"type":"string","description":"The group the tag belongs to.","example":"EmploymentType"},"value":{"type":"string","description":"The tag's value for that name.","example":"FullTime"}}},"description":"Tags attached to the line."},{"type":"null","items":{"type":"object","properties":{"name":{"type":"string","description":"The tag's name within its group.","example":"FullTime"},"group":{"type":"string","description":"The group the tag belongs to.","example":"EmploymentType"},"value":{"type":"string","description":"The tag's value for that name.","example":"FullTime"}}},"description":"Tags attached to the line."}]},"statutoryType":{"type":"string","enum":["None","StatutorySickPay","StatutoryMaternityPay","StatutoryPaternityPay","StatutoryAdoptionPay","SharedParentalPay","StatutoryParentalBereavementPay","StatutorySharedParentalPay","StatutoryNeoNatalCarePay","StatutoryParentalBereavementPayNorthernIreland"],"description":"The statutory type for this payroll line"},"createdDate":{"type":"string","description":"When the line item was created","example":"2024-01-01T00:00:00Z"},"createdBy":{"type":"string","description":"Who created the line item","example":"user_123"},"updatedDate":{"type":"string","description":"When the line item was last updated","example":"2024-01-02T00:00:00Z"},"updatedBy":{"type":"string","description":"Who last updated the line item","example":"user_456"},"poNumber":{"oneOf":[{"type":"string","description":"The purchase order number supplied with the line, for billing.","example":"PO-12345"},{"type":"null","description":"The purchase order number supplied with the line, for billing.","example":"PO-12345"}]},"originalValue":{"oneOf":[{"type":"number","format":"decimal","description":"The original deduction amount before protected earnings adjustment"},{"type":"null","format":"decimal","description":"The original deduction amount before protected earnings adjustment"}]},"canEdit":{"type":"boolean","description":"Indicates whether this line item can be edited. Court order line items are not editable, for example, because they are automatically generated.","example":true},"unitType":{"type":"string","enum":["Amount","Percentage"],"description":"The unit type for calculation. Amount uses payRate * units, Percentage uses payRate * (units / 100)"},"lineItemMetadata":{"oneOf":[{"type":"object","description":"Metadata for this line item","properties":{"courtOrders":{"oneOf":[{"type":"object","description":"Court order metadata for this line item","properties":{"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this order."},{"type":"null","description":"The protected earnings rule applied to this order."}]},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100},{"type":"null","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100}]},"shortfallCarryForward":{"oneOf":[{"type":"number","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0},{"type":"null","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0}]},"rateType":{"oneOf":[{"type":"string","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable"},{"type":"null","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable"}]},"adminFeeApplied":{"oneOf":[{"type":"boolean","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true},{"type":"null","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true}]},"tableType":{"oneOf":[{"type":"string","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A"},{"type":"null","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A"}]},"remittanceReference":{"oneOf":[{"type":"string","description":"Remittance reference as instructed on the order","example":"REF123"},{"type":"null","description":"Remittance reference as instructed on the order","example":"REF123"}]},"remittanceDeadline":{"oneOf":[{"type":"string","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days"},{"type":"null","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days"}]},"jurisdiction":{"oneOf":[{"type":"string","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND"},{"type":"null","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND"}]},"aeoCategory":{"oneOf":[{"type":"string","description":"AEO category","example":"Priority"},{"type":"null","description":"AEO category","example":"Priority"}]},"instructionAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The amount the order instructs, before any protection is applied."},{"type":"null","format":"decimal","description":"The amount the order instructs, before any protection is applied."}]},"orderDate":{"oneOf":[{"type":"string","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01"},{"type":"null","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01"}]},"dailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10},{"type":"null","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10}]},"ordinaryDebtAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000}]},"maintenanceDailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5}]},"agreedHigherRatePercentage":{"oneOf":[{"type":"number","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25},{"type":"null","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25}]},"normalDeductionRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50}]},"protectedEarningsRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200}]},"ratePeriod":{"type":"string","enum":["Weekly","Monthly","Daily"],"description":"Enforcement of Judgments Office order (Northern Ireland) only. The period the order's two rates are stated for.","example":"Weekly"},"lastDeductedPayDate":{"oneOf":[{"type":"string","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30"},{"type":"null","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30"}]},"startDate":{"oneOf":[{"type":"string","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01"},{"type":"null","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01"}]},"lastPayDate":{"oneOf":[{"type":"string","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30"},{"type":"null","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30"}]},"firstPayDate":{"oneOf":[{"type":"string","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30"},{"type":"null","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30"}]}}},{"type":"null","description":"Court order metadata for this line item","properties":{"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this order."},{"type":"null","description":"The protected earnings rule applied to this order."}]},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100},{"type":"null","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100}]},"shortfallCarryForward":{"oneOf":[{"type":"number","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0},{"type":"null","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0}]},"rateType":{"oneOf":[{"type":"string","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable"},{"type":"null","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable"}]},"adminFeeApplied":{"oneOf":[{"type":"boolean","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true},{"type":"null","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true}]},"tableType":{"oneOf":[{"type":"string","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A"},{"type":"null","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A"}]},"remittanceReference":{"oneOf":[{"type":"string","description":"Remittance reference as instructed on the order","example":"REF123"},{"type":"null","description":"Remittance reference as instructed on the order","example":"REF123"}]},"remittanceDeadline":{"oneOf":[{"type":"string","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days"},{"type":"null","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days"}]},"jurisdiction":{"oneOf":[{"type":"string","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND"},{"type":"null","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND"}]},"aeoCategory":{"oneOf":[{"type":"string","description":"AEO category","example":"Priority"},{"type":"null","description":"AEO category","example":"Priority"}]},"instructionAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The amount the order instructs, before any protection is applied."},{"type":"null","format":"decimal","description":"The amount the order instructs, before any protection is applied."}]},"orderDate":{"oneOf":[{"type":"string","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01"},{"type":"null","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01"}]},"dailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10},{"type":"null","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10}]},"ordinaryDebtAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000}]},"maintenanceDailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5}]},"agreedHigherRatePercentage":{"oneOf":[{"type":"number","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25},{"type":"null","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25}]},"normalDeductionRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50}]},"protectedEarningsRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200}]},"ratePeriod":{"type":"string","enum":["Weekly","Monthly","Daily"],"description":"Enforcement of Judgments Office order (Northern Ireland) only. The period the order's two rates are stated for.","example":"Weekly"},"lastDeductedPayDate":{"oneOf":[{"type":"string","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30"},{"type":"null","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30"}]},"startDate":{"oneOf":[{"type":"string","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01"},{"type":"null","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01"}]},"lastPayDate":{"oneOf":[{"type":"string","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30"},{"type":"null","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30"}]},"firstPayDate":{"oneOf":[{"type":"string","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30"},{"type":"null","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30"}]}}}]},"recurringLineItem":{"oneOf":[{"type":"object","description":"The recurring line item this line was generated from, if any.","properties":{"recurringLineItemId":{"oneOf":[{"type":"string","description":"The id of the recurring line item this line was generated from."},{"type":"null","description":"The id of the recurring line item this line was generated from."}]},"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this recurring deduction."},{"type":"null","description":"The protected earnings rule applied to this recurring deduction."}]},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount."},{"type":"null","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount."}]},"protectedEarningsPercentage":{"oneOf":[{"type":"number","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage."},{"type":"null","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage."}]}}},{"type":"null","description":"The recurring line item this line was generated from, if any.","properties":{"recurringLineItemId":{"oneOf":[{"type":"string","description":"The id of the recurring line item this line was generated from."},{"type":"null","description":"The id of the recurring line item this line was generated from."}]},"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this recurring deduction."},{"type":"null","description":"The protected earnings rule applied to this recurring deduction."}]},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount."},{"type":"null","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount."}]},"protectedEarningsPercentage":{"oneOf":[{"type":"number","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage."},{"type":"null","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage."}]}}}]},"pensions":{"oneOf":[{"type":"object","description":"Pension metadata carried on deterministic pension contribution lines (internal_pension_contrib_* / internal_pension_topup_*) added by the platform under line-item contributions.","properties":{"pensionGroupId":{"oneOf":[{"type":"string","description":"The pension group the contribution line was calculated under."},{"type":"null","description":"The pension group the contribution line was calculated under."}]},"contributionSource":{"type":"string","enum":["Group","RecurringContributionOverride","ContributionOverride"],"description":"Where the contribution settings came from: Group (the pension group), RecurringContributionOverride (the employee's standing override) or ContributionOverride (a one-off override for this pay period only). Only set on the group contribution line; null elsewhere."},"basis":{"oneOf":[{"type":"string","description":"Pensionable | QualifyingEarnings"},{"type":"null","description":"Pensionable | QualifyingEarnings"}]},"employerContributionType":{"type":"string","enum":["Percentage","FixedAmount"],"description":"How the employer share is read. Null on lines with no employer share (additional voluntary contribution lines)."},"employerContributionValue":{"oneOf":[{"type":"number","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount."},{"type":"null","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount."}]},"nationalInsuranceSavingsFactor":{"oneOf":[{"type":"number","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice."},{"type":"null","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice."}]},"employerRefundAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create."},{"type":"null","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create."}]},"reliefAtSourceApplied":{"oneOf":[{"type":"boolean","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed."},{"type":"null","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed."}]},"reliefAtSourceWithheldReason":{"type":"string","enum":["MissingNationalInsuranceNumber"],"description":"Why relief at source was withheld when it would otherwise have applied. Null whenever reliefAtSourceApplied is not false."},"pensionType":{"oneOf":[{"type":"string","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input."},{"type":"null","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input."}]}}},{"type":"null","description":"Pension metadata carried on deterministic pension contribution lines (internal_pension_contrib_* / internal_pension_topup_*) added by the platform under line-item contributions.","properties":{"pensionGroupId":{"oneOf":[{"type":"string","description":"The pension group the contribution line was calculated under."},{"type":"null","description":"The pension group the contribution line was calculated under."}]},"contributionSource":{"type":"string","enum":["Group","RecurringContributionOverride","ContributionOverride"],"description":"Where the contribution settings came from: Group (the pension group), RecurringContributionOverride (the employee's standing override) or ContributionOverride (a one-off override for this pay period only). Only set on the group contribution line; null elsewhere."},"basis":{"oneOf":[{"type":"string","description":"Pensionable | QualifyingEarnings"},{"type":"null","description":"Pensionable | QualifyingEarnings"}]},"employerContributionType":{"type":"string","enum":["Percentage","FixedAmount"],"description":"How the employer share is read. Null on lines with no employer share (additional voluntary contribution lines)."},"employerContributionValue":{"oneOf":[{"type":"number","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount."},{"type":"null","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount."}]},"nationalInsuranceSavingsFactor":{"oneOf":[{"type":"number","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice."},{"type":"null","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice."}]},"employerRefundAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create."},{"type":"null","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create."}]},"reliefAtSourceApplied":{"oneOf":[{"type":"boolean","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed."},{"type":"null","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed."}]},"reliefAtSourceWithheldReason":{"type":"string","enum":["MissingNationalInsuranceNumber"],"description":"Why relief at source was withheld when it would otherwise have applied. Null whenever reliefAtSourceApplied is not false."},"pensionType":{"oneOf":[{"type":"string","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input."},{"type":"null","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input."}]}}}]}},"example":{"courtOrders":{"protectedEarningsAmount":100,"shortfallCarryForward":0,"rateType":"StandardTable","adminFeeApplied":true,"tableType":"A","remittanceReference":"REF123","remittanceDeadline":"5 days","jurisdiction":"ENGLAND","aeoCategory":"Priority"}}},{"type":"null","description":"Metadata for this line item","properties":{"courtOrders":{"oneOf":[{"type":"object","description":"Court order metadata for this line item","properties":{"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this order."},{"type":"null","description":"The protected earnings rule applied to this order."}]},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100},{"type":"null","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100}]},"shortfallCarryForward":{"oneOf":[{"type":"number","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0},{"type":"null","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0}]},"rateType":{"oneOf":[{"type":"string","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable"},{"type":"null","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable"}]},"adminFeeApplied":{"oneOf":[{"type":"boolean","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true},{"type":"null","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true}]},"tableType":{"oneOf":[{"type":"string","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A"},{"type":"null","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A"}]},"remittanceReference":{"oneOf":[{"type":"string","description":"Remittance reference as instructed on the order","example":"REF123"},{"type":"null","description":"Remittance reference as instructed on the order","example":"REF123"}]},"remittanceDeadline":{"oneOf":[{"type":"string","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days"},{"type":"null","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days"}]},"jurisdiction":{"oneOf":[{"type":"string","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND"},{"type":"null","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND"}]},"aeoCategory":{"oneOf":[{"type":"string","description":"AEO category","example":"Priority"},{"type":"null","description":"AEO category","example":"Priority"}]},"instructionAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The amount the order instructs, before any protection is applied."},{"type":"null","format":"decimal","description":"The amount the order instructs, before any protection is applied."}]},"orderDate":{"oneOf":[{"type":"string","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01"},{"type":"null","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01"}]},"dailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10},{"type":"null","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10}]},"ordinaryDebtAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000}]},"maintenanceDailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5}]},"agreedHigherRatePercentage":{"oneOf":[{"type":"number","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25},{"type":"null","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25}]},"normalDeductionRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50}]},"protectedEarningsRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200}]},"ratePeriod":{"type":"string","enum":["Weekly","Monthly","Daily"],"description":"Enforcement of Judgments Office order (Northern Ireland) only. The period the order's two rates are stated for.","example":"Weekly"},"lastDeductedPayDate":{"oneOf":[{"type":"string","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30"},{"type":"null","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30"}]},"startDate":{"oneOf":[{"type":"string","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01"},{"type":"null","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01"}]},"lastPayDate":{"oneOf":[{"type":"string","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30"},{"type":"null","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30"}]},"firstPayDate":{"oneOf":[{"type":"string","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30"},{"type":"null","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30"}]}}},{"type":"null","description":"Court order metadata for this line item","properties":{"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this order."},{"type":"null","description":"The protected earnings rule applied to this order."}]},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100},{"type":"null","format":"decimal","description":"Protected earnings amount (for AEO with court-specified PER)","example":100}]},"shortfallCarryForward":{"oneOf":[{"type":"number","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0},{"type":"null","format":"decimal","description":"Shortfall carry-forward amount (for CMS DEO only)","example":0}]},"rateType":{"oneOf":[{"type":"string","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable"},{"type":"null","description":"DEA rate type (StandardTable, HigherRateTable, or FixedAmount)","example":"StandardTable"}]},"adminFeeApplied":{"oneOf":[{"type":"boolean","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true},{"type":"null","description":"Whether admin fee is applied (optional £1 per order per pay period)","example":true}]},"tableType":{"oneOf":[{"type":"string","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A"},{"type":"null","description":"Table type for table-based deductions (e.g., \"A\", \"B\", \"MONTHLY\", \"WEEKLY\")","example":"A"}]},"remittanceReference":{"oneOf":[{"type":"string","description":"Remittance reference as instructed on the order","example":"REF123"},{"type":"null","description":"Remittance reference as instructed on the order","example":"REF123"}]},"remittanceDeadline":{"oneOf":[{"type":"string","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days"},{"type":"null","description":"Remittance deadline (e.g., \"5 days\", \"19th following month\")","example":"5 days"}]},"jurisdiction":{"oneOf":[{"type":"string","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND"},{"type":"null","description":"Jurisdiction for CTAEO orders (e.g., \"ENGLAND\", \"WALES\")","example":"ENGLAND"}]},"aeoCategory":{"oneOf":[{"type":"string","description":"AEO category","example":"Priority"},{"type":"null","description":"AEO category","example":"Priority"}]},"instructionAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The amount the order instructs, before any protection is applied."},{"type":"null","format":"decimal","description":"The amount the order instructs, before any protection is applied."}]},"orderDate":{"oneOf":[{"type":"string","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01"},{"type":"null","format":"date","description":"Date the order was made. Orders in the same priority class are deducted oldest first.","example":"2026-04-01"}]},"dailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10},{"type":"null","format":"decimal","description":"Current maintenance arrestment (Scotland) only. The maintenance to collect for each day, in pounds. Each pay day collects this amount for every day since the last pay day on which a deduction was made, while leaving the employee at least £24.66 for each of those days.","example":10}]},"ordinaryDebtAmount":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. The total of the ordinary (non-maintenance) debts the order includes, in pounds. They are collected using the earnings arrestment tables.","example":5000}]},"maintenanceDailyRate":{"oneOf":[{"type":"number","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5},{"type":"null","format":"decimal","description":"Conjoined arrestment order (Scotland) only. All the maintenance the order includes, added together, per day, in pounds.","example":5}]},"agreedHigherRatePercentage":{"oneOf":[{"type":"number","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25},{"type":"null","format":"decimal","description":"Attachment of earnings order for fines (Northern Ireland) only. A higher percentage of take-home pay the employee has agreed to pay instead of the official table rate. If it cannot all be taken on a pay day, the part above the table rate is not carried over to the next pay day.","example":25}]},"normalDeductionRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The amount the order says to take for each rate period, in pounds.","example":50}]},"protectedEarningsRate":{"oneOf":[{"type":"number","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200},{"type":"null","format":"decimal","description":"Enforcement of Judgments Office order (Northern Ireland) only. The take-home pay the employee must keep for each rate period, in pounds. Nothing is taken when pay is at or below it, and an amount that cannot be taken is not carried over.","example":200}]},"ratePeriod":{"type":"string","enum":["Weekly","Monthly","Daily"],"description":"Enforcement of Judgments Office order (Northern Ireland) only. The period the order's two rates are stated for.","example":"Weekly"},"lastDeductedPayDate":{"oneOf":[{"type":"string","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30"},{"type":"null","format":"date","description":"The last pay day on which this order took money. A current maintenance arrestment or a conjoined arrestment order counts the days to collect for from the day after it. When it is not sent, the days are counted from startDate, or else the days in the pay period are used.","example":"2026-04-30"}]},"startDate":{"oneOf":[{"type":"string","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01"},{"type":"null","format":"date","description":"The day the order took effect. For a current maintenance arrestment, the day it was served on the employer.","example":"2026-04-01"}]},"lastPayDate":{"oneOf":[{"type":"string","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30"},{"type":"null","format":"date","description":"Enforcement of Judgments Office order (Northern Ireland) only. The employee's last pay day while the order ran, whether or not anything was deducted. The two rates apply to the period since it. When it is not sent, the pay period is used.","example":"2026-04-30"}]},"firstPayDate":{"oneOf":[{"type":"string","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30"},{"type":"null","format":"date","description":"Direct Earnings Attachment only. The first pay day it was operated on. A Scottish earnings arrestment, current maintenance arrestment or conjoined arrestment order that had started by then is deducted before it; one that started later is deducted after it. When it is not sent, the arrestment is deducted first.","example":"2026-04-30"}]}}}]},"recurringLineItem":{"oneOf":[{"type":"object","description":"The recurring line item this line was generated from, if any.","properties":{"recurringLineItemId":{"oneOf":[{"type":"string","description":"The id of the recurring line item this line was generated from."},{"type":"null","description":"The id of the recurring line item this line was generated from."}]},"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this recurring deduction."},{"type":"null","description":"The protected earnings rule applied to this recurring deduction."}]},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount."},{"type":"null","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount."}]},"protectedEarningsPercentage":{"oneOf":[{"type":"number","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage."},{"type":"null","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage."}]}}},{"type":"null","description":"The recurring line item this line was generated from, if any.","properties":{"recurringLineItemId":{"oneOf":[{"type":"string","description":"The id of the recurring line item this line was generated from."},{"type":"null","description":"The id of the recurring line item this line was generated from."}]},"protectedEarningsSetting":{"oneOf":[{"type":"string","description":"The protected earnings rule applied to this recurring deduction."},{"type":"null","description":"The protected earnings rule applied to this recurring deduction."}]},"protectedEarningsAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount."},{"type":"null","format":"decimal","description":"The take-home pay to leave the employee, in pounds, when protectedEarningsSetting is FixedAmount."}]},"protectedEarningsPercentage":{"oneOf":[{"type":"number","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage."},{"type":"null","format":"decimal","description":"The percentage (0 to 100) of take-home pay to leave the employee when protectedEarningsSetting is CustomPercentage."}]}}}]},"pensions":{"oneOf":[{"type":"object","description":"Pension metadata carried on deterministic pension contribution lines (internal_pension_contrib_* / internal_pension_topup_*) added by the platform under line-item contributions.","properties":{"pensionGroupId":{"oneOf":[{"type":"string","description":"The pension group the contribution line was calculated under."},{"type":"null","description":"The pension group the contribution line was calculated under."}]},"contributionSource":{"type":"string","enum":["Group","RecurringContributionOverride","ContributionOverride"],"description":"Where the contribution settings came from: Group (the pension group), RecurringContributionOverride (the employee's standing override) or ContributionOverride (a one-off override for this pay period only). Only set on the group contribution line; null elsewhere."},"basis":{"oneOf":[{"type":"string","description":"Pensionable | QualifyingEarnings"},{"type":"null","description":"Pensionable | QualifyingEarnings"}]},"employerContributionType":{"type":"string","enum":["Percentage","FixedAmount"],"description":"How the employer share is read. Null on lines with no employer share (additional voluntary contribution lines)."},"employerContributionValue":{"oneOf":[{"type":"number","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount."},{"type":"null","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount."}]},"nationalInsuranceSavingsFactor":{"oneOf":[{"type":"number","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice."},{"type":"null","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice."}]},"employerRefundAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create."},{"type":"null","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create."}]},"reliefAtSourceApplied":{"oneOf":[{"type":"boolean","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed."},{"type":"null","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed."}]},"reliefAtSourceWithheldReason":{"type":"string","enum":["MissingNationalInsuranceNumber"],"description":"Why relief at source was withheld when it would otherwise have applied. Null whenever reliefAtSourceApplied is not false."},"pensionType":{"oneOf":[{"type":"string","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input."},{"type":"null","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input."}]}}},{"type":"null","description":"Pension metadata carried on deterministic pension contribution lines (internal_pension_contrib_* / internal_pension_topup_*) added by the platform under line-item contributions.","properties":{"pensionGroupId":{"oneOf":[{"type":"string","description":"The pension group the contribution line was calculated under."},{"type":"null","description":"The pension group the contribution line was calculated under."}]},"contributionSource":{"type":"string","enum":["Group","RecurringContributionOverride","ContributionOverride"],"description":"Where the contribution settings came from: Group (the pension group), RecurringContributionOverride (the employee's standing override) or ContributionOverride (a one-off override for this pay period only). Only set on the group contribution line; null elsewhere."},"basis":{"oneOf":[{"type":"string","description":"Pensionable | QualifyingEarnings"},{"type":"null","description":"Pensionable | QualifyingEarnings"}]},"employerContributionType":{"type":"string","enum":["Percentage","FixedAmount"],"description":"How the employer share is read. Null on lines with no employer share (additional voluntary contribution lines)."},"employerContributionValue":{"oneOf":[{"type":"number","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount."},{"type":"null","format":"decimal","description":"The employer percentage when employerContributionType is Percentage, or the employer per-period amount when it is FixedAmount."}]},"nationalInsuranceSavingsFactor":{"oneOf":[{"type":"number","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice."},{"type":"null","format":"decimal","description":"Share (0-100) of the employer's NI saving added to the pension under salary sacrifice."}]},"employerRefundAmount":{"oneOf":[{"type":"number","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create."},{"type":"null","format":"decimal","description":"The employer contribution paid back on an opt-out refund line. Set only on internal_pension_refund_* lines. Already netted off forPeriod.employerPension and reported in employerPensionRefundsByType, so it is disclosure and never additive. Ignored on any line the platform did not create."}]},"reliefAtSourceApplied":{"oneOf":[{"type":"boolean","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed."},{"type":"null","description":"Relief at source lines only, whether the scheme's basic-rate relief was netted off the employee's deduction. false means the FULL gross contribution was deducted, because HMRC needs the member's National Insurance number for the scheme to reclaim the relief and this employee has none. That employee's deduction is therefore HIGHER than an identical colleague's while the same amount reaches their pot, which is correct and not a defect. Null where relief at source does not apply (net pay arrangement, salary sacrifice) and on payslips stored before this field existed."}]},"reliefAtSourceWithheldReason":{"type":"string","enum":["MissingNationalInsuranceNumber"],"description":"Why relief at source was withheld when it would otherwise have applied. Null whenever reliefAtSourceApplied is not false."},"pensionType":{"oneOf":[{"type":"string","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input."},{"type":"null","description":"The pension type of the scheme the item belongs to. Set on the payslip items of pension contributions, additional voluntary contributions and opt-out refunds; ignored on input."}]}}}]}},"example":{"courtOrders":{"protectedEarningsAmount":100,"shortfallCarryForward":0,"rateType":"StandardTable","adminFeeApplied":true,"tableType":"A","remittanceReference":"REF123","remittanceDeadline":"5 days","jurisdiction":"ENGLAND","aeoCategory":"Priority"}}}]},"eligibility":{"oneOf":[{"type":"object","description":"Which court order types may take money from this line, copied from its pay element. Read-only.","properties":{"courtOrders":{"oneOf":[{"type":"object","description":"Which court order types may take money from this pay. Read-only.","required":["cmsDeo","dea","aeoPriority","aeoNonPriority","ctaeo","ea","mcaeo","cma","cao","niFinesAeo","niEjoAeo"],"properties":{"cmsDeo":{"type":"boolean","description":"Child Maintenance Service deduction from earnings order may take money from this pay.","example":true},"dea":{"type":"boolean","description":"Direct earnings attachment (DWP) may take money from this pay.","example":true},"aeoPriority":{"type":"boolean","description":"Attachment of earnings order, priority (maintenance) may take money from this pay.","example":true},"aeoNonPriority":{"type":"boolean","description":"Attachment of earnings order, non-priority (civil debt) may take money from this pay.","example":true},"ctaeo":{"type":"boolean","description":"Council tax attachment of earnings order may take money from this pay.","example":true},"ea":{"type":"boolean","description":"Earnings arrestment (Scotland) may take money from this pay.","example":true},"mcaeo":{"type":"boolean","description":"Magistrates' court attachment of earnings order (fines) may take money from this pay.","example":true},"cma":{"type":"boolean","description":"Current maintenance arrestment (Scotland) may take money from this pay.","example":true},"cao":{"type":"boolean","description":"Conjoined arrestment order (Scotland) may take money from this pay.","example":true},"niFinesAeo":{"type":"boolean","description":"Attachment of earnings order for fines (Northern Ireland) may take money from this pay.","example":true},"niEjoAeo":{"type":"boolean","description":"Attachment of earnings order made by the Enforcement of Judgments Office (Northern Ireland) may take money from this pay.","example":true}}},{"type":"null","description":"Which court order types may take money from this pay. Read-only.","required":["cmsDeo","dea","aeoPriority","aeoNonPriority","ctaeo","ea","mcaeo","cma","cao","niFinesAeo","niEjoAeo"],"properties":{"cmsDeo":{"type":"boolean","description":"Child Maintenance Service deduction from earnings order may take money from this pay.","example":true},"dea":{"type":"boolean","description":"Direct earnings attachment (DWP) may take money from this pay.","example":true},"aeoPriority":{"type":"boolean","description":"Attachment of earnings order, priority (maintenance) may take money from this pay.","example":true},"aeoNonPriority":{"type":"boolean","description":"Attachment of earnings order, non-priority (civil debt) may take money from this pay.","example":true},"ctaeo":{"type":"boolean","description":"Council tax attachment of earnings order may take money from this pay.","example":true},"ea":{"type":"boolean","description":"Earnings arrestment (Scotland) may take money from this pay.","example":true},"mcaeo":{"type":"boolean","description":"Magistrates' court attachment of earnings order (fines) may take money from this pay.","example":true},"cma":{"type":"boolean","description":"Current maintenance arrestment (Scotland) may take money from this pay.","example":true},"cao":{"type":"boolean","description":"Conjoined arrestment order (Scotland) may take money from this pay.","example":true},"niFinesAeo":{"type":"boolean","description":"Attachment of earnings order for fines (Northern Ireland) may take money from this pay.","example":true},"niEjoAeo":{"type":"boolean","description":"Attachment of earnings order made by the Enforcement of Judgments Office (Northern Ireland) may take money from this pay.","example":true}}}]}},"example":{"courtOrders":{"cmsDeo":true,"dea":true,"aeoPriority":true,"aeoNonPriority":true,"ctaeo":true,"ea":true,"mcaeo":true,"cma":true,"cao":true,"niFinesAeo":true,"niEjoAeo":true}}},{"type":"null","description":"Which court order types may take money from this line, copied from its pay element. Read-only.","properties":{"courtOrders":{"oneOf":[{"type":"object","description":"Which court order types may take money from this pay. Read-only.","required":["cmsDeo","dea","aeoPriority","aeoNonPriority","ctaeo","ea","mcaeo","cma","cao","niFinesAeo","niEjoAeo"],"properties":{"cmsDeo":{"type":"boolean","description":"Child Maintenance Service deduction from earnings order may take money from this pay.","example":true},"dea":{"type":"boolean","description":"Direct earnings attachment (DWP) may take money from this pay.","example":true},"aeoPriority":{"type":"boolean","description":"Attachment of earnings order, priority (maintenance) may take money from this pay.","example":true},"aeoNonPriority":{"type":"boolean","description":"Attachment of earnings order, non-priority (civil debt) may take money from this pay.","example":true},"ctaeo":{"type":"boolean","description":"Council tax attachment of earnings order may take money from this pay.","example":true},"ea":{"type":"boolean","description":"Earnings arrestment (Scotland) may take money from this pay.","example":true},"mcaeo":{"type":"boolean","description":"Magistrates' court attachment of earnings order (fines) may take money from this pay.","example":true},"cma":{"type":"boolean","description":"Current maintenance arrestment (Scotland) may take money from this pay.","example":true},"cao":{"type":"boolean","description":"Conjoined arrestment order (Scotland) may take money from this pay.","example":true},"niFinesAeo":{"type":"boolean","description":"Attachment of earnings order for fines (Northern Ireland) may take money from this pay.","example":true},"niEjoAeo":{"type":"boolean","description":"Attachment of earnings order made by the Enforcement of Judgments Office (Northern Ireland) may take money from this pay.","example":true}}},{"type":"null","description":"Which court order types may take money from this pay. Read-only.","required":["cmsDeo","dea","aeoPriority","aeoNonPriority","ctaeo","ea","mcaeo","cma","cao","niFinesAeo","niEjoAeo"],"properties":{"cmsDeo":{"type":"boolean","description":"Child Maintenance Service deduction from earnings order may take money from this pay.","example":true},"dea":{"type":"boolean","description":"Direct earnings attachment (DWP) may take money from this pay.","example":true},"aeoPriority":{"type":"boolean","description":"Attachment of earnings order, priority (maintenance) may take money from this pay.","example":true},"aeoNonPriority":{"type":"boolean","description":"Attachment of earnings order, non-priority (civil debt) may take money from this pay.","example":true},"ctaeo":{"type":"boolean","description":"Council tax attachment of earnings order may take money from this pay.","example":true},"ea":{"type":"boolean","description":"Earnings arrestment (Scotland) may take money from this pay.","example":true},"mcaeo":{"type":"boolean","description":"Magistrates' court attachment of earnings order (fines) may take money from this pay.","example":true},"cma":{"type":"boolean","description":"Current maintenance arrestment (Scotland) may take money from this pay.","example":true},"cao":{"type":"boolean","description":"Conjoined arrestment order (Scotland) may take money from this pay.","example":true},"niFinesAeo":{"type":"boolean","description":"Attachment of earnings order for fines (Northern Ireland) may take money from this pay.","example":true},"niEjoAeo":{"type":"boolean","description":"Attachment of earnings order made by the Enforcement of Judgments Office (Northern Ireland) may take money from this pay.","example":true}}}]}},"example":{"courtOrders":{"cmsDeo":true,"dea":true,"aeoPriority":true,"aeoNonPriority":true,"ctaeo":true,"ea":true,"mcaeo":true,"cma":true,"cao":true,"niFinesAeo":true,"niEjoAeo":true}}}]},"paymentDetails":{"oneOf":[{"type":"object","description":"Payment details (BACS information) that can override default employee bank account","properties":{"accountName":{"oneOf":[{"type":"string","description":"Account name","example":"CMS Central Account"},{"type":"null","description":"Account name","example":"CMS Central Account"}]},"accountNumber":{"oneOf":[{"type":"string","description":"Account number","example":"12345678"},{"type":"null","description":"Account number","example":"12345678"}]},"sortCode":{"oneOf":[{"type":"string","description":"Sort code","example":"12-34-56"},{"type":"null","description":"Sort code","example":"12-34-56"}]},"paymentReference":{"oneOf":[{"type":"string","description":"Payment reference to include with BACS payment (e.g., court order remittance reference)","example":"CMS-2025-UK01"},{"type":"null","description":"Payment reference to include with BACS payment (e.g., court order remittance reference)","example":"CMS-2025-UK01"}]},"paymentCategory":{"type":"string","enum":["CourtOrders"],"description":"Payment category for categorizing payment details","example":"CourtOrders"}}},{"type":"null","description":"Payment details (BACS information) that can override default employee bank account","properties":{"accountName":{"oneOf":[{"type":"string","description":"Account name","example":"CMS Central Account"},{"type":"null","description":"Account name","example":"CMS Central Account"}]},"accountNumber":{"oneOf":[{"type":"string","description":"Account number","example":"12345678"},{"type":"null","description":"Account number","example":"12345678"}]},"sortCode":{"oneOf":[{"type":"string","description":"Sort code","example":"12-34-56"},{"type":"null","description":"Sort code","example":"12-34-56"}]},"paymentReference":{"oneOf":[{"type":"string","description":"Payment reference to include with BACS payment (e.g., court order remittance reference)","example":"CMS-2025-UK01"},{"type":"null","description":"Payment reference to include with BACS payment (e.g., court order remittance reference)","example":"CMS-2025-UK01"}]},"paymentCategory":{"type":"string","enum":["CourtOrders"],"description":"Payment category for categorizing payment details","example":"CourtOrders"}}}]},"attachmentUploadUrls":{"oneOf":[{"type":"array","items":{"type":"object","required":["attachmentId","filename","uploadUrl","expiresAt","method","headers"],"properties":{"attachmentId":{"type":"string","description":"The unique identifier for the attachment"},"filename":{"type":"string","description":"The original filename of the attachment"},"uploadUrl":{"type":"string","format":"uri","description":"The address to send the file to, valid for 15 minutes. Send the file's bytes, and nothing else, as the whole body of a PUT with every one of `headers`. The file must be exactly the size and type given when the attachment was added; anything else is refused."},"expiresAt":{"type":"string","format":"date-time","description":"When the upload address stops working (ISO 8601 format)"},"method":{"type":"string","description":"The HTTP method of the upload. Always PUT."},"headers":{"type":"object","additionalProperties":{"type":"string"},"description":"Headers the upload must carry, exactly as given.","example":{"Content-Type":"application/pdf"}}}},"description":"Where to upload each attachment (only present during batch upload when attachments metadata was provided)"},{"type":"null","items":{"type":"object","required":["attachmentId","filename","uploadUrl","expiresAt","method","headers"],"properties":{"attachmentId":{"type":"string","description":"The unique identifier for the attachment"},"filename":{"type":"string","description":"The original filename of the attachment"},"uploadUrl":{"type":"string","format":"uri","description":"The address to send the file to, valid for 15 minutes. Send the file's bytes, and nothing else, as the whole body of a PUT with every one of `headers`. The file must be exactly the size and type given when the attachment was added; anything else is refused."},"expiresAt":{"type":"string","format":"date-time","description":"When the upload address stops working (ISO 8601 format)"},"method":{"type":"string","description":"The HTTP method of the upload. Always PUT."},"headers":{"type":"object","additionalProperties":{"type":"string"},"description":"Headers the upload must carry, exactly as given.","example":{"Content-Type":"application/pdf"}}}},"description":"Where to upload each attachment (only present during batch upload when attachments metadata was provided)"}]},"attachments":{"oneOf":[{"type":"array","items":{"type":"object","required":["id","lineItemId","filename","contentType","fileSize","uploadedDate","uploadedBy","downloadUrl","downloadUrlExpiresAt"],"properties":{"id":{"type":"string","description":"The unique identifier for the attachment"},"lineItemId":{"type":"string","description":"The unique identifier of the associated payroll line item"},"filename":{"type":"string","description":"The original filename of the attachment"},"contentType":{"type":"string","description":"The MIME type of the file"},"fileSize":{"type":"integer","format":"int64","description":"The size of the file in bytes"},"uploadedDate":{"type":"string","format":"date-time","description":"The date and time the file was uploaded (ISO 8601 format)"},"uploadedBy":{"type":"string","description":"The identifier of the user who uploaded the file"},"downloadUrl":{"type":"string","format":"uri","description":"A link that downloads the file, valid for 60 minutes. Open it as it is; it needs no credentials."},"downloadUrlExpiresAt":{"type":"string","format":"date-time","description":"When the download link stops working (ISO 8601 format)"}}},"description":"List of attachments with download URLs (only present when attachments exist)"},{"type":"null","items":{"type":"object","required":["id","lineItemId","filename","contentType","fileSize","uploadedDate","uploadedBy","downloadUrl","downloadUrlExpiresAt"],"properties":{"id":{"type":"string","description":"The unique identifier for the attachment"},"lineItemId":{"type":"string","description":"The unique identifier of the associated payroll line item"},"filename":{"type":"string","description":"The original filename of the attachment"},"contentType":{"type":"string","description":"The MIME type of the file"},"fileSize":{"type":"integer","format":"int64","description":"The size of the file in bytes"},"uploadedDate":{"type":"string","format":"date-time","description":"The date and time the file was uploaded (ISO 8601 format)"},"uploadedBy":{"type":"string","description":"The identifier of the user who uploaded the file"},"downloadUrl":{"type":"string","format":"uri","description":"A link that downloads the file, valid for 60 minutes. Open it as it is; it needs no credentials."},"downloadUrlExpiresAt":{"type":"string","format":"date-time","description":"When the download link stops working (ISO 8601 format)"}}},"description":"List of attachments with download URLs (only present when attachments exist)"}]},"invoiceId":{"oneOf":[{"type":"string","description":"The ID of the invoice associated with the payroll line item","example":"INV-001"},{"type":"null","description":"The ID of the invoice associated with the payroll line item","example":"INV-001"}]},"creditNoteId":{"oneOf":[{"type":"string","description":"The ID of the credit note associated with the payroll line item","example":"CN-001"},{"type":"null","description":"The ID of the credit note associated with the payroll line item","example":"CN-001"}]},"billingStatus":{"type":"string","enum":["None","Accrued","Invoiced"],"description":"The billing status of the payroll line item","example":"None"},"paymentAfterLeavingPattern":{"type":"string","enum":["Irregular","Regular"],"description":"Which National Insurance earnings period this payment takes when it is made after the employment has ended. Only read on a payment after leaving, and ignored entirely for anyone who has not left. Irregular (accrued holiday, an unexpected bonus, arrears after a backdated pay award, a late commission or service charge) is charged on weekly thresholds; Regular (a payment they were expecting on their usual cycle, such as an expected bonus) keeps the employee's usual earnings period. Per CWG2 section 1.14 and NIM08400/NIM08410. Omitting it means Irregular, which is the safe default because the other direction understates NI. National Insurance is charged once per payslip, so a single Irregular payment puts the whole payslip on weekly thresholds.","example":"Irregular"}}},"description":"List of items that were successfully processed","uniqueKey":"content.data.successfulItems.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.successfulItems","typeLabel":"object[] | null"}},"uniqueKey":"content.data","typeLabel":"object"}},"uniqueKey":"content","typeLabel":"object"},"validationIssues":{"oneOf":[{"type":"array","items":{"type":"object","description":"Field validation item. `reasonToken` is a stable snake_case key for i18n or custom client messages; `reason` is the default English text from the API.","required":["field","reason","reasonToken"],"properties":{"field":{"type":"string","description":"Dot-path of the field (e.g. name.firstName, address.line1).","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].field","typeLabel":"string"},"reason":{"type":"string","description":"Default human-readable message.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reason","typeLabel":"string"},"reasonToken":{"type":"string","description":"Machine-readable error identifier (snake_case).","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonToken","typeLabel":"string"},"reasonTokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"description":"The value itself, as a string, number or other JSON value.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value","typeLabel":"any"}},"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments","typeLabel":"object[] | null"}},"uniqueKey":"validationIssues.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Each field the request was refused for and why; left out when the request was not refused for its fields.","uniqueKey":"validationIssues.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"Field validation item. `reasonToken` is a stable snake_case key for i18n or custom client messages; `reason` is the default English text from the API.","required":["field","reason","reasonToken"],"properties":{"field":{"type":"string","description":"Dot-path of the field (e.g. name.firstName, address.line1)."},"reason":{"type":"string","description":"Default human-readable message."},"reasonToken":{"type":"string","description":"Machine-readable error identifier (snake_case)."},"reasonTokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none."},{"type":"null","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none."}]}}},"description":"Each field the request was refused for and why; left out when the request was not refused for its fields.","uniqueKey":"validationIssues.oneOf.1","typeLabel":"null"}],"uniqueKey":"validationIssues","typeLabel":"object[] | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":{"text":"\u003cstring>","token":"\u003cstring>","tokenArguments":[{"name":"\u003cstring>","value":"\u003cunknown>"}]},"content":{"metadata":{"dateFormat":"\u003cstring>","dateTimeFormat":"\u003cstring>","paginationToken":"\u003cstring>"},"data":{"totalItems":123,"totalFailed":123,"failedItems":["\u003cunknown>"],"successfulItems":[{"id":"PAYLINE-001","employeeId":"EMPLOYEE-001","description":"Morning shift","unitName":"Hour","units":8,"payRate":10.5,"taxType":"Taxable","niType":"Niable","payType":"Payable","isPensionable":true,"statutoryType":"None","createdDate":"2024-01-01T00:00:00Z","createdBy":"user_123","updatedDate":"2024-01-02T00:00:00Z","updatedBy":"user_456","canEdit":true,"billingStatus":"None","clientId":"CLIENT-001","date":"2024-05-20","payrollDate":"2024-07-06","chargeRate":15.5,"chargeUnits":1,"chargeDescription":"\u003cstring>","payElementId":"PAYELEM-001","tags":[{"name":"FullTime","group":"EmploymentType","value":"FullTime"}],"poNumber":"PO-12345","originalValue":123,"unitType":"Amount","lineItemMetadata":{"courtOrders":{"protectedEarningsAmount":100,"shortfallCarryForward":0,"rateType":"StandardTable","adminFeeApplied":true,"tableType":"A","remittanceReference":"REF123","remittanceDeadline":"5 days","jurisdiction":"ENGLAND","aeoCategory":"Priority"}},"eligibility":{"courtOrders":{"cmsDeo":true,"dea":true,"aeoPriority":true,"aeoNonPriority":true,"ctaeo":true,"ea":true,"mcaeo":true,"cma":true,"cao":true,"niFinesAeo":true,"niEjoAeo":true}},"paymentDetails":{"accountName":"CMS Central Account","accountNumber":"12345678","sortCode":"12-34-56","paymentReference":"CMS-2025-UK01","paymentCategory":"CourtOrders"},"attachmentUploadUrls":[{"attachmentId":"\u003cstring>","filename":"\u003cstring>","uploadUrl":"\u003cstring>","expiresAt":"2023-11-07T05:31:56Z","method":"\u003cstring>","headers":{"Content-Type":"application/pdf"}}],"attachments":[{"id":"\u003cstring>","lineItemId":"\u003cstring>","filename":"\u003cstring>","contentType":"\u003cstring>","fileSize":123,"uploadedDate":"2023-11-07T05:31:56Z","uploadedBy":"\u003cstring>","downloadUrl":"\u003cstring>","downloadUrlExpiresAt":"2023-11-07T05:31:56Z"}],"invoiceId":"INV-001","creditNoteId":"CN-001","paymentAfterLeavingPattern":"Irregular"}]}},"validationIssues":[{"field":"\u003cstring>","reason":"\u003cstring>","reasonToken":"\u003cstring>","reasonTokenArguments":[{"name":"\u003cstring>","value":"\u003cunknown>"}]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"5f94505b-0a63-41a0-aa48-2fae094218a1":{"description":"Invalid payroll data","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"object","required":["text","token"],"properties":{"text":{"type":"string","description":"The message in English, ready to show to a user.","isRequired":true,"uniqueKey":"message.text","typeLabel":"string"},"token":{"type":"string","description":"A stable snake_case key for the message, so a client can show its own wording or a translation instead of text.","isRequired":true,"uniqueKey":"message.token","typeLabel":"string"},"tokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it.","isRequired":true,"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"description":"The value itself, as a string, number or other JSON value.","isRequired":true,"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value","typeLabel":"any"}},"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Values to fill into the client's own wording for token, such as the request id; absent when the message has none.","uniqueKey":"message.tokenArguments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for token, such as the request id; absent when the message has none.","uniqueKey":"message.tokenArguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.tokenArguments","typeLabel":"object[] | null"}},"description":"A readable message about the outcome and a stable token a client can branch on.","isRequired":true,"uniqueKey":"message","typeLabel":"object"},"content":{"type":"object","required":["metadata"],"properties":{"metadata":{"type":"object","required":["dateFormat","dateTimeFormat"],"properties":{"dateFormat":{"type":"string","description":"The format of the dates in this response, yyyy-MM-dd.","isRequired":true,"uniqueKey":"content.metadata.dateFormat","typeLabel":"string"},"dateTimeFormat":{"type":"string","description":"The format of the timestamps in this response, yyyy-MM-ddTHH:mm:ss.fffZ in UTC.","isRequired":true,"uniqueKey":"content.metadata.dateTimeFormat","typeLabel":"string"},"paginationToken":{"oneOf":[{"type":"string","description":"Send this value back as the paginationToken query parameter to get the next page; absent when there are no more pages.","uniqueKey":"content.metadata.paginationToken.oneOf.0","typeLabel":"string"},{"type":"null","description":"Send this value back as the paginationToken query parameter to get the next page; absent when there are no more pages.","uniqueKey":"content.metadata.paginationToken.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.metadata.paginationToken","typeLabel":"string | null"}},"description":"The date formats the response uses and, on a paged list, the token for the next page.","isRequired":true,"uniqueKey":"content.metadata","typeLabel":"object"},"data":{"description":"The resource or list the request asked for; left out when there is none.","uniqueKey":"content.data","typeLabel":"any"}},"description":"The data the request returns with its metadata; left out on a response that carries no data, such as most errors.","uniqueKey":"content","typeLabel":"object"},"validationIssues":{"oneOf":[{"type":"array","items":{"type":"object","description":"Field validation item. `reasonToken` is a stable snake_case key for i18n or custom client messages; `reason` is the default English text from the API.","required":["field","reason","reasonToken"],"properties":{"field":{"type":"string","description":"Dot-path of the field (e.g. name.firstName, address.line1).","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].field","typeLabel":"string"},"reason":{"type":"string","description":"Default human-readable message.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reason","typeLabel":"string"},"reasonToken":{"type":"string","description":"Machine-readable error identifier (snake_case).","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonToken","typeLabel":"string"},"reasonTokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"description":"The value itself, as a string, number or other JSON value.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value","typeLabel":"any"}},"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments","typeLabel":"object[] | null"}},"uniqueKey":"validationIssues.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Each field the request was refused for and why; left out when the request was not refused for its fields.","uniqueKey":"validationIssues.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"Field validation item. `reasonToken` is a stable snake_case key for i18n or custom client messages; `reason` is the default English text from the API.","required":["field","reason","reasonToken"],"properties":{"field":{"type":"string","description":"Dot-path of the field (e.g. name.firstName, address.line1)."},"reason":{"type":"string","description":"Default human-readable message."},"reasonToken":{"type":"string","description":"Machine-readable error identifier (snake_case)."},"reasonTokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none."},{"type":"null","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none."}]}}},"description":"Each field the request was refused for and why; left out when the request was not refused for its fields.","uniqueKey":"validationIssues.oneOf.1","typeLabel":"null"}],"uniqueKey":"validationIssues","typeLabel":"object[] | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":{"text":"\u003cstring>","token":"\u003cstring>","tokenArguments":[{"name":"\u003cstring>","value":"\u003cunknown>"}]},"content":{"metadata":{"dateFormat":"\u003cstring>","dateTimeFormat":"\u003cstring>","paginationToken":"\u003cstring>"},"data":"\u003cunknown>"},"validationIssues":[{"field":"\u003cstring>","reason":"\u003cstring>","reasonToken":"\u003cstring>","reasonTokenArguments":[{"name":"\u003cstring>","value":"\u003cunknown>"}]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"0bb96585-a580-41d1-8967-b2c28612cb83":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"object","required":["text","token"],"properties":{"text":{"type":"string","description":"The message in English, ready to show to a user.","isRequired":true,"uniqueKey":"message.text","typeLabel":"string"},"token":{"type":"string","description":"A stable snake_case key for the message, so a client can show its own wording or a translation instead of text.","isRequired":true,"uniqueKey":"message.token","typeLabel":"string"},"tokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it.","isRequired":true,"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"description":"The value itself, as a string, number or other JSON value.","isRequired":true,"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value","typeLabel":"any"}},"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Values to fill into the client's own wording for token, such as the request id; absent when the message has none.","uniqueKey":"message.tokenArguments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for token, such as the request id; absent when the message has none.","uniqueKey":"message.tokenArguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.tokenArguments","typeLabel":"object[] | null"}},"description":"A readable message about the outcome and a stable token a client can branch on.","isRequired":true,"uniqueKey":"message","typeLabel":"object"},"content":{"type":"object","required":["metadata"],"properties":{"metadata":{"type":"object","required":["dateFormat","dateTimeFormat"],"properties":{"dateFormat":{"type":"string","description":"The format of the dates in this response, yyyy-MM-dd.","isRequired":true,"uniqueKey":"content.metadata.dateFormat","typeLabel":"string"},"dateTimeFormat":{"type":"string","description":"The format of the timestamps in this response, yyyy-MM-ddTHH:mm:ss.fffZ in UTC.","isRequired":true,"uniqueKey":"content.metadata.dateTimeFormat","typeLabel":"string"},"paginationToken":{"oneOf":[{"type":"string","description":"Send this value back as the paginationToken query parameter to get the next page; absent when there are no more pages.","uniqueKey":"content.metadata.paginationToken.oneOf.0","typeLabel":"string"},{"type":"null","description":"Send this value back as the paginationToken query parameter to get the next page; absent when there are no more pages.","uniqueKey":"content.metadata.paginationToken.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.metadata.paginationToken","typeLabel":"string | null"}},"description":"The date formats the response uses and, on a paged list, the token for the next page.","isRequired":true,"uniqueKey":"content.metadata","typeLabel":"object"},"data":{"description":"The resource or list the request asked for; left out when there is none.","uniqueKey":"content.data","typeLabel":"any"}},"description":"The data the request returns with its metadata; left out on a response that carries no data, such as most errors.","uniqueKey":"content","typeLabel":"object"},"validationIssues":{"oneOf":[{"type":"array","items":{"type":"object","description":"Field validation item. `reasonToken` is a stable snake_case key for i18n or custom client messages; `reason` is the default English text from the API.","required":["field","reason","reasonToken"],"properties":{"field":{"type":"string","description":"Dot-path of the field (e.g. name.firstName, address.line1).","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].field","typeLabel":"string"},"reason":{"type":"string","description":"Default human-readable message.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reason","typeLabel":"string"},"reasonToken":{"type":"string","description":"Machine-readable error identifier (snake_case).","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonToken","typeLabel":"string"},"reasonTokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"description":"The value itself, as a string, number or other JSON value.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value","typeLabel":"any"}},"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments","typeLabel":"object[] | null"}},"uniqueKey":"validationIssues.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Each field the request was refused for and why; left out when the request was not refused for its fields.","uniqueKey":"validationIssues.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"Field validation item. `reasonToken` is a stable snake_case key for i18n or custom client messages; `reason` is the default English text from the API.","required":["field","reason","reasonToken"],"properties":{"field":{"type":"string","description":"Dot-path of the field (e.g. name.firstName, address.line1)."},"reason":{"type":"string","description":"Default human-readable message."},"reasonToken":{"type":"string","description":"Machine-readable error identifier (snake_case)."},"reasonTokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none."},{"type":"null","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none."}]}}},"description":"Each field the request was refused for and why; left out when the request was not refused for its fields.","uniqueKey":"validationIssues.oneOf.1","typeLabel":"null"}],"uniqueKey":"validationIssues","typeLabel":"object[] | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":{"text":"\u003cstring>","token":"\u003cstring>","tokenArguments":[{"name":"\u003cstring>","value":"\u003cunknown>"}]},"content":{"metadata":{"dateFormat":"\u003cstring>","dateTimeFormat":"\u003cstring>","paginationToken":"\u003cstring>"},"data":"\u003cunknown>"},"validationIssues":[{"field":"\u003cstring>","reason":"\u003cstring>","reasonToken":"\u003cstring>","reasonTokenArguments":[{"name":"\u003cstring>","value":"\u003cunknown>"}]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"369fba25-5370-4983-8cb1-725fe24b80d9":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"object","required":["text","token"],"properties":{"text":{"type":"string","description":"The message in English, ready to show to a user.","isRequired":true,"uniqueKey":"message.text","typeLabel":"string"},"token":{"type":"string","description":"A stable snake_case key for the message, so a client can show its own wording or a translation instead of text.","isRequired":true,"uniqueKey":"message.token","typeLabel":"string"},"tokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it.","isRequired":true,"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"description":"The value itself, as a string, number or other JSON value.","isRequired":true,"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value","typeLabel":"any"}},"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Values to fill into the client's own wording for token, such as the request id; absent when the message has none.","uniqueKey":"message.tokenArguments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for token, such as the request id; absent when the message has none.","uniqueKey":"message.tokenArguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.tokenArguments","typeLabel":"object[] | null"}},"description":"A readable message about the outcome and a stable token a client can branch on.","isRequired":true,"uniqueKey":"message","typeLabel":"object"},"content":{"type":"object","required":["metadata"],"properties":{"metadata":{"type":"object","required":["dateFormat","dateTimeFormat"],"properties":{"dateFormat":{"type":"string","description":"The format of the dates in this response, yyyy-MM-dd.","isRequired":true,"uniqueKey":"content.metadata.dateFormat","typeLabel":"string"},"dateTimeFormat":{"type":"string","description":"The format of the timestamps in this response, yyyy-MM-ddTHH:mm:ss.fffZ in UTC.","isRequired":true,"uniqueKey":"content.metadata.dateTimeFormat","typeLabel":"string"},"paginationToken":{"oneOf":[{"type":"string","description":"Send this value back as the paginationToken query parameter to get the next page; absent when there are no more pages.","uniqueKey":"content.metadata.paginationToken.oneOf.0","typeLabel":"string"},{"type":"null","description":"Send this value back as the paginationToken query parameter to get the next page; absent when there are no more pages.","uniqueKey":"content.metadata.paginationToken.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.metadata.paginationToken","typeLabel":"string | null"}},"description":"The date formats the response uses and, on a paged list, the token for the next page.","isRequired":true,"uniqueKey":"content.metadata","typeLabel":"object"},"data":{"description":"The resource or list the request asked for; left out when there is none.","uniqueKey":"content.data","typeLabel":"any"}},"description":"The data the request returns with its metadata; left out on a response that carries no data, such as most errors.","uniqueKey":"content","typeLabel":"object"},"validationIssues":{"oneOf":[{"type":"array","items":{"type":"object","description":"Field validation item. `reasonToken` is a stable snake_case key for i18n or custom client messages; `reason` is the default English text from the API.","required":["field","reason","reasonToken"],"properties":{"field":{"type":"string","description":"Dot-path of the field (e.g. name.firstName, address.line1).","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].field","typeLabel":"string"},"reason":{"type":"string","description":"Default human-readable message.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reason","typeLabel":"string"},"reasonToken":{"type":"string","description":"Machine-readable error identifier (snake_case).","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonToken","typeLabel":"string"},"reasonTokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"description":"The value itself, as a string, number or other JSON value.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value","typeLabel":"any"}},"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments","typeLabel":"object[] | null"}},"uniqueKey":"validationIssues.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Each field the request was refused for and why; left out when the request was not refused for its fields.","uniqueKey":"validationIssues.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"Field validation item. `reasonToken` is a stable snake_case key for i18n or custom client messages; `reason` is the default English text from the API.","required":["field","reason","reasonToken"],"properties":{"field":{"type":"string","description":"Dot-path of the field (e.g. name.firstName, address.line1)."},"reason":{"type":"string","description":"Default human-readable message."},"reasonToken":{"type":"string","description":"Machine-readable error identifier (snake_case)."},"reasonTokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none."},{"type":"null","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none."}]}}},"description":"Each field the request was refused for and why; left out when the request was not refused for its fields.","uniqueKey":"validationIssues.oneOf.1","typeLabel":"null"}],"uniqueKey":"validationIssues","typeLabel":"object[] | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":{"text":"\u003cstring>","token":"\u003cstring>","tokenArguments":[{"name":"\u003cstring>","value":"\u003cunknown>"}]},"content":{"metadata":{"dateFormat":"\u003cstring>","dateTimeFormat":"\u003cstring>","paginationToken":"\u003cstring>"},"data":"\u003cunknown>"},"validationIssues":[{"field":"\u003cstring>","reason":"\u003cstring>","reasonToken":"\u003cstring>","reasonTokenArguments":[{"name":"\u003cstring>","value":"\u003cunknown>"}]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"713f5849-927d-4c46-b42d-2050ef882f16":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"object","required":["text","token"],"properties":{"text":{"type":"string","description":"The message in English, ready to show to a user.","isRequired":true,"uniqueKey":"message.text","typeLabel":"string"},"token":{"type":"string","description":"A stable snake_case key for the message, so a client can show its own wording or a translation instead of text.","isRequired":true,"uniqueKey":"message.token","typeLabel":"string"},"tokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it.","isRequired":true,"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"description":"The value itself, as a string, number or other JSON value.","isRequired":true,"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value","typeLabel":"any"}},"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Values to fill into the client's own wording for token, such as the request id; absent when the message has none.","uniqueKey":"message.tokenArguments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for token, such as the request id; absent when the message has none.","uniqueKey":"message.tokenArguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.tokenArguments","typeLabel":"object[] | null"}},"description":"A readable message about the outcome and a stable token a client can branch on.","isRequired":true,"uniqueKey":"message","typeLabel":"object"},"content":{"type":"object","required":["metadata"],"properties":{"metadata":{"type":"object","required":["dateFormat","dateTimeFormat"],"properties":{"dateFormat":{"type":"string","description":"The format of the dates in this response, yyyy-MM-dd.","isRequired":true,"uniqueKey":"content.metadata.dateFormat","typeLabel":"string"},"dateTimeFormat":{"type":"string","description":"The format of the timestamps in this response, yyyy-MM-ddTHH:mm:ss.fffZ in UTC.","isRequired":true,"uniqueKey":"content.metadata.dateTimeFormat","typeLabel":"string"},"paginationToken":{"oneOf":[{"type":"string","description":"Send this value back as the paginationToken query parameter to get the next page; absent when there are no more pages.","uniqueKey":"content.metadata.paginationToken.oneOf.0","typeLabel":"string"},{"type":"null","description":"Send this value back as the paginationToken query parameter to get the next page; absent when there are no more pages.","uniqueKey":"content.metadata.paginationToken.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.metadata.paginationToken","typeLabel":"string | null"}},"description":"The date formats the response uses and, on a paged list, the token for the next page.","isRequired":true,"uniqueKey":"content.metadata","typeLabel":"object"},"data":{"description":"The resource or list the request asked for; left out when there is none.","uniqueKey":"content.data","typeLabel":"any"}},"description":"The data the request returns with its metadata; left out on a response that carries no data, such as most errors.","uniqueKey":"content","typeLabel":"object"},"validationIssues":{"oneOf":[{"type":"array","items":{"type":"object","description":"Field validation item. `reasonToken` is a stable snake_case key for i18n or custom client messages; `reason` is the default English text from the API.","required":["field","reason","reasonToken"],"properties":{"field":{"type":"string","description":"Dot-path of the field (e.g. name.firstName, address.line1).","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].field","typeLabel":"string"},"reason":{"type":"string","description":"Default human-readable message.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reason","typeLabel":"string"},"reasonToken":{"type":"string","description":"Machine-readable error identifier (snake_case).","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonToken","typeLabel":"string"},"reasonTokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"description":"The value itself, as a string, number or other JSON value.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value","typeLabel":"any"}},"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments","typeLabel":"object[] | null"}},"uniqueKey":"validationIssues.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Each field the request was refused for and why; left out when the request was not refused for its fields.","uniqueKey":"validationIssues.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"Field validation item. `reasonToken` is a stable snake_case key for i18n or custom client messages; `reason` is the default English text from the API.","required":["field","reason","reasonToken"],"properties":{"field":{"type":"string","description":"Dot-path of the field (e.g. name.firstName, address.line1)."},"reason":{"type":"string","description":"Default human-readable message."},"reasonToken":{"type":"string","description":"Machine-readable error identifier (snake_case)."},"reasonTokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none."},{"type":"null","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none."}]}}},"description":"Each field the request was refused for and why; left out when the request was not refused for its fields.","uniqueKey":"validationIssues.oneOf.1","typeLabel":"null"}],"uniqueKey":"validationIssues","typeLabel":"object[] | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":{"text":"\u003cstring>","token":"\u003cstring>","tokenArguments":[{"name":"\u003cstring>","value":"\u003cunknown>"}]},"content":{"metadata":{"dateFormat":"\u003cstring>","dateTimeFormat":"\u003cstring>","paginationToken":"\u003cstring>"},"data":"\u003cunknown>"},"validationIssues":[{"field":"\u003cstring>","reason":"\u003cstring>","reasonToken":"\u003cstring>","reasonTokenArguments":[{"name":"\u003cstring>","value":"\u003cunknown>"}]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"3983ec81-bf77-462d-b156-fed49f53146c":{"description":"One or more ids reference an existing payroll line that belongs to an already locked period and cannot be overridden","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"object","required":["text","token"],"properties":{"text":{"type":"string","description":"The message in English, ready to show to a user.","isRequired":true,"uniqueKey":"message.text","typeLabel":"string"},"token":{"type":"string","description":"A stable snake_case key for the message, so a client can show its own wording or a translation instead of text.","isRequired":true,"uniqueKey":"message.token","typeLabel":"string"},"tokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it.","isRequired":true,"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"description":"The value itself, as a string, number or other JSON value.","isRequired":true,"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value","typeLabel":"any"}},"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Values to fill into the client's own wording for token, such as the request id; absent when the message has none.","uniqueKey":"message.tokenArguments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for token, such as the request id; absent when the message has none.","uniqueKey":"message.tokenArguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.tokenArguments","typeLabel":"object[] | null"}},"description":"A readable message about the outcome and a stable token a client can branch on.","isRequired":true,"uniqueKey":"message","typeLabel":"object"},"content":{"type":"object","required":["metadata"],"properties":{"metadata":{"type":"object","required":["dateFormat","dateTimeFormat"],"properties":{"dateFormat":{"type":"string","description":"The format of the dates in this response, yyyy-MM-dd.","isRequired":true,"uniqueKey":"content.metadata.dateFormat","typeLabel":"string"},"dateTimeFormat":{"type":"string","description":"The format of the timestamps in this response, yyyy-MM-ddTHH:mm:ss.fffZ in UTC.","isRequired":true,"uniqueKey":"content.metadata.dateTimeFormat","typeLabel":"string"},"paginationToken":{"oneOf":[{"type":"string","description":"Send this value back as the paginationToken query parameter to get the next page; absent when there are no more pages.","uniqueKey":"content.metadata.paginationToken.oneOf.0","typeLabel":"string"},{"type":"null","description":"Send this value back as the paginationToken query parameter to get the next page; absent when there are no more pages.","uniqueKey":"content.metadata.paginationToken.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.metadata.paginationToken","typeLabel":"string | null"}},"description":"The date formats the response uses and, on a paged list, the token for the next page.","isRequired":true,"uniqueKey":"content.metadata","typeLabel":"object"},"data":{"description":"The resource or list the request asked for; left out when there is none.","uniqueKey":"content.data","typeLabel":"any"}},"description":"The data the request returns with its metadata; left out on a response that carries no data, such as most errors.","uniqueKey":"content","typeLabel":"object"},"validationIssues":{"oneOf":[{"type":"array","items":{"type":"object","description":"Field validation item. `reasonToken` is a stable snake_case key for i18n or custom client messages; `reason` is the default English text from the API.","required":["field","reason","reasonToken"],"properties":{"field":{"type":"string","description":"Dot-path of the field (e.g. name.firstName, address.line1).","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].field","typeLabel":"string"},"reason":{"type":"string","description":"Default human-readable message.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reason","typeLabel":"string"},"reasonToken":{"type":"string","description":"Machine-readable error identifier (snake_case).","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonToken","typeLabel":"string"},"reasonTokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"description":"The value itself, as a string, number or other JSON value.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value","typeLabel":"any"}},"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments","typeLabel":"object[] | null"}},"uniqueKey":"validationIssues.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Each field the request was refused for and why; left out when the request was not refused for its fields.","uniqueKey":"validationIssues.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"Field validation item. `reasonToken` is a stable snake_case key for i18n or custom client messages; `reason` is the default English text from the API.","required":["field","reason","reasonToken"],"properties":{"field":{"type":"string","description":"Dot-path of the field (e.g. name.firstName, address.line1)."},"reason":{"type":"string","description":"Default human-readable message."},"reasonToken":{"type":"string","description":"Machine-readable error identifier (snake_case)."},"reasonTokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none."},{"type":"null","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none."}]}}},"description":"Each field the request was refused for and why; left out when the request was not refused for its fields.","uniqueKey":"validationIssues.oneOf.1","typeLabel":"null"}],"uniqueKey":"validationIssues","typeLabel":"object[] | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":{"text":"\u003cstring>","token":"\u003cstring>","tokenArguments":[{"name":"\u003cstring>","value":"\u003cunknown>"}]},"content":{"metadata":{"dateFormat":"\u003cstring>","dateTimeFormat":"\u003cstring>","paginationToken":"\u003cstring>"},"data":"\u003cunknown>"},"validationIssues":[{"field":"\u003cstring>","reason":"\u003cstring>","reasonToken":"\u003cstring>","reasonTokenArguments":[{"name":"\u003cstring>","value":"\u003cunknown>"}]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"56cc19e0-d35c-47ea-bd04-b1fff5282168":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"object","required":["text","token"],"properties":{"text":{"type":"string","description":"The message in English, ready to show to a user.","isRequired":true,"uniqueKey":"message.text","typeLabel":"string"},"token":{"type":"string","description":"A stable snake_case key for the message, so a client can show its own wording or a translation instead of text.","isRequired":true,"uniqueKey":"message.token","typeLabel":"string"},"tokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it.","isRequired":true,"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"description":"The value itself, as a string, number or other JSON value.","isRequired":true,"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value","typeLabel":"any"}},"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Values to fill into the client's own wording for token, such as the request id; absent when the message has none.","uniqueKey":"message.tokenArguments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for token, such as the request id; absent when the message has none.","uniqueKey":"message.tokenArguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.tokenArguments","typeLabel":"object[] | null"}},"description":"A readable message about the outcome and a stable token a client can branch on.","isRequired":true,"uniqueKey":"message","typeLabel":"object"},"content":{"type":"object","required":["metadata"],"properties":{"metadata":{"type":"object","required":["dateFormat","dateTimeFormat"],"properties":{"dateFormat":{"type":"string","description":"The format of the dates in this response, yyyy-MM-dd.","isRequired":true,"uniqueKey":"content.metadata.dateFormat","typeLabel":"string"},"dateTimeFormat":{"type":"string","description":"The format of the timestamps in this response, yyyy-MM-ddTHH:mm:ss.fffZ in UTC.","isRequired":true,"uniqueKey":"content.metadata.dateTimeFormat","typeLabel":"string"},"paginationToken":{"oneOf":[{"type":"string","description":"Send this value back as the paginationToken query parameter to get the next page; absent when there are no more pages.","uniqueKey":"content.metadata.paginationToken.oneOf.0","typeLabel":"string"},{"type":"null","description":"Send this value back as the paginationToken query parameter to get the next page; absent when there are no more pages.","uniqueKey":"content.metadata.paginationToken.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.metadata.paginationToken","typeLabel":"string | null"}},"description":"The date formats the response uses and, on a paged list, the token for the next page.","isRequired":true,"uniqueKey":"content.metadata","typeLabel":"object"},"data":{"description":"The resource or list the request asked for; left out when there is none.","uniqueKey":"content.data","typeLabel":"any"}},"description":"The data the request returns with its metadata; left out on a response that carries no data, such as most errors.","uniqueKey":"content","typeLabel":"object"},"validationIssues":{"oneOf":[{"type":"array","items":{"type":"object","description":"Field validation item. `reasonToken` is a stable snake_case key for i18n or custom client messages; `reason` is the default English text from the API.","required":["field","reason","reasonToken"],"properties":{"field":{"type":"string","description":"Dot-path of the field (e.g. name.firstName, address.line1).","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].field","typeLabel":"string"},"reason":{"type":"string","description":"Default human-readable message.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reason","typeLabel":"string"},"reasonToken":{"type":"string","description":"Machine-readable error identifier (snake_case).","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonToken","typeLabel":"string"},"reasonTokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"description":"The value itself, as a string, number or other JSON value.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value","typeLabel":"any"}},"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments","typeLabel":"object[] | null"}},"uniqueKey":"validationIssues.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Each field the request was refused for and why; left out when the request was not refused for its fields.","uniqueKey":"validationIssues.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"Field validation item. `reasonToken` is a stable snake_case key for i18n or custom client messages; `reason` is the default English text from the API.","required":["field","reason","reasonToken"],"properties":{"field":{"type":"string","description":"Dot-path of the field (e.g. name.firstName, address.line1)."},"reason":{"type":"string","description":"Default human-readable message."},"reasonToken":{"type":"string","description":"Machine-readable error identifier (snake_case)."},"reasonTokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none."},{"type":"null","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none."}]}}},"description":"Each field the request was refused for and why; left out when the request was not refused for its fields.","uniqueKey":"validationIssues.oneOf.1","typeLabel":"null"}],"uniqueKey":"validationIssues","typeLabel":"object[] | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":{"text":"\u003cstring>","token":"\u003cstring>","tokenArguments":[{"name":"\u003cstring>","value":"\u003cunknown>"}]},"content":{"metadata":{"dateFormat":"\u003cstring>","dateTimeFormat":"\u003cstring>","paginationToken":"\u003cstring>"},"data":"\u003cunknown>"},"validationIssues":[{"field":"\u003cstring>","reason":"\u003cstring>","reasonToken":"\u003cstring>","reasonTokenArguments":[{"name":"\u003cstring>","value":"\u003cunknown>"}]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"ed5b4d20-d8ed-4904-a2b0-0448deefb828":{"description":"Service Unavailable","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"object","required":["text","token"],"properties":{"text":{"type":"string","description":"The message in English, ready to show to a user.","isRequired":true,"uniqueKey":"message.text","typeLabel":"string"},"token":{"type":"string","description":"A stable snake_case key for the message, so a client can show its own wording or a translation instead of text.","isRequired":true,"uniqueKey":"message.token","typeLabel":"string"},"tokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it.","isRequired":true,"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"description":"The value itself, as a string, number or other JSON value.","isRequired":true,"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value","typeLabel":"any"}},"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Values to fill into the client's own wording for token, such as the request id; absent when the message has none.","uniqueKey":"message.tokenArguments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for token, such as the request id; absent when the message has none.","uniqueKey":"message.tokenArguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.tokenArguments","typeLabel":"object[] | null"}},"description":"A readable message about the outcome and a stable token a client can branch on.","isRequired":true,"uniqueKey":"message","typeLabel":"object"},"content":{"type":"object","required":["metadata"],"properties":{"metadata":{"type":"object","required":["dateFormat","dateTimeFormat"],"properties":{"dateFormat":{"type":"string","description":"The format of the dates in this response, yyyy-MM-dd.","isRequired":true,"uniqueKey":"content.metadata.dateFormat","typeLabel":"string"},"dateTimeFormat":{"type":"string","description":"The format of the timestamps in this response, yyyy-MM-ddTHH:mm:ss.fffZ in UTC.","isRequired":true,"uniqueKey":"content.metadata.dateTimeFormat","typeLabel":"string"},"paginationToken":{"oneOf":[{"type":"string","description":"Send this value back as the paginationToken query parameter to get the next page; absent when there are no more pages.","uniqueKey":"content.metadata.paginationToken.oneOf.0","typeLabel":"string"},{"type":"null","description":"Send this value back as the paginationToken query parameter to get the next page; absent when there are no more pages.","uniqueKey":"content.metadata.paginationToken.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.metadata.paginationToken","typeLabel":"string | null"}},"description":"The date formats the response uses and, on a paged list, the token for the next page.","isRequired":true,"uniqueKey":"content.metadata","typeLabel":"object"},"data":{"description":"The resource or list the request asked for; left out when there is none.","uniqueKey":"content.data","typeLabel":"any"}},"description":"The data the request returns with its metadata; left out on a response that carries no data, such as most errors.","uniqueKey":"content","typeLabel":"object"},"validationIssues":{"oneOf":[{"type":"array","items":{"type":"object","description":"Field validation item. `reasonToken` is a stable snake_case key for i18n or custom client messages; `reason` is the default English text from the API.","required":["field","reason","reasonToken"],"properties":{"field":{"type":"string","description":"Dot-path of the field (e.g. name.firstName, address.line1).","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].field","typeLabel":"string"},"reason":{"type":"string","description":"Default human-readable message.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reason","typeLabel":"string"},"reasonToken":{"type":"string","description":"Machine-readable error identifier (snake_case).","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonToken","typeLabel":"string"},"reasonTokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"description":"The value itself, as a string, number or other JSON value.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value","typeLabel":"any"}},"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments","typeLabel":"object[] | null"}},"uniqueKey":"validationIssues.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Each field the request was refused for and why; left out when the request was not refused for its fields.","uniqueKey":"validationIssues.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"Field validation item. `reasonToken` is a stable snake_case key for i18n or custom client messages; `reason` is the default English text from the API.","required":["field","reason","reasonToken"],"properties":{"field":{"type":"string","description":"Dot-path of the field (e.g. name.firstName, address.line1)."},"reason":{"type":"string","description":"Default human-readable message."},"reasonToken":{"type":"string","description":"Machine-readable error identifier (snake_case)."},"reasonTokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none."},{"type":"null","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","description":"The name of the value, as a client's wording refers to it."},"value":{"description":"The value itself, as a string, number or other JSON value."}}},"description":"Values to fill into the client's own wording for reasonToken; absent when the reason has none."}]}}},"description":"Each field the request was refused for and why; left out when the request was not refused for its fields.","uniqueKey":"validationIssues.oneOf.1","typeLabel":"null"}],"uniqueKey":"validationIssues","typeLabel":"object[] | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":{"text":"\u003cstring>","token":"\u003cstring>","tokenArguments":[{"name":"\u003cstring>","value":"\u003cunknown>"}]},"content":{"metadata":{"dateFormat":"\u003cstring>","dateTimeFormat":"\u003cstring>","paginationToken":"\u003cstring>"},"data":"\u003cunknown>"},"validationIssues":[{"field":"\u003cstring>","reason":"\u003cstring>","reasonToken":"\u003cstring>","reasonTokenArguments":[{"name":"\u003cstring>","value":"\u003cunknown>"}]}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"973976aa-1bf6-4af6-9e68-200c04a60a73":{"XAuthToken":{"type":"apiKey","in":"header","name":"X-Auth-Token","description":"Access token obtained from OAuth2 client credentials flow","scopes":[],"schemeName":"XAuthToken"},"XOrgId":{"type":"apiKey","in":"header","name":"X-Org-Id","description":"Organisation to scope the request to. Required when the principal can access more than one organisation; optional for single-organisation principals (the authorizer resolves it automatically).","scopes":[],"schemeName":"XOrgId"}}},"servers":{"4f10880e-c0ad-40a3-a61a-d2a198e39654":{"url":"https://api.sandbox.flowpayroll.ai/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-Auth-Token","description":"Access token obtained from OAuth2 client credentials flow","scopes":[],"schemeName":"XAuthToken"},"schema":{"title":"X-Auth-Token","type":"string","description":"Access token obtained from OAuth2 client credentials flow","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"XAuthToken","name":"X-Auth-Token"},{"scheme":{"type":"apiKey","in":"header","name":"X-Org-Id","description":"Organisation to scope the request to. Required when the principal can access more than one organisation; optional for single-organisation principals (the authorizer resolves it automatically).","scopes":[],"schemeName":"XOrgId"},"schema":{"title":"X-Org-Id","type":"string","description":"Organisation to scope the request to. Required when the principal can access more than one organisation; optional for single-organisation principals (the authorizer resolves it automatically).","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"XOrgId","name":"X-Org-Id"}],"title":"XAuthToken \u0026 XOrgId"}]},"originalFileLocation":"api-reference/specs/pay-api.yaml"},"subdomain":"flowpayroll-1ca487e0","siteName":"Flow Payroll","title":"Upload payroll lines - Flow Payroll","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-02T16:49:04.038Z","originalFileLocation":"api-reference/pay-api/payroll-lines/upload-payroll-lines.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Needs permission pay-run:write. Uploads a list of payroll lines to the system. The system will attempt to process each line and return a list of validation issues for any lines that fail. The successful lines will be returned in the response. The combination of employeeID and id must be unique. There\u0026#x27;s a hard limit of 100 items per request. In addition to the input data, the response contain an additional field \u0026#x27;payrollDate\u0026#x27; - which corresponds to the date that will be considered for the payroll process. The payrollDate will always be populated - either with the date in the input - or with the very next yet unlocked date, in case the period for the given date is already locked. On HMRC submission, the system will use the date as reference to the period. Sending an id that matches an existing line item updates (fully replaces) that line item; if the existing line item belongs to an already locked period, the request is rejected with a 409 and no lines are written. Line ids beginning \u0026#x27;internal_\u0026#x27; are reserved for lines the platform creates itself (pension contributions, for example) and are rejected with a validation issue. The pension context that drives an employer contribution is platform-owned, so it is only honoured on the platform\u0026#x27;s own contribution lines and is ignored on uploaded ones. Billing and invoicing fields on a line (its billing status, invoice id and charge value) are derived by the platform and returned on the response, not accepted here.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Flow Payroll\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/flowpayroll-1ca487e0/zIWjxBHuf7oDNvih/_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/flowpayroll-1ca487e0/zIWjxBHuf7oDNvih/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/flowpayroll-1ca487e0/zIWjxBHuf7oDNvih/_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/flowpayroll-1ca487e0/zIWjxBHuf7oDNvih/_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/flowpayroll-1ca487e0/zIWjxBHuf7oDNvih/_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/flowpayroll-1ca487e0/zIWjxBHuf7oDNvih/_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/flowpayroll-1ca487e0/zIWjxBHuf7oDNvih/_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/flowpayroll-1ca487e0/zIWjxBHuf7oDNvih/_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/flowpayroll-1ca487e0/zIWjxBHuf7oDNvih/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Upload payroll lines - Flow Payroll\">\u003cmeta data-mint-head property=\"og:description\" content=\"Needs permission pay-run:write. Uploads a list of payroll lines to the system. The system will attempt to process each line and return a list of validation issues for any lines that fail. The successful lines will be returned in the response. The combination of employeeID and id must be unique. There\u0026#x27;s a hard limit of 100 items per request. In addition to the input data, the response contain an additional field \u0026#x27;payrollDate\u0026#x27; - which corresponds to the date that will be considered for the payroll process. The payrollDate will always be populated - either with the date in the input - or with the very next yet unlocked date, in case the period for the given date is already locked. On HMRC submission, the system will use the date as reference to the period. Sending an id that matches an existing line item updates (fully replaces) that line item; if the existing line item belongs to an already locked period, the request is rejected with a 409 and no lines are written. Line ids beginning \u0026#x27;internal_\u0026#x27; are reserved for lines the platform creates itself (pension contributions, for example) and are rejected with a validation issue. The pension context that drives an employer contribution is platform-owned, so it is only honoured on the platform\u0026#x27;s own contribution lines and is ignored on uploaded ones. Billing and invoicing fields on a line (its billing status, invoice id and charge value) are derived by the platform and returned on the response, not accepted here.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Flow Payroll\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.flowpayroll.ai/api-reference/pay-api/payroll-lines/upload-payroll-lines\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://flowpayroll-1ca487e0.mintlify.site/_mintlify/api/og/v2?division=Payroll+lines\u0026amp;title=Upload+payroll+lines\u0026amp;description=Needs+permission+pay-run%3Awrite.%0A%0AUploads+a+list+of+payroll+lines+to+the+system.+The+system+will+attempt+to+process+each+line+and+return+a+list+of+validation+iss\u0026amp;theme=cd67eca79f792077d60a7663\u0026amp;signature=93130c5372ba8dd9cc4b223ee561c92560a60cecfd025438c34d9eb795c30252\">\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=\"Upload payroll lines - Flow Payroll\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Needs permission pay-run:write. Uploads a list of payroll lines to the system. The system will attempt to process each line and return a list of validation issues for any lines that fail. The successful lines will be returned in the response. The combination of employeeID and id must be unique. There\u0026#x27;s a hard limit of 100 items per request. In addition to the input data, the response contain an additional field \u0026#x27;payrollDate\u0026#x27; - which corresponds to the date that will be considered for the payroll process. The payrollDate will always be populated - either with the date in the input - or with the very next yet unlocked date, in case the period for the given date is already locked. On HMRC submission, the system will use the date as reference to the period. Sending an id that matches an existing line item updates (fully replaces) that line item; if the existing line item belongs to an already locked period, the request is rejected with a 409 and no lines are written. Line ids beginning \u0026#x27;internal_\u0026#x27; are reserved for lines the platform creates itself (pension contributions, for example) and are rejected with a validation issue. The pension context that drives an employer contribution is platform-owned, so it is only honoured on the platform\u0026#x27;s own contribution lines and is ignored on uploaded ones. Billing and invoicing fields on a line (its billing status, invoice id and charge value) are derived by the platform and returned on the response, not accepted here.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://flowpayroll-1ca487e0.mintlify.site/_mintlify/api/og/v2?division=Payroll+lines\u0026amp;title=Upload+payroll+lines\u0026amp;description=Needs+permission+pay-run%3Awrite.%0A%0AUploads+a+list+of+payroll+lines+to+the+system.+The+system+will+attempt+to+process+each+line+and+return+a+list+of+validation+iss\u0026amp;theme=cd67eca79f792077d60a7663\u0026amp;signature=93130c5372ba8dd9cc4b223ee561c92560a60cecfd025438c34d9eb795c30252\">\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/flowpayroll-1ca487e0/zIWjxBHuf7oDNvih/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Flow Payroll\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#635BFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.flowpayroll.ai/api-reference/pay-api/payroll-lines/upload-payroll-lines\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/pay-api/payroll-lines/upload-payroll-lines.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.flowpayroll.ai/#organization\",\"name\":\"Flow Payroll\",\"url\":\"https://docs.flowpayroll.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/flowpayroll-1ca487e0/ySOA_2Ay6nr7ISKu/logo/light.svg?fit=max\u0026auto=format\u0026n=ySOA_2Ay6nr7ISKu\u0026q=85\u0026s=a1a7d7d96acdc04b96f0d043180b6ae8\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.flowpayroll.ai#website\",\"name\":\"Flow Payroll\",\"url\":\"https://docs.flowpayroll.ai\",\"publisher\":{\"@id\":\"https://docs.flowpayroll.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.flowpayroll.ai/api-reference/pay-api/payroll-lines/upload-payroll-lines#webpage\",\"url\":\"https://docs.flowpayroll.ai/api-reference/pay-api/payroll-lines/upload-payroll-lines\",\"name\":\"Upload payroll lines\",\"description\":\"Needs permission pay-run:write. Uploads a list of payroll lines to the system. The system will attempt to process each line and return a list of validation issues for any lines that fail. The successful lines will be returned in the response. The combination of employeeID and id must be unique. There's a hard limit of 100 items per request. In addition to the input data, the response contain an additional field 'payrollDate' - which corresponds to the date that will be considered for the payroll process. The payrollDate will always be populated - either with the date in the input - or with the very next yet unlocked date, in case the period for the given date is already locked. On HMRC submission, the system will use the date as reference to the period. Sending an id that matches an existing line item updates (fully replaces) that line item; if the existing line item belongs to an already locked period, the request is rejected with a 409 and no lines are written. Line ids beginning 'internal_' are reserved for lines the platform creates itself (pension contributions, for example) and are rejected with a validation issue. The pension context that drives an employer contribution is platform-owned, so it is only honoured on the platform's own contribution lines and is ignored on uploaded ones. Billing and invoicing fields on a line (its billing status, invoice id and charge value) are derived by the platform and returned on the response, not accepted here.\",\"dateModified\":\"2026-12-02T16:49:04.038Z\",\"isPartOf\":{\"@id\":\"https://docs.flowpayroll.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.flowpayroll.ai/api-reference/pay-api/payroll-lines/upload-payroll-lines#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.flowpayroll.ai/api-reference/pay-api/payroll-lines/upload-payroll-lines#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Pay API\",\"item\":\"https://docs.flowpayroll.ai/api-reference/pay-api/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Upload payroll lines\",\"item\":\"https://docs.flowpayroll.ai/api-reference/pay-api/payroll-lines/upload-payroll-lines\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.flowpayroll.ai/api-reference/pay-api/payroll-lines/upload-payroll-lines#apireference\",\"headline\":\"Upload payroll lines\",\"name\":\"Upload payroll lines\",\"description\":\"Needs permission pay-run:write. Uploads a list of payroll lines to the system. The system will attempt to process each line and return a list of validation issues for any lines that fail. The successful lines will be returned in the response. The combination of employeeID and id must be unique. There's a hard limit of 100 items per request. In addition to the input data, the response contain an additional field 'payrollDate' - which corresponds to the date that will be considered for the payroll process. The payrollDate will always be populated - either with the date in the input - or with the very next yet unlocked date, in case the period for the given date is already locked. On HMRC submission, the system will use the date as reference to the period. Sending an id that matches an existing line item updates (fully replaces) that line item; if the existing line item belongs to an already locked period, the request is rejected with a 409 and no lines are written. Line ids beginning 'internal_' are reserved for lines the platform creates itself (pension contributions, for example) and are rejected with a validation issue. The pension context that drives an employer contribution is platform-owned, so it is only honoured on the platform's own contribution lines and is ignored on uploaded ones. Billing and invoicing fields on a line (its billing status, invoice id and charge value) are derived by the platform and returned on the response, not accepted here.\",\"url\":\"https://docs.flowpayroll.ai/api-reference/pay-api/payroll-lines/upload-payroll-lines\",\"mainEntityOfPage\":{\"@id\":\"https://docs.flowpayroll.ai/api-reference/pay-api/payroll-lines/upload-payroll-lines#webpage\"},\"dateModified\":\"2026-12-02T16:49:04.038Z\",\"publisher\":{\"@id\":\"https://docs.flowpayroll.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.flowpayroll.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Flow Payroll\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Flow Payroll\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/pay-api/payroll-lines/upload-payroll-lines.md","siteName":"Flow Payroll","nav":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://app.flowpayroll.ai"},{"anchor":"Download OpenAPI","icon":"download","href":"/api-reference/use-in-postman"},{"anchor":"Support","icon":"envelope","href":"mailto:hello@flowpayroll.ai"}]},"tabs":[{"tab":"Overview","pages":[{"title":"Overview","href":""}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/welcome"}]},{"tab":"Onboarding","pages":[{"title":"Onboarding","href":"/onboarding/overview"}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"UK payroll API","sidebarTitle":"API reference","icon":"code","href":"/api-reference/introduction"},{"title":"Build an integration","sidebarTitle":"Integration patterns","icon":"plug","href":"/api-reference/integration-patterns"},{"title":"What's new in the API","sidebarTitle":"What's new","icon":"sparkles","href":"/api-reference/whats-new"},{"title":"Deprecations","icon":"clock-rotate-left","href":"/api-reference/deprecations"},{"title":"Authentication","icon":"key","href":"/api-reference/authentication"},{"title":"Response format","icon":"brackets-curly","href":"/api-reference/response-format"},{"title":"Use in Postman","icon":"download","href":"/api-reference/use-in-postman"},{"title":"MCP server","icon":"plug","href":"/api-reference/mcp-server"},{"title":"Payroll for AI agents","sidebarTitle":"AI agents","icon":"sparkles","href":"/api-reference/agentic-payroll"}]},{"group":"Administration API","pages":[{"title":"Administration API overview","sidebarTitle":"Overview","href":"/api-reference/administration/overview"},{"title":"Users, roles and permissions","href":"/api-reference/administration/users-roles-and-permissions"},{"title":"Permission errors","href":"/api-reference/administration/permission-errors"},{"title":"Provisioning users with SCIM 2.0","href":"/api-reference/administration/scim-provisioning"},{"title":"Show your own support inside Flow Payroll","sidebarTitle":"Support panel","href":"/api-reference/administration/partner-support-panel"},{"title":"Tell your people what to do when their role can't change something","sidebarTitle":"Access messages","href":"/api-reference/administration/access-messages"},{"group":"Activity","pages":[{"title":"List recent administration activity","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /activity","href":"/api-reference/administration/activity/list-recent-administration-activity"},{"title":"List changes to who has access","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /access-changes","href":"/api-reference/administration/activity/list-changes-to-who-has-access"}]},{"group":"API tokens","pages":[{"title":"List your API tokens","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /api-tokens","href":"/api-reference/administration/api-tokens/list-your-api-tokens"},{"title":"Create an API token","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /api-tokens","href":"/api-reference/administration/api-tokens/create-an-api-token"},{"title":"Get an API token and its access","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /api-tokens/{clientId}","href":"/api-reference/administration/api-tokens/get-an-api-token-and-its-access"},{"title":"Revoke an API token","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /api-tokens/{clientId}","href":"/api-reference/administration/api-tokens/revoke-an-api-token"},{"title":"Rename an API token, or change where it may be used from","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json patch /api-tokens/{clientId}","href":"/api-reference/administration/api-tokens/rename-an-api-token-or-change-where-it-may-be-used-from"},{"title":"Rotate an API token's secret","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /api-tokens/{clientId}/rotate","href":"/api-reference/administration/api-tokens/rotate-an-api-tokens-secret"},{"title":"List the organisations an API token reaches","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /api-tokens/{clientId}/organisations","href":"/api-reference/administration/api-tokens/list-the-organisations-an-api-token-reaches"},{"title":"Replace the organisations an API token reaches","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json put /api-tokens/{clientId}/organisations","href":"/api-reference/administration/api-tokens/replace-the-organisations-an-api-token-reaches"},{"title":"Grant an API token one organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json put /api-tokens/{clientId}/organisations/{organisationId}","href":"/api-reference/administration/api-tokens/grant-an-api-token-one-organisation"},{"title":"Remove an API token's grant on one organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /api-tokens/{clientId}/organisations/{organisationId}","href":"/api-reference/administration/api-tokens/remove-an-api-tokens-grant-on-one-organisation"},{"title":"Check whether an API token has account-wide access","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /api-tokens/{clientId}/customer-access","href":"/api-reference/administration/api-tokens/check-whether-an-api-token-has-account-wide-access"},{"title":"Grant an API token account-wide access","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json put /api-tokens/{clientId}/customer-access","href":"/api-reference/administration/api-tokens/grant-an-api-token-account-wide-access"},{"title":"Remove an API token's account-wide access","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /api-tokens/{clientId}/customer-access","href":"/api-reference/administration/api-tokens/remove-an-api-tokens-account-wide-access"}]},{"group":"Branding","pages":[{"title":"Get your published brand","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /customer/branding","href":"/api-reference/administration/branding/get-your-published-brand"},{"title":"Go back to the Flow brand","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /customer/branding","href":"/api-reference/administration/branding/go-back-to-the-flow-brand"},{"title":"Get your brand draft","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /customer/branding/draft","href":"/api-reference/administration/branding/get-your-brand-draft"},{"title":"Start your brand again","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /customer/branding/draft","href":"/api-reference/administration/branding/start-your-brand-again"},{"title":"Change your brand draft","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json patch /customer/branding/draft","href":"/api-reference/administration/branding/change-your-brand-draft"},{"title":"List your published brand history","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /customer/branding/revisions","href":"/api-reference/administration/branding/list-your-published-brand-history"},{"title":"Publish your brand","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /customer/branding/revisions","href":"/api-reference/administration/branding/publish-your-brand"},{"title":"Upload a logo, icon or font","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /customer/branding/assets","href":"/api-reference/administration/branding/upload-a-logo-icon-or-font"},{"title":"Check an upload","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /customer/branding/assets/{uploadId}","href":"/api-reference/administration/branding/check-an-upload"},{"title":"List your web addresses","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /customer/branding/domains","href":"/api-reference/administration/branding/list-your-web-addresses"},{"title":"List your email sending domains","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /customer/branding/sending-domains","href":"/api-reference/administration/branding/list-your-email-sending-domains"}]},{"group":"Customer","pages":[{"title":"Transfer ownership of your account","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json put /customer/owner","href":"/api-reference/administration/customer/transfer-ownership-of-your-account"},{"title":"Get your account","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /customer","href":"/api-reference/administration/customer/get-your-account"},{"title":"Rename your account","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json patch /customer","href":"/api-reference/administration/customer/rename-your-account"}]},{"group":"Organisation groups","pages":[{"title":"Give a person access through an organisation group","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json put /users/{userId}/organisation-groups/{groupId}","href":"/api-reference/administration/organisation-groups/give-a-person-access-through-an-organisation-group"},{"title":"End a person's access through an organisation group","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /users/{userId}/organisation-groups/{groupId}","href":"/api-reference/administration/organisation-groups/end-a-persons-access-through-an-organisation-group"},{"title":"Give an API token access through an organisation group","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json put /api-tokens/{clientId}/organisation-groups/{groupId}","href":"/api-reference/administration/organisation-groups/give-an-api-token-access-through-an-organisation-group"},{"title":"End an API token's access through an organisation group","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /api-tokens/{clientId}/organisation-groups/{groupId}","href":"/api-reference/administration/organisation-groups/end-an-api-tokens-access-through-an-organisation-group"},{"title":"List your organisation groups","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /organisation-groups","href":"/api-reference/administration/organisation-groups/list-your-organisation-groups"},{"title":"Create an organisation group","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /organisation-groups","href":"/api-reference/administration/organisation-groups/create-an-organisation-group"},{"title":"Get an organisation group","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /organisation-groups/{groupId}","href":"/api-reference/administration/organisation-groups/get-an-organisation-group"},{"title":"Delete an organisation group","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /organisation-groups/{groupId}","href":"/api-reference/administration/organisation-groups/delete-an-organisation-group"},{"title":"Rename an organisation group","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json patch /organisation-groups/{groupId}","href":"/api-reference/administration/organisation-groups/rename-an-organisation-group"},{"title":"List the organisations in a group","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /organisation-groups/{groupId}/organisations","href":"/api-reference/administration/organisation-groups/list-the-organisations-in-a-group"},{"title":"Add an organisation to a group","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json put /organisation-groups/{groupId}/organisations/{organisationId}","href":"/api-reference/administration/organisation-groups/add-an-organisation-to-a-group"},{"title":"Take an organisation out of a group","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /organisation-groups/{groupId}/organisations/{organisationId}","href":"/api-reference/administration/organisation-groups/take-an-organisation-out-of-a-group"},{"title":"List who has access through an organisation group","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /organisation-groups/{groupId}/access","href":"/api-reference/administration/organisation-groups/list-who-has-access-through-an-organisation-group"}]},{"group":"Organisations","pages":[{"title":"List the organisations you can see","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /organisations","href":"/api-reference/administration/organisations/list-the-organisations-you-can-see"},{"title":"Add an organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /organisations","href":"/api-reference/administration/organisations/add-an-organisation"},{"title":"Add up the organisations you can see","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /organisations/summary","href":"/api-reference/administration/organisations/add-up-the-organisations-you-can-see"},{"title":"Add several organisations at once","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /organisations/bulk","href":"/api-reference/administration/organisations/add-several-organisations-at-once"},{"title":"Get an organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /organisations/{organisationId}","href":"/api-reference/administration/organisations/get-an-organisation"},{"title":"Change what your account records about an organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json patch /organisations/{organisationId}","href":"/api-reference/administration/organisations/change-what-your-account-records-about-an-organisation"},{"title":"List who has access to an organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /organisations/{organisationId}/access","href":"/api-reference/administration/organisations/list-who-has-access-to-an-organisation"},{"title":"Name who did something in an organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /organisations/{organisationId}/people","href":"/api-reference/administration/organisations/name-who-did-something-in-an-organisation"},{"title":"Get several organisations' company logos","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /organisations/branding","href":"/api-reference/administration/organisations/get-several-organisations-company-logos"},{"title":"Get an organisation's branding","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /organisations/{organisationId}/branding","href":"/api-reference/administration/organisations/get-an-organisations-branding"},{"title":"Change an organisation's company logo","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json patch /organisations/{organisationId}/branding","href":"/api-reference/administration/organisations/change-an-organisations-company-logo"},{"title":"Upload a company logo","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /organisations/{organisationId}/branding/assets","href":"/api-reference/administration/organisations/upload-a-company-logo"},{"title":"Check a company logo upload","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /organisations/{organisationId}/branding/assets/{uploadId}","href":"/api-reference/administration/organisations/check-a-company-logo-upload"},{"title":"Get the brand the app shows for an organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /organisations/{organisationId}/resolved-branding","href":"/api-reference/administration/organisations/get-the-brand-the-app-shows-for-an-organisation"},{"title":"Start a support session for an organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /organisations/{organisationId}/support-sessions","href":"/api-reference/administration/organisations/start-a-support-session-for-an-organisation"}]},{"group":"Roles","pages":[{"title":"List the roles you can give","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /roles","href":"/api-reference/administration/roles/list-the-roles-you-can-give"},{"title":"Create a role of your own","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /roles","href":"/api-reference/administration/roles/create-a-role-of-your-own"},{"title":"Get a role","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /roles/{roleId}","href":"/api-reference/administration/roles/get-a-role"},{"title":"Delete one of your own roles","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /roles/{roleId}","href":"/api-reference/administration/roles/delete-one-of-your-own-roles"},{"title":"Change one of your own roles","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json patch /roles/{roleId}","href":"/api-reference/administration/roles/change-one-of-your-own-roles"},{"title":"See how a role has changed","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /roles/{roleId}/revisions","href":"/api-reference/administration/roles/see-how-a-role-has-changed"},{"title":"Get your access settings","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /customer/access-settings","href":"/api-reference/administration/roles/get-your-access-settings"},{"title":"Choose your default role","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json patch /customer/access-settings","href":"/api-reference/administration/roles/choose-your-default-role"}]},{"group":"SCIM","pages":[{"title":"List or find users","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /scim/v2/Users","href":"/api-reference/administration/scim/list-or-find-users"},{"title":"Provision a user","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /scim/v2/Users","href":"/api-reference/administration/scim/provision-a-user"},{"title":"Get a user","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /scim/v2/Users/{id}","href":"/api-reference/administration/scim/get-a-user"},{"title":"Replace a user","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json put /scim/v2/Users/{id}","href":"/api-reference/administration/scim/replace-a-user"},{"title":"Remove a user","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /scim/v2/Users/{id}","href":"/api-reference/administration/scim/remove-a-user"},{"title":"Change a user","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json patch /scim/v2/Users/{id}","href":"/api-reference/administration/scim/change-a-user"},{"title":"List roles as groups","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /scim/v2/Groups","href":"/api-reference/administration/scim/list-roles-as-groups"},{"title":"Not supported","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /scim/v2/Groups","href":"/api-reference/administration/scim/not-supported"},{"title":"Get a role as a group","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /scim/v2/Groups/{id}","href":"/api-reference/administration/scim/get-a-role-as-a-group"},{"title":"Replace the members","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json put /scim/v2/Groups/{id}","href":"/api-reference/administration/scim/replace-the-members"},{"title":"Not supported","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /scim/v2/Groups/{id}","href":"/api-reference/administration/scim/not-supported-1"},{"title":"Add or remove members","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json patch /scim/v2/Groups/{id}","href":"/api-reference/administration/scim/add-or-remove-members"},{"title":"What SCIM features are supported","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /scim/v2/ServiceProviderConfig","href":"/api-reference/administration/scim/what-scim-features-are-supported"},{"title":"The resource types","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /scim/v2/ResourceTypes","href":"/api-reference/administration/scim/the-resource-types"},{"title":"One resource type","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /scim/v2/ResourceTypes/{id}","href":"/api-reference/administration/scim/one-resource-type"},{"title":"The schemas","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /scim/v2/Schemas","href":"/api-reference/administration/scim/the-schemas"},{"title":"One schema","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /scim/v2/Schemas/{id}","href":"/api-reference/administration/scim/one-schema"}]},{"group":"Users","pages":[{"title":"Get yourself and your access","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /users/me","href":"/api-reference/administration/users/get-yourself-and-your-access"},{"title":"List the people in your account","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /users","href":"/api-reference/administration/users/list-the-people-in-your-account"},{"title":"Invite somebody, or give somebody more access","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /users","href":"/api-reference/administration/users/invite-somebody-or-give-somebody-more-access"},{"title":"Invite several people at once","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /users/bulk","href":"/api-reference/administration/users/invite-several-people-at-once"},{"title":"Get a person and their access","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /users/{principalId}","href":"/api-reference/administration/users/get-a-person-and-their-access"},{"title":"Remove somebody from your account","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /users/{principalId}","href":"/api-reference/administration/users/remove-somebody-from-your-account"},{"title":"Change what your account records about a person","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json patch /users/{principalId}","href":"/api-reference/administration/users/change-what-your-account-records-about-a-person"},{"title":"List the organisations a person reaches","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /users/{principalId}/organisations","href":"/api-reference/administration/users/list-the-organisations-a-person-reaches"},{"title":"Replace a person's direct grants","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json put /users/{principalId}/organisations","href":"/api-reference/administration/users/replace-a-persons-direct-grants"},{"title":"Grant a person one organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json put /users/{principalId}/organisations/{organisationId}","href":"/api-reference/administration/users/grant-a-person-one-organisation"},{"title":"Remove a person's grant on one organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /users/{principalId}/organisations/{organisationId}","href":"/api-reference/administration/users/remove-a-persons-grant-on-one-organisation"},{"title":"Check whether a person has account-wide access","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /users/{principalId}/customer-access","href":"/api-reference/administration/users/check-whether-a-person-has-account-wide-access"},{"title":"Grant a person account-wide access","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json put /users/{principalId}/customer-access","href":"/api-reference/administration/users/grant-a-person-account-wide-access"},{"title":"Remove a person's account-wide access","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /users/{principalId}/customer-access","href":"/api-reference/administration/users/remove-a-persons-account-wide-access"},{"title":"Resend an invitation","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /users/{principalId}/resend-invitation","href":"/api-reference/administration/users/resend-an-invitation"},{"title":"Stop managing a guest","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /users/{principalId}/release","href":"/api-reference/administration/users/stop-managing-a-guest"},{"title":"Upload your profile photo","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /users/me/photo/uploads","href":"/api-reference/administration/users/upload-your-profile-photo"},{"title":"Check a profile photo upload","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /users/me/photo/uploads/{uploadId}","href":"/api-reference/administration/users/check-a-profile-photo-upload"},{"title":"Get your profile photo","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /users/me/photo","href":"/api-reference/administration/users/get-your-profile-photo"},{"title":"Remove your profile photo","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /users/me/photo","href":"/api-reference/administration/users/remove-your-profile-photo"},{"title":"Get your preferences","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /users/me/preferences","href":"/api-reference/administration/users/get-your-preferences"},{"title":"Change your preferences","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json patch /users/me/preferences","href":"/api-reference/administration/users/change-your-preferences"}]}]},{"group":"Email Wording API","pages":[{"title":"Email Wording API overview","sidebarTitle":"Overview","href":"/api-reference/email-wording/overview"},{"group":"Account emails","pages":[{"title":"List your account's email wording","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json get /customer/email-settings","href":"/api-reference/email-wording/account-emails/list-your-accounts-email-wording"},{"title":"Get your account's wording for one email","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json get /customer/email-settings/{eventType}","href":"/api-reference/email-wording/account-emails/get-your-accounts-wording-for-one-email"},{"title":"Change your account's wording for one email","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json patch /customer/email-settings/{eventType}","href":"/api-reference/email-wording/account-emails/change-your-accounts-wording-for-one-email"},{"title":"Preview your account's wording for one email","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json post /customer/email-settings/{eventType}/previews","href":"/api-reference/email-wording/account-emails/preview-your-accounts-wording-for-one-email"},{"title":"Preview your account's email as it would be sent","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json post /customer/email-settings/{eventType}/rendered-previews","href":"/api-reference/email-wording/account-emails/preview-your-accounts-email-as-it-would-be-sent"},{"title":"List the saved versions of your account's wording for one email","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json get /customer/email-settings/{eventType}/revisions","href":"/api-reference/email-wording/account-emails/list-the-saved-versions-of-your-accounts-wording-for-one-email"},{"title":"Restore a saved version of your account's wording for one email","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json post /customer/email-settings/{eventType}/revisions/{revisionId}/restorations","href":"/api-reference/email-wording/account-emails/restore-a-saved-version-of-your-accounts-wording-for-one-email"},{"title":"Send yourself a test of one email (account)","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json post /customer/email-settings/{eventType}/test-sends","href":"/api-reference/email-wording/account-emails/send-yourself-a-test-of-one-email-account"}]},{"group":"Organisation emails","pages":[{"title":"List an organisation's email wording","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json get /organisations/{organisationId}/email-settings","href":"/api-reference/email-wording/organisation-emails/list-an-organisations-email-wording"},{"title":"Get an organisation's wording for one email","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json get /organisations/{organisationId}/email-settings/{eventType}","href":"/api-reference/email-wording/organisation-emails/get-an-organisations-wording-for-one-email"},{"title":"Change an organisation's wording for one email","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json patch /organisations/{organisationId}/email-settings/{eventType}","href":"/api-reference/email-wording/organisation-emails/change-an-organisations-wording-for-one-email"},{"title":"Preview an organisation's wording for one email","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json post /organisations/{organisationId}/email-settings/{eventType}/previews","href":"/api-reference/email-wording/organisation-emails/preview-an-organisations-wording-for-one-email"},{"title":"Preview an organisation's email as it would be sent","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json post /organisations/{organisationId}/email-settings/{eventType}/rendered-previews","href":"/api-reference/email-wording/organisation-emails/preview-an-organisations-email-as-it-would-be-sent"},{"title":"List the saved versions of an organisation's wording for one email","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json get /organisations/{organisationId}/email-settings/{eventType}/revisions","href":"/api-reference/email-wording/organisation-emails/list-the-saved-versions-of-an-organisations-wording-for-one-email"},{"title":"Restore a saved version of an organisation's wording for one email","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json post /organisations/{organisationId}/email-settings/{eventType}/revisions/{revisionId}/restorations","href":"/api-reference/email-wording/organisation-emails/restore-a-saved-version-of-an-organisations-wording-for-one-email"},{"title":"Send yourself a test of one email","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json post /organisations/{organisationId}/email-settings/{eventType}/test-sends","href":"/api-reference/email-wording/organisation-emails/send-yourself-a-test-of-one-email"}]}]},{"group":"Authentication API","pages":[{"title":"Authentication API overview","sidebarTitle":"Overview","href":"/api-reference/authentication-api/overview"},{"group":"Organisations","pages":[{"title":"List the organisations the authenticated principal can act on","deprecated":null,"version":null,"openapi":"/api-reference/specs/authentication.json get /my-organisations","href":"/api-reference/authentication-api/organisations/list-the-organisations-the-authenticated-principal-can-act-on"}]}]},{"group":"Billing","pages":[{"title":"Billing API overview","sidebarTitle":"Overview","href":"/api-reference/billing/overview"},{"group":"Accounting Sync","pages":[{"title":"Push invoice to accounting provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /clients/{clientId}/invoices/{invoiceId}/sync","href":"/api-reference/billing/accounting-sync/push-invoice-to-accounting-provider"},{"title":"Push client and contacts to accounting provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /clients/{clientId}/sync","href":"/api-reference/billing/accounting-sync/push-client-and-contacts-to-accounting-provider"},{"title":"Push credit note to accounting provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /clients/{clientId}/credit-notes/{creditNoteId}/sync","href":"/api-reference/billing/accounting-sync/push-credit-note-to-accounting-provider"},{"title":"Download invoice PDF from provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /clients/{clientId}/invoices/{invoiceId}/external-pdf","href":"/api-reference/billing/accounting-sync/download-invoice-pdf-from-provider"},{"title":"Download credit note PDF from provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /clients/{clientId}/credit-notes/{creditNoteId}/external-pdf","href":"/api-reference/billing/accounting-sync/download-credit-note-pdf-from-provider"},{"title":"List tax rates from connected provider (paginated, no import)","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /finance/tax-rates/provider-rates","href":"/api-reference/billing/accounting-sync/list-tax-rates-from-connected-provider-paginated-no-import"},{"title":"Import selected tax rates from connected provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /finance/tax-rates/import-from-provider","href":"/api-reference/billing/accounting-sync/import-selected-tax-rates-from-connected-provider"},{"title":"List account codes from connected provider (paginated, no import)","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /finance/accounts/provider-accounts","href":"/api-reference/billing/accounting-sync/list-account-codes-from-connected-provider-paginated-no-import"},{"title":"Import selected account codes from connected provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /finance/accounts/import-from-provider","href":"/api-reference/billing/accounting-sync/import-selected-account-codes-from-connected-provider"},{"title":"List contacts from connected provider (paginated, no import)","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /clients/provider-contacts","href":"/api-reference/billing/accounting-sync/list-contacts-from-connected-provider-paginated-no-import"},{"title":"Import selected contacts from connected provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /clients/import-from-provider","href":"/api-reference/billing/accounting-sync/import-selected-contacts-from-connected-provider"}]},{"group":"Clients","pages":[{"title":"List Invoices for Client","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /clients/{clientId}/invoices","href":"/api-reference/billing/clients/list-invoices-for-client"},{"title":"Get Client Finance Settings","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /clients/{clientId}/finance-settings","href":"/api-reference/billing/clients/get-client-finance-settings"},{"title":"Update Client Finance Settings","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json put /clients/{clientId}/finance-settings","href":"/api-reference/billing/clients/update-client-finance-settings"},{"title":"Get Client by Id","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /clients/{clientId}","href":"/api-reference/billing/clients/get-client-by-id"},{"title":"Update Client","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json put /clients/{clientId}","href":"/api-reference/billing/clients/update-client"},{"title":"Delete Client","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json delete /clients/{clientId}","href":"/api-reference/billing/clients/delete-client"},{"title":"List Clients","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /clients","href":"/api-reference/billing/clients/list-clients"},{"title":"Create Client","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /clients","href":"/api-reference/billing/clients/create-client"},{"title":"Unarchive Client","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json patch /clients/{clientId}/unarchive","href":"/api-reference/billing/clients/unarchive-client"}]},{"group":"Credit Notes","pages":[{"title":"List Credit Notes for Organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /credit-notes","href":"/api-reference/billing/credit-notes/list-credit-notes-for-organisation"},{"title":"Create Draft Credit Note","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /credit-notes","href":"/api-reference/billing/credit-notes/create-draft-credit-note"},{"title":"List Credit Notes for Client","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /clients/{clientId}/credit-notes","href":"/api-reference/billing/credit-notes/list-credit-notes-for-client"},{"title":"Get Credit Note by ID","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /clients/{clientId}/credit-notes/{creditNoteId}","href":"/api-reference/billing/credit-notes/get-credit-note-by-id"},{"title":"Update Draft Credit Note","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json put /clients/{clientId}/credit-notes/{creditNoteId}","href":"/api-reference/billing/credit-notes/update-draft-credit-note"},{"title":"Delete Draft Credit Note","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json delete /clients/{clientId}/credit-notes/{creditNoteId}","href":"/api-reference/billing/credit-notes/delete-draft-credit-note"},{"title":"List Credit Note Line Items","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /clients/{clientId}/credit-notes/{creditNoteId}/line-items","href":"/api-reference/billing/credit-notes/list-credit-note-line-items"},{"title":"Add Credit Note Attachments","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /clients/{clientId}/credit-notes/{creditNoteId}/attachments","href":"/api-reference/billing/credit-notes/add-credit-note-attachments"},{"title":"Delete Credit Note Attachment","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json delete /clients/{clientId}/credit-notes/{creditNoteId}/attachments/{attachmentId}","href":"/api-reference/billing/credit-notes/delete-credit-note-attachment"},{"title":"Authorise Credit Note","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /clients/{clientId}/credit-notes/{creditNoteId}/authorise","href":"/api-reference/billing/credit-notes/authorise-credit-note"},{"title":"Void Credit Note","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /clients/{clientId}/credit-notes/{creditNoteId}/void","href":"/api-reference/billing/credit-notes/void-credit-note"},{"title":"Allocate Credit to Invoice","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /clients/{clientId}/credit-notes/{creditNoteId}/allocations","href":"/api-reference/billing/credit-notes/allocate-credit-to-invoice"},{"title":"Remove Credit Allocation","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json delete /clients/{clientId}/credit-notes/{creditNoteId}/allocations/{allocationId}","href":"/api-reference/billing/credit-notes/remove-credit-allocation"}]},{"group":"Tax rates","pages":[{"title":"List Tax Rates","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /finance/tax-rates","href":"/api-reference/billing/tax-rates/list-tax-rates"},{"title":"Create Custom Tax Rate","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /finance/tax-rates","href":"/api-reference/billing/tax-rates/create-custom-tax-rate"},{"title":"Update Tax Rate","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json put /finance/tax-rates/{taxType}","href":"/api-reference/billing/tax-rates/update-tax-rate"},{"title":"Delete Tax Rate","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json delete /finance/tax-rates/{taxType}","href":"/api-reference/billing/tax-rates/delete-tax-rate"},{"title":"Archive Tax Rate","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /finance/tax-rates/{taxType}/archive","href":"/api-reference/billing/tax-rates/archive-tax-rate"},{"title":"Unarchive Tax Rate","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /finance/tax-rates/{taxType}/unarchive","href":"/api-reference/billing/tax-rates/unarchive-tax-rate"}]},{"group":"Account codes","pages":[{"title":"List Account Codes","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /finance/accounts","href":"/api-reference/billing/account-codes/list-account-codes"},{"title":"Create Account Code","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /finance/accounts","href":"/api-reference/billing/account-codes/create-account-code"},{"title":"Update Account Code","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json put /finance/accounts/{code}","href":"/api-reference/billing/account-codes/update-account-code"},{"title":"Delete Account Code","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json delete /finance/accounts/{code}","href":"/api-reference/billing/account-codes/delete-account-code"},{"title":"Archive Account Code","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /finance/accounts/{code}/archive","href":"/api-reference/billing/account-codes/archive-account-code"},{"title":"Unarchive Account Code","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /finance/accounts/{code}/unarchive","href":"/api-reference/billing/account-codes/unarchive-account-code"}]},{"group":"Finance defaults","pages":[{"title":"Get organisation pay element mappings","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /finance/pay-element-mappings","href":"/api-reference/billing/finance-defaults/get-organisation-pay-element-mappings"},{"title":"Update organisation pay element mappings","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json put /finance/pay-element-mappings","href":"/api-reference/billing/finance-defaults/update-organisation-pay-element-mappings"},{"title":"Get organisation finance defaults","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /finance/finance-defaults","href":"/api-reference/billing/finance-defaults/get-organisation-finance-defaults"},{"title":"Update organisation finance defaults","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json put /finance/finance-defaults","href":"/api-reference/billing/finance-defaults/update-organisation-finance-defaults"},{"title":"Get attachment limits for connected provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /finance/attachment-limits","href":"/api-reference/billing/finance-defaults/get-attachment-limits-for-connected-provider"}]},{"group":"Invoice \u0026 credit note templates","pages":[{"title":"Get organisation invoice template","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /finance/invoice-template","href":"/api-reference/billing/invoice-\u0026-credit-note-templates/get-organisation-invoice-template"},{"title":"Update organisation invoice template","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json put /finance/invoice-template","href":"/api-reference/billing/invoice-\u0026-credit-note-templates/update-organisation-invoice-template"},{"title":"Get organisation credit note template","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /finance/credit-note-template","href":"/api-reference/billing/invoice-\u0026-credit-note-templates/get-organisation-credit-note-template"},{"title":"Update organisation credit note template","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json put /finance/credit-note-template","href":"/api-reference/billing/invoice-\u0026-credit-note-templates/update-organisation-credit-note-template"},{"title":"Get line item description formula placeholders","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /finance/line-item-description-fields","href":"/api-reference/billing/invoice-\u0026-credit-note-templates/get-line-item-description-formula-placeholders"},{"title":"Get invoice reference formula tokens for a given invoice format","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /finance/invoice-reference-fields","href":"/api-reference/billing/invoice-\u0026-credit-note-templates/get-invoice-reference-formula-tokens-for-a-given-invoice-format"}]},{"group":"Invoices","pages":[{"title":"List Invoices for Organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /invoices","href":"/api-reference/billing/invoices/list-invoices-for-organisation"},{"title":"Get Invoice by Id","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /invoices/{clientId}/{invoiceId}","href":"/api-reference/billing/invoices/get-invoice-by-id"},{"title":"Update open invoice","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json put /invoices/{clientId}/{invoiceId}","href":"/api-reference/billing/invoices/update-open-invoice"},{"title":"Update Invoice (e.g. close)","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json patch /invoices/{clientId}/{invoiceId}","href":"/api-reference/billing/invoices/update-invoice-eg-close"},{"title":"Get Invoice Line Items","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /invoices/{clientId}/{invoiceId}/line-items","href":"/api-reference/billing/invoices/get-invoice-line-items"},{"title":"Add Invoice Attachments","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /invoices/{clientId}/{invoiceId}/attachments","href":"/api-reference/billing/invoices/add-invoice-attachments"},{"title":"Delete Invoice Attachment","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json delete /invoices/{clientId}/{invoiceId}/attachments/{attachmentId}","href":"/api-reference/billing/invoices/delete-invoice-attachment"},{"title":"Void Invoice","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /invoices/{clientId}/{invoiceId}/void","href":"/api-reference/billing/invoices/void-invoice"},{"title":"Refresh line item mappings","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /invoices/{clientId}/{invoiceId}/refresh-line-item-mappings","href":"/api-reference/billing/invoices/refresh-line-item-mappings"},{"title":"Credit Entire Invoice","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /invoices/{clientId}/{invoiceId}/full-credit","href":"/api-reference/billing/invoices/credit-entire-invoice"},{"title":"Bulk invoice action","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /invoices/bulk-action","href":"/api-reference/billing/invoices/bulk-invoice-action"},{"title":"Email Invoice","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /invoices/{clientId}/{invoiceId}/email","href":"/api-reference/billing/invoices/email-invoice"}]}]},{"group":"Court orders","pages":[{"title":"Court orders API overview","sidebarTitle":"Overview","href":"/api-reference/court-orders/overview"},{"group":"Court orders","pages":[{"title":"Get court orders by organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json get /orders","href":"/api-reference/court-orders/court-orders/get-court-orders-by-organisation"},{"title":"Create court order","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json post /orders","href":"/api-reference/court-orders/court-orders/create-court-order"},{"title":"Get court order","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json get /orders/{orderId}","href":"/api-reference/court-orders/court-orders/get-court-order"},{"title":"Update court order","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json put /orders/{orderId}","href":"/api-reference/court-orders/court-orders/update-court-order"},{"title":"Delete court order","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json delete /orders/{orderId}","href":"/api-reference/court-orders/court-orders/delete-court-order"},{"title":"Get court orders by employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json get /orders/employees/{employeeId}","href":"/api-reference/court-orders/court-orders/get-court-orders-by-employee"},{"title":"Reconcile court orders","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json post /orders/reconcile","href":"/api-reference/court-orders/court-orders/reconcile-court-orders"}]},{"group":"Attachments","pages":[{"title":"Add court order attachments","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json post /orders/{orderId}/attachments","href":"/api-reference/court-orders/attachments/add-court-order-attachments"},{"title":"Delete court order attachment","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json delete /orders/{orderId}/attachments/{attachmentId}","href":"/api-reference/court-orders/attachments/delete-court-order-attachment"}]},{"group":"Reference data","pages":[{"title":"List tax years with court order constants","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json get /orders/constants/available-years","href":"/api-reference/court-orders/reference-data/list-tax-years-with-court-order-constants"},{"title":"Get court order constants for a tax year","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json get /orders/constants/{taxYear}","href":"/api-reference/court-orders/reference-data/get-court-order-constants-for-a-tax-year"}]},{"group":"Payees","pages":[{"title":"Get all payees","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json get /payees","href":"/api-reference/court-orders/payees/get-all-payees"},{"title":"Create payee","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json post /payees","href":"/api-reference/court-orders/payees/create-payee"},{"title":"Get payee","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json get /payees/{payeeId}","href":"/api-reference/court-orders/payees/get-payee"},{"title":"Update payee","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json put /payees/{payeeId}","href":"/api-reference/court-orders/payees/update-payee"},{"title":"Delete payee","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json delete /payees/{payeeId}","href":"/api-reference/court-orders/payees/delete-payee"}]}]},{"group":"HMRC DPS","pages":[{"title":"HMRC DPS API overview","sidebarTitle":"Overview","href":"/api-reference/hmrc-dps/overview"},{"group":"Notifications","pages":[{"title":"Get stored notifications","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json get /notifications","href":"/api-reference/hmrc-dps/notifications/get-stored-notifications"},{"title":"Get notification","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json get /notifications/{notificationId}","href":"/api-reference/hmrc-dps/notifications/get-notification"},{"title":"Update notification status","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json put /notifications/{notificationId}/status","href":"/api-reference/hmrc-dps/notifications/update-notification-status"},{"title":"Apply notification","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json post /notifications/{notificationId}/apply","href":"/api-reference/hmrc-dps/notifications/apply-notification"},{"title":"Dismiss notification","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json post /notifications/{notificationId}/ignore","href":"/api-reference/hmrc-dps/notifications/dismiss-notification"},{"title":"Assign employee to notification","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json put /notifications/{notificationId}/employee","href":"/api-reference/hmrc-dps/notifications/assign-employee-to-notification"},{"title":"Get notification counts","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json get /notifications/counts","href":"/api-reference/hmrc-dps/notifications/get-notification-counts"}]},{"group":"Bulk actions","pages":[{"title":"Start bulk apply of notifications","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json post /notifications/bulk-apply-async","href":"/api-reference/hmrc-dps/bulk-actions/start-bulk-apply-of-notifications"},{"title":"Start bulk dismiss of notifications","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json post /notifications/bulk-dismiss-async","href":"/api-reference/hmrc-dps/bulk-actions/start-bulk-dismiss-of-notifications"},{"title":"Retry matching for unmatched notifications","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json post /notifications/retry-matching","href":"/api-reference/hmrc-dps/bulk-actions/retry-matching-for-unmatched-notifications"},{"title":"Start retrieving all notifications","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json post /notifications/retrieve-all","href":"/api-reference/hmrc-dps/bulk-actions/start-retrieving-all-notifications"}]},{"group":"Pagination","pages":[{"title":"Initialize pagination states for all data types","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json post /notifications/pagination/initialise","href":"/api-reference/hmrc-dps/pagination/initialize-pagination-states-for-all-data-types"},{"title":"Get all pagination states for the organization","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json get /notifications/pagination","href":"/api-reference/hmrc-dps/pagination/get-all-pagination-states-for-the-organization"}]},{"group":"Jobs","pages":[{"title":"Get job status","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json get /notifications/jobs/{jobId}/status","href":"/api-reference/hmrc-dps/jobs/get-job-status"},{"title":"Get jobs","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json get /notifications/jobs","href":"/api-reference/hmrc-dps/jobs/get-jobs"},{"title":"Get the last job of a specific type for the organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json get /notifications/jobs/last/{jobType}","href":"/api-reference/hmrc-dps/jobs/get-the-last-job-of-a-specific-type-for-the-organisation"},{"title":"Cancel job","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json post /notifications/jobs/{jobId}/cancel","href":"/api-reference/hmrc-dps/jobs/cancel-job"}]}]},{"group":"HMRC P-forms","pages":[{"title":"HMRC P-forms API overview","sidebarTitle":"Overview","href":"/api-reference/hmrc-p-forms/overview"},{"group":"P32","pages":[{"title":"Download a P32 PDF","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p32/{year}/{month}/pdf","href":"/api-reference/hmrc-p-forms/p32/download-a-p32-pdf"},{"title":"Get P32 for a tax month","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p32/{year}/{month}","href":"/api-reference/hmrc-p-forms/p32/get-p32-for-a-tax-month"},{"title":"Get all P32s for a tax year","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p32/{year}","href":"/api-reference/hmrc-p-forms/p32/get-all-p32s-for-a-tax-year"}]},{"group":"P45","pages":[{"title":"List tax years with available P45s","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p45/tax-years","href":"/api-reference/hmrc-p-forms/p45/list-tax-years-with-available-p45s"},{"title":"List finalised P45s for a tax year","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p45/list/{taxYear}/finalised","href":"/api-reference/hmrc-p-forms/p45/list-finalised-p45s-for-a-tax-year"},{"title":"List finalised P45s for a payroll config and tax year","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p45/list/{payrollConfigId}/{taxYear}/finalised","href":"/api-reference/hmrc-p-forms/p45/list-finalised-p45s-for-a-payroll-config-and-tax-year"},{"title":"Get the P45 document","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p45/{employeeId}/file","href":"/api-reference/hmrc-p-forms/p45/get-the-p45-document"},{"title":"List the earlier versions of the P45","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p45/{employeeId}/versions","href":"/api-reference/hmrc-p-forms/p45/list-the-earlier-versions-of-the-p45"},{"title":"Preview an employee's P45 PDF","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p45/{employeeId}/preview","href":"/api-reference/hmrc-p-forms/p45/preview-an-employees-p45-pdf"},{"title":"Create a P45 replacement","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml post /p45/{employeeId}/replacements","href":"/api-reference/hmrc-p-forms/p45/create-a-p45-replacement"},{"title":"Send P45 emails to one or more employees","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml post /p45/send-notification","href":"/api-reference/hmrc-p-forms/p45/send-p45-emails-to-one-or-more-employees"},{"title":"Get P45 data for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p45/{employeeId}","href":"/api-reference/hmrc-p-forms/p45/get-p45-data-for-an-employee"}]},{"group":"P60","pages":[{"title":"Get a P60 for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p60/{employeeId}/{taxYear}","href":"/api-reference/hmrc-p-forms/p60/get-a-p60-for-an-employee"},{"title":"Download a P60 PDF","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p60/{employeeId}/{taxYear}/file","href":"/api-reference/hmrc-p-forms/p60/download-a-p60-pdf"},{"title":"List tax years with available P60s","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p60/tax-years","href":"/api-reference/hmrc-p-forms/p60/list-tax-years-with-available-p60s"},{"title":"List preview P60 tax years for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p60/{employeeId}/preview-years","href":"/api-reference/hmrc-p-forms/p60/list-preview-p60-tax-years-for-an-employee"},{"title":"List finalised P60 tax years for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p60/{employeeId}/finalised-years","href":"/api-reference/hmrc-p-forms/p60/list-finalised-p60-tax-years-for-an-employee"},{"title":"List preview P60s for a tax year","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p60/list/{taxYear}/preview","href":"/api-reference/hmrc-p-forms/p60/list-preview-p60s-for-a-tax-year"},{"title":"List finalised P60s for a tax year","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p60/list/{taxYear}/finalised","href":"/api-reference/hmrc-p-forms/p60/list-finalised-p60s-for-a-tax-year"},{"title":"List finalised P60s for a payroll config and tax year","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p60/list/{payrollConfigId}/{taxYear}/finalised","href":"/api-reference/hmrc-p-forms/p60/list-finalised-p60s-for-a-payroll-config-and-tax-year"},{"title":"Regenerate a finalised P60","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml post /p60/{employeeId}/{taxYear}/regenerate","href":"/api-reference/hmrc-p-forms/p60/regenerate-a-finalised-p60"},{"title":"Send P60 emails to one or more employees","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml post /p60/send-notification","href":"/api-reference/hmrc-p-forms/p60/send-p60-emails-to-one-or-more-employees"}]},{"group":"PFormBulkSend","pages":[{"title":"Check a P45 or P60 email send","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /pforms/send-notification/jobs/{jobId}","href":"/api-reference/hmrc-p-forms/pformbulksend/check-a-p45-or-p60-email-send"}]}]},{"group":"Holiday \u0026 leave","pages":[{"title":"Holiday \u0026 leave API overview","sidebarTitle":"Overview","href":"/api-reference/holiday/overview"},{"group":"Holiday Employee Configuration","pages":[{"title":"Get employee holiday configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json get /employees/{employeeId}","href":"/api-reference/holiday/holiday-employee-configuration/get-employee-holiday-configuration"},{"title":"Update employee holiday configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json put /employees/{employeeId}","href":"/api-reference/holiday/holiday-employee-configuration/update-employee-holiday-configuration"},{"title":"Create employee holiday configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json post /employees/{employeeId}","href":"/api-reference/holiday/holiday-employee-configuration/create-employee-holiday-configuration"},{"title":"Delete employee holiday configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json delete /employees/{employeeId}","href":"/api-reference/holiday/holiday-employee-configuration/delete-employee-holiday-configuration"}]},{"group":"Holiday History","pages":[{"title":"Get holiday history for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json get /employees/{employeeId}/history","href":"/api-reference/holiday/holiday-history/get-holiday-history-for-an-employee"},{"title":"Get 52-week average rate for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json get /employees/{employeeId}/average-rate","href":"/api-reference/holiday/holiday-history/get-52-week-average-rate-for-an-employee"}]},{"group":"Holiday Organisation Configuration","pages":[{"title":"Get the holiday configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json get /organisation","href":"/api-reference/holiday/holiday-organisation-configuration/get-the-holiday-configuration"},{"title":"Update the holiday configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json put /organisation","href":"/api-reference/holiday/holiday-organisation-configuration/update-the-holiday-configuration"},{"title":"Create a holiday configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json post /organisation","href":"/api-reference/holiday/holiday-organisation-configuration/create-a-holiday-configuration"},{"title":"Delete the holiday configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json delete /organisation","href":"/api-reference/holiday/holiday-organisation-configuration/delete-the-holiday-configuration"}]},{"group":"Holiday Taken","pages":[{"title":"Get a holiday taken record","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json get /employees/{employeeId}/taken/{id}","href":"/api-reference/holiday/holiday-taken/get-a-holiday-taken-record"},{"title":"Update holiday taken record","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json put /employees/{employeeId}/taken/{id}","href":"/api-reference/holiday/holiday-taken/update-holiday-taken-record"},{"title":"Delete holiday taken record","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json delete /employees/{employeeId}/taken/{id}","href":"/api-reference/holiday/holiday-taken/delete-holiday-taken-record"},{"title":"Record holiday taken","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json post /employees/{employeeId}/taken","href":"/api-reference/holiday/holiday-taken/record-holiday-taken"}]},{"group":"Opening Balance","pages":[{"title":"Get opening balance","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json get /employees/{employeeId}/opening-balance","href":"/api-reference/holiday/opening-balance/get-opening-balance"},{"title":"Update opening balance","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json put /employees/{employeeId}/opening-balance","href":"/api-reference/holiday/opening-balance/update-opening-balance"},{"title":"Create opening balance","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json post /employees/{employeeId}/opening-balance","href":"/api-reference/holiday/opening-balance/create-opening-balance"},{"title":"Delete opening balance","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json delete /employees/{employeeId}/opening-balance","href":"/api-reference/holiday/opening-balance/delete-opening-balance"}]}]},{"group":"Integrations","pages":[{"title":"Integrations API overview","sidebarTitle":"Overview","href":"/api-reference/integrations/overview"},{"group":"Scheme links","pages":[{"title":"Read which connection a record is linked to","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /bindings/{consumer}/{resourceType}/{resourceId}","href":"/api-reference/integrations/scheme-links/read-which-connection-a-record-is-linked-to"},{"title":"Link a record to a connection","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json put /bindings/{consumer}/{resourceType}/{resourceId}","href":"/api-reference/integrations/scheme-links/link-a-record-to-a-connection"},{"title":"Unlink a record from its connection","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json delete /bindings/{consumer}/{resourceType}/{resourceId}","href":"/api-reference/integrations/scheme-links/unlink-a-record-from-its-connection"}]},{"group":"Connections","pages":[{"title":"List your connections","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /connections","href":"/api-reference/integrations/connections/list-your-connections"},{"title":"Create a connection","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json post /connections","href":"/api-reference/integrations/connections/create-a-connection"},{"title":"Get a connection","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /connections/{connectionId}","href":"/api-reference/integrations/connections/get-a-connection"},{"title":"Rename or pause a connection","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json put /connections/{connectionId}","href":"/api-reference/integrations/connections/rename-or-pause-a-connection"},{"title":"Delete a connection for good","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json delete /connections/{connectionId}","href":"/api-reference/integrations/connections/delete-a-connection-for-good"},{"title":"Disconnect a connection, removing this organisation's access","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json post /connections/{connectionId}/disconnect","href":"/api-reference/integrations/connections/disconnect-a-connection-removing-this-organisations-access"},{"title":"Start signing in at the provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json post /connections/{connectionId}/authorise","href":"/api-reference/integrations/connections/start-signing-in-at-the-provider"},{"title":"Finish connecting with the provider's authorisation code","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json post /connections/{connectionId}/exchange","href":"/api-reference/integrations/connections/finish-connecting-with-the-providers-authorisation-code"},{"title":"List the organisations this sign-in can reach","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /connections/{connectionId}/tenants","href":"/api-reference/integrations/connections/list-the-organisations-this-sign-in-can-reach"},{"title":"Choose which provider organisation this connection uses","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json put /connections/{connectionId}/tenant","href":"/api-reference/integrations/connections/choose-which-provider-organisation-this-connection-uses"},{"title":"Save the provider sign-in details","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json put /connections/{connectionId}/credentials","href":"/api-reference/integrations/connections/save-the-provider-sign-in-details"},{"title":"Test the connection with the provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json post /connections/{connectionId}/test","href":"/api-reference/integrations/connections/test-the-connection-with-the-provider"},{"title":"List what is linked to a connection","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /connections/{connectionId}/bindings","href":"/api-reference/integrations/connections/list-what-is-linked-to-a-connection"},{"title":"Groups and payment sources held by the provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /connections/{connectionId}/pension/setup","href":"/api-reference/integrations/connections/groups-and-payment-sources-held-by-the-provider"},{"title":"Read the chart of accounts","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /connections/{connectionId}/accounting/accounts","href":"/api-reference/integrations/connections/read-the-chart-of-accounts"},{"title":"Read the analysis dimensions","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /connections/{connectionId}/accounting/tracking-categories","href":"/api-reference/integrations/connections/read-the-analysis-dimensions"},{"title":"Read the tax rates","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /connections/{connectionId}/accounting/tax-rates","href":"/api-reference/integrations/connections/read-the-tax-rates"},{"title":"One page of the provider's contacts","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /connections/{connectionId}/accounting/contacts","href":"/api-reference/integrations/connections/one-page-of-the-providers-contacts"},{"title":"The provider's own rendering of a document","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /connections/{connectionId}/accounting/documents/{documentType}/{externalId}/pdf","href":"/api-reference/integrations/connections/the-providers-own-rendering-of-a-document"},{"title":"How many files the document already holds","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /connections/{connectionId}/accounting/documents/{documentType}/{externalId}/attachment-count","href":"/api-reference/integrations/connections/how-many-files-the-document-already-holds"}]},{"group":"Provider data","pages":[{"title":"How fresh the connection's provider data is","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /connections/{connectionId}/imports","href":"/api-reference/integrations/provider-data/how-fresh-the-connections-provider-data-is"},{"title":"Refresh the connection's provider data","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json post /connections/{connectionId}/imports","href":"/api-reference/integrations/provider-data/refresh-the-connections-provider-data"}]},{"group":"Activity","pages":[{"title":"List activity","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /operations","href":"/api-reference/integrations/activity/list-activity"},{"title":"Get one operation","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /operations/{operationId}","href":"/api-reference/integrations/activity/get-one-operation"},{"title":"Retry a failed operation","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json post /operations/{operationId}/retry","href":"/api-reference/integrations/activity/retry-a-failed-operation"},{"title":"Cancel a queued operation","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json post /operations/{operationId}/cancel","href":"/api-reference/integrations/activity/cancel-a-queued-operation"}]},{"group":"Providers","pages":[{"title":"List the providers you can connect","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /providers","href":"/api-reference/integrations/providers/list-the-providers-you-can-connect"},{"title":"Get one provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /providers/{slug}","href":"/api-reference/integrations/providers/get-one-provider"}]},{"group":"Initial import","pages":[{"title":"Import the connection's existing provider data","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json post /connections/{connectionId}/sync-sessions","href":"/api-reference/integrations/initial-import/import-the-connections-existing-provider-data"},{"title":"Progress of the connection's latest import","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /connections/{connectionId}/sync-sessions/latest","href":"/api-reference/integrations/initial-import/progress-of-the-connections-latest-import"}]}]},{"group":"Pay API","pages":[{"title":"Pay API overview","sidebarTitle":"Overview","href":"/api-reference/pay-api/overview"},{"group":"Calculator","pages":[{"title":"Calculate gross to net values","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /calculator/grosstonet","href":"/api-reference/pay-api/calculator/calculate-gross-to-net-values"}]},{"group":"Employees","pages":[{"title":"List every employee field your role can read","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /employee-fields","href":"/api-reference/pay-api/employees/list-every-employee-field-your-role-can-read"},{"title":"List employees with pagination","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /employees","href":"/api-reference/pay-api/employees/list-employees-with-pagination"},{"title":"Create a new employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /employees","href":"/api-reference/pay-api/employees/create-a-new-employee"},{"title":"Find employee by National Insurance Number","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /employees/by-ni/{nationalInsuranceNumber}","href":"/api-reference/pay-api/employees/find-employee-by-national-insurance-number"},{"title":"Find employee by Payroll ID","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /employees/by-payroll-id/{payrollId}","href":"/api-reference/pay-api/employees/find-employee-by-payroll-id"},{"title":"List the organisation's latest employee exports","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /employees/exports","href":"/api-reference/pay-api/employees/list-the-organisations-latest-employee-exports"},{"title":"Export the employees a search matches as a CSV","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /employees/exports","href":"/api-reference/pay-api/employees/export-the-employees-a-search-matches-as-a-csv"},{"title":"Get one of the organisation's employee exports","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /employees/exports/{exportId}","href":"/api-reference/pay-api/employees/get-one-of-the-organisations-employee-exports"},{"title":"Count the organisation's employees: total, active, leavers and future leavers","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /employees/headcounts","href":"/api-reference/pay-api/employees/count-the-organisations-employees:-total-active-leavers-and-future-leavers"},{"title":"Send a CSV of changes to existing employees","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /employees/imports","href":"/api-reference/pay-api/employees/send-a-csv-of-changes-to-existing-employees"},{"title":"Get one of your employee imports","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /employees/imports/{importId}","href":"/api-reference/pay-api/employees/get-one-of-your-employee-imports"},{"title":"Apply one of your employee imports","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /employees/imports/{importId}/apply","href":"/api-reference/pay-api/employees/apply-one-of-your-employee-imports"},{"title":"Search the organisation's employees on any field","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /employees/search","href":"/api-reference/pay-api/employees/search-the-organisations-employees-on-any-field"},{"title":"Get employee data","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /employees/{employeeId}","href":"/api-reference/pay-api/employees/get-employee-data"},{"title":"Update an existing employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml put /employees/{employeeId}","href":"/api-reference/pay-api/employees/update-an-existing-employee"},{"title":"Delete an existing employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /employees/{employeeId}","href":"/api-reference/pay-api/employees/delete-an-existing-employee"},{"title":"Partially update an existing employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml patch /employees/{employeeId}","href":"/api-reference/pay-api/employees/partially-update-an-existing-employee"}]},{"group":"Starters \u0026 leavers","pages":[{"title":"Set leaver details for many employees in one call","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml put /employees/leaver/bulk","href":"/api-reference/pay-api/starters-\u0026-leavers/set-leaver-details-for-many-employees-in-one-call"},{"title":"Cancel leaver details for many employees in one call","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /employees/leaver/bulk","href":"/api-reference/pay-api/starters-\u0026-leavers/cancel-leaver-details-for-many-employees-in-one-call"},{"title":"Update the leaver details for a specific employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml put /employees/{employeeId}/leaver","href":"/api-reference/pay-api/starters-\u0026-leavers/update-the-leaver-details-for-a-specific-employee"},{"title":"Cancel (clear) the leaver details for a specific employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /employees/{employeeId}/leaver","href":"/api-reference/pay-api/starters-\u0026-leavers/cancel-clear-the-leaver-details-for-a-specific-employee"},{"title":"Update the starter details for a specific employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml put /employees/{employeeId}/starter","href":"/api-reference/pay-api/starters-\u0026-leavers/update-the-starter-details-for-a-specific-employee"}]},{"group":"Tax codes","pages":[{"title":"Get the effective tax code and NI category for an employee on a specific date","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /employees/{employeeId}/effective-tax-info","href":"/api-reference/pay-api/tax-codes/get-the-effective-tax-code-and-ni-category-for-an-employee-on-a-specific-date"},{"title":"Add or update a tax code for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /employees/{employeeId}/tax-code","href":"/api-reference/pay-api/tax-codes/add-or-update-a-tax-code-for-an-employee"},{"title":"Get all tax codes for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /employees/{employeeId}/tax-codes","href":"/api-reference/pay-api/tax-codes/get-all-tax-codes-for-an-employee"},{"title":"Delete a specific tax code for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /employees/{employeeId}/tax-codes/{year}/{effectiveDate}","href":"/api-reference/pay-api/tax-codes/delete-a-specific-tax-code-for-an-employee"}]},{"group":"NI \u0026 identifiers","pages":[{"title":"Get all NI categories for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /employees/{employeeId}/ni-categories","href":"/api-reference/pay-api/ni-\u0026-identifiers/get-all-ni-categories-for-an-employee"},{"title":"Delete a specific NI category for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /employees/{employeeId}/ni-categories/{year}/{effectiveDate}","href":"/api-reference/pay-api/ni-\u0026-identifiers/delete-a-specific-ni-category-for-an-employee"},{"title":"Add or update an NI category for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /employees/{employeeId}/ni-category","href":"/api-reference/pay-api/ni-\u0026-identifiers/add-or-update-an-ni-category-for-an-employee"},{"title":"Update an employee's National Insurance Number","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml put /employees/{employeeId}/nino","href":"/api-reference/pay-api/ni-\u0026-identifiers/update-an-employees-national-insurance-number"},{"title":"Update an employee's Payroll ID","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml put /employees/{employeeId}/payroll-id","href":"/api-reference/pay-api/ni-\u0026-identifiers/update-an-employees-payroll-id"}]},{"group":"Payroll setup","pages":[{"title":"Update the opening balance for a specific employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml put /employees/{employeeId}/opening-balance","href":"/api-reference/pay-api/payroll-setup/update-the-opening-balance-for-a-specific-employee"},{"title":"Update an employee's payroll config assignment","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml put /employees/{employeeId}/payroll-config","href":"/api-reference/pay-api/payroll-setup/update-an-employees-payroll-config-assignment"}]},{"group":"Student loans","pages":[{"title":"End a postgraduate loan for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /employees/{employeeId}/postgraduate-loan/end","href":"/api-reference/pay-api/student-loans/end-a-postgraduate-loan-for-an-employee"},{"title":"Start a postgraduate loan for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /employees/{employeeId}/postgraduate-loan/start","href":"/api-reference/pay-api/student-loans/start-a-postgraduate-loan-for-an-employee"},{"title":"End a student loan for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /employees/{employeeId}/student-loan/end","href":"/api-reference/pay-api/student-loans/end-a-student-loan-for-an-employee"},{"title":"Start a student loan for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /employees/{employeeId}/student-loan/start","href":"/api-reference/pay-api/student-loans/start-a-student-loan-for-an-employee"}]},{"group":"Working patterns","pages":[{"title":"Get the effective-dated SSP qualifying-day policy history","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /employees/{employeeId}/qualifying-day-policy","href":"/api-reference/pay-api/working-patterns/get-the-effective-dated-ssp-qualifying-day-policy-history"},{"title":"Set the employee's SSP qualifying-day policy from an effective date","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml put /employees/{employeeId}/qualifying-day-policy","href":"/api-reference/pay-api/working-patterns/set-the-employees-ssp-qualifying-day-policy-from-an-effective-date"},{"title":"Remove an employee's whole qualifying-day policy history","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /employees/{employeeId}/qualifying-day-policy","href":"/api-reference/pay-api/working-patterns/remove-an-employees-whole-qualifying-day-policy-history"},{"title":"Remove an SSP qualifying-day policy version from an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /employees/{employeeId}/qualifying-day-policy/{effectiveFrom}","href":"/api-reference/pay-api/working-patterns/remove-an-ssp-qualifying-day-policy-version-from-an-employee"},{"title":"Get the effective-dated working-pattern history for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /employees/{employeeId}/working-pattern","href":"/api-reference/pay-api/working-patterns/get-the-effective-dated-working-pattern-history-for-an-employee"},{"title":"Set the employee's working pattern from an effective date","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml put /employees/{employeeId}/working-pattern","href":"/api-reference/pay-api/working-patterns/set-the-employees-working-pattern-from-an-effective-date"},{"title":"Remove an employee's whole working-pattern history","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /employees/{employeeId}/working-pattern","href":"/api-reference/pay-api/working-patterns/remove-an-employees-whole-working-pattern-history"},{"title":"Remove a working-pattern version from an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /employees/{employeeId}/working-pattern/{effectiveFrom}","href":"/api-reference/pay-api/working-patterns/remove-a-working-pattern-version-from-an-employee"},{"title":"Feed a batch of scheduled weeks (merged idempotently by week)","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml put /employees/{employeeId}/working-schedule","href":"/api-reference/pay-api/working-patterns/feed-a-batch-of-scheduled-weeks-merged-idempotently-by-week"}]},{"group":"Salary","pages":[{"title":"Get the effective-dated salary history for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /employees/{employeeId}/salary","href":"/api-reference/pay-api/salary/get-the-effective-dated-salary-history-for-an-employee"},{"title":"Set the employee's annual salary from an effective date","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml put /employees/{employeeId}/salary","href":"/api-reference/pay-api/salary/set-the-employees-annual-salary-from-an-effective-date"},{"title":"Remove a salary version from an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /employees/{employeeId}/salary/{effectiveFrom}","href":"/api-reference/pay-api/salary/remove-a-salary-version-from-an-employee"}]},{"group":"Payslip","pages":[{"title":"Send payslip notification emails to employees","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /notification/email/payslip/{payrollConfigId}/{year}/{period}","href":"/api-reference/pay-api/payslip/send-payslip-notification-emails-to-employees"},{"title":"Get all payslip data for an employee within a date range","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payslip/data/{employeeId}","href":"/api-reference/pay-api/payslip/get-all-payslip-data-for-an-employee-within-a-date-range"},{"title":"Get payslip data for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payslip/data/{employeeId}/{year}/{period}","href":"/api-reference/pay-api/payslip/get-payslip-data-for-an-employee"},{"title":"Create or update payslip metadata such as notes and payment date overwrite","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /payslip/data/{employeeId}/{year}/{period}","href":"/api-reference/pay-api/payslip/create-or-update-payslip-metadata-such-as-notes-and-payment-date-overwrite"},{"title":"Download the payslip as a PDF","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payslip/data/{employeeId}/{year}/{period}/file","href":"/api-reference/pay-api/payslip/download-the-payslip-as-a-pdf"},{"title":"List the earlier versions of a payslip","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payslip/data/{employeeId}/{year}/{period}/versions","href":"/api-reference/pay-api/payslip/list-the-earlier-versions-of-a-payslip"},{"title":"Get a payslip as it stood for a lock cycle","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payslip/data/{employeeId}/{year}/{period}/versions/{lockCycle}","href":"/api-reference/pay-api/payslip/get-a-payslip-as-it-stood-for-a-lock-cycle"},{"title":"Get all payslips by pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payslip/payrun/{payrollConfigId}/{year}/{period}","href":"/api-reference/pay-api/payslip/get-all-payslips-by-pay-run"},{"title":"Recalculate payslips for employees in the open pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /payslip/recalculate","href":"/api-reference/pay-api/payslip/recalculate-payslips-for-employees-in-the-open-pay-run"},{"title":"Make a sample payslip in your brand draft","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /payslip/samples","href":"/api-reference/pay-api/payslip/make-a-sample-payslip-in-your-brand-draft"}]},{"group":"Organisation","pages":[{"title":"Get organisation opening balances by tax year","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /organisation/balances/opening/{taxYear}","href":"/api-reference/pay-api/organisation/get-organisation-opening-balances-by-tax-year"},{"title":"Update organisation opening balances by tax year","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /organisation/balances/opening/{taxYear}","href":"/api-reference/pay-api/organisation/update-organisation-opening-balances-by-tax-year"},{"title":"Get tax years with PAYE liability data","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /organisation/balances/paye-liability/tax-years","href":"/api-reference/pay-api/organisation/get-tax-years-with-paye-liability-data"},{"title":"Get PAYE liability summary by tax year","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /organisation/balances/paye-liability/{taxYear}","href":"/api-reference/pay-api/organisation/get-paye-liability-summary-by-tax-year"},{"title":"Update a PAYE payment for a specific tax year and payment ID","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml put /organisation/balances/paye-payments/{taxYear}/payment/{paymentId}","href":"/api-reference/pay-api/organisation/update-a-paye-payment-for-a-specific-tax-year-and-payment-id"},{"title":"Delete a PAYE payment for a specific tax year, period, and payment ID","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /organisation/balances/paye-payments/{taxYear}/payment/{paymentId}","href":"/api-reference/pay-api/organisation/delete-a-paye-payment-for-a-specific-tax-year-period-and-payment-id"},{"title":"Record a PAYE payment for a specific tax year and period","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /organisation/balances/paye-payments/{taxYear}/period/{period}","href":"/api-reference/pay-api/organisation/record-a-paye-payment-for-a-specific-tax-year-and-period"},{"title":"Get year-to-date running balances by tax year","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /organisation/balances/running/{taxYear}","href":"/api-reference/pay-api/organisation/get-year-to-date-running-balances-by-tax-year"},{"title":"Get month to date running balances by tax year and month","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /organisation/balances/running/{taxYear}/month/{month}","href":"/api-reference/pay-api/organisation/get-month-to-date-running-balances-by-tax-year-and-month"},{"title":"Get the HMRC settings for the current organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /organisation/hmrc/settings","href":"/api-reference/pay-api/organisation/get-the-hmrc-settings-for-the-current-organisation"},{"title":"Update the HMRC settings for the current organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /organisation/hmrc/settings","href":"/api-reference/pay-api/organisation/update-the-hmrc-settings-for-the-current-organisation"},{"title":"Get organisation information","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /organisation/information","href":"/api-reference/pay-api/organisation/get-organisation-information"},{"title":"Update organisation information","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /organisation/information","href":"/api-reference/pay-api/organisation/update-organisation-information"},{"title":"Get multiple organisation information","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /organisation/information/multiple","href":"/api-reference/pay-api/organisation/get-multiple-organisation-information"},{"title":"Get the organisation's default working pattern and qualifying-day policy","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /organisation/working-pattern-defaults","href":"/api-reference/pay-api/organisation/get-the-organisations-default-working-pattern-and-qualifying-day-policy"},{"title":"Set the organisation's default working pattern and qualifying-day policy","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /organisation/working-pattern-defaults","href":"/api-reference/pay-api/organisation/set-the-organisations-default-working-pattern-and-qualifying-day-policy"}]},{"group":"Pay Elements","pages":[{"title":"Get the pay elements for the current organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /organisation/pay-element","href":"/api-reference/pay-api/pay-elements/get-the-pay-elements-for-the-current-organisation"},{"title":"Create a new pay element for the current organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /organisation/pay-element","href":"/api-reference/pay-api/pay-elements/create-a-new-pay-element-for-the-current-organisation"},{"title":"Get a specific pay element by ID","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /organisation/pay-element/{payElementId}","href":"/api-reference/pay-api/pay-elements/get-a-specific-pay-element-by-id"},{"title":"Update a specific pay element by ID","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml put /organisation/pay-element/{payElementId}","href":"/api-reference/pay-api/pay-elements/update-a-specific-pay-element-by-id"},{"title":"Delete a specific pay element by ID","description":"Needs permission organisation-settings:write.\n\nDeletes a specific pay element by its ID for the current organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /organisation/pay-element/{payElementId}","href":"/api-reference/pay-api/pay-elements/delete-a-specific-pay-element-by-id"}]},{"group":"Payroll lines","pages":[{"title":"Upload payroll lines","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /payroll/line/{employeeId}","href":"/api-reference/pay-api/payroll-lines/upload-payroll-lines"},{"title":"Delete a payroll line","description":"Needs permission pay-run:write.\n\nDeletes a specific payroll line for an employee.","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /payroll/line/{employeeId}/{lineId}","href":"/api-reference/pay-api/payroll-lines/delete-a-payroll-line"},{"title":"Add attachments to a payroll line item","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /payroll/line/{employeeId}/{lineId}/attachments","href":"/api-reference/pay-api/payroll-lines/add-attachments-to-a-payroll-line-item"},{"title":"Delete an attachment from a payroll line item","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /payroll/line/{employeeId}/{lineId}/attachments/{attachmentId}","href":"/api-reference/pay-api/payroll-lines/delete-an-attachment-from-a-payroll-line-item"}]},{"group":"Payroll","pages":[{"title":"Get tax years with pay runs","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payroll/runs/tax-years-with-pay-runs","href":"/api-reference/pay-api/payroll/get-tax-years-with-pay-runs"},{"title":"List payroll runs by tax year","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payroll/runs/{year}","href":"/api-reference/pay-api/payroll/list-payroll-runs-by-tax-year"},{"title":"Create the next payroll run for a given payroll configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /payroll/{payrollConfigId}/next","href":"/api-reference/pay-api/payroll/create-the-next-payroll-run-for-a-given-payroll-configuration"},{"title":"Get payroll run(lock) data","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payroll/{payrollConfigId}/{year}/{period}","href":"/api-reference/pay-api/payroll/get-payroll-runlock-data"},{"title":"Create a payroll run","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /payroll/{payrollConfigId}/{year}/{period}","href":"/api-reference/pay-api/payroll/create-a-payroll-run"},{"title":"Add a former employee to an open pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /payroll/{payrollConfigId}/{year}/{period}/employees","href":"/api-reference/pay-api/payroll/add-a-former-employee-to-an-open-pay-run"},{"title":"Remove a former employee from an open pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /payroll/{payrollConfigId}/{year}/{period}/employees/{employeeId}","href":"/api-reference/pay-api/payroll/remove-a-former-employee-from-an-open-pay-run"},{"title":"List the lock history of a payroll run","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payroll/{payrollConfigId}/{year}/{period}/history","href":"/api-reference/pay-api/payroll/list-the-lock-history-of-a-payroll-run"},{"title":"Locks a payroll","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /payroll/{payrollConfigId}/{year}/{period}/lock","href":"/api-reference/pay-api/payroll/locks-a-payroll"},{"title":"List the payslips of a pay run still being calculated","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payroll/{payrollConfigId}/{year}/{period}/processing","href":"/api-reference/pay-api/payroll/list-the-payslips-of-a-pay-run-still-being-calculated"},{"title":"Unlock a locked payroll run","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /payroll/{payrollConfigId}/{year}/{period}/unlock","href":"/api-reference/pay-api/payroll/unlock-a-locked-payroll-run"}]},{"group":"YearEnd","pages":[{"title":"List all year-end finalisations for an organisation in a tax year","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payroll/year-end/{taxYear}","href":"/api-reference/pay-api/yearend/list-all-year-end-finalisations-for-an-organisation-in-a-tax-year"},{"title":"Read year-end finalisation for a payroll configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payroll/year-end/{taxYear}/{payrollConfigId}","href":"/api-reference/pay-api/yearend/read-year-end-finalisation-for-a-payroll-configuration"},{"title":"Finalise year-end for a payroll configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /payroll/year-end/{taxYear}/{payrollConfigId}/finalise","href":"/api-reference/pay-api/yearend/finalise-year-end-for-a-payroll-configuration"}]},{"group":"PayrollConfig","pages":[{"title":"Read all payroll configurations","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payrollconfig","href":"/api-reference/pay-api/payrollconfig/read-all-payroll-configurations"},{"title":"Create a new payroll configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /payrollconfig","href":"/api-reference/pay-api/payrollconfig/create-a-new-payroll-configuration"},{"title":"Read a payroll configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payrollconfig/{payrollConfigId}","href":"/api-reference/pay-api/payrollconfig/read-a-payroll-configuration"},{"title":"Update a payroll configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml put /payrollconfig/{payrollConfigId}","href":"/api-reference/pay-api/payrollconfig/update-a-payroll-configuration"},{"title":"Delete a payroll configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /payrollconfig/{payrollConfigId}","href":"/api-reference/pay-api/payrollconfig/delete-a-payroll-configuration"},{"title":"Get a payroll config's default working pattern (overrides the organisation default)","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payrollconfig/{payrollConfigId}/working-pattern-defaults","href":"/api-reference/pay-api/payrollconfig/get-a-payroll-configs-default-working-pattern-overrides-the-organisation-default"},{"title":"Set a payroll config's default working pattern (overrides the organisation default)","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /payrollconfig/{payrollConfigId}/working-pattern-defaults","href":"/api-reference/pay-api/payrollconfig/set-a-payroll-configs-default-working-pattern-overrides-the-organisation-default"}]},{"group":"RTI","pages":[{"title":"Submit EPS from monthly balances","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /rti/eps/monthly-balances/{taxYear}/{taxMonth}","href":"/api-reference/pay-api/rti/submit-eps-from-monthly-balances"},{"title":"Get tax years with EPS submissions","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /rti/eps/tax-years-with-submissions","href":"/api-reference/pay-api/rti/get-tax-years-with-eps-submissions"},{"title":"Submit EPS manually","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /rti/eps/{taxYear}/manual","href":"/api-reference/pay-api/rti/submit-eps-manually"},{"title":"Resubmit EPS manually","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /rti/eps/{taxYear}/manual/{submissionId}/resubmit","href":"/api-reference/pay-api/rti/resubmit-eps-manually"},{"title":"Get all EPS submissions by tax year","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /rti/eps/{taxYear}/submissions","href":"/api-reference/pay-api/rti/get-all-eps-submissions-by-tax-year"},{"title":"Get EPS submission by tax year and submission ID","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /rti/eps/{taxYear}/submissions/{submissionId}","href":"/api-reference/pay-api/rti/get-eps-submission-by-tax-year-and-submission-id"},{"title":"Get HMRC RTI FPS for payroll run","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /rti/fps/{payrollConfigId}/{taxYear}/{period}","href":"/api-reference/pay-api/rti/get-hmrc-rti-fps-for-payroll-run"},{"title":"Trigger send HMRC RTI FPS for payroll run","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /rti/fps/{payrollConfigId}/{taxYear}/{period}","href":"/api-reference/pay-api/rti/trigger-send-hmrc-rti-fps-for-payroll-run"}]}]},{"group":"Payment","pages":[{"title":"Payment API overview","sidebarTitle":"Overview","href":"/api-reference/payment/overview"},{"group":"AvailablePaymentConfig","pages":[{"title":"List all available payment configurations","deprecated":null,"version":null,"openapi":"/api-reference/specs/payment.json get /available/config","href":"/api-reference/payment/availablepaymentconfig/list-all-available-payment-configurations"}]},{"group":"OrganisationPaymentConfig","pages":[{"title":"Get payment configuration for an organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/payment.json get /config/{payrollConfigId}","href":"/api-reference/payment/organisationpaymentconfig/get-payment-configuration-for-an-organisation"},{"title":"Update payment configuration for an organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/payment.json put /config/{payrollConfigId}","href":"/api-reference/payment/organisationpaymentconfig/update-payment-configuration-for-an-organisation"},{"title":"Create payment configuration for an organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/payment.json post /config/{payrollConfigId}","href":"/api-reference/payment/organisationpaymentconfig/create-payment-configuration-for-an-organisation"},{"title":"Delete payment configuration for an organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/payment.json delete /config/{payrollConfigId}","href":"/api-reference/payment/organisationpaymentconfig/delete-payment-configuration-for-an-organisation"}]},{"group":"PaymentFile","pages":[{"title":"Get payment file for a pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/payment.json get /file/run/{payrollConfigId}/year/{year}/frequency/{frequency}/period/{period}","href":"/api-reference/payment/paymentfile/get-payment-file-for-a-pay-run"},{"title":"Create the payment file of a locked pay run that has none","deprecated":null,"version":null,"openapi":"/api-reference/specs/payment.json post /file/run/{payrollConfigId}/year/{year}/frequency/{frequency}/period/{period}/generate","href":"/api-reference/payment/paymentfile/create-the-payment-file-of-a-locked-pay-run-that-has-none"},{"title":"Get the payment file history of a pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/payment.json get /file/run/{payrollConfigId}/year/{year}/frequency/{frequency}/period/{period}/history","href":"/api-reference/payment/paymentfile/get-the-payment-file-history-of-a-pay-run"},{"title":"Rebuild a pay run's payment file with the current payment settings","deprecated":null,"version":null,"openapi":"/api-reference/specs/payment.json post /file/run/{payrollConfigId}/year/{year}/frequency/{frequency}/period/{period}/rebuild","href":"/api-reference/payment/paymentfile/rebuild-a-pay-runs-payment-file-with-the-current-payment-settings"},{"title":"Retry failed payment file generation with refreshed employee data","deprecated":null,"version":null,"openapi":"/api-reference/specs/payment.json post /file/run/{payrollConfigId}/year/{year}/frequency/{frequency}/period/{period}/retry","href":"/api-reference/payment/paymentfile/retry-failed-payment-file-generation-with-refreshed-employee-data"}]}]},{"group":"Payroll journals","pages":[{"title":"Payroll journals API overview","sidebarTitle":"Overview","href":"/api-reference/journal/overview"},{"group":"Control account mappings","pages":[{"title":"Get a control account mapping","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /templates/{templateId}/control-account-mappings/{account}","href":"/api-reference/journal/control-account-mappings/get-a-control-account-mapping"},{"title":"Create or update a control account mapping","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json put /templates/{templateId}/control-account-mappings/{account}","href":"/api-reference/journal/control-account-mappings/create-or-update-a-control-account-mapping"},{"title":"Delete a control account mapping","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json delete /templates/{templateId}/control-account-mappings/{account}","href":"/api-reference/journal/control-account-mappings/delete-a-control-account-mapping"},{"title":"List control account mappings","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /templates/{templateId}/control-account-mappings","href":"/api-reference/journal/control-account-mappings/list-control-account-mappings"}]},{"group":"Journal export metadata","pages":[{"title":"List date-format presets","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /export-options/date-format-presets","href":"/api-reference/journal/journal-export-metadata/list-date-format-presets"},{"title":"List narration tokens","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /export-options/narration-tokens","href":"/api-reference/journal/journal-export-metadata/list-narration-tokens"},{"title":"List reference tokens","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /export-options/reference-tokens","href":"/api-reference/journal/journal-export-metadata/list-reference-tokens"},{"title":"List export presets","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /export-options/presets","href":"/api-reference/journal/journal-export-metadata/list-export-presets"},{"title":"List split sources and their known values","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /export-options/split-sources","href":"/api-reference/journal/journal-export-metadata/list-split-sources-and-their-known-values"},{"title":"List export formats","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /export-options/formats","href":"/api-reference/journal/journal-export-metadata/list-export-formats"},{"title":"List account-code separators","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /export-options/account-code-separators","href":"/api-reference/journal/journal-export-metadata/list-account-code-separators"}]},{"group":"Journal templates","pages":[{"title":"List journal templates","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /templates","href":"/api-reference/journal/journal-templates/list-journal-templates"},{"title":"Create a journal template","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json post /templates","href":"/api-reference/journal/journal-templates/create-a-journal-template"},{"title":"Get a journal template","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /templates/{templateId}","href":"/api-reference/journal/journal-templates/get-a-journal-template"},{"title":"Delete a journal template","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json delete /templates/{templateId}","href":"/api-reference/journal/journal-templates/delete-a-journal-template"},{"title":"Update a journal template","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json patch /templates/{templateId}","href":"/api-reference/journal/journal-templates/update-a-journal-template"},{"title":"Preview a journal template","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json post /templates/{templateId}/preview","href":"/api-reference/journal/journal-templates/preview-a-journal-template"},{"title":"Clone a journal template","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json post /templates/{templateId}/clone","href":"/api-reference/journal/journal-templates/clone-a-journal-template"},{"title":"Export a journal template","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /templates/{templateId}/export","href":"/api-reference/journal/journal-templates/export-a-journal-template"},{"title":"Import a journal template","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json post /templates/import","href":"/api-reference/journal/journal-templates/import-a-journal-template"},{"title":"Import journal template mappings","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json post /templates/{templateId}/imports/mappings","href":"/api-reference/journal/journal-templates/import-journal-template-mappings"},{"title":"Get a journal template's history","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /templates/{templateId}/history","href":"/api-reference/journal/journal-templates/get-a-journal-templates-history"},{"title":"Preview a journal template as CSV","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json post /templates/{templateId}/preview/exports/csv","href":"/api-reference/journal/journal-templates/preview-a-journal-template-as-csv"},{"title":"Preview a journal template as PDF","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json post /templates/{templateId}/preview/exports/pdf","href":"/api-reference/journal/journal-templates/preview-a-journal-template-as-pdf"}]},{"group":"Journals","pages":[{"title":"List journals","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /journals","href":"/api-reference/journal/journals/list-journals"},{"title":"Get the latest journal for a pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /journals/latest","href":"/api-reference/journal/journals/get-the-latest-journal-for-a-pay-run"},{"title":"List journal versions for a pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /journals/versions","href":"/api-reference/journal/journals/list-journal-versions-for-a-pay-run"},{"title":"Get a journal","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /journals/{journalId}","href":"/api-reference/journal/journals/get-a-journal"},{"title":"Get a page of a journal's lines","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /journals/{journalId}/lines","href":"/api-reference/journal/journals/get-a-page-of-a-journals-lines"},{"title":"Download a journal export","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /journals/{journalId}/exports/{format}","href":"/api-reference/journal/journals/download-a-journal-export"},{"title":"Get a journal export download link","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /journals/{journalId}/exports/{format}/download-url","href":"/api-reference/journal/journals/get-a-journal-export-download-link"},{"title":"Rebuild a journal for a pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json post /journals/rebuild","href":"/api-reference/journal/journals/rebuild-a-journal-for-a-pay-run"},{"title":"Reissue a journal for a pay run (async)","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json post /journals/reissue","href":"/api-reference/journal/journals/reissue-a-journal-for-a-pay-run-async"},{"title":"Get a journal's history","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /journals/{journalId}/history","href":"/api-reference/journal/journals/get-a-journals-history"},{"title":"Get a journal's rebuild/re-issue progress","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /journals/{journalId}/reissue-progress","href":"/api-reference/journal/journals/get-a-journals-rebuildre-issue-progress"},{"title":"List this journal's sends","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /journals/{journalId}/postings","href":"/api-reference/journal/journals/list-this-journals-sends"},{"title":"Send a journal to your accounting system","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json post /journals/{journalId}/postings","href":"/api-reference/journal/journals/send-a-journal-to-your-accounting-system"}]},{"group":"Org journal settings","pages":[{"title":"Get organisation journal settings","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /org-journal-settings","href":"/api-reference/journal/org-journal-settings/get-organisation-journal-settings"},{"title":"Create or update organisation journal settings","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json put /org-journal-settings","href":"/api-reference/journal/org-journal-settings/create-or-update-organisation-journal-settings"}]},{"group":"Pay element mappings","pages":[{"title":"Get a pay element mapping","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /templates/{templateId}/pay-element-mappings/{payElementId}","href":"/api-reference/journal/pay-element-mappings/get-a-pay-element-mapping"},{"title":"Create or update a pay element mapping","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json put /templates/{templateId}/pay-element-mappings/{payElementId}","href":"/api-reference/journal/pay-element-mappings/create-or-update-a-pay-element-mapping"},{"title":"Delete a pay element mapping","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json delete /templates/{templateId}/pay-element-mappings/{payElementId}","href":"/api-reference/journal/pay-element-mappings/delete-a-pay-element-mapping"},{"title":"List pay element mappings","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /templates/{templateId}/pay-element-mappings","href":"/api-reference/journal/pay-element-mappings/list-pay-element-mappings"}]},{"group":"Split dimensions","pages":[{"title":"List split dimensions","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /templates/{templateId}/split-dimensions","href":"/api-reference/journal/split-dimensions/list-split-dimensions"},{"title":"Create a split dimension","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json post /templates/{templateId}/split-dimensions","href":"/api-reference/journal/split-dimensions/create-a-split-dimension"},{"title":"Get a split dimension","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /templates/{templateId}/split-dimensions/{sequence}","href":"/api-reference/journal/split-dimensions/get-a-split-dimension"},{"title":"Delete a split dimension","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json delete /templates/{templateId}/split-dimensions/{sequence}","href":"/api-reference/journal/split-dimensions/delete-a-split-dimension"},{"title":"Update a split dimension","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json patch /templates/{templateId}/split-dimensions/{sequence}","href":"/api-reference/journal/split-dimensions/update-a-split-dimension"}]},{"group":"Split value mappings","pages":[{"title":"Get a split value mapping","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /templates/{templateId}/split-dimensions/{sequence}/values/{splitValueKey}","href":"/api-reference/journal/split-value-mappings/get-a-split-value-mapping"},{"title":"Create or update a split value mapping","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json put /templates/{templateId}/split-dimensions/{sequence}/values/{splitValueKey}","href":"/api-reference/journal/split-value-mappings/create-or-update-a-split-value-mapping"},{"title":"Delete a split value mapping","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json delete /templates/{templateId}/split-dimensions/{sequence}/values/{splitValueKey}","href":"/api-reference/journal/split-value-mappings/delete-a-split-value-mapping"},{"title":"List split value mappings","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /templates/{templateId}/split-dimensions/{sequence}/values","href":"/api-reference/journal/split-value-mappings/list-split-value-mappings"}]}]},{"group":"Pensions","pages":[{"title":"Pensions API overview","sidebarTitle":"Overview","href":"/api-reference/pensions-v2/overview"},{"group":"AdditionalVoluntaryContribution","pages":[{"title":"Get the additional voluntary contribution for a pay period","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /employee-pension/{employeeId}/additional-voluntary-contributions/{taxYear}/{period}","href":"/api-reference/pensions-v2/additionalvoluntarycontribution/get-the-additional-voluntary-contribution-for-a-pay-period"},{"title":"Set an additional voluntary contribution for a pay period","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json put /employee-pension/{employeeId}/additional-voluntary-contributions/{taxYear}/{period}","href":"/api-reference/pensions-v2/additionalvoluntarycontribution/set-an-additional-voluntary-contribution-for-a-pay-period"},{"title":"Remove the additional voluntary contribution for a pay period","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json delete /employee-pension/{employeeId}/additional-voluntary-contributions/{taxYear}/{period}","href":"/api-reference/pensions-v2/additionalvoluntarycontribution/remove-the-additional-voluntary-contribution-for-a-pay-period"},{"title":"List an employee's additional voluntary contributions","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /employee-pension/{employeeId}/additional-voluntary-contributions","href":"/api-reference/pensions-v2/additionalvoluntarycontribution/list-an-employees-additional-voluntary-contributions"}]},{"group":"Auto-enrolment","pages":[{"title":"List statutory pension letters still to be given","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /auto-enrolment/enrolment-information/outstanding","href":"/api-reference/pensions-v2/auto-enrolment/list-statutory-pension-letters-still-to-be-given"},{"title":"List statutory pension letters that have been given","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /auto-enrolment/enrolment-information/sent","href":"/api-reference/pensions-v2/auto-enrolment/list-statutory-pension-letters-that-have-been-given"},{"title":"List incomplete auto-enrolments","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /auto-enrolment/not-complete","href":"/api-reference/pensions-v2/auto-enrolment/list-incomplete-auto-enrolments"},{"title":"List incomplete auto-enrolments for a pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /auto-enrolment/not-complete/payrun/{payrollConfigId}/{year}/{frequency}/{period}","href":"/api-reference/pensions-v2/auto-enrolment/list-incomplete-auto-enrolments-for-a-pay-run"},{"title":"List completed auto-enrolments for a pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /auto-enrolment/complete/payrun/{payrollConfigId}/{year}/{frequency}/{period}","href":"/api-reference/pensions-v2/auto-enrolment/list-completed-auto-enrolments-for-a-pay-run"},{"title":"List employees not in auto-enrolment","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /auto-enrolment/not-auto-enrolments","href":"/api-reference/pensions-v2/auto-enrolment/list-employees-not-in-auto-enrolment"},{"title":"List employees not in auto-enrolment for a pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /auto-enrolment/not-auto-enrolments/payrun/{payrollConfigId}/{year}/{frequency}/{period}","href":"/api-reference/pensions-v2/auto-enrolment/list-employees-not-in-auto-enrolment-for-a-pay-run"},{"title":"List assessments for a pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /auto-enrolment/assessments/payrun/{payrollConfigId}/{year}/{frequency}/{period}","href":"/api-reference/pensions-v2/auto-enrolment/list-assessments-for-a-pay-run"},{"title":"Preview an assessment","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /auto-enrolment/assessments/preview","href":"/api-reference/pensions-v2/auto-enrolment/preview-an-assessment"}]},{"group":"AutoEnrolmentExemption","pages":[{"title":"Get an employee's auto-enrolment exemption","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /auto-enrolment-exemption/{employeeId}","href":"/api-reference/pensions-v2/autoenrolmentexemption/get-an-employees-auto-enrolment-exemption"},{"title":"Remove an employee's auto-enrolment exemption","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json delete /auto-enrolment-exemption/{employeeId}","href":"/api-reference/pensions-v2/autoenrolmentexemption/remove-an-employees-auto-enrolment-exemption"},{"title":"Set an employee's auto-enrolment exemption","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json put /auto-enrolment-exemption","href":"/api-reference/pensions-v2/autoenrolmentexemption/set-an-employees-auto-enrolment-exemption"}]},{"group":"ContributionOverride","pages":[{"title":"Get the contribution override for one pay period","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /employee-pension/{employeeId}/contribution-overrides/{taxYear}/{period}","href":"/api-reference/pensions-v2/contributionoverride/get-the-contribution-override-for-one-pay-period"},{"title":"Set a contribution override for one pay period","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json put /employee-pension/{employeeId}/contribution-overrides/{taxYear}/{period}","href":"/api-reference/pensions-v2/contributionoverride/set-a-contribution-override-for-one-pay-period"},{"title":"Remove the contribution override for one pay period","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json delete /employee-pension/{employeeId}/contribution-overrides/{taxYear}/{period}","href":"/api-reference/pensions-v2/contributionoverride/remove-the-contribution-override-for-one-pay-period"},{"title":"List an employee's contribution overrides","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /employee-pension/{employeeId}/contribution-overrides","href":"/api-reference/pensions-v2/contributionoverride/list-an-employees-contribution-overrides"}]},{"group":"Employee enrolment","pages":[{"title":"List the opt-out notices kept for one membership ending","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /employee-pension/{employeeId}/opt-out-notices","href":"/api-reference/pensions-v2/employee-enrolment/list-the-opt-out-notices-kept-for-one-membership-ending"},{"title":"Get somewhere to put a member's opt-out notice","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /employee-pension/{employeeId}/opt-out-notices","href":"/api-reference/pensions-v2/employee-enrolment/get-somewhere-to-put-a-members-opt-out-notice"},{"title":"Enrol an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /employee-pension","href":"/api-reference/pensions-v2/employee-enrolment/enrol-an-employee"},{"title":"Get an employee's enrolment","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /employee-pension/{employeeId}","href":"/api-reference/pensions-v2/employee-enrolment/get-an-employees-enrolment"},{"title":"Remove an employee from their pension","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json delete /employee-pension/{employeeId}","href":"/api-reference/pensions-v2/employee-enrolment/remove-an-employee-from-their-pension"},{"title":"List enrolments in batch","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /employee-pension/batch","href":"/api-reference/pensions-v2/employee-enrolment/list-enrolments-in-batch"},{"title":"Preview an opt-out refund","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /employee-pension/{employeeId}/refund-preview","href":"/api-reference/pensions-v2/employee-enrolment/preview-an-opt-out-refund"},{"title":"Get an opt-out refund","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /employee-pension/{employeeId}/opt-out-refunds/{membershipEndDate}","href":"/api-reference/pensions-v2/employee-enrolment/get-an-opt-out-refund"},{"title":"Decide an opt-out refund","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json put /employee-pension/{employeeId}/opt-out-refunds/{membershipEndDate}/decision","href":"/api-reference/pensions-v2/employee-enrolment/decide-an-opt-out-refund"},{"title":"List an employee's membership endings","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /employee-pension/{employeeId}/membership-ends","href":"/api-reference/pensions-v2/employee-enrolment/list-an-employees-membership-endings"},{"title":"Send an enrolment letter","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /employee-pension/{employeeId}/enrolment-letter","href":"/api-reference/pensions-v2/employee-enrolment/send-an-enrolment-letter"},{"title":"Send pension letters","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /employee-pension/letters/{letterType}","href":"/api-reference/pensions-v2/employee-enrolment/send-pension-letters"},{"title":"Get a pension letter job","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /employee-pension/letters/jobs/{jobId}","href":"/api-reference/pensions-v2/employee-enrolment/get-a-pension-letter-job"},{"title":"Choose how pension letters are sent","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json put /employee-pension/letters/{letterType}/sending","href":"/api-reference/pensions-v2/employee-enrolment/choose-how-pension-letters-are-sent"},{"title":"List one employee's pension letters","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /employee-pension/{employeeId}/letters","href":"/api-reference/pensions-v2/employee-enrolment/list-one-employees-pension-letters"}]},{"group":"Pension calculations","pages":[{"title":"Retrieve export files","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /export-file-retrieval/pension-calculation/year/{year}/period/{period}/frequency/{frequency}/payroll-config/{payrollConfigId}","href":"/api-reference/pensions-v2/pension-calculations/retrieve-export-files"},{"title":"List calculations for a month","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /pension-calculation/by-year/{year}/by-month/{month}","href":"/api-reference/pensions-v2/pension-calculations/list-calculations-for-a-month"},{"title":"List calculations for a provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /pension-calculation/pension-provider/{pensionProviderId}/by-year/{year}/by-month/{month}","href":"/api-reference/pensions-v2/pension-calculations/list-calculations-for-a-provider"},{"title":"Download the contributions CSV","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /pension-calculation/csv/year/{year}/period/{period}/frequency/{frequency}/payroll-config/{payrollConfigId}","href":"/api-reference/pensions-v2/pension-calculations/download-the-contributions-csv"},{"title":"Generate provider export files","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /pension-calculation/export","href":"/api-reference/pensions-v2/pension-calculations/generate-provider-export-files"},{"title":"List generated export files","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /pension-calculation/export/year/{year}/period/{period}/frequency/{frequency}/payroll-config/{payrollConfigId}","href":"/api-reference/pensions-v2/pension-calculations/list-generated-export-files"},{"title":"Record a calculation","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /pension-calculation","href":"/api-reference/pensions-v2/pension-calculations/record-a-calculation"}]},{"group":"Organisation defaults","pages":[{"title":"Get organisation pension defaults","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /organisation","href":"/api-reference/pensions-v2/organisation-defaults/get-organisation-pension-defaults"},{"title":"Update postponement defaults","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json put /organisation/pension-default/postponement-settings","href":"/api-reference/pensions-v2/organisation-defaults/update-postponement-defaults"},{"title":"Update auto-enrolment settings","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json put /organisation/pension-default/auto-enrolment-settings","href":"/api-reference/pensions-v2/organisation-defaults/update-auto-enrolment-settings"},{"title":"List opt-out refunds","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /organisation/opt-out-refunds","href":"/api-reference/pensions-v2/organisation-defaults/list-opt-out-refunds"},{"title":"List pension membership endings (refunds report)","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /organisation/pension-membership-ends","href":"/api-reference/pensions-v2/organisation-defaults/list-pension-membership-endings-refunds-report"}]},{"group":"Pension groups","pages":[{"title":"Create a pension group","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /pension-group","href":"/api-reference/pensions-v2/pension-groups/create-a-pension-group"},{"title":"Get a pension group","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /pension-group/{id}","href":"/api-reference/pensions-v2/pension-groups/get-a-pension-group"},{"title":"Update a pension group","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json put /pension-group/{id}","href":"/api-reference/pensions-v2/pension-groups/update-a-pension-group"},{"title":"Delete a pension group","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json delete /pension-group/{id}","href":"/api-reference/pensions-v2/pension-groups/delete-a-pension-group"},{"title":"List allowed contribution bases","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /pension-group/allowed-bases","href":"/api-reference/pensions-v2/pension-groups/list-allowed-contribution-bases"}]},{"group":"Pension information","pages":[{"title":"Get an employee's pension information","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /pension-information/{employeeId}","href":"/api-reference/pensions-v2/pension-information/get-an-employees-pension-information"}]},{"group":"Pension providers","pages":[{"title":"List pension providers","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /pension-provider","href":"/api-reference/pensions-v2/pension-providers/list-pension-providers"},{"title":"Get a pension provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /pension-provider/{id}","href":"/api-reference/pensions-v2/pension-providers/get-a-pension-provider"},{"title":"Get a pension provider by slug","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /pension-provider/slug/{slug}","href":"/api-reference/pensions-v2/pension-providers/get-a-pension-provider-by-slug"}]},{"group":"Pension schemes","pages":[{"title":"Create a pension scheme","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /pension-schema","href":"/api-reference/pensions-v2/pension-schemes/create-a-pension-scheme"},{"title":"Get a pension scheme","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /pension-schema/{id}","href":"/api-reference/pensions-v2/pension-schemes/get-a-pension-scheme"},{"title":"Update a pension scheme","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json put /pension-schema/{id}","href":"/api-reference/pensions-v2/pension-schemes/update-a-pension-scheme"},{"title":"Delete a pension scheme","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json delete /pension-schema/{id}","href":"/api-reference/pensions-v2/pension-schemes/delete-a-pension-scheme"},{"title":"List pension schemes","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /pension-schema/organisation","href":"/api-reference/pensions-v2/pension-schemes/list-pension-schemes"}]},{"group":"Postponement","pages":[{"title":"Get an employee's postponement","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /postponement/{employeeId}","href":"/api-reference/pensions-v2/postponement/get-an-employees-postponement"},{"title":"Remove an employee's postponement","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json delete /postponement/{employeeId}","href":"/api-reference/pensions-v2/postponement/remove-an-employees-postponement"},{"title":"Set an employee's postponement","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json put /postponement","href":"/api-reference/pensions-v2/postponement/set-an-employees-postponement"}]},{"group":"Provider submissions","pages":[{"title":"Check the scheme matches its pension provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /provider-sync/reconciliation","href":"/api-reference/pensions-v2/provider-submissions/check-the-scheme-matches-its-pension-provider"},{"title":"List what pension providers sent back","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /provider-sync/returns","href":"/api-reference/pensions-v2/provider-submissions/list-what-pension-providers-sent-back"},{"title":"Changes a pension provider has reported about members","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /provider-sync/member-changes","href":"/api-reference/pensions-v2/provider-submissions/changes-a-pension-provider-has-reported-about-members"},{"title":"How many provider changes are waiting","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /provider-sync/member-changes/summary","href":"/api-reference/pensions-v2/provider-submissions/how-many-provider-changes-are-waiting"},{"title":"Apply a provider's reported change to the member's pension","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /provider-sync/member-changes/{changeId}/apply","href":"/api-reference/pensions-v2/provider-submissions/apply-a-providers-reported-change-to-the-members-pension"},{"title":"Record that a provider's reported change was not applied","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /provider-sync/member-changes/{changeId}/dismiss","href":"/api-reference/pensions-v2/provider-submissions/record-that-a-providers-reported-change-was-not-applied"},{"title":"Mark a provider's reported change as seen","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /provider-sync/member-changes/{changeId}/acknowledge","href":"/api-reference/pensions-v2/provider-submissions/mark-a-providers-reported-change-as-seen"},{"title":"Remove a provider's reported change from the lists","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /provider-sync/member-changes/{changeId}/delete","href":"/api-reference/pensions-v2/provider-submissions/remove-a-providers-reported-change-from-the-lists"},{"title":"List provider submissions for a pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /provider-sync/{payrollConfigId}/{year}/{frequency}/{period}","href":"/api-reference/pensions-v2/provider-submissions/list-provider-submissions-for-a-pay-run"},{"title":"Find the provider submission an operation belongs to","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /provider-sync/operations/{operationId}","href":"/api-reference/pensions-v2/provider-submissions/find-the-provider-submission-an-operation-belongs-to"},{"title":"List the pay run's schemes that can be sent to a provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /provider-sync/{payrollConfigId}/{year}/{frequency}/{period}/sendable","href":"/api-reference/pensions-v2/provider-submissions/list-the-pay-runs-schemes-that-can-be-sent-to-a-provider"},{"title":"Everything the provider refused about one submission","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /provider-sync/{payrollConfigId}/{year}/{frequency}/{period}/issues","href":"/api-reference/pensions-v2/provider-submissions/everything-the-provider-refused-about-one-submission"},{"title":"Send the pay run to the connected pension providers","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /provider-sync/{payrollConfigId}/{year}/{frequency}/{period}/send","href":"/api-reference/pensions-v2/provider-submissions/send-the-pay-run-to-the-connected-pension-providers"},{"title":"Approve the pay run's contribution schedule for payment","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /provider-sync/{payrollConfigId}/{year}/{frequency}/{period}/approve-payment","href":"/api-reference/pensions-v2/provider-submissions/approve-the-pay-runs-contribution-schedule-for-payment"},{"title":"Re-read named members' details so a refused submission can be corrected","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /provider-sync/{payrollConfigId}/{year}/{frequency}/{period}/refresh-members","href":"/api-reference/pensions-v2/provider-submissions/re-read-named-members-details-so-a-refused-submission-can-be-corrected"}]}]},{"group":"Recurring line items","pages":[{"title":"Recurring line items API overview","sidebarTitle":"Overview","href":"/api-reference/recurring-line-items/overview"},{"group":"Recurring Line Items","pages":[{"title":"List recurring line items for an organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/recurring-line-items.json get /","href":"/api-reference/recurring-line-items/recurring-line-items/list-recurring-line-items-for-an-organisation"},{"title":"Create a recurring line item","deprecated":null,"version":null,"openapi":"/api-reference/specs/recurring-line-items.json post /","href":"/api-reference/recurring-line-items/recurring-line-items/create-a-recurring-line-item"},{"title":"List recurring line items for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/recurring-line-items.json get /employees/{employeeId}","href":"/api-reference/recurring-line-items/recurring-line-items/list-recurring-line-items-for-an-employee"},{"title":"Get a recurring line item","deprecated":null,"version":null,"openapi":"/api-reference/specs/recurring-line-items.json get /{id}","href":"/api-reference/recurring-line-items/recurring-line-items/get-a-recurring-line-item"},{"title":"Delete a recurring line item","deprecated":null,"version":null,"openapi":"/api-reference/specs/recurring-line-items.json delete /{id}/employees/{employeeId}","href":"/api-reference/recurring-line-items/recurring-line-items/delete-a-recurring-line-item"},{"title":"Update a recurring line item","deprecated":null,"version":null,"openapi":"/api-reference/specs/recurring-line-items.json patch /{id}/employees/{employeeId}","href":"/api-reference/recurring-line-items/recurring-line-items/update-a-recurring-line-item"},{"title":"List tax years for a recurring line item","deprecated":null,"version":null,"openapi":"/api-reference/specs/recurring-line-items.json get /{id}/employees/{employeeId}/tax-years","href":"/api-reference/recurring-line-items/recurring-line-items/list-tax-years-for-a-recurring-line-item"},{"title":"List periods for a recurring line item","deprecated":null,"version":null,"openapi":"/api-reference/specs/recurring-line-items.json get /{id}/employees/{employeeId}/periods","href":"/api-reference/recurring-line-items/recurring-line-items/list-periods-for-a-recurring-line-item"},{"title":"Skip a single period of a recurring line item","deprecated":null,"version":null,"openapi":"/api-reference/specs/recurring-line-items.json delete /{id}/employees/{employeeId}/periods/{taxYear}/{sequence}","href":"/api-reference/recurring-line-items/recurring-line-items/skip-a-single-period-of-a-recurring-line-item"},{"title":"Update a single period of a recurring line item","deprecated":null,"version":null,"openapi":"/api-reference/specs/recurring-line-items.json patch /{id}/employees/{employeeId}/periods/{taxYear}/{sequence}","href":"/api-reference/recurring-line-items/recurring-line-items/update-a-single-period-of-a-recurring-line-item"}]}]},{"group":"Reports","tag":"Beta","pages":[{"title":"Reports API overview","sidebarTitle":"Overview","href":"/api-reference/reports/overview"},{"group":"Datasets","pages":[{"title":"List queryable datasets","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json get /datasets","href":"/api-reference/reports/datasets/list-queryable-datasets"},{"title":"Get a dataset's full field catalog","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json get /datasets/{name}","href":"/api-reference/reports/datasets/get-a-datasets-full-field-catalog"}]},{"group":"Exports","pages":[{"title":"Queue an asynchronous CSV or JSONL export (row cap 5,000,000)","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json post /exports","href":"/api-reference/reports/exports/queue-an-asynchronous-csv-or-jsonl-export-row-cap-5000000"},{"title":"Export status; a download link when COMPLETED (12-hour expiry, refetch to re-issue)","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json get /exports/{id}","href":"/api-reference/reports/exports/export-status;-a-download-link-when-completed-12-hour-expiry-refetch-to-re-issue"}]},{"group":"Report definitions","pages":[{"title":"List the organisation's saved report definitions","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json get /report-definitions","href":"/api-reference/reports/report-definitions/list-the-organisations-saved-report-definitions"},{"title":"Save a report definition","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json post /report-definitions","href":"/api-reference/reports/report-definitions/save-a-report-definition"},{"title":"Get a saved report definition","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json get /report-definitions/{id}","href":"/api-reference/reports/report-definitions/get-a-saved-report-definition"},{"title":"Replace a saved report definition","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json put /report-definitions/{id}","href":"/api-reference/reports/report-definitions/replace-a-saved-report-definition"},{"title":"Delete a saved report definition (refuses while schedules reference it)","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json delete /report-definitions/{id}","href":"/api-reference/reports/report-definitions/delete-a-saved-report-definition-refuses-while-schedules-reference-it"}]},{"group":"report-settings","pages":[{"title":"The reports the pay run's Reports step shows","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json get /report-settings/pay-run","href":"/api-reference/reports/report-settings/the-reports-the-pay-runs-reports-step-shows"},{"title":"Choose the reports the pay run's Reports step shows","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json put /report-settings/pay-run","href":"/api-reference/reports/report-settings/choose-the-reports-the-pay-runs-reports-step-shows"}]},{"group":"Run reports","pages":[{"title":"Run an inline report definition synchronously","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json post /reports/run","href":"/api-reference/reports/run-reports/run-an-inline-report-definition-synchronously"},{"title":"Run a saved report definition synchronously","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json post /report-definitions/{id}/run","href":"/api-reference/reports/run-reports/run-a-saved-report-definition-synchronously"},{"title":"Run a report over one pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json post /payroll-runs/{payrollConfigId}/{year}/{period}/{frequency}/reports/{definitionId}/run","href":"/api-reference/reports/run-reports/run-a-report-over-one-pay-run"},{"title":"Try a report on one pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json post /payroll-runs/{payrollConfigId}/{year}/{period}/{frequency}/reports/run","href":"/api-reference/reports/run-reports/try-a-report-on-one-pay-run"},{"title":"A page of a report over one pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json get /payroll-runs/{payrollConfigId}/{year}/{period}/{frequency}/reports/{definitionId}/rows","href":"/api-reference/reports/run-reports/a-page-of-a-report-over-one-pay-run"}]},{"group":"Run history","pages":[{"title":"Run history / audit (most recent first)","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json get /runs","href":"/api-reference/reports/run-history/run-history-audit-most-recent-first"}]},{"group":"Schedules","pages":[{"title":"List a definition's schedules","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json get /report-definitions/{definitionId}/schedules","href":"/api-reference/reports/schedules/list-a-definitions-schedules"},{"title":"Schedule recurring exports of a saved definition","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json post /report-definitions/{definitionId}/schedules","href":"/api-reference/reports/schedules/schedule-recurring-exports-of-a-saved-definition"},{"title":"Delete a schedule","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json delete /schedules/{id}","href":"/api-reference/reports/schedules/delete-a-schedule"}]}]},{"group":"Salary","pages":[{"title":"Salary API overview","sidebarTitle":"Overview","href":"/api-reference/salary/overview"},{"group":"Salary employee configuration","pages":[{"title":"Get an employee's salary configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/salary.json get /employees/{employeeId}","href":"/api-reference/salary/salary-employee-configuration/get-an-employees-salary-configuration"},{"title":"Set an employee's calculation-method override","deprecated":null,"version":null,"openapi":"/api-reference/specs/salary.json put /employees/{employeeId}","href":"/api-reference/salary/salary-employee-configuration/set-an-employees-calculation-method-override"},{"title":"Remove an employee's calculation-method override","deprecated":null,"version":null,"openapi":"/api-reference/specs/salary.json delete /employees/{employeeId}","href":"/api-reference/salary/salary-employee-configuration/remove-an-employees-calculation-method-override"}]},{"group":"Salary lines","pages":[{"title":"Calculate the salary lines for a pay period","deprecated":null,"version":null,"openapi":"/api-reference/specs/salary.json post /employees/{employeeId}/calculate","href":"/api-reference/salary/salary-lines/calculate-the-salary-lines-for-a-pay-period"}]},{"group":"Salary organisation configuration","pages":[{"title":"Get the organisation's salary configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/salary.json get /organisation","href":"/api-reference/salary/salary-organisation-configuration/get-the-organisations-salary-configuration"},{"title":"Create or replace the organisation's salary configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/salary.json put /organisation","href":"/api-reference/salary/salary-organisation-configuration/create-or-replace-the-organisations-salary-configuration"},{"title":"Delete the organisation's salary configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/salary.json delete /organisation","href":"/api-reference/salary/salary-organisation-configuration/delete-the-organisations-salary-configuration"}]},{"group":"Statutory leave policies","pages":[{"title":"Get the organisation's statutory leave policies","deprecated":null,"version":null,"openapi":"/api-reference/specs/salary.json get /organisation/leave","href":"/api-reference/salary/statutory-leave-policies/get-the-organisations-statutory-leave-policies"},{"title":"Replace the organisation's statutory leave policies","deprecated":null,"version":null,"openapi":"/api-reference/specs/salary.json put /organisation/leave","href":"/api-reference/salary/statutory-leave-policies/replace-the-organisations-statutory-leave-policies"},{"title":"Remove the organisation's statutory leave policies","deprecated":null,"version":null,"openapi":"/api-reference/specs/salary.json delete /organisation/leave","href":"/api-reference/salary/statutory-leave-policies/remove-the-organisations-statutory-leave-policies"},{"title":"Get an employee's statutory leave policies","deprecated":null,"version":null,"openapi":"/api-reference/specs/salary.json get /employees/{employeeId}/leave","href":"/api-reference/salary/statutory-leave-policies/get-an-employees-statutory-leave-policies"},{"title":"Replace an employee's statutory leave override","deprecated":null,"version":null,"openapi":"/api-reference/specs/salary.json put /employees/{employeeId}/leave","href":"/api-reference/salary/statutory-leave-policies/replace-an-employees-statutory-leave-override"},{"title":"Remove an employee's statutory leave override","deprecated":null,"version":null,"openapi":"/api-reference/specs/salary.json delete /employees/{employeeId}/leave","href":"/api-reference/salary/statutory-leave-policies/remove-an-employees-statutory-leave-override"}]}]},{"group":"Statutory pay","pages":[{"title":"Statutory pay API overview","sidebarTitle":"Overview","href":"/api-reference/statutory-pay/overview"},{"group":"Statutory Calculations","pages":[{"title":"Preview statutory pay for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json post /calculations/employees/{employeeId}","href":"/api-reference/statutory-pay/statutory-calculations/preview-statutory-pay-for-an-employee"},{"title":"Preview statutory pay from the details you send","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json post /calculations/preview","href":"/api-reference/statutory-pay/statutory-calculations/preview-statutory-pay-from-the-details-you-send"},{"title":"Check whether a sickness absence links to an earlier one","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json post /calculations/employees/{employeeId}/linking","href":"/api-reference/statutory-pay/statutory-calculations/check-whether-a-sickness-absence-links-to-an-earlier-one"},{"title":"Get an employee's statutory pay history used in calculations","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json get /calculations/employees/{employeeId}/history","href":"/api-reference/statutory-pay/statutory-calculations/get-an-employees-statutory-pay-history-used-in-calculations"}]},{"group":"Statutory payments","pages":[{"title":"List an employee's statutory payments","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json get /payments/employees/{employeeId}","href":"/api-reference/statutory-pay/statutory-payments/list-an-employees-statutory-payments"},{"title":"Create a statutory payment for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json post /payments/employees/{employeeId}","href":"/api-reference/statutory-pay/statutory-payments/create-a-statutory-payment-for-an-employee"},{"title":"List the organisation's statutory payments","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json get /payments/organisations","href":"/api-reference/statutory-pay/statutory-payments/list-the-organisations-statutory-payments"},{"title":"Get a statutory payment","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json get /payments/employees/{employeeId}/{statutoryPayId}","href":"/api-reference/statutory-pay/statutory-payments/get-a-statutory-payment"},{"title":"Update a statutory payment","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json put /payments/employees/{employeeId}/{statutoryPayId}","href":"/api-reference/statutory-pay/statutory-payments/update-a-statutory-payment"},{"title":"Delete a statutory payment","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json delete /payments/employees/{employeeId}/{statutoryPayId}","href":"/api-reference/statutory-pay/statutory-payments/delete-a-statutory-payment"},{"title":"Get a statutory payment's change history","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json get /payments/employees/{employeeId}/{statutoryPayId}/history","href":"/api-reference/statutory-pay/statutory-payments/get-a-statutory-payments-change-history"}]},{"group":"Alabaster \u0026 earnings","pages":[{"title":"Calculate an employee's average weekly earnings","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json get /payments/calculations/employees/{employeeId}/average-earnings","href":"/api-reference/statutory-pay/alabaster-\u0026-earnings/calculate-an-employees-average-weekly-earnings"},{"title":"Find pay rises that should increase maternity pay","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json get /payments/employees/{employeeId}/{statutoryPayId}/alabaster-detection","href":"/api-reference/statutory-pay/alabaster-\u0026-earnings/find-pay-rises-that-should-increase-maternity-pay"},{"title":"Recalculate maternity pay after a pay rise","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json post /payments/employees/{employeeId}/{statutoryPayId}/alabaster-recalculate","href":"/api-reference/statutory-pay/alabaster-\u0026-earnings/recalculate-maternity-pay-after-a-pay-rise"},{"title":"Apply an Alabaster adjustment to unpaid lines (not available yet)","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json post /payments/employees/{employeeId}/{statutoryPayId}/alabaster-update-line-items","href":"/api-reference/statutory-pay/alabaster-\u0026-earnings/apply-an-alabaster-adjustment-to-unpaid-lines-not-available-yet"}]},{"group":"Line items \u0026 schedule","pages":[{"title":"List a statutory payment's payslip lines","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json get /payments/employees/{employeeId}/{statutoryPayId}/line-items","href":"/api-reference/statutory-pay/line-items-\u0026-schedule/list-a-statutory-payments-payslip-lines"},{"title":"Change the amount for one unpaid week","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json patch /payments/employees/{employeeId}/{statutoryPayId}/weeks/{weekNumber}","href":"/api-reference/statutory-pay/line-items-\u0026-schedule/change-the-amount-for-one-unpaid-week"},{"title":"Change the amount on one unpaid payslip line","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json patch /payments/employees/{employeeId}/{statutoryPayId}/line-items/{lineItemSequence}","href":"/api-reference/statutory-pay/line-items-\u0026-schedule/change-the-amount-on-one-unpaid-payslip-line"},{"title":"Download the payment schedule as CSV or PDF","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json get /payments/employees/{employeeId}/{statutoryPayId}/schedule/export","href":"/api-reference/statutory-pay/line-items-\u0026-schedule/download-the-payment-schedule-as-csv-or-pdf"}]},{"group":"External payments","pages":[{"title":"List payments made outside Flow Payroll","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json get /payments/employees/{employeeId}/{statutoryPayId}/external-payments","href":"/api-reference/statutory-pay/external-payments/list-payments-made-outside-flow-payroll"},{"title":"Record a payment made outside Flow Payroll","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json post /payments/employees/{employeeId}/{statutoryPayId}/external-payments","href":"/api-reference/statutory-pay/external-payments/record-a-payment-made-outside-flow-payroll"},{"title":"Remove a payment made outside Flow Payroll","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json delete /payments/employees/{employeeId}/{statutoryPayId}/external-payments/{lineItemSequence}","href":"/api-reference/statutory-pay/external-payments/remove-a-payment-made-outside-flow-payroll"}]},{"group":"Attachments","pages":[{"title":"List a statutory payment's supporting documents","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json get /payments/employees/{employeeId}/{statutoryPayId}/attachments","href":"/api-reference/statutory-pay/attachments/list-a-statutory-payments-supporting-documents"},{"title":"Add supporting documents to a statutory payment","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json post /payments/employees/{employeeId}/{statutoryPayId}/attachments","href":"/api-reference/statutory-pay/attachments/add-supporting-documents-to-a-statutory-payment"},{"title":"Delete a supporting document","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json delete /payments/employees/{employeeId}/{statutoryPayId}/attachments/{attachmentId}","href":"/api-reference/statutory-pay/attachments/delete-a-supporting-document"}]},{"group":"Import \u0026 reconcile","pages":[{"title":"Reconcile unpaid statutory payslip lines with pay runs","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json post /payments/reconcile","href":"/api-reference/statutory-pay/import-\u0026-reconcile/reconcile-unpaid-statutory-payslip-lines-with-pay-runs"},{"title":"Import a statutory payment from a previous provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json post /payments/import/{employeeId}","href":"/api-reference/statutory-pay/import-\u0026-reconcile/import-a-statutory-payment-from-a-previous-provider"}]},{"group":"Statutory Rates","pages":[{"title":"List the tax years that have statutory rates","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json get /statutory-rates/available-years","href":"/api-reference/statutory-pay/statutory-rates/list-the-tax-years-that-have-statutory-rates"},{"title":"Get the statutory rates for a tax year","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json get /statutory-rates/{taxYear}","href":"/api-reference/statutory-pay/statutory-rates/get-the-statutory-rates-for-a-tax-year"}]}]},{"group":"Webhooks","pages":[{"title":"Webhooks overview","sidebarTitle":"Overview","href":"/api-reference/webhooks/overview"},{"title":"Webhooks quickstart","sidebarTitle":"Quickstart","href":"/api-reference/webhooks/quickstart"},{"title":"Manage endpoints","href":"/api-reference/webhooks/manage-endpoints"},{"title":"Verify signatures","href":"/api-reference/webhooks/verify-signatures"},{"title":"Standard Webhooks","href":"/api-reference/webhooks/standard-webhooks"},{"title":"Event types","href":"/api-reference/webhooks/event-types"},{"title":"Delivery and retries","href":"/api-reference/webhooks/delivery-and-retries"},{"title":"Best practices","href":"/api-reference/webhooks/best-practices"},{"title":"Replay and recovery","href":"/api-reference/webhooks/replay-and-recovery"},{"title":"Bureaux and many organisations","href":"/api-reference/webhooks/account-wide-endpoints"},{"title":"Testing webhooks","href":"/api-reference/webhooks/testing"},{"group":"API","pages":[{"group":"Alert contacts","pages":[{"title":"List default alert contacts","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /alert-contacts","href":"/api-reference/webhooks/alert-contacts/list-default-alert-contacts"},{"title":"Add default alert contacts","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json post /alert-contacts","href":"/api-reference/webhooks/alert-contacts/add-default-alert-contacts"},{"title":"Replace default alert contacts","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json put /alert-contacts","href":"/api-reference/webhooks/alert-contacts/replace-default-alert-contacts"},{"title":"Remove default alert contacts","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json delete /alert-contacts","href":"/api-reference/webhooks/alert-contacts/remove-default-alert-contacts"},{"title":"Remove one default alert contact","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json delete /alert-contacts/{email}","href":"/api-reference/webhooks/alert-contacts/remove-one-default-alert-contact"},{"title":"List an endpoint's alert contacts","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /endpoints/{endpointId}/alert-contacts","href":"/api-reference/webhooks/alert-contacts/list-an-endpoints-alert-contacts"},{"title":"Add alert contacts to an endpoint","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json post /endpoints/{endpointId}/alert-contacts","href":"/api-reference/webhooks/alert-contacts/add-alert-contacts-to-an-endpoint"},{"title":"Replace an endpoint's alert contacts","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json put /endpoints/{endpointId}/alert-contacts","href":"/api-reference/webhooks/alert-contacts/replace-an-endpoints-alert-contacts"},{"title":"Remove alert contacts from an endpoint","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json delete /endpoints/{endpointId}/alert-contacts","href":"/api-reference/webhooks/alert-contacts/remove-alert-contacts-from-an-endpoint"},{"title":"Remove one alert contact from an endpoint","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json delete /endpoints/{endpointId}/alert-contacts/{email}","href":"/api-reference/webhooks/alert-contacts/remove-one-alert-contact-from-an-endpoint"}]},{"group":"Delivery log","pages":[{"title":"List deliveries","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /deliveries","href":"/api-reference/webhooks/delivery-log/list-deliveries"},{"title":"Retrieve a delivery","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /deliveries/{deliveryId}","href":"/api-reference/webhooks/delivery-log/retrieve-a-delivery"},{"title":"List delivery attempts","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /deliveries/{deliveryId}/attempts","href":"/api-reference/webhooks/delivery-log/list-delivery-attempts"},{"title":"Resend a delivery","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json post /deliveries/{deliveryId}/replays","href":"/api-reference/webhooks/delivery-log/resend-a-delivery"}]},{"group":"Endpoint subscriptions","pages":[{"title":"List subscribed event types","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /endpoints/{endpointId}/event-types","href":"/api-reference/webhooks/endpoint-subscriptions/list-subscribed-event-types"},{"title":"Subscribe to event types","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json post /endpoints/{endpointId}/event-types","href":"/api-reference/webhooks/endpoint-subscriptions/subscribe-to-event-types"},{"title":"Replace subscribed event types","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json put /endpoints/{endpointId}/event-types","href":"/api-reference/webhooks/endpoint-subscriptions/replace-subscribed-event-types"},{"title":"Unsubscribe from event types","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json delete /endpoints/{endpointId}/event-types","href":"/api-reference/webhooks/endpoint-subscriptions/unsubscribe-from-event-types"},{"title":"Unsubscribe from one event type","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json delete /endpoints/{endpointId}/event-types/{eventType}","href":"/api-reference/webhooks/endpoint-subscriptions/unsubscribe-from-one-event-type"},{"title":"List filtered organisations","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /endpoints/{endpointId}/organisations","href":"/api-reference/webhooks/endpoint-subscriptions/list-filtered-organisations"},{"title":"Add organisations to the filter","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json post /endpoints/{endpointId}/organisations","href":"/api-reference/webhooks/endpoint-subscriptions/add-organisations-to-the-filter"},{"title":"Replace the organisation filter","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json put /endpoints/{endpointId}/organisations","href":"/api-reference/webhooks/endpoint-subscriptions/replace-the-organisation-filter"},{"title":"Remove organisations from the filter","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json delete /endpoints/{endpointId}/organisations","href":"/api-reference/webhooks/endpoint-subscriptions/remove-organisations-from-the-filter"},{"title":"Remove one organisation from the filter","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json delete /endpoints/{endpointId}/organisations/{organisationId}","href":"/api-reference/webhooks/endpoint-subscriptions/remove-one-organisation-from-the-filter"},{"title":"List excluded organisations","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /endpoints/{endpointId}/excluded-organisations","href":"/api-reference/webhooks/endpoint-subscriptions/list-excluded-organisations"},{"title":"Exclude organisations","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json post /endpoints/{endpointId}/excluded-organisations","href":"/api-reference/webhooks/endpoint-subscriptions/exclude-organisations"},{"title":"Replace the excluded organisations","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json put /endpoints/{endpointId}/excluded-organisations","href":"/api-reference/webhooks/endpoint-subscriptions/replace-the-excluded-organisations"},{"title":"Stop excluding organisations","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json delete /endpoints/{endpointId}/excluded-organisations","href":"/api-reference/webhooks/endpoint-subscriptions/stop-excluding-organisations"},{"title":"Stop excluding one organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json delete /endpoints/{endpointId}/excluded-organisations/{organisationId}","href":"/api-reference/webhooks/endpoint-subscriptions/stop-excluding-one-organisation"}]},{"group":"Endpoints","pages":[{"title":"List endpoints","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /endpoints","href":"/api-reference/webhooks/endpoints/list-endpoints"},{"title":"Create an endpoint","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json post /endpoints","href":"/api-reference/webhooks/endpoints/create-an-endpoint"},{"title":"Retrieve an endpoint","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /endpoints/{endpointId}","href":"/api-reference/webhooks/endpoints/retrieve-an-endpoint"},{"title":"Update an endpoint","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json patch /endpoints/{endpointId}","href":"/api-reference/webhooks/endpoints/update-an-endpoint"},{"title":"Delete an endpoint","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json delete /endpoints/{endpointId}","href":"/api-reference/webhooks/endpoints/delete-an-endpoint"},{"title":"Send a test event","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json post /endpoints/{endpointId}/test-deliveries","href":"/api-reference/webhooks/endpoints/send-a-test-event"},{"title":"List signing secrets","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /endpoints/{endpointId}/secrets","href":"/api-reference/webhooks/endpoints/list-signing-secrets"},{"title":"Rotate the signing secret","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json post /endpoints/{endpointId}/secrets","href":"/api-reference/webhooks/endpoints/rotate-the-signing-secret"},{"title":"Retrieve a signing secret","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /endpoints/{endpointId}/secrets/{secretId}","href":"/api-reference/webhooks/endpoints/retrieve-a-signing-secret"},{"title":"Revoke a signing secret","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json delete /endpoints/{endpointId}/secrets/{secretId}","href":"/api-reference/webhooks/endpoints/revoke-a-signing-secret"}]},{"group":"Event types","pages":[{"title":"List event types","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /event-types","href":"/api-reference/webhooks/event-types/list-event-types"}]},{"group":"Events","pages":[{"title":"List events","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /events","href":"/api-reference/webhooks/events/list-events"},{"title":"Retrieve an event","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /events/{eventId}","href":"/api-reference/webhooks/events/retrieve-an-event"}]},{"group":"Replays","pages":[{"title":"List replays","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /replays","href":"/api-reference/webhooks/replays/list-replays"},{"title":"Replay deliveries","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json post /replays","href":"/api-reference/webhooks/replays/replay-deliveries"},{"title":"Retrieve a replay","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /replays/{replayId}","href":"/api-reference/webhooks/replays/retrieve-a-replay"},{"title":"Cancel a replay","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json patch /replays/{replayId}","href":"/api-reference/webhooks/replays/cancel-a-replay"}]}]},{"group":"Events you receive","pages":[{"group":"Billing your clients","pages":[{"title":"invoice.issued","openapi":"api-reference/specs/webhooks.json webhook invoice.issued","href":"/api-reference/webhooks/events/invoice-issued"},{"title":"invoice.emailed","openapi":"api-reference/specs/webhooks.json webhook invoice.emailed","href":"/api-reference/webhooks/events/invoice-emailed"},{"title":"invoice.paid","openapi":"api-reference/specs/webhooks.json webhook invoice.paid","href":"/api-reference/webhooks/events/invoice-paid"},{"title":"invoice.reopened","openapi":"api-reference/specs/webhooks.json webhook invoice.reopened","href":"/api-reference/webhooks/events/invoice-reopened"},{"title":"invoice.voided","openapi":"api-reference/specs/webhooks.json webhook invoice.voided","href":"/api-reference/webhooks/events/invoice-voided"},{"title":"credit_note.authorised","openapi":"api-reference/specs/webhooks.json webhook credit_note.authorised","href":"/api-reference/webhooks/events/credit-note-authorised"},{"title":"credit_note.allocated","openapi":"api-reference/specs/webhooks.json webhook credit_note.allocated","href":"/api-reference/webhooks/events/credit-note-allocated"},{"title":"credit_note.allocation_removed","openapi":"api-reference/specs/webhooks.json webhook credit_note.allocation_removed","href":"/api-reference/webhooks/events/credit-note-allocation-removed"},{"title":"credit_note.voided","openapi":"api-reference/specs/webhooks.json webhook credit_note.voided","href":"/api-reference/webhooks/events/credit-note-voided"},{"title":"billing_client.created","openapi":"api-reference/specs/webhooks.json webhook billing_client.created","href":"/api-reference/webhooks/events/billing-client-created"},{"title":"billing_client.updated","openapi":"api-reference/specs/webhooks.json webhook billing_client.updated","href":"/api-reference/webhooks/events/billing-client-updated"},{"title":"billing_client.archived","openapi":"api-reference/specs/webhooks.json webhook billing_client.archived","href":"/api-reference/webhooks/events/billing-client-archived"},{"title":"billing_client.restored","openapi":"api-reference/specs/webhooks.json webhook billing_client.restored","href":"/api-reference/webhooks/events/billing-client-restored"},{"title":"billing_client.deleted","openapi":"api-reference/specs/webhooks.json webhook billing_client.deleted","href":"/api-reference/webhooks/events/billing-client-deleted"}]},{"group":"Connections","pages":[{"title":"integration_connection.connected","openapi":"api-reference/specs/webhooks.json webhook integration_connection.connected","href":"/api-reference/webhooks/events/integration-connection-connected"},{"title":"integration_connection.disconnected","openapi":"api-reference/specs/webhooks.json webhook integration_connection.disconnected","href":"/api-reference/webhooks/events/integration-connection-disconnected"},{"title":"integration_connection.reauthorisation_required","openapi":"api-reference/specs/webhooks.json webhook integration_connection.reauthorisation_required","href":"/api-reference/webhooks/events/integration-connection-reauthorisation-required"},{"title":"integration_connection.deleted","openapi":"api-reference/specs/webhooks.json webhook integration_connection.deleted","href":"/api-reference/webhooks/events/integration-connection-deleted"}]},{"group":"Court orders","pages":[{"title":"court_order.created","openapi":"api-reference/specs/webhooks.json webhook court_order.created","href":"/api-reference/webhooks/events/court-order-created"},{"title":"court_order.updated","openapi":"api-reference/specs/webhooks.json webhook court_order.updated","href":"/api-reference/webhooks/events/court-order-updated"},{"title":"court_order.deleted","openapi":"api-reference/specs/webhooks.json webhook court_order.deleted","href":"/api-reference/webhooks/events/court-order-deleted"},{"title":"court_order.status_changed","openapi":"api-reference/specs/webhooks.json webhook court_order.status_changed","href":"/api-reference/webhooks/events/court-order-status-changed"},{"title":"court_order.deduction_applied","openapi":"api-reference/specs/webhooks.json webhook court_order.deduction_applied","href":"/api-reference/webhooks/events/court-order-deduction-applied"},{"title":"court_order.deduction_skipped","openapi":"api-reference/specs/webhooks.json webhook court_order.deduction_skipped","href":"/api-reference/webhooks/events/court-order-deduction-skipped"}]},{"group":"Emails we send for you","pages":[{"title":"payslip.emailed","openapi":"api-reference/specs/webhooks.json webhook payslip.emailed","href":"/api-reference/webhooks/events/payslip-emailed"},{"title":"payslip.email_failed","openapi":"api-reference/specs/webhooks.json webhook payslip.email_failed","href":"/api-reference/webhooks/events/payslip-email-failed"},{"title":"payslip.delivered","openapi":"api-reference/specs/webhooks.json webhook payslip.delivered","href":"/api-reference/webhooks/events/payslip-delivered"},{"title":"payslip.bounced","openapi":"api-reference/specs/webhooks.json webhook payslip.bounced","href":"/api-reference/webhooks/events/payslip-bounced"},{"title":"payslip.complained","openapi":"api-reference/specs/webhooks.json webhook payslip.complained","href":"/api-reference/webhooks/events/payslip-complained"},{"title":"p45.emailed","openapi":"api-reference/specs/webhooks.json webhook p45.emailed","href":"/api-reference/webhooks/events/p45-emailed"},{"title":"p45.email_failed","openapi":"api-reference/specs/webhooks.json webhook p45.email_failed","href":"/api-reference/webhooks/events/p45-email-failed"},{"title":"p45.delivered","openapi":"api-reference/specs/webhooks.json webhook p45.delivered","href":"/api-reference/webhooks/events/p45-delivered"},{"title":"p45.bounced","openapi":"api-reference/specs/webhooks.json webhook p45.bounced","href":"/api-reference/webhooks/events/p45-bounced"},{"title":"p45.complained","openapi":"api-reference/specs/webhooks.json webhook p45.complained","href":"/api-reference/webhooks/events/p45-complained"},{"title":"p60.emailed","openapi":"api-reference/specs/webhooks.json webhook p60.emailed","href":"/api-reference/webhooks/events/p60-emailed"},{"title":"p60.email_failed","openapi":"api-reference/specs/webhooks.json webhook p60.email_failed","href":"/api-reference/webhooks/events/p60-email-failed"},{"title":"p60.delivered","openapi":"api-reference/specs/webhooks.json webhook p60.delivered","href":"/api-reference/webhooks/events/p60-delivered"},{"title":"p60.bounced","openapi":"api-reference/specs/webhooks.json webhook p60.bounced","href":"/api-reference/webhooks/events/p60-bounced"},{"title":"p60.complained","openapi":"api-reference/specs/webhooks.json webhook p60.complained","href":"/api-reference/webhooks/events/p60-complained"},{"title":"pension_enrolment_letter.delivered","openapi":"api-reference/specs/webhooks.json webhook pension_enrolment_letter.delivered","href":"/api-reference/webhooks/events/pension-enrolment-letter-delivered"},{"title":"pension_enrolment_letter.bounced","openapi":"api-reference/specs/webhooks.json webhook pension_enrolment_letter.bounced","href":"/api-reference/webhooks/events/pension-enrolment-letter-bounced"},{"title":"pension_enrolment_letter.complained","openapi":"api-reference/specs/webhooks.json webhook pension_enrolment_letter.complained","href":"/api-reference/webhooks/events/pension-enrolment-letter-complained"},{"title":"pension_re_enrolment_letter.delivered","openapi":"api-reference/specs/webhooks.json webhook pension_re_enrolment_letter.delivered","href":"/api-reference/webhooks/events/pension-re-enrolment-letter-delivered"},{"title":"pension_re_enrolment_letter.bounced","openapi":"api-reference/specs/webhooks.json webhook pension_re_enrolment_letter.bounced","href":"/api-reference/webhooks/events/pension-re-enrolment-letter-bounced"},{"title":"pension_re_enrolment_letter.complained","openapi":"api-reference/specs/webhooks.json webhook pension_re_enrolment_letter.complained","href":"/api-reference/webhooks/events/pension-re-enrolment-letter-complained"},{"title":"pension_postponement_notice.delivered","openapi":"api-reference/specs/webhooks.json webhook pension_postponement_notice.delivered","href":"/api-reference/webhooks/events/pension-postponement-notice-delivered"},{"title":"pension_postponement_notice.bounced","openapi":"api-reference/specs/webhooks.json webhook pension_postponement_notice.bounced","href":"/api-reference/webhooks/events/pension-postponement-notice-bounced"},{"title":"pension_postponement_notice.complained","openapi":"api-reference/specs/webhooks.json webhook pension_postponement_notice.complained","href":"/api-reference/webhooks/events/pension-postponement-notice-complained"},{"title":"pension_opt_in_information.delivered","openapi":"api-reference/specs/webhooks.json webhook pension_opt_in_information.delivered","href":"/api-reference/webhooks/events/pension-opt-in-information-delivered"},{"title":"pension_opt_in_information.bounced","openapi":"api-reference/specs/webhooks.json webhook pension_opt_in_information.bounced","href":"/api-reference/webhooks/events/pension-opt-in-information-bounced"},{"title":"pension_opt_in_information.complained","openapi":"api-reference/specs/webhooks.json webhook pension_opt_in_information.complained","href":"/api-reference/webhooks/events/pension-opt-in-information-complained"},{"title":"pension_opt_in_confirmation.delivered","openapi":"api-reference/specs/webhooks.json webhook pension_opt_in_confirmation.delivered","href":"/api-reference/webhooks/events/pension-opt-in-confirmation-delivered"},{"title":"pension_opt_in_confirmation.bounced","openapi":"api-reference/specs/webhooks.json webhook pension_opt_in_confirmation.bounced","href":"/api-reference/webhooks/events/pension-opt-in-confirmation-bounced"},{"title":"pension_opt_in_confirmation.complained","openapi":"api-reference/specs/webhooks.json webhook pension_opt_in_confirmation.complained","href":"/api-reference/webhooks/events/pension-opt-in-confirmation-complained"},{"title":"pension_join_confirmation.delivered","openapi":"api-reference/specs/webhooks.json webhook pension_join_confirmation.delivered","href":"/api-reference/webhooks/events/pension-join-confirmation-delivered"},{"title":"pension_join_confirmation.bounced","openapi":"api-reference/specs/webhooks.json webhook pension_join_confirmation.bounced","href":"/api-reference/webhooks/events/pension-join-confirmation-bounced"},{"title":"pension_join_confirmation.complained","openapi":"api-reference/specs/webhooks.json webhook pension_join_confirmation.complained","href":"/api-reference/webhooks/events/pension-join-confirmation-complained"},{"title":"report.emailed","openapi":"api-reference/specs/webhooks.json webhook report.emailed","href":"/api-reference/webhooks/events/report-emailed"},{"title":"report.email_failed","openapi":"api-reference/specs/webhooks.json webhook report.email_failed","href":"/api-reference/webhooks/events/report-email-failed"},{"title":"report.delivered","openapi":"api-reference/specs/webhooks.json webhook report.delivered","href":"/api-reference/webhooks/events/report-delivered"},{"title":"report.bounced","openapi":"api-reference/specs/webhooks.json webhook report.bounced","href":"/api-reference/webhooks/events/report-bounced"},{"title":"report.complained","openapi":"api-reference/specs/webhooks.json webhook report.complained","href":"/api-reference/webhooks/events/report-complained"}]},{"group":"Employees","pages":[{"title":"employee.created","openapi":"api-reference/specs/webhooks.json webhook employee.created","href":"/api-reference/webhooks/events/employee-created"},{"title":"employee.updated","openapi":"api-reference/specs/webhooks.json webhook employee.updated","href":"/api-reference/webhooks/events/employee-updated"},{"title":"employee.deleted","openapi":"api-reference/specs/webhooks.json webhook employee.deleted","href":"/api-reference/webhooks/events/employee-deleted"},{"title":"employee.tax_code_changed","openapi":"api-reference/specs/webhooks.json webhook employee.tax_code_changed","href":"/api-reference/webhooks/events/employee-tax-code-changed"},{"title":"employee.ni_category_changed","openapi":"api-reference/specs/webhooks.json webhook employee.ni_category_changed","href":"/api-reference/webhooks/events/employee-ni-category-changed"},{"title":"employee.salary_changed","openapi":"api-reference/specs/webhooks.json webhook employee.salary_changed","href":"/api-reference/webhooks/events/employee-salary-changed"},{"title":"employee.student_loan_changed","openapi":"api-reference/specs/webhooks.json webhook employee.student_loan_changed","href":"/api-reference/webhooks/events/employee-student-loan-changed"},{"title":"employee.working_pattern_changed","openapi":"api-reference/specs/webhooks.json webhook employee.working_pattern_changed","href":"/api-reference/webhooks/events/employee-working-pattern-changed"},{"title":"employee.payroll_config_changed","openapi":"api-reference/specs/webhooks.json webhook employee.payroll_config_changed","href":"/api-reference/webhooks/events/employee-payroll-config-changed"}]},{"group":"HMRC notices","pages":[{"title":"hmrc_notice.received","openapi":"api-reference/specs/webhooks.json webhook hmrc_notice.received","href":"/api-reference/webhooks/events/hmrc-notice-received"},{"title":"hmrc_notice.employee_matched","openapi":"api-reference/specs/webhooks.json webhook hmrc_notice.employee_matched","href":"/api-reference/webhooks/events/hmrc-notice-employee-matched"},{"title":"hmrc_notice.applied","openapi":"api-reference/specs/webhooks.json webhook hmrc_notice.applied","href":"/api-reference/webhooks/events/hmrc-notice-applied"},{"title":"hmrc_notice.dismissed","openapi":"api-reference/specs/webhooks.json webhook hmrc_notice.dismissed","href":"/api-reference/webhooks/events/hmrc-notice-dismissed"},{"title":"hmrc_notice.reopened","openapi":"api-reference/specs/webhooks.json webhook hmrc_notice.reopened","href":"/api-reference/webhooks/events/hmrc-notice-reopened"},{"title":"hmrc_notice_job.completed","openapi":"api-reference/specs/webhooks.json webhook hmrc_notice_job.completed","href":"/api-reference/webhooks/events/hmrc-notice-job-completed"},{"title":"hmrc_notice_job.failed","openapi":"api-reference/specs/webhooks.json webhook hmrc_notice_job.failed","href":"/api-reference/webhooks/events/hmrc-notice-job-failed"},{"title":"hmrc_notice_job.cancelled","openapi":"api-reference/specs/webhooks.json webhook hmrc_notice_job.cancelled","href":"/api-reference/webhooks/events/hmrc-notice-job-cancelled"}]},{"group":"HMRC RTI","pages":[{"title":"rti.fps_accepted","openapi":"api-reference/specs/webhooks.json webhook rti.fps_accepted","href":"/api-reference/webhooks/events/rti-fps-accepted"},{"title":"rti.fps_rejected","openapi":"api-reference/specs/webhooks.json webhook rti.fps_rejected","href":"/api-reference/webhooks/events/rti-fps-rejected"},{"title":"rti.eps_accepted","openapi":"api-reference/specs/webhooks.json webhook rti.eps_accepted","href":"/api-reference/webhooks/events/rti-eps-accepted"},{"title":"rti.eps_rejected","openapi":"api-reference/specs/webhooks.json webhook rti.eps_rejected","href":"/api-reference/webhooks/events/rti-eps-rejected"}]},{"group":"Holiday and leave","pages":[{"title":"holiday_leave.recorded","openapi":"api-reference/specs/webhooks.json webhook holiday_leave.recorded","href":"/api-reference/webhooks/events/holiday-leave-recorded"},{"title":"holiday_leave.updated","openapi":"api-reference/specs/webhooks.json webhook holiday_leave.updated","href":"/api-reference/webhooks/events/holiday-leave-updated"},{"title":"holiday_leave.deleted","openapi":"api-reference/specs/webhooks.json webhook holiday_leave.deleted","href":"/api-reference/webhooks/events/holiday-leave-deleted"},{"title":"holiday_accrual.recorded","openapi":"api-reference/specs/webhooks.json webhook holiday_accrual.recorded","href":"/api-reference/webhooks/events/holiday-accrual-recorded"},{"title":"holiday_rolled_up_pay.recorded","openapi":"api-reference/specs/webhooks.json webhook holiday_rolled_up_pay.recorded","href":"/api-reference/webhooks/events/holiday-rolled-up-pay-recorded"},{"title":"holiday_opening_balance.recorded","openapi":"api-reference/specs/webhooks.json webhook holiday_opening_balance.recorded","href":"/api-reference/webhooks/events/holiday-opening-balance-recorded"},{"title":"holiday_opening_balance.updated","openapi":"api-reference/specs/webhooks.json webhook holiday_opening_balance.updated","href":"/api-reference/webhooks/events/holiday-opening-balance-updated"},{"title":"holiday_opening_balance.deleted","openapi":"api-reference/specs/webhooks.json webhook holiday_opening_balance.deleted","href":"/api-reference/webhooks/events/holiday-opening-balance-deleted"},{"title":"holiday_employee_config.created","openapi":"api-reference/specs/webhooks.json webhook holiday_employee_config.created","href":"/api-reference/webhooks/events/holiday-employee-config-created"},{"title":"holiday_employee_config.updated","openapi":"api-reference/specs/webhooks.json webhook holiday_employee_config.updated","href":"/api-reference/webhooks/events/holiday-employee-config-updated"},{"title":"holiday_employee_config.deleted","openapi":"api-reference/specs/webhooks.json webhook holiday_employee_config.deleted","href":"/api-reference/webhooks/events/holiday-employee-config-deleted"},{"title":"holiday_organisation_config.created","openapi":"api-reference/specs/webhooks.json webhook holiday_organisation_config.created","href":"/api-reference/webhooks/events/holiday-organisation-config-created"},{"title":"holiday_organisation_config.updated","openapi":"api-reference/specs/webhooks.json webhook holiday_organisation_config.updated","href":"/api-reference/webhooks/events/holiday-organisation-config-updated"},{"title":"holiday_organisation_config.deleted","openapi":"api-reference/specs/webhooks.json webhook holiday_organisation_config.deleted","href":"/api-reference/webhooks/events/holiday-organisation-config-deleted"}]},{"group":"Journals","pages":[{"title":"journal.finalised","openapi":"api-reference/specs/webhooks.json webhook journal.finalised","href":"/api-reference/webhooks/events/journal-finalised"},{"title":"journal.reissued","openapi":"api-reference/specs/webhooks.json webhook journal.reissued","href":"/api-reference/webhooks/events/journal-reissued"},{"title":"journal.reissue_failed","openapi":"api-reference/specs/webhooks.json webhook journal.reissue_failed","href":"/api-reference/webhooks/events/journal-reissue-failed"},{"title":"journal.posted","openapi":"api-reference/specs/webhooks.json webhook journal.posted","href":"/api-reference/webhooks/events/journal-posted"},{"title":"journal.post_failed","openapi":"api-reference/specs/webhooks.json webhook journal.post_failed","href":"/api-reference/webhooks/events/journal-post-failed"},{"title":"journal.voided","openapi":"api-reference/specs/webhooks.json webhook journal.voided","href":"/api-reference/webhooks/events/journal-voided"},{"title":"journal.void_failed","openapi":"api-reference/specs/webhooks.json webhook journal.void_failed","href":"/api-reference/webhooks/events/journal-void-failed"}]},{"group":"Leavers","pages":[{"title":"employee.leaver.recorded","openapi":"api-reference/specs/webhooks.json webhook employee.leaver.recorded","href":"/api-reference/webhooks/events/employee-leaver-recorded"},{"title":"employee.leaver.reverted","openapi":"api-reference/specs/webhooks.json webhook employee.leaver.reverted","href":"/api-reference/webhooks/events/employee-leaver-reverted"}]},{"group":"P45s and P60s","pages":[{"title":"p45.issued","openapi":"api-reference/specs/webhooks.json webhook p45.issued","href":"/api-reference/webhooks/events/p45-issued"},{"title":"p45.replaced","openapi":"api-reference/specs/webhooks.json webhook p45.replaced","href":"/api-reference/webhooks/events/p45-replaced"},{"title":"p45.revoked","openapi":"api-reference/specs/webhooks.json webhook p45.revoked","href":"/api-reference/webhooks/events/p45-revoked"},{"title":"p60.issued","openapi":"api-reference/specs/webhooks.json webhook p60.issued","href":"/api-reference/webhooks/events/p60-issued"},{"title":"p60.replaced","openapi":"api-reference/specs/webhooks.json webhook p60.replaced","href":"/api-reference/webhooks/events/p60-replaced"},{"title":"p60.revoked","openapi":"api-reference/specs/webhooks.json webhook p60.revoked","href":"/api-reference/webhooks/events/p60-revoked"},{"title":"p_form_bulk_send.completed","openapi":"api-reference/specs/webhooks.json webhook p_form_bulk_send.completed","href":"/api-reference/webhooks/events/p-form-bulk-send-completed"},{"title":"p_form_bulk_send.failed","openapi":"api-reference/specs/webhooks.json webhook p_form_bulk_send.failed","href":"/api-reference/webhooks/events/p-form-bulk-send-failed"}]},{"group":"Pay run line items","pages":[{"title":"payroll_line_item.created","openapi":"api-reference/specs/webhooks.json webhook payroll_line_item.created","href":"/api-reference/webhooks/events/payroll-line-item-created"},{"title":"payroll_line_item.updated","openapi":"api-reference/specs/webhooks.json webhook payroll_line_item.updated","href":"/api-reference/webhooks/events/payroll-line-item-updated"},{"title":"payroll_line_item.deleted","openapi":"api-reference/specs/webhooks.json webhook payroll_line_item.deleted","href":"/api-reference/webhooks/events/payroll-line-item-deleted"}]},{"group":"Pay runs","pages":[{"title":"payroll_run.opened","openapi":"api-reference/specs/webhooks.json webhook payroll_run.opened","href":"/api-reference/webhooks/events/payroll-run-opened"},{"title":"payroll_run.locked","openapi":"api-reference/specs/webhooks.json webhook payroll_run.locked","href":"/api-reference/webhooks/events/payroll-run-locked"},{"title":"payroll_run.completed","openapi":"api-reference/specs/webhooks.json webhook payroll_run.completed","href":"/api-reference/webhooks/events/payroll-run-completed"},{"title":"payroll_run.reopened","openapi":"api-reference/specs/webhooks.json webhook payroll_run.reopened","href":"/api-reference/webhooks/events/payroll-run-reopened"},{"title":"tax_year.finalised","openapi":"api-reference/specs/webhooks.json webhook tax_year.finalised","href":"/api-reference/webhooks/events/tax-year-finalised"}]},{"group":"Payments","pages":[{"title":"payment_file.generated","openapi":"api-reference/specs/webhooks.json webhook payment_file.generated","href":"/api-reference/webhooks/events/payment-file-generated"},{"title":"payment_file.failed","openapi":"api-reference/specs/webhooks.json webhook payment_file.failed","href":"/api-reference/webhooks/events/payment-file-failed"},{"title":"payment_settings.created","openapi":"api-reference/specs/webhooks.json webhook payment_settings.created","href":"/api-reference/webhooks/events/payment-settings-created"},{"title":"payment_settings.updated","openapi":"api-reference/specs/webhooks.json webhook payment_settings.updated","href":"/api-reference/webhooks/events/payment-settings-updated"},{"title":"payment_settings.deleted","openapi":"api-reference/specs/webhooks.json webhook payment_settings.deleted","href":"/api-reference/webhooks/events/payment-settings-deleted"}]},{"group":"Payslips","pages":[{"title":"payslip.created","openapi":"api-reference/specs/webhooks.json webhook payslip.created","href":"/api-reference/webhooks/events/payslip-created"},{"title":"payslip.updated","openapi":"api-reference/specs/webhooks.json webhook payslip.updated","href":"/api-reference/webhooks/events/payslip-updated"},{"title":"payslip.finalised","openapi":"api-reference/specs/webhooks.json webhook payslip.finalised","href":"/api-reference/webhooks/events/payslip-finalised"},{"title":"payslip.reopened","openapi":"api-reference/specs/webhooks.json webhook payslip.reopened","href":"/api-reference/webhooks/events/payslip-reopened"},{"title":"payslip.deleted","openapi":"api-reference/specs/webhooks.json webhook payslip.deleted","href":"/api-reference/webhooks/events/payslip-deleted"}]},{"group":"Pensions","pages":[{"title":"pension.employee_assessed","openapi":"api-reference/specs/webhooks.json webhook pension.employee_assessed","href":"/api-reference/webhooks/events/pension-employee-assessed"},{"title":"pension.employee_enrolled","openapi":"api-reference/specs/webhooks.json webhook pension.employee_enrolled","href":"/api-reference/webhooks/events/pension-employee-enrolled"},{"title":"pension.employee_enrolment_reversed","openapi":"api-reference/specs/webhooks.json webhook pension.employee_enrolment_reversed","href":"/api-reference/webhooks/events/pension-employee-enrolment-reversed"},{"title":"pension.employee_group_changed","openapi":"api-reference/specs/webhooks.json webhook pension.employee_group_changed","href":"/api-reference/webhooks/events/pension-employee-group-changed"},{"title":"pension.employee_opted_out","openapi":"api-reference/specs/webhooks.json webhook pension.employee_opted_out","href":"/api-reference/webhooks/events/pension-employee-opted-out"},{"title":"pension.employee_ceased","openapi":"api-reference/specs/webhooks.json webhook pension.employee_ceased","href":"/api-reference/webhooks/events/pension-employee-ceased"},{"title":"pension.opt_out_refund_decided","openapi":"api-reference/specs/webhooks.json webhook pension.opt_out_refund_decided","href":"/api-reference/webhooks/events/pension-opt-out-refund-decided"},{"title":"pension.postponement_applied","openapi":"api-reference/specs/webhooks.json webhook pension.postponement_applied","href":"/api-reference/webhooks/events/pension-postponement-applied"},{"title":"pension.enrolment_letter_sent","openapi":"api-reference/specs/webhooks.json webhook pension.enrolment_letter_sent","href":"/api-reference/webhooks/events/pension-enrolment-letter-sent"},{"title":"pension.enrolment_letter_failed","openapi":"api-reference/specs/webhooks.json webhook pension.enrolment_letter_failed","href":"/api-reference/webhooks/events/pension-enrolment-letter-failed"},{"title":"pension.re_enrolment_letter_sent","openapi":"api-reference/specs/webhooks.json webhook pension.re_enrolment_letter_sent","href":"/api-reference/webhooks/events/pension-re-enrolment-letter-sent"},{"title":"pension.re_enrolment_letter_failed","openapi":"api-reference/specs/webhooks.json webhook pension.re_enrolment_letter_failed","href":"/api-reference/webhooks/events/pension-re-enrolment-letter-failed"},{"title":"pension.postponement_notice_sent","openapi":"api-reference/specs/webhooks.json webhook pension.postponement_notice_sent","href":"/api-reference/webhooks/events/pension-postponement-notice-sent"},{"title":"pension.postponement_notice_failed","openapi":"api-reference/specs/webhooks.json webhook pension.postponement_notice_failed","href":"/api-reference/webhooks/events/pension-postponement-notice-failed"},{"title":"pension.opt_in_information_sent","openapi":"api-reference/specs/webhooks.json webhook pension.opt_in_information_sent","href":"/api-reference/webhooks/events/pension-opt-in-information-sent"},{"title":"pension.opt_in_information_failed","openapi":"api-reference/specs/webhooks.json webhook pension.opt_in_information_failed","href":"/api-reference/webhooks/events/pension-opt-in-information-failed"},{"title":"pension.opt_in_confirmation_sent","openapi":"api-reference/specs/webhooks.json webhook pension.opt_in_confirmation_sent","href":"/api-reference/webhooks/events/pension-opt-in-confirmation-sent"},{"title":"pension.opt_in_confirmation_failed","openapi":"api-reference/specs/webhooks.json webhook pension.opt_in_confirmation_failed","href":"/api-reference/webhooks/events/pension-opt-in-confirmation-failed"},{"title":"pension.join_confirmation_sent","openapi":"api-reference/specs/webhooks.json webhook pension.join_confirmation_sent","href":"/api-reference/webhooks/events/pension-join-confirmation-sent"},{"title":"pension.join_confirmation_failed","openapi":"api-reference/specs/webhooks.json webhook pension.join_confirmation_failed","href":"/api-reference/webhooks/events/pension-join-confirmation-failed"},{"title":"pension.employee_exemption_recorded","openapi":"api-reference/specs/webhooks.json webhook pension.employee_exemption_recorded","href":"/api-reference/webhooks/events/pension-employee-exemption-recorded"},{"title":"pension.employee_exemption_removed","openapi":"api-reference/specs/webhooks.json webhook pension.employee_exemption_removed","href":"/api-reference/webhooks/events/pension-employee-exemption-removed"},{"title":"pension.contributions_submitted","openapi":"api-reference/specs/webhooks.json webhook pension.contributions_submitted","href":"/api-reference/webhooks/events/pension-contributions-submitted"},{"title":"pension.contributions_accepted","openapi":"api-reference/specs/webhooks.json webhook pension.contributions_accepted","href":"/api-reference/webhooks/events/pension-contributions-accepted"},{"title":"pension.contribution_submission_failed","openapi":"api-reference/specs/webhooks.json webhook pension.contribution_submission_failed","href":"/api-reference/webhooks/events/pension-contribution-submission-failed"},{"title":"pension.member_enrolments_submitted","openapi":"api-reference/specs/webhooks.json webhook pension.member_enrolments_submitted","href":"/api-reference/webhooks/events/pension-member-enrolments-submitted"},{"title":"pension.member_enrolments_accepted","openapi":"api-reference/specs/webhooks.json webhook pension.member_enrolments_accepted","href":"/api-reference/webhooks/events/pension-member-enrolments-accepted"},{"title":"pension.member_enrolment_submission_failed","openapi":"api-reference/specs/webhooks.json webhook pension.member_enrolment_submission_failed","href":"/api-reference/webhooks/events/pension-member-enrolment-submission-failed"},{"title":"pension.contribution_payment_approved","openapi":"api-reference/specs/webhooks.json webhook pension.contribution_payment_approved","href":"/api-reference/webhooks/events/pension-contribution-payment-approved"},{"title":"pension.contribution_payment_confirmed","openapi":"api-reference/specs/webhooks.json webhook pension.contribution_payment_confirmed","href":"/api-reference/webhooks/events/pension-contribution-payment-confirmed"},{"title":"pension.contribution_payment_approval_failed","openapi":"api-reference/specs/webhooks.json webhook pension.contribution_payment_approval_failed","href":"/api-reference/webhooks/events/pension-contribution-payment-approval-failed"}]},{"group":"Recurring deductions and payments","pages":[{"title":"recurring_line_item.created","openapi":"api-reference/specs/webhooks.json webhook recurring_line_item.created","href":"/api-reference/webhooks/events/recurring-line-item-created"},{"title":"recurring_line_item.updated","openapi":"api-reference/specs/webhooks.json webhook recurring_line_item.updated","href":"/api-reference/webhooks/events/recurring-line-item-updated"},{"title":"recurring_line_item.suspended","openapi":"api-reference/specs/webhooks.json webhook recurring_line_item.suspended","href":"/api-reference/webhooks/events/recurring-line-item-suspended"},{"title":"recurring_line_item.resumed","openapi":"api-reference/specs/webhooks.json webhook recurring_line_item.resumed","href":"/api-reference/webhooks/events/recurring-line-item-resumed"},{"title":"recurring_line_item.cancelled","openapi":"api-reference/specs/webhooks.json webhook recurring_line_item.cancelled","href":"/api-reference/webhooks/events/recurring-line-item-cancelled"},{"title":"recurring_line_item.completed","openapi":"api-reference/specs/webhooks.json webhook recurring_line_item.completed","href":"/api-reference/webhooks/events/recurring-line-item-completed"},{"title":"recurring_line_item.deleted","openapi":"api-reference/specs/webhooks.json webhook recurring_line_item.deleted","href":"/api-reference/webhooks/events/recurring-line-item-deleted"},{"title":"recurring_line_item.period_paid","openapi":"api-reference/specs/webhooks.json webhook recurring_line_item.period_paid","href":"/api-reference/webhooks/events/recurring-line-item-period-paid"},{"title":"recurring_line_item.period_part_paid","openapi":"api-reference/specs/webhooks.json webhook recurring_line_item.period_part_paid","href":"/api-reference/webhooks/events/recurring-line-item-period-part-paid"},{"title":"recurring_line_item.period_skipped","openapi":"api-reference/specs/webhooks.json webhook recurring_line_item.period_skipped","href":"/api-reference/webhooks/events/recurring-line-item-period-skipped"},{"title":"recurring_line_item.period_amount_changed","openapi":"api-reference/specs/webhooks.json webhook recurring_line_item.period_amount_changed","href":"/api-reference/webhooks/events/recurring-line-item-period-amount-changed"}]},{"group":"Reports","pages":[{"title":"report_export.completed","openapi":"api-reference/specs/webhooks.json webhook report_export.completed","href":"/api-reference/webhooks/events/report-export-completed"},{"title":"report_export.failed","openapi":"api-reference/specs/webhooks.json webhook report_export.failed","href":"/api-reference/webhooks/events/report-export-failed"}]},{"group":"Salary settings","pages":[{"title":"salary_organisation_config.created","openapi":"api-reference/specs/webhooks.json webhook salary_organisation_config.created","href":"/api-reference/webhooks/events/salary-organisation-config-created"},{"title":"salary_organisation_config.updated","openapi":"api-reference/specs/webhooks.json webhook salary_organisation_config.updated","href":"/api-reference/webhooks/events/salary-organisation-config-updated"},{"title":"salary_organisation_config.deleted","openapi":"api-reference/specs/webhooks.json webhook salary_organisation_config.deleted","href":"/api-reference/webhooks/events/salary-organisation-config-deleted"},{"title":"salary_employee_config.created","openapi":"api-reference/specs/webhooks.json webhook salary_employee_config.created","href":"/api-reference/webhooks/events/salary-employee-config-created"},{"title":"salary_employee_config.updated","openapi":"api-reference/specs/webhooks.json webhook salary_employee_config.updated","href":"/api-reference/webhooks/events/salary-employee-config-updated"},{"title":"salary_employee_config.deleted","openapi":"api-reference/specs/webhooks.json webhook salary_employee_config.deleted","href":"/api-reference/webhooks/events/salary-employee-config-deleted"},{"title":"salary_organisation_statutory_leave_policy.created","openapi":"api-reference/specs/webhooks.json webhook salary_organisation_statutory_leave_policy.created","href":"/api-reference/webhooks/events/salary-organisation-statutory-leave-policy-created"},{"title":"salary_organisation_statutory_leave_policy.updated","openapi":"api-reference/specs/webhooks.json webhook salary_organisation_statutory_leave_policy.updated","href":"/api-reference/webhooks/events/salary-organisation-statutory-leave-policy-updated"},{"title":"salary_organisation_statutory_leave_policy.deleted","openapi":"api-reference/specs/webhooks.json webhook salary_organisation_statutory_leave_policy.deleted","href":"/api-reference/webhooks/events/salary-organisation-statutory-leave-policy-deleted"},{"title":"salary_employee_statutory_leave_policy.created","openapi":"api-reference/specs/webhooks.json webhook salary_employee_statutory_leave_policy.created","href":"/api-reference/webhooks/events/salary-employee-statutory-leave-policy-created"},{"title":"salary_employee_statutory_leave_policy.updated","openapi":"api-reference/specs/webhooks.json webhook salary_employee_statutory_leave_policy.updated","href":"/api-reference/webhooks/events/salary-employee-statutory-leave-policy-updated"},{"title":"salary_employee_statutory_leave_policy.deleted","openapi":"api-reference/specs/webhooks.json webhook salary_employee_statutory_leave_policy.deleted","href":"/api-reference/webhooks/events/salary-employee-statutory-leave-policy-deleted"}]},{"group":"Statutory pay","pages":[{"title":"statutory_pay.created","openapi":"api-reference/specs/webhooks.json webhook statutory_pay.created","href":"/api-reference/webhooks/events/statutory-pay-created"},{"title":"statutory_pay.updated","openapi":"api-reference/specs/webhooks.json webhook statutory_pay.updated","href":"/api-reference/webhooks/events/statutory-pay-updated"},{"title":"statutory_pay.recalculated","openapi":"api-reference/specs/webhooks.json webhook statutory_pay.recalculated","href":"/api-reference/webhooks/events/statutory-pay-recalculated"},{"title":"statutory_pay.completed","openapi":"api-reference/specs/webhooks.json webhook statutory_pay.completed","href":"/api-reference/webhooks/events/statutory-pay-completed"},{"title":"statutory_pay.deleted","openapi":"api-reference/specs/webhooks.json webhook statutory_pay.deleted","href":"/api-reference/webhooks/events/statutory-pay-deleted"}]},{"group":"Webhook health","pages":[{"title":"webhook.endpoint.failing","openapi":"api-reference/specs/webhooks.json webhook webhook.endpoint.failing","href":"/api-reference/webhooks/events/webhook-endpoint-failing"},{"title":"webhook.endpoint.disabled","openapi":"api-reference/specs/webhooks.json webhook webhook.endpoint.disabled","href":"/api-reference/webhooks/events/webhook-endpoint-disabled"},{"title":"webhook.delivery.exhausted","openapi":"api-reference/specs/webhooks.json webhook webhook.delivery.exhausted","href":"/api-reference/webhooks/events/webhook-delivery-exhausted"}]}]}]}]},{"tab":"Releases","pages":[{"title":"Releases","href":"/releases/whats-new"}]}]},"basePath":"","title":"Upload payroll lines - Flow Payroll","deploymentId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","buildId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-5zXlUUV6.js","snippetPresets-D3m2eL-0.js","utils-u8TSWPiZ.js","style-to-object-BY3JEAdk.js","utils-D3TDKJCH.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Om0Y4Ijd.js","conditional-requirements-CFM0id0Q.js","cloneDeep-Cyl7LOol.js","_Uint8Array-BuOv0f5_.js","isObject-FP1Yky1u.js","Page-DdEXfHxg.js","api-description-markdown-DDasI_tu.js","DynamicMarkdown-DoPsKgYC.js","CodeSnippet-CuGpPhIN.js","use-playground-group-access-DYZiRN3l.js","SectionHeading-CKObOTcn.js","ApiExamples-BnqLE2Kf.js","usePlaygroundInputsStore-DhQKVH9n.js","shallow-BOCfJNQU.js","isEqual-BrbSa25D.js","CodeSnippets-DUGBlB-S.js","MethodPill-D_DqPuJw.js","getPastedJson-DWfa7n0M.js","Check2Icon-CEquKboc.js","axios-CsQoIw0U.js","Markdown-CIbHOmUi.js","AssistantPageLink-C0oSAXp0.js","dist-Bp7AI3M8.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}