Fortnox icon

Fortnox

Consume the Fortnox API

Actions110

Invoice Accrual → Update

AI-generated

Summary

Updates an existing invoice accrual in Fortnox.

Inputs

  • InvoiceNumber (required) — The invoice number of the accrual to update.
  • updateFields — Collection of fields to update on the accrual. Provide any subset of the following: Description (string), EndDate (YYYY-MM-DD), StartDate (YYYY-MM-DD), Times (number), Total (number).
  • InvoiceAccrualRows — Fixed collection of rows to update on the accrual. Each row can include Account (number), Credit (number), Debit (number), and TransactionInformation (string). Multiple rows can be supplied.

Output shape

object

Returns the updated invoice accrual as provided by the Fortnox API (typically includes the fields sent plus any system-generated data).

Examples

Example 1: Update description and total of an accrual

Set Invoice Number to 12345, enable Update Fields and provide Description = 'Updated description', Total = 1500.

Links

Discussion