SupplierPaymentLines: Visma.net Financials Supplier Payment Lines |
Get all SupplierPayments.Request page size must be lower or equal to the allowed max page size which is returned as part of the metadata information.If requested page size is greater than allowed max page size, request will be limited to max page sizeScreenId=AP302000
Catalog: VismaNet
Schema: SupplierPayment
Label: Supplier Payment Lines
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 SupplierPaymentLines. 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 |
---|---|---|---|---|
balance |
double |
☐ |
|
This value represents balance of the payment remaining to be applied and released. Only released applications will count towards the balance._Note:_ __Balance__ and __BalanceCondition__ are __mutually inclusive__. |
balanceCondition |
string |
☐ |
|
This value represents the condition to be applied to the Balance when retrieving records.Accepted values (without the single quotes):* '>' for greater than* '<' for less than* '>=' for greater than or equal* '<=' for less than or equal_Note:_ __Balance__ and __BalanceCondition__ are __mutually inclusive__. |
branch |
string |
☐ |
|
Filter by Branch |
docDate |
datetime |
☐ |
|
This value indicates the document date. Use it to retrieve all records that have the Document Date since that time, up to the future.Accepted format:* ```yyyy-MM-dd```* ```yyyy-MM-dd```* ```yyyy-MM-dd```* ```yyyy-MM-dd```* ```yyyy-MM-dd```_Note:_ __DocDate__ and __DocDateCondition__ are __mutually inclusive__. |
docDateCondition |
string |
☐ |
|
This value represents the condition to be applied to the Document Date when retrieving records.Accepted values (without the single quotes):* '>' for greater than* '<' for less than* '>=' for greater than or equal* '<=' for less than or equal_Note:_ __DocDate__ and __DocDateCondition__ are __mutually inclusive__. |
dueDate |
datetime |
☐ |
|
This value indicates the date the document is due for payment. Use it to retrieve all records that have the Due date since that time, up to the future.Accepted format:* ```yyyy-MM-dd```* ```yyyy-MM-dd```* ```yyyy-MM-dd```* ```yyyy-MM-dd```* ```yyyy-MM-dd```_Note:_ __DueDate__ and __DueDateConditionCondition__ are __mutually inclusive__. |
dueDateCondition |
string |
☐ |
|
This value represents the condition to be applied to the Due Date when retrieving records.Accepted values (without the single quotes):* '>' for greater than* '<' for less than* '>=' for greater than or equal* '<=' for less than or equal_Note:_ __DueDate__ and __DueDateCondition__ are __mutually inclusive__. |
financialPeriod |
string |
☐ |
|
Filter by financial period, format YYYYPP |
greaterThanValue |
string |
☐ |
|
Enter the from-value for Ref. no. |
invoiceRefNbr |
string |
☐ |
|
|
lastModifiedDateTime |
string |
☐ |
|
This value, generated by the system, indicates the last time the record was modified. Use it to retrieve all records that have been modified since that time, up to the present.Accepted format:* ```yyyy-MM-dd```* ```yyyy-MM-dd HH:mm:ss```* ```yyyy-MM-dd HH:mm:ss.FFF```* ```yyyy-MM-ddTHH:mm:ss```* ```yyyy-MM-ddTHH:mm:ss.FFF```_Note:_ __LastModifiedDateTime__ and __LastModifiedDateTimeCondition__ are __mutually inclusive__. |
lastModifiedDateTimeCondition |
string |
☐ |
|
This value represents the condition to be applied when retrieving records.Accepted values (without the single quotes):* '>' for greater than* '<' for less than* '>=' for greater than or equal* '<=' for less than or equal_Note:_ __LastModifiedDateTime__ and __LastModifiedDateTimeCondition__ are __mutually inclusive__. |
paymentType |
string |
☐ |
|
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. (Values: Payment, DebitAdj, Prepayment, Refund, VoidPayment, VoidRefund) |
status |
string |
☐ |
|
Filter by document status (Values: Hold, Balanced, Voided, Scheduled, Open, Closed, Printed, Prebooked, PendingApproval, Rejected, Reserved, PendingPrint) |
supplier |
string |
☐ |
|
Filter by Supplier |
Columns of Table Function
The columns of the table function SupplierPaymentLines are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
amountPaid |
double |
Amount Paid |
☐ |
|
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_2 |
string |
{res:itgen_vnet_applicationperiod_2} |
☐ |
MAndatory field: The top part > Financial period* > The financial period of payment application. |
applicationPeriod |
string |
Application Period |
☐ |
|
appliedAmount |
double |
{res:itgen_vnet_appliedamount} |
☐ |
The top part > Amount > The amount to be applied on the application date. |
balance_2 |
double |
{res:itgen_vnet_balance_2} |
☐ |
Balance of the payment remaining to be applied and released. Only released applications will count towards the balance. |
balance |
double |
Balance |
☐ |
|
batchNumber |
string |
Batch Number |
☐ |
|
branch_2 |
string |
{res:itgen_vnet_branch_2} |
☐ |
|
branch |
string |
Branch |
☐ |
|
cashAccount |
string |
Cash Account |
☐ |
Mandatory field: The top part > Cash account* > The cash account associated with the payment method. |
cashDiscountBalance |
double |
{res:itgen_vnet_cashdiscountbalance} |
☐ |
|
cashDiscountDate |
datetime |
Cash Discount Date |
☐ |
|
cashDiscountTaken |
double |
{res:itgen_vnet_cashdiscounttaken} |
☐ |
|
COMPANY_CODE |
string(30) |
Company Code |
☑ |
Partition code, segmenting the data. |
COMPANY_NAME |
string(240) |
Company Name |
☑ |
Name of the partition. |
currency_2_decimalPrecision |
int32 |
{res:itgen_vnet_currency_2_decimalprecision} |
☐ |
Decimal precision. |
currency_2_description |
string |
{res:itgen_vnet_currency_2_description} |
☐ |
Currency description. |
currency_2_id |
string |
{res:itgen_vnet_currency_2_id} |
☐ |
Currency Id. |
currency_2_isBaseCurrency |
boolean |
{res:itgen_vnet_currency_2_isbasecurrency} |
☐ |
Identify if the currency is the base currency. |
currency_2_isUsedForAccounting |
boolean |
{res:itgen_vnet_currency_2_isusedforaccounting} |
☐ |
Identify if is used for accounting. |
currency_2_symbol |
string |
{res:itgen_vnet_currency_2_symbol} |
☐ |
Currency symbol. |
currency |
string |
Currency |
☐ |
|
date |
datetime |
Date |
☐ |
|
description_2 |
string |
Description 2 |
☐ |
The top part > Description > A description for the payment. You may use up to 50 alphanumeric characters. |
description |
string |
Description |
☐ |
|
docType |
string |
Document Type |
☐ |
|
documentType |
string |
Document Type |
☐ |
The top part > Voucher no. > The unique identifier of the supplier ledger document. |
dueDate |
datetime |
Due Date |
☐ |
|
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. |
invoiceRefNbr |
string |
{res:itgen_vnet_invoicerefnbr} |
☐ |
|
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. |
postPeriod |
string |
Post Period |
☐ |
|
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. |
supplierRef |
string |
Supplier Reference |
☐ |
|
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. |
withholdingTax |
double |
{res:itgen_vnet_withholdingtax} |
☐ |
|
23-06-2025 19:16 Version 24.1.116-BETA+5455