Fortnox icon

Fortnox

Consume the Fortnox API

Actions110

Attendance Transaction → Update

AI-generated

Summary

Update an attendance transaction in Fortnox by specifying its ID and optionally changing Employee ID, Cause Code, Date, Hours, Project, or Cost Center.

Inputs

  • ID (required) — ID of the attendance transaction to update
  • Update Fields — Fields to update on the attendance transaction (optional fields are only applied when set). It may contain any combination of the following subfields: Employee ID, Cause Code, Date, Hours, Project, Cost Center.

Output shape

Fortnox API response for the updated attendance transaction (typically the full transaction object).

If the update succeeds, the operation returns the updated transaction data; errors from Fortnox are propagated as node errors.

Examples

Example 1: Mark an attendance transaction as worked on a project

Set ID to the transaction ID, then in Update Fields set Project to 'PROJ-123' and Hours to 8.

Links

Discussion