# SupplierByNumber: Fortnox Supplier by Number
Retrieve a single supplier
- Catalog: `Fortnox`
- Schema: `Suppliers`
- Label: Supplier by Number
This is a read-only table function. The Fortnox API may not support changing the data or the Invantive UniversalSQL driver for Fortnox does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Fortnox API.
## Parameters of Table Function
The following parameters can be used to control the behaviour of the table function `SupplierByNumber`. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be evaluated using their default values.
Value specification by position is done by listing all values from the first to the last needed value. For example: a `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three.
Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third.
| Name | Data Type | Required | Default Value | Documentation |
|---|:---:|:---:|:---:|---|
| `SupplierNumber` | `` | ☑ | | identifies the supplier |
| `financialyear` | `` | ☐ | | Selects what financial year that should be used (does not work on every table). |
| `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). |
## Columns of Table Function
The columns of the table function `SupplierByNumber` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `Supplier_Active` | `char` | Supplier Active | ☐ | |
| `Supplier_Address1` | `varchar2` | Supplier Address 1 | ☐ | |
| `Supplier_Address2` | `varchar2` | Supplier Address 2 | ☐ | |
| `Supplier_BG` | `varchar2` | Supplier Bankgiro | ☐ | |
| `Supplier_BIC` | `varchar2` | Supplier BIC | ☐ | |
| `Supplier_BankAccountNumber` | `varchar2` | Supplier Bank Account Number | ☐ | |
| `Supplier_Bank` | `varchar2` | Supplier Bank | ☐ | |
| `Supplier_BranchCode` | `varchar2` | Supplier Branch Code | ☐ | |
| `Supplier_City` | `varchar2(1024)` | Supplier City | ☐ | |
| `Supplier_ClearingNumber` | `varchar2` | Supplier Clearing Number | ☐ | |
| `Supplier_Comments` | `varchar2(1024)` | Supplier Comments | ☐ | |
| `Supplier_CostCenter` | `varchar2` | Supplier Cost Centre | ☐ | |
| `Supplier_CountryCode` | `varchar2(2)` | Supplier Country Code | ☐ | |
| `Supplier_Country` | `varchar2` | Supplier Country | ☐ | |
| `Supplier_Currency` | `varchar2(3)` | Supplier Currency | ☐ | |
| `Supplier_DisablePaymentFile` | `char` | Supplier Disable Payment File | ☐ | |
| `Supplier_Email` | `varchar2` | Supplier Email | ☐ | |
| `Supplier_Fax` | `varchar2` | Supplier Fax | ☐ | |
| `Supplier_IBAN` | `varchar2` | Supplier IBAN | ☐ | |
| `Supplier_Name` | `varchar2(1024)` | Supplier Name | ☐ | |
| `Supplier_OrganisationNumber` | `varchar2` | Supplier Organisation Number | ☐ | |
| `Supplier_OurCustomerNumber` | `varchar2` | Supplier Our Customernumber | ☐ | |
| `Supplier_OurReference` | `varchar2` | Supplier Ourreference | ☐ | |
| `Supplier_PG` | `varchar2` | Supplier Plusgiro | ☐ | |
| `Supplier_Phone1` | `varchar2(1024)` | Supplier Phone 1 | ☐ | |
| `Supplier_Phone2` | `varchar2(1024)` | Supplier Phone 2 | ☐ | |
| `Supplier_PreDefinedAccount` | `varchar2(4)` | Supplier Predefined Account | ☐ | |
| `Supplier_Project` | `varchar2` | Supplier Project | ☐ | |
| `Supplier_SupplierNumber` | `varchar2` | Supplier Number | ☐ | |
| `Supplier_TermsOfPayment` | `varchar2` | Supplier Terms of Payment | ☐ | |
| `Supplier_VATNumber` | `varchar2` | Supplier VAT Number | ☐ | |
| `Supplier_VATType` | `varchar2` | Supplier VAT Type | ☐ | |
| `Supplier_VisitingAddress` | `varchar2` | Supplier Visiting Address | ☐ | |
| `Supplier_VisitingCity` | `varchar2` | Supplier Visiting City | ☐ | |
| `Supplier_VisitingCountryCode` | `varchar2` | Supplier Visiting Country Code | ☐ | |
| `Supplier_VisitingCountry` | `varchar2` | Supplier Visiting Country | ☐ | |
| `Supplier_VisitingZipCode` | `varchar2` | Supplier Visiting Zip Code | ☐ | |
| `Supplier_WWW` | `varchar2` | Supplier Www | ☐ | |
| `Supplier_WorkPlace` | `varchar2` | Supplier Work Place | ☐ | |
| `Supplier_YourReference` | `varchar2` | Supplier Your Reference | ☐ | |
| `Supplier_ZipCode` | `varchar2` | Supplier Zip Code | ☐ | |
| `Supplier__url` | `varchar2` | Supplier URL | ☐ | |