# SupplierInvoiceByGivenNumber: Fortnox Supplier Invoice by Given Number Retrieve a single supplier invoice - Catalog: `Fortnox` - Schema: `SupplierInvoices` - Label: Supplier Invoice by Given 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 `SupplierInvoiceByGivenNumber`. 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 | |---|:---:|:---:|:---:|---| | `GivenNumber` | `` | ☑ | | identifies the invoice | | `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 `SupplierInvoiceByGivenNumber` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `SupplierInvoice_AccountingMethod` | `varchar2` | Supplier Invoice Accounting Method | ☐ | | | `SupplierInvoice_AdministrationFee` | `varchar2` | Supplier Invoice Administration Fee | ☐ | | | `SupplierInvoice_Balance` | `varchar2` | Supplier Invoice Balance | ☐ | | | `SupplierInvoice_Booked` | `char` | Supplier Invoice Booked | ☐ | | | `SupplierInvoice_Cancelled` | `char` | Supplier Invoice Cancelled | ☐ | | | `SupplierInvoice_Comments` | `varchar2(1000)` | Supplier Invoice Comments | ☐ | | | `SupplierInvoice_CostCenter` | `varchar2` | Supplier Invoice Cost Centre | ☐ | | | `SupplierInvoice_CreditReference` | `int32` | Supplier Invoice Credit Reference | ☐ | | | `SupplierInvoice_Credit` | `char` | Supplier Invoice Credit | ☐ | | | `SupplierInvoice_CurrencyRate` | `varchar2` | Supplier Invoice Currency Rate | ☐ | | | `SupplierInvoice_CurrencyUnit` | `double` | Supplier Invoice Currency Unit | ☐ | | | `SupplierInvoice_Currency` | `varchar2` | Supplier Invoice Currency | ☐ | | | `SupplierInvoice_DisablePaymentFile` | `char` | Supplier Invoice Disable Payment File | ☐ | | | `SupplierInvoice_DueDate` | `datetime` | Supplier Invoice Duedate | ☐ | | | `SupplierInvoice_ExternalInvoiceNumber` | `varchar2` | Supplier Invoice External Invoice Number | ☐ | | | `SupplierInvoice_ExternalInvoiceSeries` | `varchar2` | Supplier Invoice External Invoice Series | ☐ | | | `SupplierInvoice_FinalPayDate` | `datetime` | Supplier Invoice Final Pay Date | ☐ | | | `SupplierInvoice_Freight` | `varchar2` | Supplier Invoice Freight | ☐ | | | `SupplierInvoice_GivenNumber` | `varchar2` | Supplier Invoice Given Number | ☐ | | | `SupplierInvoice_InvoiceDate` | `datetime` | Supplier Invoice Date | ☐ | | | `SupplierInvoice_InvoiceNumber` | `varchar2(64)` | Supplier Invoice Number | ☐ | | | `SupplierInvoice_OCR` | `varchar2` | Supplier Invoice Ocr | ☐ | | | `SupplierInvoice_OurReference` | `varchar2(50)` | Supplier Invoice Ourreference | ☐ | | | `SupplierInvoice_PaymentPending` | `char` | Supplier Invoice Payment Pending | ☐ | | | `SupplierInvoice_Project` | `varchar2` | Supplier Invoice Project | ☐ | | | `SupplierInvoice_RoundOffValue` | `varchar2` | Supplier Invoice Round Off Value | ☐ | | | `SupplierInvoice_SalesType` | `varchar2` | Supplier Invoice Sales Type | ☐ | | | `SupplierInvoice_SupplierName` | `varchar2` | Supplier Invoice Supplier Name | ☐ | | | `SupplierInvoice_SupplierNumber` | `varchar2` | Supplier Invoice Supplier Number | ☐ | | | `SupplierInvoice_Total` | `varchar2` | Supplier Invoice Total | ☐ | | | `SupplierInvoice_VATType` | `varchar2` | Supplier Invoice VAT Type | ☐ | | | `SupplierInvoice_VAT` | `varchar2` | Supplier Invoice VAT | ☐ | | | `SupplierInvoice_VoucherNumber` | `int32` | Supplier Invoice Voucher Number | ☐ | | | `SupplierInvoice_VoucherSeries` | `varchar2` | Supplier Invoice Voucher Series | ☐ | | | `SupplierInvoice_VoucherYear` | `int32` | Supplier Invoice Voucher Year | ☐ | | | `SupplierInvoice_YourReference` | `varchar2(50)` | Supplier Invoice Your Reference | ☐ | | | `SupplierInvoice__url` | `varchar2` | Supplier Invoice URL | ☐ | |