Skip to content
  • There are no suggestions because the search field is empty.

Crona Lön integration

Connect Huma to Crona Lön to keep employee profiles and employment details in sync

 

Table of contents

 


 

Introduction

The Crona Lön integration keeps employee information in Huma and Crona Lön in sync. You manage employees and positions in Huma, and Huma sends the changes to Crona Lön.

This is what the integration supports, and which way the data goes:

Data Huma → Crona Lön Crona Lön → Huma When
Employee data ✅ Automatic ✅ Manual only Changes in Huma are sent in real time. Changes in Crona Lön are brought in when you click «Sync users».
New employees ✅ Manual only ✅ Manual only When you click «Sync users»
Employment details ✅ Automatic ❌ When a position is created, updated or deleted in Huma
Absence ❌ ❌ Not supported
Salary ❌ ❌ Not supported

 

⚠️ Historical data is not transferred. Employment details are only sent when a position is created, updated or deleted after the integration is active, or when an employee is created in Crona Lön.

💡 Need more than one connection, for example one per company? See Multiple connections.

 

 

Roles and access

Access Role
Set up and manage the integration in Huma System role with full access to Organization
Create the API connection in Crona Lön Administrator, so you can create an API connection («API-koppling»)

 

💡 Not sure which roles you need in Crona Lön? Contact your Crona Lön administrator or Crona Lön support.

 

 

Set up the integration

Before you start

  • You have a system role with full access to Organization in Huma.
  • You, or a colleague, can log in to Crona Lön as an administrator.
  • Employees who exist in both systems have the same work email address in Huma and Crona Lön. Huma matches employees by email only.
  • Every employee has a unique employee ID in Huma. It is required in Crona Lön.

 

Step 1: Get an activation code from Crona Lön

  1. Log in to Crona Lön as an administrator.
  2. Click «Inställningar» and then «Kopplingar».
  3. Click «Skapa ny» in the top-right corner.
  4. Choose «API-koppling» and add a description, for example «Huma».
  5. Click «Spara» in the bottom-right corner.
  6. Copy the activation code («Aktiveringskod»).

 

Bild 1 & 2

Skapa ny

Ny koppling

Bild 4

 

Step 2: Connect Huma to Crona Lön

  1. In Huma, go to «Integrations» and select «Crona Lön».
  2. Read the «Overview» and «Details» tabs.
  3. Click «Set up» in the top-right corner.
  4. Give the connection a name.
  5. Choose who to include in the connection: everyone, or a specific team, location or company.
  6. Click «Continue».
  7. Paste the activation code from Crona Lön.
  8. Confirm that you have the authority to accept the terms on behalf of your organization.
  9. Click «Continue».

💡 Crona Lön has no settings to choose. Employee data and employment details are always sent.

 

Crona Lön setup

Crona Lön activation code

 

Step 3: Sync users to activate the integration

After setup, the integration page says «This integration has been set up, but is not active». Nothing is sent until you sync users. See Sync employees.

 

 

Sync employees

«Sync users» compares the employees in Huma and Crona Lön. You decide what to update and which employees to create. The first sync also activates the integration.

How to sync users

  1. Go to the Crona Lön integration in Huma and click «Sync users».
  2. Matching users are employees with the same email in both systems.
    • Review which fields have different or missing values.
    • For each case, choose to update Huma with the value from Crona Lön, update Crona Lön with the value from Huma, or leave it as it is.
    • Click «Next».
  3. Non-matching users are employees who exist in only one of the systems.
    • Choose to create all, only the ones you select, or none.
    • Choose the direction: Crona Lön → Huma, or Huma → Crona Lön.
  4. Click «Sync users».

The status changes to «Connected and active». You get an email with the result.

💡 Before you sync, decide which system has the most up-to-date information. The choices you make here overwrite data.

⚠️ Users missing required fields, such as the employee ID, are not synced until the values are filled in.

 

Crona Lön sync users

Crona Lön sync users 2

 

When to sync users

Changes in Huma are sent to Crona Lön automatically. Click «Sync users» when:

  • You have just set up the integration and want to activate it.
  • You have changed a supported field in Crona Lön and want it in Huma.
  • You have added employees in Crona Lön that should be created in Huma.
  • You have added employees in Huma that should be created in Crona Lön. They are never created automatically.

 

Crona Lön active

 

When an employee leaves

Deactivated in Huma:

  • The employee is not deactivated in Crona Lön.
  • The employee is locked from updates from the integration.

Deleted in Huma:

  • The employee is not deleted in Crona Lön.
  • The next time you click «Sync users», you are offered to create the employee in Huma again.

💡 To register that an employee has left in Crona Lön, set an end date on the employee's last position in Huma. See Position data.

 

 

Employee data

Changes in Huma are sent automatically. Changes in Crona Lön are brought in with «Sync users».

Huma field Crona Lön field Required Notes
Email address E-post arbete ✅ Used to match employees. Must be unique in Huma. When you change the email in Huma, it is updated in Crona Lön.
API name: EpostArb
Employee ID Anställningsnummer ✅ Must be unique in Huma and Crona Lön. Only sent when the employee is created. If you change it in Huma so it no longer matches Crona Lön, the employee is disconnected from the integration.
API name: AnstNr
Given name Förnamn ✅ API name: FoNamn
Family name Efternamn ✅ API name: EfNamn
Address Adress, Postnummer, Postort, Land   The country is sent as the Swedish country name. The country is only set in Huma if the value in Crona Lön is a valid ISO country code.
API names: Adress1, Adress2, PostNr, PostOrt, LandAdr
Phone number Mobil   Must be unique in Huma.
API name: Mobil
Bank account Clearingnummer and Kontonummer   Only valid Swedish bank accounts. The payment type is set to bank («BNK») when an employee is created. If you save a non-Swedish account in Huma, the account fields in Crona Lön are cleared.
API names: UtbetClearNr, UtbetKontoNr
Personal email address E-post privat   API name: EpostPriv

 

 

Position data

Employment details go one way: from Huma to Crona Lön. They are sent when a position is created, updated or deleted in Huma. There is no setting for this. Other position fields are not sent.

Huma field Crona Lön field Notes
Contract start date Anställningsdatum Uses the start date of the employee's first position in Huma.
API name: AnstDatum
Contract end date Avgångsdatum and Slutat Uses the end date of the employee's last position in Huma. «Slutat» is checked when the date is today or earlier.
API names: AvgDatum, Slutat
Job title Befattning Uses the job title of the employee's current primary position.
API name: Befattning

 

How employment details work

  • Crona Lön has one employment per employee. Huma combines all positions into that one employment.
  • The employment start date is the start date of the employee's first position in Huma.
  • The termination date is the end date of the employee's last position in Huma.
  • The job title comes from the employee's current primary position.
  • «Slutat» is checked when the termination date is today or earlier.
  • The values are recalculated every time a position is created, updated or deleted.

 

Deleting a position

When you delete a position in Huma, the employment details are recalculated from the remaining positions and sent to Crona Lön.

 

💡 To register that an employee has left in Crona Lön, set an end date on the employee's last position in Huma.

 

 

Absence data

The Crona Lön integration doesn't support absence. Absence in Huma is not sent to Crona Lön.

 

 

Salary data

The Crona Lön integration doesn't support salary. Salary in Huma is not sent to Crona Lön, so register salary changes manually in Crona Lön.

 

 

Change integration settings

  1. Go to the Crona Lön integration in Huma.
  2. Click ··· in the top-right corner.
  3. Select an option:
    • «Edit connection settings» to paste a new activation code.
    • «Edit connection details» to change the name or who is included in the connection.

 

Disconnect or remove

  • Disconnect: Stops syncing but keeps your setup.
  • Remove: Stops syncing and deletes all saved setup.

 

 

Error log

Where to find the error log

  1. Go to the Crona Lön integration in Huma.
  2. Open the «Error log» tab.

Errors are grouped by day. Each entry shows a message, the time, which employee it concerns and a level:

Level What it means
🔴 Error Something was not sent to Crona Lön. You need to take action.
🟡 Warning Something needs your attention.
🔵 Info For your information. No action needed.

 

Integration status

Status on the integration page What to do
This integration has been set up, but is not active Click «Sync users» to activate it.
Connected and active Everything works.
Something is wrong with your connection to Crona Lön. Please reconnect and synchronize again. The activation code no longer works. Create a new API connection in Crona Lön, paste the new activation code in «Edit connection settings», then click «Sync users».

 

Common errors

Problem What it means How to fix it
Email mismatch when trying to update The work email in Crona Lön no longer matches the employee in Huma. Make sure the email address is the same in both systems, and click «Sync users».
The employee is no longer updated The employee ID was changed in Huma, so the employee was disconnected. Make the employee ID the same in both systems, and click «Sync users».
The bank account is not sent Crona Lön only accepts Swedish bank accounts. Register a valid Swedish account in Huma, or update it manually in Crona Lön.
The connection to Crona Lön stops working The API connection in Crona Lön no longer works, for example because it was deleted. Create a new API connection in Crona Lön, and paste the new activation code in «Edit connection settings».

 

 

FAQ

Why don't changes I make in Crona Lön show up in Huma?
Changes only go automatically from Huma to Crona Lön. To bring changes from Crona Lön into Huma, click «Sync users».

 

Why isn't a new employee in Huma created in Crona Lön?
Employees are never created automatically. Click «Sync users» and choose to create the employee in Crona Lön. Also check that the employee has an employee ID in Huma.

 

Can I sync absence or salary with Crona Lön?
No. The Crona Lön integration supports employee data and employment details only.

 

Can historical positions be transferred?
No. Employment details are only sent when a position is created, updated or deleted after the integration is active, or when an employee is created in Crona Lön.

 

Can I have more than one Crona Lön connection?
Yes. You can, for example, set up one connection per company. See Multiple connections.