In our next release, planned for release the week starting with Oct 5th, some new properties will be added to the API. It should be noted that these properties will not initially be of practical use for the majority of our customers, as the corresponding functionality in the client (frontend) of Fortnox will only be available for a small number of pilot customers for now. Nevertheless integrations will need to cater for these new properties from start as they will be exposed for all customers. Later on, the functionality in the client will be released for all customers, making the properties more practically usable in integrations as well.

Vouchers

New property on VoucherRows: Quantity

  • Type: Float
  • Readable: Yes
  • Writable: Yes
  • Mandatory: No
  • Default value: 0

Example:

"VoucherRows": [
  {
    [...]
    "Account": 3011,
    "Credit": 499,
    "Project": 0,
    "Quantity": 4.5
    [...]
  }

Accounts

New property: QuantitySettings

  • Type: String
  • Readable: Yes
  • Writable: No
  • Mandatory: No
  • Default value: ALLOWED
  • Allowed values: MANDATORY, ALLOWED, NOTALLOWED

New property: QuantityUnits

  • Type: String
  • Readable: Yes
  • Writable: No
  • Mandatory: No
  • Default value: <empty>

New property: OpeningQuantities

  • Type: Array (see below for the two properties in this array)
  • Readable: Yes
  • Writable: Yes
  • Mandatory: No
  • Default: null

   OpeningQuantities > Project

  • Type: Integer
  • Readable: Yes
  • Writable: Yes
  • Mandatory: Yes (If OpeningQuantities is used)
  • Allowed values: Existing project number in resource projects  or 0 (zero=unspecified project)

   OpeningQuantities > Balance

  • Type: Float
  • Readable: Yes
  • Writable: Yes
  • Mandatory: Yes (If OpeningQuantities is used)

Example:

[...]
    "Year": 1,
    "QuantitySettings": "ALLOWED",
    "QuantityUnit": "st",
    "OpeningQuantities": [
      {
        "Project": 0,
        "Balance": 34.2
      },
      {
        "Project": 1,
        "Balance": 599
      },
      {
        "Project": 2,
        "Balance": 0
      }
[...]