Fortnox icon

Fortnox

Consume the Fortnox API

Actions110

Attendance Transaction → Create

AI-generated

Summary

Creates an attendance transaction in Fortnox for a specified employee, date, and cause code, with optional hours, project, and cost center.

Inputs

  • Employee ID (required) — ID of the employee for whom the attendance transaction is created.
  • Cause Code (required) — Attendance cause code that defines the type of transaction.
  • Date (required) — Date of the attendance in YYYY-MM-DD format.
  • Additional Fields — Optional collection of extra fields that can be supplied with the transaction.

Output shape

object

Returns the created attendance transaction as provided by the Fortnox API (typically includes the transaction ID and any server‑generated fields).

Examples

Example 1: Record 8 hours of regular work for employee 123 on 2024-09-26 using cause code ARB.

Employee ID: 123, Cause Code: ARB, Date: 2024-09-26, Additional Fields → Hours: 8

Links

Discussion