Fortnox icon

Fortnox

Consume the Fortnox API

Actions110

Salary Transaction → Create

AI-generated

Summary

Create a salary transaction in Fortnox

Inputs

  • EmployeeId (required) — ID of the employee
  • SalaryCode (required) — Salary code for the transaction
  • Date (required) — Date of the transaction (YYYY-MM-DD)
  • additionalFields — Optional additional fields for the salary transaction (collection of fields: Number, Amount, Total, Expense, TextRow, Project, CostCenter)

Output shape

The created salary transaction object as returned by the Fortnox API

The operation sends a POST request to the Fortnox Salary Transaction endpoint with the supplied parameters.

Examples

Example 1: Create a basic salary transaction

Set EmployeeId to '123', SalaryCode to 'SAL1', Date to '2024-01-15'.

Example 2: Create a salary transaction with additional fields

Set EmployeeId to '123', SalaryCode to 'SAL1', Date to '2024-01-15', and add additional fields: Amount = 5000, Project = 'PRJ01'.

Links

Discussion