Fortnox icon

Fortnox

Consume the Fortnox API

Actions110

Account → Update

AI-generated

Summary

Update an existing Fortnox account

Inputs

  • Number (required) — The account number of the account to update.
  • updateFields.Active — Whether the account is active.
  • updateFields.BalanceBroughtForward — Balance brought forward.
  • updateFields.CostCenter — Cost center code.
  • updateFields.CostCenterSettings — Specifies whether the cost center is allowed, mandatory, or not allowed.
  • updateFields.Description — Description of the account.
  • updateFields.Project — Project code.
  • updateFields.ProjectSettings — Specifies whether the project is allowed, mandatory, or not allowed.
  • updateFields.SRU — SRU code.
  • updateFields.TransactionInformation — Transaction information.
  • updateFields.TransactionInformationSettings — Specifies whether transaction information is allowed, mandatory, or not allowed.
  • updateFields.VATCode — VAT code.
  • updateFields.Year — Financial year.

Output shape

object

Returns the updated account record as provided by the Fortnox API.

Examples

Example 1: Change an account's description and activate it

Set Number=1000, updateFields.Description='New description', updateFields.Active=true

Links

Discussion