Fortnox icon

Fortnox

Consume the Fortnox API

Actions110

Absence Transaction → Create

AI-generated

Summary

Create an absence transaction record in Fortnox

Inputs

  • EmployeeId (required) — ID of the employee
  • CauseCode (required) — Absence cause code from Fortnox codes (ASK, ATF, FPE, FRA, HAV, KOM, MIL, NAR, OS1-OS5, PAP, PEM, PER, SEM, SJK, SMB, SVE, TJL, UTB, VAB)
  • Date (required) — Date of the absence (YYYY-MM-DD)
  • additionalFields — Optional additional fields for the absence transaction

Output shape

Created absence transaction record as returned by the Fortnox API

additionalFields can include Extent (percentage 0-100), Hours Amount, Project code, and Cost Center code if needed.

Examples

Example 1: Create a standard absence entry

Set EmployeeId to the employee's identifier, select a CauseCode from the listed options, provide the Date in YYYY-MM-DD format, and optionally include additionalFields for extent, hours, project, or cost center.

Links

Discussion