SupplierPaymentByVarious |
Get a specific SupplierPayment by type and numberData for a single supplier payment. The response headers include an ETag after a successful GET operation.
Catalog: VismaNet
Schema: SupplierPayment
Label: {res:itgen_vnet_supplierpaymentbyvarious_plural}
This is a read-only table function. The Visma.net Financials API may not support changing the data or the Invantive UniversalSQL driver for Visma.net Financials does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Visma.net Financials API.
Parameters of Table Function
The following parameters can be used to control the behaviour of the table function SupplierPaymentByVarious. 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 |
---|---|---|---|---|
paymentNumber |
string |
☑ |
|
Identifies the Supplier document number |
paymentType |
string |
☑ |
|
Identifies the Supplier document type |
Columns of Table Function
The columns of the table function SupplierPaymentByVarious are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
applicationDate |
datetime |
Application Date |
☐ |
Mandatory field: The top part > Date* > The date when the payment is applied. The default value is the current business date. |
applicationPeriod |
string |
Application Period |
☐ |
MAndatory field: The top part > Financial period* > The financial period of payment application. |
appliedAmount |
double |
{res:itgen_vnet_appliedamount} |
☐ |
The top part > Amount > The amount to be applied on the application date. |
balance |
double |
Balance |
☐ |
Balance of the payment remaining to be applied and released. Only released applications will count towards the balance. |
branch |
string |
Branch |
☐ |
|
cashAccount |
string |
Cash Account |
☐ |
Mandatory field: The top part > Cash account* > The cash account associated with the payment method. |
COMPANY_CODE |
string(30) |
Company Code |
☑ |
Partition code, segmenting the data. |
COMPANY_NAME |
string(240) |
Company Name |
☑ |
Name of the partition. |
currency_decimalPrecision |
int32 |
{res:itgen_vnet_currency_decimalprecision} |
☐ |
Decimal precision. |
currency_description |
string |
Currency Description |
☐ |
Currency description. |
currency_id |
string |
Currency ID |
☐ |
Currency Id. |
currency_isBaseCurrency |
boolean |
{res:itgen_vnet_currency_isbasecurrency} |
☐ |
Identify if the currency is the base currency. |
currency_isUsedForAccounting |
boolean |
{res:itgen_vnet_currency_isusedforaccounting} |
☐ |
Identify if is used for accounting. |
currency_symbol |
string |
{res:itgen_vnet_currency_symbol} |
☐ |
Currency symbol. |
description |
string |
Description |
☐ |
The top part > Description > A description for the payment. You may use up to 50 alphanumeric characters. |
documentType |
string |
Document Type |
☐ |
The top part > Voucher no. > The unique identifier of the supplier ledger document. |
errorInfo |
string |
Error Message |
☐ |
|
financeCharges |
double |
Finance Charges |
☐ |
The top part > Finance charges > The total on all finance charges applied to this document. |
hold |
boolean |
Hold |
☐ |
The top part > Hold > A check box that means (if selected) that the status of the document is On hold. |
lastModifiedDateTime |
datetime |
Last Modified |
☐ |
Background information: The date and time when the document has been last modified. |
location_countryId |
string |
Location Country ID |
☐ |
Location*. |
location_id |
string |
Location ID |
☐ |
Click the magnifier > The identifier |
location_name |
string |
Location Name |
☐ |
Click the magnifier > The displayed name |
metadata_maxPageSize |
int64 |
Metadata Max Pagesize |
☐ |
|
metadata_totalCount |
int64 |
Total Count |
☐ |
|
paymentAmount |
double |
Payment Amount |
☐ |
The top part > Payment amount > The total payment amount that should be applied to the documents. |
paymentMethod |
string |
{res:itgen_vnet_paymentmethod} |
☐ |
Mandatory field: The top part > Payment method* > The payment method associated with the supplier. |
paymentRef |
string |
Payment Reference |
☐ |
The top part > Payment ref. > A payment reference number. |
refNbr |
string |
Reference Number |
☐ |
The top part > Voucher no. > The unique identifier of the supplier ledger document. |
released |
boolean |
Released |
☐ |
Background information: if this check box is selected, the document has been released. |
status |
string |
Status |
☐ |
The top part > Status > The status of the supplier ledger document, which can be one of the following: On Hold, Printed, Open, Reserved, Closed, Voided, Released. |
supplier_internalId |
int32 |
Supplier Internal ID |
☐ |
|
supplier_name |
string |
Supplier Name |
☐ |
The name of the particular destination of the selected type. |
supplier_number |
string |
Supplier Number |
☐ |
The identifier of the particular destination of the selected type. |
timeStamp |
byte[] |
Timestamp |
☐ |
Identifier that represents a specific version of the resource.It helps to prevent simultaneous updates of the resource from overwriting each other (by using ETags and If-Match headers) |
type |
string |
Type |
☐ |
The top part > Type >The type of supplier ledger payment document. The following types are available: Payment, PUrchase credit note, Prepayment, Supplier refund, Voided payment. |
unappliedBalance |
double |
{res:itgen_vnet_unappliedbalance} |
☐ |
The top part > Unapplied balance > The balance that has not been applied. This will be a non-zero value if the payment amount is not equal to a document's total amount. Checks shall always have a zero unapplied balance. |
23-06-2025 19:16 Version 24.1.116-BETA+5455