Fortnox icon

Fortnox

Consume the Fortnox API

Actions110

Order → Create

AI-generated

Summary

Create a new order in Fortnox

Inputs

  • CustomerNumber (required) — Customer number for the order
  • OrderRows — Rows of the order (collection). Each row can contain the following fields: ArticleNumber (string), Description (string), OrderedQuantity (number), DeliveredQuantity (number), AccountNumber (number), Price (number), Discount (number), DiscountType (options: PERCENT or AMOUNT), Unit (string), VAT (number), CostCenter (string), Project (string)
  • additionalFields — Additional order fields such as addresses, dates, currency, language, tax reduction type, etc. Includes: Address1, Address2, City, CostCenter, Country, Currency, DeliveryAddress1, DeliveryAddress2, DeliveryCity, DeliveryCountry, DeliveryDate (YYYY-MM-DD), DeliveryName, DeliveryZipCode, DueDate (YYYY-MM-DD), Email, ExternalInvoiceReference1, ExternalInvoiceReference2, Language (options: SV or EN), OrderDate (YYYY-MM-DD), OurReference, Phone1, Phone2, Project, Remarks, TaxReductionType (options: none, rot, rut, green), TermsOfDelivery, TermsOfPayment, VATIncluded (boolean), WayOfDelivery, YourOrderNumber, YourReference, ZipCode

Output shape

object

Returns the created order from Fortnox, typically containing the order number and other details.

Examples

Example 1: Create a simple order with one row

Set CustomerNumber to '12345', add one OrderRow with ArticleNumber 'ART001', Description 'Consulting', OrderedQuantity 2, Price 1000, VAT 25, and optionally set DeliveryDate and Currency.

Links

Discussion