Join us at Fortnox App Market today!

New Fortnox Salary API endpoint

A new Fortnox Salary API endpoint has been added to allow users to retrieve the basis for a posted vacation debt. 

The basis returned includes the number of unused and earned vacation days, the value for each kind of day. It also includes the employer contribution fee and the percentage rate used to compute the fee. 

 
When: The new endpoint is available now.

Requirement: Scope: Salary and companies must use the payroll Post Holiday Debt feature.

How: GET request with year and month parameters in the url will return detailed debt basis per employee. 

Example: GET /vacationdebtbasis/2022/3

{
  "VacationDebtBasis": {
    "Year": "2022",
    "Month": "3",
    "LastDay": "2022-03-31",
    "VoucherNumber": 100,
    "VoucherSeries": "L",
    "VoucherYear": 2,
    "Employees": [
      {
        "EmployeeId": "1",
        "EmployeeName": "Siv Ljunggren",
        "DaysEarned": 1,
        "WageEarned": 502,
        "VariableEarned": 501,
        "DebtEarned": 1002,
        "DaysUnused": 1,
        "WageUnused": 400,
        "VariableUnused": 601,
        "DebtUnused": 1001,
        "DaysSaved": 1,
        "WageSaved": 1000,
        "DebtSaved": 1000,
        "DebtAdvance": 1003,
        "TotalDebtEmployee": 4006,
        "TotalDebtEmployerContribution": 1002
      },
      {
        "EmployeeId": "3",
        "EmployeeName": "Birgitta Berg",
        "DaysEarned": 3,
        "WageEarned": 1502,
        "VariableEarned": 1501,
        "DebtEarned": 3002,
        "DaysUnused": 3,
        "WageUnused": 1200,
        "VariableUnused": 1801,
        "DebtUnused": 3001,
        "DaysSaved": 3,
        "WageSaved": 3000,
        "DebtSaved": 3000,
        "DebtAdvance": 3003,
        "TotalDebtEmployee": 12006,
        "TotalDebtEmployerContribution": 3002
      }
    ]
  }
}