Actions110
- Absence Transaction Actions
- Access Token Actions
- Account Actions
- Article Actions
- Attendance Transaction Actions
- Company Information Actions
- Contract Actions
- Cost Center Actions
- Customer Actions
- Employee Actions
- Expense Actions
- Financial Year Actions
- Invoice Actions
- Invoice Accrual Actions
- Invoice Payment Actions
- Offer Actions
- Order Actions
- Price Actions
- Price List Actions
- Project Actions
- Salary Transaction Actions
- Schedule Time Actions
- Supplier Actions
- Supplier Invoice Accrual Actions
- Supplier Invoice Payment Actions
- Tax Reduction Actions
- Voucher Actions
Attendance Transaction → Create
AI-generatedSummary
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