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 |
|---|---|---|---|---|---|
Approval |
int32 |
Approval State | filters on the platform, writable, Approval |
||
Comments |
varchar2 |
Comments | filters on the platform, writable, Comments |
||
Description |
varchar2 |
Description | filters on the platform, writable, Description |
||
Reference |
varchar2 |
Reference Number | filters on the platform, writable, Reference |
||
Reference |
varchar2 |
Reference Type | filters on the platform, writable, Reference |
||
Transaction |
datetime |
Transaction Date | filters on the platform, writable, Transaction |
||
Voucher |
int32 |
Voucher Number | filters on the platform, writable, Voucher |
||
Voucher |
varchar2 |
Voucher Series | filters on the platform, writable, Voucher |
||
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_ |
Voucher |
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_ |
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: