Actions25
Invoice → Update
AI-generatedSummary
Update an unbooked (draft) invoice in Fortnox by specifying its document number and the fields to change, including optional changes to invoice rows.
Inputs
- Tenant ID (required) — The numeric tenant identifier for the Fortnox company, obtained during OAuth onboarding.
- Document Number (required) — The invoice document number in Fortnox identifying which invoice to update.
- Update Fields — Fields to update on the invoice; only applicable to unbooked (draft) invoices. Includes customer number, comments, currency, due date, freight, invoice date, invoice type, language, references, remarks, payment terms, VAT included flag, your order number, your reference, and updated invoice rows. Invoice rows require either an ArticleNumber or AccountNumber per row. Optionally exclude invoice rows with zero price before sending to Fortnox.
Output shape
a single updated invoice record
Returns the updated invoice object from Fortnox after applying the specified changes. Only draft invoices can be updated; attempting to update booked invoices will fail.
Examples
Example 1: Update the due date and add a comment to a draft invoice while changing the invoice rows, excluding any rows with a zero price.
Set Tenant ID and Document Number identifying the invoice. Under Update Fields, set Due Date, Comments, and Invoice Rows with the desired changes. Enable Exclude Zero Price Rows if needed.