invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

Vouchers: Fortnox Vouchers

insert REST

  • Catalog: Fortnox
  • Schema: Vouchers
  • Label: Vouchers

Retrieve all vouchers Note that vouchers have two keys, one for voucher series and one for voucher number. The financial year is also specified for each voucher, this is due to the same voucher series and number is used each year. To get a unique voucher you need the voucher series, the voucher number and the financial year. These properties will always be returned where ever vouchers is used.

Can retrieve data and change data using insert.

Summary

Note that vouchers have two keys, one for voucher series and one for voucher number. The financial year is also specified for each voucher, this is due to the same voucher series and number is used each year. To get a unique voucher you need the voucher series, the voucher number and the financial year. These properties will always be returned where ever vouchers is used.

API Source

  • Endpoint: /3/vouchers
  • Operation: get /3/vouchers

Performance Characteristics

Characteristic Value
Average access latency (ms) 437
Full scan rows per minute 132,000
Point query rows per minute 168

The result can be cached on the client.

Parameters

Name Data Type Required Default Documentation
financialyear `` filter on financial year
financialyeardate `` Selects by date, what financial year that should be used (does not work on every table).
fromdate `` Defines a selection based on a start date. Only available for invoices, orders, offers, vouchers and supplierinvoices (does not work on every table).
lastmodified `` Retrieves all records since the provided timestamp (does not work on every table).
todate `` Defines a selection based on an end date. Only available for invoices, orders, offers, vouchers and supplierinvoices (does not work on every table).

Table Columns

The columns of the table Vouchers are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

Name Data Type Label Required Marks Documentation
ApprovalState int32 Approval State filters on the platform, writable, ApprovalState
Comments varchar2 Comments filters on the platform, writable, Comments
Description varchar2 Description filters on the platform, writable, Description
ReferenceNumber varchar2 Reference Number filters on the platform, writable, ReferenceNumber
ReferenceType varchar2 Reference Type filters on the platform, writable, ReferenceType
TransactionDate datetime Transaction Date filters on the platform, writable, TransactionDate
VoucherNumber int32 Voucher Number filters on the platform, writable, VoucherNumber
VoucherSeries varchar2 Voucher Series filters on the platform, writable, VoucherSeries
Year int32 Year filters on the platform, writable, Year
c_url varchar2 Call URL filters on the platform, writable, @url

Keys

Key Column Refers to Kind Description
Vouchers_VoucherSeries_Year_VoucherSeries_txt VoucherSeries VoucherSeries.Code Textual The voucher series of the voucher in the financial year of the voucher; VoucherSeries lists the series of one financial year, so a voucher of another year finds no row.
Vouchers_VoucherSeries_Year_VoucherSeries_txt Year VoucherSeries.Year Textual The voucher series of the voucher in the financial year of the voucher; VoucherSeries lists the series of one financial year, so a voucher of another year finds no row.

Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver: