Crona Lön integration
Connect Huma to Crona Lön to keep employee profiles and employment details in sync
Table of contents
- Roles and access
- How data flows
- Before you start
- Set up the integration
- When the integration is active
- Supported fields
- Error log and troubleshooting
- FAQ
- Related articles
Roles and access
| Role in Huma | System role with full access to Organization |
| Role 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.
How data flows
| Data | Huma → Crona Lön | Crona Lön → Huma | When |
|---|---|---|---|
| Profile fields | ✅ 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.
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.
Set up the integration
Step 1: Get an activation code from Crona Lön
- Log in to Crona Lön as an administrator.
- Click "Inställningar" and then "Kopplingar".
- Click "Skapa ny" in the top-right corner.
- Choose "API-koppling" and add a description, for example "Huma".
- Click "Spara" in the bottom-right corner.
- Copy the activation code ("Aktiveringskod").




Step 2: Connect Huma to Crona Lön
- In Huma, go to "Integrations" and select "Crona Lön".
- Read the "Overview" and "Details" tabs.
- Click "Set up" in the top-right corner.
- Give the connection a name.
- Choose who to include in the connection: everyone, or a specific team, location or company.
- Click "Continue".
- Paste the activation code from Crona Lön.
- Confirm that you have the authority to accept the terms on behalf of your organization.
- Click "Continue".
🔗 Need more than one connection, for example one per company? See Multiple connections.
💡 Crona Lön has no settings to choose. Profile fields and employment details are always sent.


Step 3: Sync users to activate the integration
After setup, the integration page shows "This integration is configured but not active". Nothing is sent until you complete this step.
- Click "Sync users".
- 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".
- 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.
- Click "Sync users".
The status changes to "Connected and active". You get an email with the result.
💡 Note
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.


When the integration is active
What happens automatically
- Changes to supported profile fields in Huma are sent to Crona Lön in real time.
- Employment details are updated in Crona Lön when a position is created, updated or deleted in Huma.

When you need to sync manually
Click "Sync users" when:
- 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.
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.
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.
Change settings or the activation code
- Go to the Crona Lön integration in Huma.
- Click ··· in the top-right corner.
- 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.
Supported fields
Profile fields
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 |
Employment details (Huma → Crona Lön)
| 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 |
Error log and troubleshooting
Where to find the error log
- Go to the Crona Lön integration in Huma.
- 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 is configured but not active | Click "Sync users" to activate it. |
| Connected and active | Everything works. |
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.
Which employment details are sent to Crona Lön?
The start date (from the first position), the termination date (from the last position) and the job title (from the current primary position). "Slutat" is checked when the termination date has passed. Other position fields are not sent.
What happens in Crona Lön when I delete a position in Huma?
The employment details are recalculated from the remaining positions and sent to Crona Lön.
Can I sync absence or salary with Crona Lön?
No. The Crona Lön integration supports profile fields 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.
Related articles