Fortnox icon

Fortnox

Interact with the Fortnox accounting API

Order → Create

AI-generated

Summary

Create a new sales order in Fortnox for a specified customer, including detailed line items and optional additional order information.

Inputs

  • tenantId (required) — The numeric tenant identifier for the Fortnox company, obtained during OAuth onboarding.
  • customerNumber (required) — The customer number from the Fortnox customer register for whom the order is created.
  • orderRows — An array of line items for the order where each item must include either an ArticleNumber or an AccountNumber, along with optional pricing, quantity, and tax details.
  • additionalFields — Optional additional fields to set various order-level details such as billing and delivery addresses, order dates, references, language, remarks, terms, and other metadata.

Output shape

a single record

Returns the created order object as returned by the Fortnox API, reflecting all submitted order data including assigned document numbers and details.

Links

Discussion