Hogia Payroll (Hogia Lön)

Modified on Thu, 5 Nov at 12:08 PM

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

  1. Go to Setup → Settings → Integrations and add Hogia Payroll. You need administrator access.
  2. Choose Cost center and Group by (below), tick Enabled and save.
Field (EN / SV)Description
Cost center / KostnadsställeWhat 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 efterDo 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

WhereFieldUsed as
Each absence typeExternal salary code (Extern lönekod), and External pay type code (default A)The Hogia pay type for that absence
Each overtime categoryExternal salary codeThe Hogia pay type for those hours
Each compensation type for expensesCode (Kod)The Hogia pay type for that expense
Each co-workerExternal employee number and personal identity numberThe 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 (010 becomes 10).



Create the file

  1. Go to Company → Timesheet status (Tidrapportstatus).
  2. In Export hours using export template (Exportera timmar med hjälp av exportmall), choose Export payroll to Hogia Lön.
  3. Choose From date and To Date. The default is last month.
  4. 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.
  5. Click Create export file. The file Hogia_Payroll_{date}.xml is 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

DataWhichHow
AbsenceApproved absence in the periodOne row per day, with the hours, the date, and the share of the day's schedule (extent) when it isn't a full day
OvertimeAll hours on overtime categories in the period, approved or notAdded together per co-worker and code, for the whole period
ExpensesAll approved claims up to the To Date that aren't paid out yet, also older onesAdded 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 (A absence, L other), 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

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article