Xero · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Xero Payroll Uk API

70 actions 70 updates phrasing extends openapi/xero-payrolluk-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Xero's API. It is a proposal applied on top of the contract, not a document Xero publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 70 · first 16 shown; the file carries all of them

$.info
$.paths['/Employees'].get
$.paths['/Employees'].post
$.paths['/Employees/{EmployeeID}'].get
$.paths['/Employees/{EmployeeID}'].put
$.paths['/Employees/{EmployeeID}/Employment'].post
$.paths['/Employees/{EmployeeID}/Tax'].get
$.paths['/Employees/{EmployeeID}/ukopeningbalances'].get
$.paths['/Employees/{EmployeeID}/ukopeningbalances'].put
$.paths['/Employees/{EmployeeID}/ukopeningbalances'].post
$.paths['/Employees/{EmployeeID}/Leave'].get
$.paths['/Employees/{EmployeeID}/Leave'].post
$.paths['/Employees/{EmployeeID}/Leave/{LeaveID}'].get
$.paths['/Employees/{EmployeeID}/Leave/{LeaveID}'].put
$.paths['/Employees/{EmployeeID}/Leave/{LeaveID}'].delete
$.paths['/Employees/{EmployeeID}/LeaveBalances'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Xero Payroll Uk API
  version: 1.0.0
extends: openapi/xero-payrolluk-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-15'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 69
- target: $.paths['/Employees'].get
  update:
    x-apievangelist-phrasing:
      intent: List employees
      effect: read
      questions:
      - How do I get a list of all employees in a UK payroll tenant?
      - Can I filter employees by name or whether they are off-payroll workers?
      instructions:
      - text: List all employees in tenant {tenant}.
        slots:
          tenant: header.Xero-Tenant-Id
      - text: List employees matching {filter} in tenant {tenant}.
        slots:
          filter: query.filter
          tenant: header.Xero-Tenant-Id
      method: generated
      generated: '2026-11-15'
- target: $.paths['/Employees'].post
  update:
    x-apievangelist-phrasing:
      intent: Add an employee
      effect: write
      questions:
      - How do I add a new employee to a UK payroll?
      - What do I need to supply to create an employee, like date of birth and gender?
      instructions:
      - text: Create employee {title} {firstName} {lastName} born {dateOfBirth} in tenant {tenant}.
        slots:
          title: requestBody.title
          firstName: requestBody.firstName
          lastName: requestBody.lastName
          dateOfBirth: requestBody.dateOfBirth
          tenant: header.Xero-Tenant-Id
      - text: Add {title} {firstName} {lastName} with gender {gender} and address {address} to payroll {tenant}.
        slots:
          title: requestBody.title
          firstName: requestBody.firstName
          lastName: requestBody.lastName
          gender: requestBody.gender
          address: requestBody.address
          tenant: header.Xero-Tenant-Id
      method: generated
      generated: '2026-11-15'
- target: $.paths['/Employees/{EmployeeID}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an employee
      effect: read
      questions:
      - How do I look up one employee by ID?
      - What details come back for a single employee?
      instructions:
      - text: Get employee {employee} in tenant {tenant}.
        slots:
          employee: path.EmployeeID
          tenant: header.Xero-Tenant-Id
      - text: Show employee {employee} from payroll {tenant}.
        slots:
          employee: path.EmployeeID
          tenant: header.Xero-Tenant-Id
      method: generated
      generated: '2026-11-15'
- target: $.paths['/Employees/{EmployeeID}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update an employee
      effect: write
      questions:
      - How do I change an employee's address or phone number?
      - Can I update an existing employee's gender or national insurance number?
      instructions:
      - text: Update employee {employee} in tenant {tenant} to {title} {firstName} {lastName}, DOB {dateOfBirth}, gender {gender}, address {address}.
        slots:
          employee: path.EmployeeID
          tenant: header.Xero-Tenant-Id
          title: requestBody.title
          firstName: requestBody.firstName
          lastName: requestBody.lastName
          dateOfBirth: requestBody.dateOfBirth
          gender: requestBody.gender
          address: requestBody.address
      - text: Change the phone number of employee {employee} in payroll {tenant} to {phone}.
        slots:
          employee: path.EmployeeID
          tenant: header.Xero-Tenant-Id
          phone: requestBody.phoneNumber
      method: generated
      generated: '2026-11-15'
- target: $.paths['/Employees/{EmployeeID}/Employment'].post
  update:
    x-apievangelist-phrasing:
      intent: Add an employment record
      effect: write
      questions:
      - How do I record an employee's start date and payroll calendar?
      - Can I set the employee number and national insurance category when adding employment?
      instructions:
      - text: Add employment for employee {employee} in tenant {tenant} starting {startDate} on calendar {calendar}, employee number {number}, NI category {category}.
        slots:
          employee: path.EmployeeID
          tenant: header.Xero-Tenant-Id
          startDate: requestBody.startDate
          calendar: requestBody.payrollCalendarID
          number: requestBody.employeeNumber
          category: requestBody.niCategory
      - text: Record employment for {employee} on {calendar} from {startDate} with employee number {number} and NI categories {categories} in payroll {tenant}.
        slots:
          employee: path.EmployeeID
          calendar: requestBody.payrollCalendarID
          startDate: requestBody.startDate
          number: requestBody.employeeNumber
          categories: requestBody.niCategories
          tenant: header.Xero-Tenant-Id
      method: generated
      generated: '2026-11-15'
- target: $.paths['/Employees/{EmployeeID}/Tax'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an employee's tax records
      effect: read
      questions:
      - How do I pull an employee's tax records?
      - What tax details are stored for a UK employee?
      instructions:
      - text: Get tax records for employee {employee} in tenant {tenant}.
        slots:
          employee: path.EmployeeID
          tenant: header.Xero-Tenant-Id
      - text: Show the tax record of {employee} from payroll {tenant}.
        slots:
          employee: path.EmployeeID
          tenant: header.Xero-Tenant-Id
      method: generated
      generated: '2026-11-15'
- target: $.paths['/Employees/{EmployeeID}/ukopeningbalances'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an employee's opening balances
      effect: read
      questions:
      - How do I see an employee's opening balances for statutory pay?
      - What opening balances are stored for a UK employee?
      instructions:
      - text: Get opening balances for employee {employee} in tenant {tenant}.
        slots:
          employee: path.EmployeeID
          tenant: header.Xero-Tenant-Id
      - text: Show the statutory pay opening balances of {employee} from payroll {tenant}.
        slots:
          employee: path.EmployeeID
          tenant: header.Xero-Tenant-Id
      method: generated
      generated: '2026-11-15'
- target: $.paths['/Employees/{EmployeeID}/ukopeningbalances'].put
  update:
    x-apievangelist-phrasing:
      intent: Update an employee's UK opening balances
      effect: destructive
      questions:
      - How do I update the accumulated adoption, maternity and sickness pay balances for a UK employee?
      - Can I change an employee's prior employee number in their opening balances?
      instructions:
      - text: Update the opening balances for employee {employee}.
        slots:
          employee: path.EmployeeID
      - text: Set statutory adoption pay to {adoption} and maternity pay to {maternity} for employee {employee}.
        slots:
          adoption: requestBody.statutoryAdoptionPay
          maternity: requestBody.statutoryMaternityPay
          employee: path.EmployeeID
      method: generated
      generated: '2026-11-15'
- target: $.paths['/Employees/{EmployeeID}/ukopeningbalances'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an employee's UK opening balances
      effect: write
      questions:
      - How do I record the statutory pay an employee already received before their first pay run?
      - Can I set an employee's opening balances for shared parental or paternity pay?
      instructions:
      - text: Create opening balances for employee {employee}.
        slots:
          employee: path.EmployeeID
      - text: Record {prior} as the prior employee number for employee {employee}.
        slots:
          prior: requestBody.priorEmployeeNumber
          employee: path.EmployeeID
      method: generated
      generated: '2026-11-15'
- target: $.paths['/Employees/{EmployeeID}/Leave'].get
  update:
    x-apievangelist-phrasing:
      intent: List an employee's leave
      effect: read
      questions:
      - How do I see all leave taken by an employee?
      - What leave records exist for a UK employee?
      instructions:
      - text: List leave records for employee {employee} in tenant {tenant}.
        slots:
          employee: path.EmployeeID
          tenant: header.Xero-Tenant-Id
      - text: Show every leave record of {employee} from payroll {tenant}.
        slots:
          employee: path.EmployeeID
          tenant: header.Xero-Tenant-Id
      method: generated
      generated: '2026-11-15'
- target: $.paths['/Employees/{EmployeeID}/Leave'].post
  update:
    x-apievangelist-phrasing:
      intent: Add leave for an employee
      effect: write
      questions:
      - How do I record an employee's annual leave?
      - Can I add leave with a start and end date and a description?
      instructions:
      - text: Add leave {description} for employee {employee} in tenant {tenant} from {start} to {end}.
        slots:
          description: requestBody.description
          employee: path.EmployeeID
          tenant: header.Xero-Tenant-Id
          start: requestBody.startDate
          end: requestBody.endDate
      - text: Record leave {description} for {employee} on leave type {type} starting {start} and ending {end} in payroll {tenant}.
        slots:
          description: requestBody.description
          employee: path.EmployeeID
          type: requestBody.leaveTypeID
          start: requestBody.startDate
          end: requestBody.endDate
          tenant: header.Xero-Tenant-Id
      method: generated
      generated: '2026-11-15'
- target: $.paths['/Employees/{EmployeeID}/Leave/{LeaveID}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an employee leave record
      effect: read
      questions:
      - How do I look up one leave record by ID?
      - What does a single employee leave record contain?
      instructions:
      - text: Get leave record {leave} for employee {employee} in tenant {tenant}.
        slots:
          leave: path.LeaveID
          employee: path.EmployeeID
          tenant: header.Xero-Tenant-Id
      - text: Show employee {employee}'s leave {leave} from payroll {tenant}.
        slots:
          employee: path.EmployeeID
          leave: path.LeaveID
          tenant: header.Xero-Tenant-Id
      method: generated
      generated: '2026-11-15'
- target: $.paths['/Employees/{EmployeeID}/Leave/{LeaveID}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update an employee leave record
      effect: write
      questions:
      - How do I change the end date of an existing leave record?
      - Can I edit the description of an employee leave record?
      instructions:
      - text: Update leave {leave} for employee {employee} in tenant {tenant} to end {end}.
        slots:
          leave: path.LeaveID
          employee: path.EmployeeID
          tenant: header.Xero-Tenant-Id
          end: requestBody.endDate
      - text: Change the description of leave {leave} for {employee} to {description} in payroll {tenant}.
        slots:
          leave: path.LeaveID
          employee: path.EmployeeID
          description: requestBody.description
          tenant: header.Xero-Tenant-Id
      method: generated
      generated: '2026-11-15'
- target: $.paths['/Employees/{EmployeeID}/Leave/{LeaveID}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an employee leave record
      effect: destructive
      questions:
      - How do I remove a leave record from an employee?
      - Can I delete an employee leave record by its ID?
      instructions:
      - text: Delete leave record {leave} for employee {employee} in tenant {tenant}.
        slots:
          leave: path.LeaveID
          employee: path.EmployeeID
          tenant: header.Xero-Tenant-Id
      - text: Remove employee {employee}'s leave {leave} from payroll {tenant}.
        slots:
          employee: path.EmployeeID
          leave: path.LeaveID
          tenant: header.Xero-Tenant-Id
      method: generated
      generated: '2026-11-15'
- target: $.paths['/Employees/{EmployeeID}/LeaveBalances'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an employee's leave balances
      effect: read
      questions:
      - How do I see how much leave an employee has left?
      - What leave balances are available for a UK employee?
      instructions:
      - text: Get leave balances for employee {employee} in tenant {tenant}.
        slots:
          employee: path.EmployeeID
          tenant: header.Xero-Tenant-Id
      - text: Show the leave balance of {employee} from payroll {tenant}.
        slots:
          employee: path.EmployeeID
          tenant: header.Xero-Tenant-Id
      method: generated
      generated: '2026-11-15'
- target: $.paths['/Employees/{EmployeeID}/StatutoryLeaveBalance'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an employee's statutory leave balance
      effect: read
      questions:
      - How do I see an employee's statutory sick leave balance?
      - Can I check statutory leave balances for a specific leave type?
      instructions:
      - text: Get statutory leave balance for employee {employee} in tenant {tenant}.
        slots:
          employee: path.EmployeeID
          tenant: header.Xero-Tenant-Id
      - text: Show statutory leave balance for {employee} on {leaveType} as of {asOf} in payroll {tenant}.
        slots:
          employee: path.EmployeeID
          leaveType: query.LeaveType
          asOf: query.AsOfDate
          tenant: header.Xero-Tenant-Id
      method: generated
      generated: '2026-11-15'
- target: $.paths['/StatutoryLeaves/Summary/{EmployeeID}'].get
  update:
    x-apievangelist-phrasing:
      intent: Summarize an employee's statutory leaves
      effect: read
      questions:
      - How do I get a summary of an employee's statutory leaves?
      - Can I see only active statutory leaves for an employee?
      instructions:
      - text: Summarize statutory leaves for employee {employee} in tenant {tenant}.
        slots:
          employee: path.EmployeeID
          tenant: header.Xero-Tenant-Id
      - text: Show active statutory leaves for {employee} in payroll {tenant} with activeOnly {activeOnly}.
        slots:
          employee: path.EmployeeID
          tenant: header.Xero-Tenant-Id
          activeOnly: query.activeOnly
      method: generated
      generated: '2026-11-15'
- target: $.paths['/StatutoryLeaves/Sick'].post
  update:
    x-apievangelist-phrasing:
      intent: Record statutory sick leave
      effect: write
      questions:
      - How do I record statutory sick leave taken by a UK employee?
      - Can I record sick leave that overlaps with shared parental leave?
      instructions:
      - text: Record statutory sick leave for employee {employee} from {start} to {end}.
        slots:
          employee: requestBody.employeeID
          start: requestBody.startDate
          end: requestBody.endDate
      - text: Record sick leave for {employee} on leave type {leave_type} with work pattern {work_pattern}.
        slots:
          employee: requestBody.employeeID
          leave_type: requestBody.leaveTypeID
          work_pattern: requestBody.workPattern
      - text: Log pregnancy-related {pregnancy_related} sick leave with sufficient notice {sufficient_notice} for {employee}.
        slots:
          pregnancy_related: requestBody.isPregnancyRelated
          sufficient_notice: requestBody.sufficientNotice
          employee: requestBody.employeeID
      method: generated
      generated: '2026-11-15'
- target: $.paths['/StatutoryLeaves/Sick/{StatutorySickLeaveID}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a statutory sick leave record
      effect: read
      questions:
      - How do I look up one statutory sick leave record?
      - What does a single statutory sick leave record contain?
      instructions:
      - text: Get statutory sick leave {leave} in tenant {tenant}.
        slots:
          leave: path.StatutorySickLeaveID
          tenant: header.Xero-Tenant-Id
      - text: Show statutory sick leave {leave} from payroll {tenant}.
        slots:
          leave: path.StatutorySickLeaveID
          tenant: header.Xero-Tenant-Id
      method: generated
      generated: '2026-11-15'
- target: $.paths['/Employees/{EmployeeID}/LeavePeriods'].get
  update:
    x-apievangelist-phrasing:
      intent: List an employee's leave periods
      effect: read
      questions:
      - How do I see the periods an employee took leave?
      - Can I filter an employee's leave periods by start and end date?
      instructions:
      - text: List leave periods for employee {employee} in tenant {tenant}.
        slots:
          employee: path.EmployeeID
          tenant: header.Xero-Tenant-Id
      - text: Show leave periods for {employee} from {start} to {end} in payroll {tenant}.
        slots:
          employee: path.EmployeeID
          start: query.startDate
          end: query.endDate
          tenant: header.Xero-Tenant-Id
      method: generated
      generated: '2026-11-15'
- target: $.paths['/Employees/{EmployeeID}/LeaveTypes'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an employee's leave types
      effect: read
      questions:
      - What leave types are set up for a UK employee?
      - Can I see how much leave an employee has accrued?
      instructions:
      - text: Get leave types for employee {EmployeeID}.
        slots:
          EmployeeID: path.EmployeeID
      - text: Show the leave entitlements set up for {EmployeeID}.
        slots:
          EmployeeID: path.EmployeeID
      method: generated
      generated: '2026-11-15'
- target: $.paths['/Employees/{EmployeeID}/LeaveTypes'].post
  update:
    x-apievangelist-phrasing:
      intent: Set up an employee's leave type
      effect: write
      questions:
      - How do I add a new leave type for a UK employee?
      - Can I cap how many hours an employee accrues for leave?
      instructions:
      - text: Create leave type {leaveTypeID} for employee {EmployeeID} with accrual schedule {scheduleOfAccrual}.
        slots:
          leaveTypeID: requestBody.leaveTypeID
          EmployeeID: path.EmployeeID
          scheduleOfAccrual: requestBody.scheduleOfAccrual
      - text: Set up {leaveTypeID} for {EmployeeID} with {hoursAccruedAnnually} hours accruing annually.
        slots:
          leaveTypeID: requestBody.leaveTypeID
          EmployeeID: path.EmployeeID
          hoursAccruedAnnually: requestBody.hoursAccruedAnnually
      method: generated
      generated: '2026-11-15'
- target: $.paths['/Employees/{EmployeeID}/PaymentMethods'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an employee's payment method
      effect: read
      questions:
      - How is a UK employee paid out of payroll?
      - What bank account is used for an employee's pay?
      instructions:
      - text: Get the payment method for employee {EmployeeID}.
        slots:
          EmployeeID: path.EmployeeID
      - text: Show how {EmployeeID} is paid.
        slots:
          EmployeeID: path.EmployeeID
      method: generated
      generated: '2026-11-15'
- target: $.paths['/Employees/{EmployeeID}/PaymentMethods'].post
  update:
    x-apievangelist-phrasing:
      intent: Set up an employee's payment method
      effect: write
      questions:
      - How do I set up direct pay for a UK employee?
      - Can I record the bank account used for an employee's pay?
      instructions:
      - text: Create payment method {paymentMethod} for employee {EmployeeID}.
        slots:
          paymentMethod: requestBody.paymentMethod
          EmployeeID: path.EmployeeID
      - text: Set up {paymentMethod} on {EmployeeID} using bank accounts {bankAccounts}.
        slots:
          paymentMethod: requestBody.paymentMethod
          EmployeeID: path.EmployeeID
          bankAccounts: requestBody.bankAccounts
      method: generated
      generated: '2026-11-15'
- target: $.paths['/Employees/{EmployeeID}/PayTemplates'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an employee's pay template
      effect: read
      questions:
      - What pay template is a UK employee on?
      - Can I see the earnings and deductions set up for an employee?
      instructions:
      - text: Get the pay template for employee {EmployeeID}.
        slots:
          EmployeeID: path.EmployeeID
      - text: Show {EmployeeID}'s pay template.
        slots:
          EmployeeID: path.EmployeeID
      method: generated
      generated: '2026-11-15'
- target: $.paths['/Employees/{EmployeeID}/PayTemplates/earnings'].post
  update:
    x-apievangelist-phrasing:
      intent: Add an earnings line to an employee's pay template
      effect: write
      questions:
      - How do I add a bonus or overtime line to a UK employee's pay?
      - Can I set an hourly rate or a fixed amount on an employee's template?
      instructions:
      - text: Add an earnings template to {EmployeeID} with rate {ratePerUnit}.
        slots:
          EmployeeID: path.EmployeeID
          ratePerUnit: requestBody.ratePerUnit
      - text: Create a {fixedAmount} fixed-amount line on {EmployeeID}'s template.
        slots:
          fixedAmount: requestBody.fixedAmount
          EmployeeID: path.EmployeeID
      method: generated
      generated: '2026-11-15'
- target: $.paths['/Employees/{EmployeeID}/PayTemplates/earnings/{PayTemplateEarningID}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update an earnings line on an employee's template
      effect: write
      questions:
      - Can I change the rate on an existing earnings line?
      - How do I edit an employee's pay template line?
      instructions:
      - text: Update earnings line {PayTemplateEarningID} on {EmployeeID} to rate {ratePerUnit}.
        slots:
          PayTemplateEarningID: path.PayTemplateEarningID
          EmployeeID: path.EmployeeID
          ratePerUnit: requestBody.ratePerUnit
      - text: Change existing line {PayTemplateEarningID} on {EmployeeID} to fixed amount {fixedAmount}.
        slots:
          PayTemplateEarningID: path.PayTemplateEarningID
          EmployeeID: path.EmployeeID
          fixedAmount: requestBody.fixedAmount
      method: generated
      generated: '2026-11-15'
- target: $.paths['/Employees/{EmployeeID}/PayTemplates/earnings/{PayTemplateEarningID}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove an earnings line from an employee's template
      effect: destructive
      questions:
      - How do I remove an earnings line from a UK employee's pay template?
      - Can I delete a bonus line from an employee's template?
      instructions:
      - text: Delete earnings line {PayTemplateEarningID} from {EmployeeID}'s template.
        slots:
          PayTemplateEarningID: path.PayTemplateEarningID
          EmployeeID: path.EmployeeID
      - text: Remove the {PayTemplateEarningID} line from {EmployeeID}'s pay template.
        slots:
          PayTemplateEarningID: path.PayTemplateEarningID
          EmployeeID: path.EmployeeID
      method: generated
      generated: '2026-11-15'
- target: $.paths['/Employees/{EmployeeID}/paytemplateearnings'].post
  update:
    x-apievangelist-phrasing:
      intent: Add several earnings lines to an employee's template
      effect: write
      questions:
      - Can I add many earnings lines to a UK employee's template in one request?
      - How do I bulk-add pay lines to an employee?
      instructions:
      - text: Bulk-add earnings lines to {EmployeeID}'s template.
        slots:
          EmployeeID: path.EmployeeID
      - text: Create several pay lines for employee {EmployeeID} at once.
        slots:
          EmployeeID: path.EmployeeID
      method: generated
      generated: '2026-11-15'
- target: $.paths['/Benefits'].get
  update:
    x-apievangelist-phrasing:
      intent: List employer pension benefits
      effect: read
      questions:
      - What employer pension benefits are set up?
      - Can I page through all UK pension benefits?
      instructions:
      - text: List all employer pension benefits.
      - text: Show page {page} of UK pension benefits.
        slots:
          page: query.page
      method: generated
      generated: '2026-11-15'
- target: $.paths['/Benefits'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an employer pension benefit
      effect: write
      questions:
      - How do I set up a company pension benefit for UK employees?
      - Can a new pension benefit be calculated as a percentage of gross pay?
      instructions:
      - text: Create a {category} pension benefit named {name} with liability account {liabilityAccountId} and expense account {expenseAccountId}.
        slots:
          category: requestBody.category
          name: requestBody.name
          liabilityAccountId: requestBody.liabilityAccountId
          expenseAccountId: requestBody.expenseAccountId
      - text: Add a {category} pension benefit {name} at {percentage}% of gross, calculated as {calculationType}.
        slots:
          category: requestBody.category
          name: requestBody.name
          percentage: requestBody.percentage
          calculationType: requestBody.calculationType
      method: generated
      generated: '2026-11-15'
- target: $.paths['/Benefits/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an employer pension benefit
      effect: read
      questions:
      - What are the settings of a specific UK pension benefit?
      - Can I look up one employer pension benefit by ID?
      instructions:
      - text: Get employer pension benefit {id}.
        slots:
          id: path.id
      - text: Show the {id} pension benefit.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-15'
- target: $.paths['/Deductions'].get
  update:
    x-apievangelist-phrasing:
      intent: List deductions
      effect: read
      questions:
      - What deductions are set up for UK employees?
      - Can I page through all payroll deductions?
      instructions:
      - text: List all deductions.
      - text: Show page {page} of deductions.
        slots:
          page: query.page
      method: generated
      generated: '2026-11-15'
- target: $.paths['/Deductions'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a deduction
      effect: write
      questions:
      - How do I set up a new deduction for UK employees?
      - Can a deduction be a fixed amount or a percentage of gross pay?
      instructions:
      - text: Create a deduction named {deductionName} with liability account {liabilityAccountId}.
        slots:
          deductionName: requestBody.deductionName
          liabilityAccountId: requestBody.liabilityAccountId
      - text: Add deduction {deductionName} calculated as {percentage}% of gross.
        slots:
          deductionName: requestBody.deductionName
          percentage: requestBody.percentage
      method: generated
      generated: '2026-11-15'
- target: $.paths['/Deductions/{deductionId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a deduction
      effect: read
      questions:
      - What are the settings of a specific deduction?
      - Can I look up one deduction by ID?
      instructions:
      - text: Get deduction {deductionId}.
        slots:
          deductionId: path.deductionId
      - text: Show the {deductionId} deduction.
        slots:
          deductionId: path.deductionId
      method: generated
      generated: '2026-11-15'
- target: $.paths['/EarningsOrders'].get
  update:
    x-apievangelist-phrasing:
      intent: List earnings orders
      effect: read
      questions:
      - What earnings orders are set up?
      - Can I page through all earnings orders?
      instructions:
      - text: List all earnings orders.
      - text: Show page {page} of earnings orders.
        slots:
          page: query.page
      method: generated
      generated: '2026-11-15'
- target: $.paths['/EarningsOrders/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an earnings order
      effect: read
      questions:
      - What are the settings of a specific earnings order?
      - Can I look up one earnings order by ID?
      instructions:
      - text: Get earnings order {id}.
        slots:
          id: path.id
      - text: Show the {id} earnings order.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-15'
- target: $.paths['/EarningsRates'].get
  update:
    x-apievangelist-phrasing:
      intent: List earnings rates
      effect: read
      questions:
      - What earnings rates are set up?
      - Can I page through all earnings rates?
      instructions:
      - text: List all earnings rates.
      - text: Show page {page} of earnings rates.
        slots:
          page: query.page
      method: generated
      generated: '2026-11-15'
- target: $.paths['/EarningsRates'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an earnings rate
      effect: write
      questions:
      - How do I set up a new earnings rate for UK employees?
      - Can an earnings rate be a fixed amount or a multiple of ordinary pay?
      instructions:
      - text: Create an earnings rate named {name} of type {earningsType} at {rateType} per {typeOfUnits}.
        slots:
          name: requestBody.name
          earningsType: requestBody.earningsType
          rateType: requestBody.rateType
          typeOfUnits: requestBody.typeOfUnits
      - text: Add earnings rate {name} paying {ratePerUnit} per {typeOfUnits}.
        slots:
          name: requestBody.name
          ratePerUnit: requestBody.ratePerUnit
          typeOfUnits: requestBody.typeOfUnits
      method: generated
      generated: '2026-11-15'
- target: $.paths['/EarningsRates/{EarningsRateID}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an earnings rate
      effect: read
      questions:
      - What are the settings of a specific earnings rate?
      - Can I look up one earnings rate by ID?
      instructions:
      - text: Get earnings rate {EarningsRateID}.
        slots:
          EarningsRateID: path.EarningsRateID
      - text: Show the {EarningsRateID} earnings rate.
        slots:
          EarningsRateID: path.EarningsRateID
      method: generated
      generated: '2026-11-15'
- target: $.paths['/LeaveTypes'].get
  update:
    x-apievangelist-phrasing:
      intent: List leave types
      effect: read
      questions:
      - What leave types are set up for employees?
      - Can I list only active leave types?
      instructions:
      - text: List leave types.
      - text: List leave types where active is {active_only}.
        slots:
          active_only: query.ActiveOnly
      method: generated
      generated: '2026-11-15'
- target: $.paths['/LeaveTypes'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a leave type
      effect: write
      questions:
      - How do I add a new leave type for employees?
      - Can a new leave type be paid and show on payslips?
      instructions:
      - text: Create leave type {name} paid {is_paid_leave} and show on payslips {show_on_payslip}.
        slots:
          name: requestBody.name
          is_paid_leave: requestBody.isPaidLeave
          show_on_payslip: requestBody.showOnPayslip
      - text: Add a new leave type {name} with paid set to {is_paid_leave}.
        slots:
          name: requestBody.name
          is_paid_leave: requestBody.isPaidLeave
      method: generated
      generated: '2026-11-15'
- target: $.paths['/LeaveTypes/{LeaveTypeID}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a leave type
      effect: read
      questions:
      - What are the details of one leave type?
      - Can I look up a leave type by its ID?
      instructions:
      - text: Get leave type {leave_type_id}.
        slots:
          leave_type_id: path.LeaveTypeID
      - text: Show leave type {leave_type_id}.
        slots:
          leave_type_id: path.LeaveTypeID
      method: generated
      generated: '2026-11-15'


# --- truncated at 32 KB (48 KB total) ---
# Full source: https://artifacts.apis.io/xero/overlays/xero-payrolluk-api-phrasing-overlay.yaml

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/xero-payrolluk-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.