How the export works
With Hogia Payroll (Hogia Lön), Project Flow creates a payroll file in Hogia's XML format with your co-workers' overtime, absence and expenses, which you import into Hogia Lön.
- What is in the file: approved absence, overtime hours and approved travel and expense claims.
- Not in the file: ordinary hours (only hours on overtime categories) and hour balance.
- Where you create it: Company → Timesheet status, with the built-in export template Export payroll to Hogia Lön.
Set up
Step 1: Add the integration
- Go to Setup → Settings → Integrations and add Hogia Payroll. You need administrator access.
- Choose Cost center and Group by (below), tick Enabled and save.
| Field (EN / SV) | Description |
|---|---|
| Cost center / Kostnadsställe | What is sent as cost center: Do not include cost center (default), Use co-worker department, Use project department, Use co-worker tag group or Use project tag group (then choose the tag group). Departments use their Department number in external system; tags use their code. |
| Group by / Gruppera efter | Do not group (default), Project (overtime and expenses per project, with the project's external project number), or Cost center. |
Add the integration first. The option to mark claims as paid out, and the cost center settings, only work when the integration is added.
Step 2: Codes in Project Flow
| Where | Field | Used as |
|---|---|---|
| Each absence type | External salary code (Extern lönekod), and External pay type code (default A) | The Hogia pay type for that absence |
| Each overtime category | External salary code | The Hogia pay type for those hours |
| Each compensation type for expenses | Code (Kod) | The Hogia pay type for that expense |
| Each co-worker | External employee number and personal identity number | The employee in Hogia |
- No code, not in the file. Absence types, overtime categories and compensation types without a code (or with
-1) are left out. - External employee number. Fill it in on every co-worker. Without it, the co-worker is sent with employee number
000. - Numbers only. The overtime code is sent as a number, so a leading zero disappears (
010becomes10).
Create the file
- Go to Company → Timesheet status (Tidrapportstatus).
- In Export hours using export template (Exportera timmar med hjälp av exportmall), choose Export payroll to Hogia Lön.
- Choose From date and To Date. The default is last month.
- Leave Set status to 'paid out' after the export (Ange status till 'utbetald' efter exporten) ticked if the exported claims should be marked as paid out. It is ticked by default.
- Click Create export file. The file
Hogia_Payroll_{date}.xmlis downloaded.
- Paid out needs permission. To mark claims as paid out, you need permission to pay out claims. Otherwise you see "You do not have the access to mark claims as paid out." Untick the option, or ask someone with the permission.
- Long periods. For more than six months, Project Flow warns that the export can take several minutes.
- Limit: one export can hold up to 50,000 records. For more, choose a shorter period.
What is in the file
| Data | Which | How |
|---|---|---|
| Absence | Approved absence in the period | One row per day, with the hours, the date, and the share of the day's schedule (extent) when it isn't a full day |
| Overtime | All hours on overtime categories in the period, approved or not | Added together per co-worker and code, for the whole period |
| Expenses | All approved claims up to the To Date that aren't paid out yet, also older ones | Added together per co-worker and code. Mileage as kilometres, other expenses as amount including VAT |
- After the export: with Set status to 'paid out', the claims are marked as paid out, so they aren't exported again. Hours and absence don't change, so you can export them again.
- Format: Hogia's payroll XML (PayRoll with one PayTypeInstruction per row). Each row has employee number, personal identity number, pay type code (
Aabsence,Lother), pay type, quantity, amount, period, cost center and project.
Q&A
Q: Ordinary hours aren't in the file.
A: Only hours on overtime categories with an external salary code are exported, together with absence and expenses.
Q: An absence is missing.
A: Check that the absence is approved, and that the absence type has an External salary code.
Q: An expense was marked as paid out but isn't in the file.
A: Its compensation type has no code. Give the compensation type a code, and register the expense in Hogia by hand.
Q: A co-worker has employee number 000.
A: Fill in the External employee number on the co-worker.
Q: Can I export the same period again?
A: Yes for absence and overtime. Expenses already marked as paid out aren't included again.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article