Legacy Xero-Sourced Setup
Importing Smart Formulas from Xero is still supported, but it is considered the legacy setup path. Use this path when your organisation already defines Smart Formula rules as formatted pay items in Xero and assigns them through employee pay templates. For new setups, use Configure Smart Formulas in UpSheets.How the Legacy Setup Works
With the Xero-sourced setup:- You create specially named pay items in Xero.
- You assign those pay items to employee pay templates in Xero.
- UpSheets refreshes those pay items into Smart Formulas.
- UpSheets applies the formulas when importing timesheet data.
Set the Source to Xero
In UpSheets:- Select Smart Formulas > Assign.
- Click Settings.
- Set Smart Formula Source to Xero.
- Close or save the settings.
Set Up Pay Items in Xero
In Xero, go to Settings > Payroll Settings > Pay Items. To enable a pay item as a Smart Formula, the name uses this format:- Number: A three-character priority number, such as
001,010, or100. - Name: The pay item name. Keep the full pay item name within Xero’s character limit.
- Day: The day or days the rule applies to, such as
MON,WEEKDAY,WEEKEND, orEVERY. - Period: A time period such as
0800-1600, or an hour range such as7.6~9.
Common Period Examples
Use a time period for rules based on the time of day:WOT for weekly overtime:
Assign Pay Items to Employees in Xero
Before refreshing formulas into UpSheets:- Open the employee in Xero.
- Set the employee’s ordinary earnings rate.
- Add the relevant Smart Formula pay items to the employee’s pay template.
- Save the employee in Xero.
Refresh Smart Formulas in UpSheets
In UpSheets:- Select Smart Formulas > Assign.
- Click Refresh Now.
- Wait for the refresh to finish.
- Review the employee table to check that formulas appear for the expected employees.
- The formatted pay item names in Xero.
- Pay items assigned to employee pay templates in Xero.
- Employee ordinary earnings rates that affect the formulas.
Import a File Using Xero-Sourced Smart Formulas
Your import file usually needs:- Employee name or another mapped employee identifier.
datestart_timeend_time
Allowances, Breaks, and RDO
Xero-sourced formulas can include allowances, automatic break removal, and RDO rules through formatted pay item names. For new formulas, prefer the UpSheets editor because it lets you configure these rules without hand-writing the formula syntax. See:- Smart Formula Rules
- Assign Smart Formulas to Employees
- Allowances for Xero-Imported Smart Formulas
- Automatic Break Removal for Xero-Imported Smart Formulas
- Rostered Days Off (RDO) for Xero-Imported Smart Formulas
Troubleshooting Missing Formulas
If formulas do not appear in UpSheets:- Check that Smart Formula Source is set to Xero.
- Check the pay item name format in Xero.
- Check that the pay item is on the employee’s Xero pay template.
- Click Refresh Now again after making changes in Xero.
- Check that the selected organisation in UpSheets is the same Xero organisation you updated.
Move to the UpSheets Setup
If you want to move away from the legacy Xero-sourced setup:- Recreate or copy the formula in Smart Formulas > Configure.
- Simulate the output.
- Publish the formula.
- Change Smart Formula Source to UpSheets.
- Assign the published formula to employees from Smart Formulas > Assign.
