A timesheet export template is an Excel (.xlsx) file containing {{tag}} markers. When you export, HosPortal replaces each marker with the matching data. This article lists every tag and formatting option you can use. (For how to upload a finished template, see Uploading a timesheet export template.)
Tag syntax
Tags use this form:
{{tagName}}{{tagName|format:value}}{{tagName|modifier:value}}{{tagName|format:value|modifier:value}}
Shorthand also works: {{shiftDuration|hours|regular}} is the same as {{shiftDuration|format:hours|modifier:regular}}. The parser detects which part is a format and which is a modifier.
User, Payroll and Export tags
You can place these tags anywhere you like on the spreadsheet and they will be filled with static data about the user, the payroll period, or the export ityself; they aren't replicated but are filled once wherever they are on the spreadsheet
User tags
Tag | Description | Example |
| Full name (first + last) | Jane Smith |
| First name | Jane |
| Last name | Smith |
| Last name uppercased | SMITH |
| Payroll identifier from the user's timesheet settings | 00367798 |
| First role name | Consultant |
| All role names |
|
| FTE value(s) as integer | 100 or 100/50 |
| FTE as percentage | 100% or 100%/50% |
| FTE as decimal | 1.00 or 1.00/0.50 |
Example of what this might look like on your template
Export tags
These tags are filled once with information about the export itself.
Tag | Description | Example |
| Export date/time | Friday, March 27th 2026 @ 14:30 |
Payroll tags
These tags are filled with the pay period's date range.
Tag | Description | Example |
| Pay period start date | 30/03/2026 |
| Pay period end date | 12/04/2026 |
Per-day tags (repeated for each day over the payroll period)
Place these once; HosPortal iterates across the days of the pay period, filling one cell per day. The direction depends on the template's date orientation (explained below): vertical fills down rows, horizontal fills across columns.
Date and shift
Tag | Description | Example |
| Day of week | Mon |
| Date | 30/03/2026 |
| Start – End time | 07:30 - 18:00 |
| Start time only | 07:30 |
| End time only | 18:00 |
| Shift or roster name | Theatre 1 AM |
Durations
Duration tags use a modifier to pick which type of time to show, and a format (usually hours) to render it. The same modifiers work on {{shiftDuration}}, {{breakDuration}}, {{leaveDuration}} and {{shiftDurationTotal}}.
Tag (per day) | Description |
| Regular worked hours |
| Overtime hours |
| On-call hours |
| On-call overtime hours |
| Regular + breaks + callbacks |
| Regular + leaves |
| Regular + breaks + callbacks + leaves |
| On-call total |
| Unpaid break hours |
| Paid break hours |
| Unpaid leave hours |
| Paid leave hours |
| Paid holiday hours |
| Paid callback hours |
| Unpaid callback hours |
| All break duration |
| Paid leave duration |
Leave, on-call and leave type
Tag | Description | Example |
| Leave start – end time | 07:30 - 18:00 |
| On-call shift start – end time | 18:00 - 07:30 |
| Leave type name(s) for the day | Rec Leave |
For single-day leave the actual times are used; for multi-day leave the nominal times come from the leave payroll setting's day durations. Multiple leaves or on-call entries on the same day are separated by new lines.
Totals (across the whole pay period)
Tag | Description |
| Total regular hours |
| Total overtime hours |
| Total on-call hours |
| Total combined hours |
| Total paid leave hours |
Any duration modifier from the table above also works on {{shiftDurationTotal}}.
Available formats
Format | Output | Notes |
| 2026-03-30 | ISO date |
| 30/03/2026 | AU date |
| 30/03/26 | Short AU date |
| 03/30/2026 | US date |
| 07:30 | 24-hour time |
| 7:30 AM | 12-hour time |
| March 30 | Month day |
| Mon | Short day name |
| [hh]:mm | Duration in Excel time format |
| 90 | Duration in minutes |
| 1.50 | Decimal number |
| 100% | Percentage |
| SMITH | Upper case |
| Friday, March 27th 2026 @ 14:30 | Full timestamp |
| 1h 30min | Duration as short text |
Duration modifiers
Valid values for the modifier on duration tags: regular, onCall, overtime, onCallOverTime, regularAndBreaksAndCallBacks, regularAndLeaves, regularAndBreaksAndCallBacksAndLeaves, onCallTotal, unpaidBreaks, paidBreaks, unpaidLeaves, paidLeaves, paidHolidays, paidCallBacks, unpaidCallBacks.
Layout configuration
The template's layout (date orientation, and whether several staff share one sheet) is set when you upload it — either automatically from a Settings sheet inside the workbook, or in the upload form. The key options are:
Option | Description |
Date orientation | Vertical (dates run down rows) or Horizontal (dates run across columns) |
Multiple users | If on, several users are placed on one sheet using a repeating block; you set where the block starts and its size (rows and columns per user) |
Roster colour | Optionally apply each roster's colour as the cell background |
Duplicate border | Optionally add borders when the per-user block is duplicated |


