Payroll codes and export — salary codes, time codes and SIE accounts
Categories and articles
Vendion calculates the payroll data, but your payroll program and your bookkeeping have their own names for things. Under Personal › Inställningar › Lön › Grund (Staff › Settings › Pay › Basics) sits the panel Lönekoder & konton för export, where you point the codes to your own. Check the codes with your payroll provider and payroll administrator before the first export. Click Spara at the bottom of the panel after making changes.
The panel requires permission to edit payroll.
Four sections for different exports
The panel has four sections:
| Part | Used by | Contains |
|---|---|---|
| PAXml — time codes | The PAXml file to Fortnox Lön | Working time, overtime, unsocial hours, sick leave, vacation and more |
| PAXml — salary codes (amounts) | The same file | Tips, shift pay, major holiday, meal benefit, adjustments |
| Fortnox Lön (API) — lönearter för belopp (salary codes for amounts) | The direct connection to Fortnox | The same amount rows, but with your Fortnox salary codes |
| SIE — bookkeeping accounts | The SIE payroll voucher | Salary accounts, employer contributions, vacation liability and more |
A value that is right for the PAXml file is therefore not right for the Fortnox API. That is why they are two separate fields, not one.
If you only use a payroll file (PAXml or Visma), the Fortnox Lön (API) part is not shown, and neither is the Vendion Payroll account for salaried employees' holiday pay.
If you run Vendion Payroll, the three salary-code parts are collapsed under the button Lönekoder för PAXml och Fortnox (salary codes for PAXml and Fortnox). Vendion Payroll does not use them; they are only needed if you send payroll to another payroll system. The SIE accounts stay open, because Vendion Payroll's payroll voucher is booked on them.
PAXml — time codes
Here you map the time types Vendion calculates: Arbetstid (working time, hourly pay), Mertid (additional time), Övertid 35 % (overtime adjoining the shift, first two hours), Övertid 70 % (adjoining, beyond that), Övertid 90 % (not adjoining), OB-tillägg 1 and OB-tillägg 2 (unsocial hours supplements), OB röd dag (public holiday), OB storhelg (major holiday), Sjukfrånvaro (sick leave), Vård av barn (care of child), Semester (vacation), Föräldraledighet (parental leave), Tjänstledighet (unpaid leave), Kompledighet (comp time off), Permission (compassionate leave), Graviditetsledighet (pregnancy leave), 10 dagar vid barns födelse (10 days at childbirth), Närståendevård (care of a seriously ill relative) and Obetald semester (unpaid vacation). The three overtime levels each have their own code, so the receiver can pay 70 % and 90 % with the right pay type.
Padding up to the minimum paid time per day (Visita/HRF agreement § 4) is sent as working time (hourly pay) that day. It needs no pay code of its own.
Additional hours are sent on exact minutes. Additional hours (mertid) are paid for the time actually worked, without rounding. A shift that ends ten minutes after the agreed time gives 0.17 hours of additional time (MER), and 40 minutes gives 0.67 hours. Overtime is rounded as the agreement says: an extension of at most ten minutes does not count as overtime, and a started half hour counts as a whole one. This applies to both the PAXml file and the direct transfer to Fortnox Lön. Additional hours used to be rounded like overtime, so the additional hours may differ from older months' files.
You handle supplements on additional hours yourselves. Fortnox and PAXml have no salary type for the supplement on additional hours (mertid). When such a supplement exists, the export shows a warning on that person's row. Add the supplement manually in the payroll system.
Public holidays and major holidays are sent as OB3 and OB4 respectively. The reason is so the receiving system can tell them apart, not that they have their own hourly rates in the agreement: Gröna riksavtalet has one ordinary unsocial-hours rate, and a public holiday only changes the time window (06–06). Major holidays are moreover 100 % of the hourly wage (s. 14), not an hourly supplement like the others.
⚠️ Do not point public holidays to OB2 because your payroll program lacks OB3. In Vendion OB2 is the night supplement (SEK 24.31/h) while a public holiday should carry the ordinary rate (SEK 27.59/h) — the workaround becomes an underpayment, not a neutral swap. If your payroll program lacks the code, create it there, or check with your payroll consultant which code corresponds to it. With the agreement's standard rules in Vendion, a public holiday has the same rate as OB-tillägg 1, SEK 27.59/h from 1 April 2026. If you have changed the rates under Lön › OB och tillägg, check them first.
OB storhelg (OB4) only carries hours if you have set up your own unsocial-hours rule for major holidays. The agreement's major holiday pay, 100 % of the hourly wage, is sent instead as the amount Storhelgstillägg among the pay codes for amounts.
PAXml — salary codes for amounts
PAXml can contain standard codes such as BONUS, TIMLÖN and FÖRSKOTT. The receiving payroll program needs the appropriate import mappings and settings. To target a specific salary code, enter its number, for example 110. Check the first import’s rows and amounts before finalising payroll.
Shift pay is sent as its own amount. A shift with a fixed fee cannot be expressed as hours, so the amount goes as its own salary code with the shift's own date. The hours for that particular shift are then left out of working time, otherwise the payroll system would pay both hourly pay and the shift fee for the same shift. So do not enter the shift pay manually in the payroll program.
Additional hours and overtime on a shift with shift pay are sent as their own item. The shift's hours count towards the weekly limit, so they can become additional hours or overtime. They are then not sent as additional hours or overtime (MER, ÖT1–ÖT3), because the payroll system pays those codes in full and the shift pay already pays for the shift. What Vendion pays for the hours on top of the shift pay (the overtime or additional-hours supplement, and for a monthly paid employee the hourly pay) goes instead as its own item, Mertid/övertid på passlönepass (additional hours/overtime on shift-pay shifts), on the shift's date. The field has no standard code: enter your pay code. If it is missing, the payroll file stops with a message, and in the direct transfer to Fortnox the person is left out. In the Visma file the code is PASSOT.
Fortnox Lön (API) — salary codes for amounts
This part is only needed if you send the payroll data directly to Fortnox instead of as a file. Fortnox has its own salary code register, and you enter the code number as it is named at your company — for example 331 for tips.
The fields are:
| Field | When it is used |
|---|---|
| Dricks, arbetsgivaren fördelar – tips, employer distributes | you decide the split — the tips carry employer contributions |
| Dricks, personalen fördelar – tips, staff distribute | the staff decide the split. This is the default in Vendion ; check your selected setting |
| Passlön – shift pay | a fixed fee for a shift |
| Mertid/övertid på passlönepass – additional hours/overtime on shift-pay shifts | additional hours and overtime on top of the shift pay. If the pay code is missing, the person is left out of the transfer |
| Storhelgstillägg – major holiday supplement | the supplement on major holidays |
| Kostförmån – meal benefit | the value of food you provide |
| Kostavdrag – meal deduction (net) | what staff pay for the food |
| Bruttojustering – gross adjustment | manual adjustment before tax |
| Retroaktiv lön – retroactive pay | the difference when a new salary applies back over a locked month. Optional: left empty it uses the gross adjustment's pay code |
| Nettojustering, avdrag – net adjustment, deduction | manual adjustment after tax that deducts |
| Nettojustering, utbetalning/utlägg – net adjustment, payout | manual adjustment after tax that pays out |
| Lön under extra ledighetsdag – pay during extra day off | hourly staff's pay for an extra day off taken (Visita/HRF § 15). The day itself is not sent as an absence |
After those come the fields for expenses, per diem, mileage, benefits and wellness allowance, for example Utlägg (expenses), Traktamente, skattefritt (tax-free per diem), Bilförmån (car benefit), Drivmedel vid bilförmån (fuel with company car) and Friskvårdsbidrag, skattefritt (tax-free wellness allowance). Here they have no default: enter your own pay codes if you use them. Under the PAXml codes, expenses, per diem and mileage are prefilled with PAXml standard codes. The benefits, fuel with company car included, have no standard code: if a benefit is used without its own pay code, the file stops. See Benefits, expenses, per diem and mileage.
The two tip fields are not interchangeable. Which one is used depends on who distributes the tips (Personal › Inställningar › Dricks › Vem fördelar dricksen?), and the two differ for tax purposes. If you run the default "staff distribute", it is Dricks, personalen fördelar that must be filled in — fill in only the other field and the tips will not come through.
An empty salary code prevents that amount from being sent. Direct transfer shows Beloppen kommer inte med (amounts will not be included), listing the affected items and amounts. Choose Avbryt and fill in the correct codes. Skicka ändå transfers time and the items that can be sent; you must then add missing amounts and check the result before finalising payroll.
Hours and absence are not affected by this part — those codes are fixed at Fortnox and go over without mapping.
Unsocial hours rates are set in Fortnox
Vendion sends unsocial hours (OB) to Fortnox as hours, not as amounts. The amount is calculated in Fortnox with the rates set there. So enter the same rates in Fortnox as in your OB rules in Vendion (Personal › Inställningar › Lön › OB och tillägg).
With Vendion's preset rules the night supplement 01–06 is added on top of ordinary unsocial hours pay: night hours get both the ordinary OB and the night supplement. The Fortnox salary code that receives the night supplement should therefore only have the night supplement's rate, not the total, or the night is paid twice. Check which salary codes and fields Fortnox uses in Fortnox or with your payroll administrator.
SIE — bookkeeping accounts
This part is used when you export an SIE payroll voucher instead of sending the data to a payroll system. You map, among others, restaurant staff salary, unsocial hours supplement, employer contributions, tips, vacation pay provision and vacation liability, employer contributions on vacation liability, staff meals, gross and net adjustments, and liability accounts for net salary and employer contributions.
White-collar staff, meaning those with the staff type Tjänsteman on the staff card, are booked automatically to the white-collar salary account, also when they have a cost centre. If you want to book certain blue-collar workers' salary to a different account, you do it with cost centres: set the account number on the cost centre and link the person to it. The cost centre's account only replaces the blue-collar salary account; OB and adjustments are booked to their own accounts. The account in the panel applies to blue-collar workers without a cost centre.
The meal deduction and VAT. Staff meals against a meal deduction count as a sale with 12 % VAT, and the deduction is the price including VAT. So both the SIE voucher from Löner and the payroll run's voucher in Vendion Payroll book the meal deduction on two accounts: of SEK 56, SEK 50 goes to the staff meals account and SEK 6 to 2620 Utgående moms, 12 % (output VAT, 12 %). The VAT is calculated per person. Months you have already exported are not changed. The VAT account is called Moms på personalens måltider (VAT on staff meals) among the accounts. The deduction is not raised to cost price; that is for your auditor to decide.
Avoid posting the same payroll twice
Agree with your accountant which system will post payroll:
- PAXml is payroll data for import into the payroll program. Review and complete payroll, declarations and any bookkeeping there according to your routines.
- SIE is a finished payroll voucher for the bookkeeping. The right route if you are not sending the data on to a payroll system.
If your payroll program posts payroll and you also import Vendion’s SIE voucher for the same month, the cost is duplicated. Downloading both files alone posts nothing. If you are unsure — ask your accountant which route you should take.
This feature is part of Vendion Staff.
Curious how it looks in practice? Read more about the product or book a short demo.
Was this article helpful?
Related articles
Connect Fortnox Lön — send payroll data without a file
Connect Vendion to Fortnox Lön so employees are mirrored there and the payroll data goes straight into Fortnox — without downloading and importing a file.
Payroll Data – Calculate and Export
The payroll data month by month: what is calculated, approval as a gate, locking before export and the routes out: PAXml, straight into Fortnox Lön, a Visma file or an SIE voucher for the bookkeeping.
Cost Centers – Distribute Staff Costs by Department
Split the business into Kitchen, Bar and Floor. How to create cost centers, why the code matters more than it looks, and the difference between how payroll is posted and how analytics measures.
