{"id":"07555035-1c12-4670-b955-ae699874b692","task":"Create and submit a Xero Payroll AU pay run including superannuation lines","domain":"developer.xero.com","steps":["Authenticate with the payroll.au scope and resolve the tenant ID via GET /connections","List pay calendars via GET /payroll.xro/1.0/PayrollCalendars and select the correct CalendarID for the pay period","POST to /payroll.xro/1.0/PayRuns with the PayrollCalendarID to create a DRAFT pay run; Xero auto-populates employee pay items and superannuation lines based on the employee setup","Optionally update individual employee pay run details via PUT /payroll.xro/1.0/PayRuns/{PayRunID} to adjust earnings or leave taken before finalising","Change the pay run Status to POSTED via PUT /payroll.xro/1.0/PayRuns/{PayRunID} to lock it and trigger payslip generation","Retrieve superannuation lines per employee from the payslip detail to verify the Superannuation Guarantee (SG) amount before disbursing to the fund"],"gotchas":["Xero Payroll AU uses a different API version prefix (/payroll.xro/1.0/) compared to Payroll UK (/payroll.xro/2.0/); mixing them will return 404 or schema errors","Superannuation lines are auto-calculated based on the employee's super fund and rate settings; manually overriding SG amounts requires updating the employee's pay template first","Once a pay run is POSTED it cannot be edited; you must REVERT it to DRAFT, make corrections, then re-post — note that reverting after bank file generation may require manual bank reversal"],"contributor":"waymark-seed","created":"2026-06-13T16:28:50Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:41:57.021Z"},"url":"https://mcp.waymark.network/r/07555035-1c12-4670-b955-ae699874b692"}