Xero sync — leave, BAS, items, quotes and more
The Xero integration now syncs leave applications, BAS reports, tracking categories, items, quotes and purchase orders alongside the existing accounting and payroll surfaces.
Approved and processing leave from Xero Payroll AU now syncs into Mployr leave requests, linked to the right person and leave type. Hour-based leave is normalised to days so the local total reads correctly.

BAS reports
We now pull the latest two BAS periods from Xero's /Reports/BASReport and create draft AccBasStatement records with G1–G20, W1–W4 and T1–T11 fields populated. Locally-lodged statements are protected from being overwritten.

Xero Items split cleanly into local Catalog products (stocked) and services (non-stocked) based on inventory tracking. Quotes and purchase orders sync as integration mappings with full snapshot metadata, ready to surface in the UI as soon as you want them.
Tracking categories sync as mappings with their full options list — so cost-centre allocation can plug in across invoices, bills and timesheets.

Settings UI
The Xero integration settings screen now has six new toggles (Tracking Categories, Items, Quotes, Purchase Orders, BAS Reports, Leave Applications) grouped into Accounting / Payroll / Reports tabs. Each defaults to enabled and persists per business.
