Informacija Atsiprašome, šis skyrius galimas tik anglų kalba.

A file prepared in FiDAViSta format can consist of several parts that are combined under the element of one set (Root) under a field name. In this Root element the reference on the location of XML scheme also is given, where the specified file ends in 4-digit version number. The possible groups of the field set are as follows:

  • Header – A group of header fields, which contains information on the preparer of the file and the file preparation time.
  • Statement – A field group of the account statement that is used for storing bank account statements or account report information data. (will be available soon).
  • PmtStat – Payment status set that maintains information on payment statuses on the base of previously specified identifiers. (will be available soon).
  • Payment – Group of payment fields, which contains information on payments (domestic, budget, international, salary payments, etc.).

Header

Tag
Min Length
Max Length
Type
O/M
Description
Header
Timestamp
17
17
xs:string
O
File preparation time, format YYYYMMDDHHMMSSsss
From
0
70
xs:string
O
Preparer’s identifier
Extension
Header
-
-
ExtensionType
O
Field for the location of additional elements

Payment status

Tag
Min Length
Max Length
Type
O/M
Description
PmtStat ExtId
0
10
SwiftStringType
O
Reference to the payment identifier (payment identifier is specified in the payment)
BenExtId
0
5
SwiftStringType
O
Reference to the payment identifier (payment identifier is specified in the payment)
BankRef
0
25
xs:string
O
Bank reference
DocNo
1
10
xs:string
M
Payment/document number
StatCode
1
1
xs:string
M
Payment status code:
E – Executed or booked
R – Revoked
P – Processing
O – Other status
InfoToCustomer
0
70
xs:string
O
Explanation of payment status/error message
BookDate
10
10
xs:date
O
Payment date (only for executed payments). Format YYYY-MM-DD
RegDate
10
10
xs:date
O
Payment order registration date – the same as specified in the file “Payment”. Format YYYY-MM-DD
Extension
PmtStat
-
-
ExtensionType
O
Field for the location of additional elements

Payments

Tag
Min Length
Max Length
Type
O/M
Description
Payment ExtId
0
10
SwiftStringType
O
Unique payment identifier in the "external" (accounting) system. By this identifier the "PmtStat" requests are made. And by this identifier the link of the booking with the exported payment order can be found in the "Statement" file
DocNo
1
10
SwiftStringType
M
Payment/document number. It is assigned by the user in the accounting system
RegDate
10
10
xs:date
O
Payment order registration date in the accounting system. Format YYYY-MM-DD. When exporting “PmtStat” for a certain period from the bank system, the selection is made by this field
TaxPmtFlg
1
1
xs:string
Default value - N
M
Indication that the payment is or is not a tax payment. Possible values:
Y – Tax payment
N- Normal payment
Ccy
3
3
CurrencyType
M
Payment currency
PmtInfo
0
140
EksStringType
O
Payment details. (Information for the beneficiary)
BankInfo
0
140
xs:string
O
Information for the bank
PayLegalId
0
20
LegalIDType
O
Payer’s registration number, personal ID or tax payer’s code. In the case of the tax payment, the content of this field, if filled out, will be sent as the tax payer’s code
PayAccNo
1
34
AccountMType
M
Payer’s account number
PaySubAccNo
0
34
AccountOType
O
Payer’s sub account number
DebitCcy
3
3
CurrencyType
O
Debited currency
If this field is not filled out, the bank assumes that the content of this field is by default:
- In case of a single-currency account – the account currency
- In case of a multi-currency account – the payment currency
If, in the case of a multi-currency account, the position in the payment currency is not open, it will be interpreted at the bank’s discretion.
BenSet
-
-
-
M
Beneficiary data
BenExtId
0
5
SwiftStringType
O
Unique beneficiary’s identifier within the payment order. Recommended to be filled in case of the “Mass payment”. By this field the accounting system will be able to identify the payment in other files (“Payment status”, “Statement”)
Priority
1
1
xs:string
N / U / X
Default value - N
M
Payment priority:
N – Normal
U – Skubus
X – Express
Default value - N
Comm
3
3
xs:string
OUR / BEN /
SHA
Default value - OUR
M
Commission type:
OUR – Payer
BEN - Beneficiary
SHA - Shared
Default value - OUR
Amt
1
12
AmountType
M
Payment amount. Dot is used as a decimal separator ’.’
BenAccNo
0
34
AccountOType
O
Beneficiary’s account number
BenSubAccNo
0
34
AccountOType
O
Beneficiary’s sub account number
BenAccIbanFlg
0
1
xs:string
Y / N
Default value - N
O
Beneficiary’s account IBAN feature. “Y” – the bank software shall perform account number checksum verification in accordance with the international IBAN standard. If the value of this field is “Y”, the content of the field "BenSubAccNo" shall be disregarded
BenName
1
105
EksStringType
M
Beneficiary’s name
BenLegalId
0
20
LegalIDType
O
Beneficiary’s registration number , tax payer’s code, or personal ID
BenAddress
0
70
EksStringType
O
Beneficiary’s address
BenCountry
2
2
CountryType
M
Code of the beneficiary’s registration country E.g.: LV, EE, US, etc. ISO-3166
BBName
0
35
EksStringType
O
Beneficiary’s bank name
BBAddress
0
70
EksStringType
O
Beneficiary’s bank address
BBSwift
8
11
SWIFTType
O
Beneficiary’s bank SWIFT code or BIC code of the Bank of Latvia
BBCode
0
66
BankCodeType
O
Beneficiary’s bank code. This field contains mandatory attribute CodeType.
CBAcc
0
34
AccountOType
O
Recipient bank’s correspondent account in the intermediary bank
CBName
0
35
EksStringType
O
Intermediary bank name
CBSwift
8
11
SWIFTType
O
Intermediary bank SWIFT code
CBCode
0
66
BankCodeType
O
Intermediary bank code. This field contains mandatory attribute CodeType
BudgCode
0
10
SwiftStringType
O
Budget revenue code
AmkSet
-
-
-
O
External payment code
Opc
1
3
xs:string
M
AMK (balance) code. Only digits [0-9]
Amt
AmkSet
1
12
AmountType
O
AMK (balance) code sum. Dot is used as a decimal separator ’.’
Extension
BenSet
-
-
ExtensionType
O
Field for the location of additional elements
Extension
Payment
-
-
ExtensionType
O
Field for the location of additional elements

Field types

Tag
Min Length
Max Length
Type
Description
xs:string
0
-
XML standard type for unicode text
xs:date
10
10
0-9|-
XML standard type for the date. Format: YYYY-MM-DD
BankCodeType
-
-
0-9|A-Z|a-z|s/-?:().,'+nr
Derived from SwiftString. Added attribute CodeType, the type of which is SwiftString. The attribute is mandatory
ExtensionType
0
-
Intended for the location of any elements not included in the standard
AccountMType
1
34
0-9|A-Z|a-z|s/-?:().,'+nr
Derived from SwiftString. Restricted in length
AccountOType
0
34
0-9|A-Z|a-z|s/-?:().,'+nr
Derived from SwiftString. Restricted in length
AmountType
1
12
0-9|.
Derived from xs:decimal. Restricted in length – 12 symbols no in the set, 2 of which behind the decimal separator dot
CurrencyType
3
3
A-Z
Derived from xs:string
EksStringType
-
-
0-9|A-Z|a-z|a-ž|A-Ž|s/-?:().,'+nr
Derived from xs:string. Restricted permitted symbols in accordance with the restrictions of the electronic clearing system of the Bank of Latvia (or xl set of symbols) and lowercase letters of Latvian and Latin alphabets
LegalIDType
0
20
0-9|A-Z|a-z|s/-?:().,'+nr
Derived from SwiftString. Restricted in length
SWIFTType
8
11
A-Z|0-9
Intended for SWIFT code in accordance with the SWIFT standard
SWIFTType
8
11
A-Z|0-9
Intended for SWIFT code in accordance with the SWIFT standard
SwiftStringType
-
-
0-9|A-Z|a-z|s/-?:().,'+nr
Derived from xs:string. Restricted permitted symbols – the symbols that correspond to the SWIFT X set of symbols are permitted, except for “{“ and “}” and Latin alphabet lowercase letters