2026-06-16

Structure and Format for Statistical Data on Credit Institutions' Credit Exposures

Latvijas Banka issued Regulation No 209 to define the technical specifications for submitting statistical data on credit institutions' exposures and involved persons. The regulation mandates specific XML file structures, naming conventions, and encryption standards for transmitting credit exposure and person involvement records. It further details the use of file exchange services and online messaging protocols to ensure secure and standardized electronic information exchange.

Financial and Capital Market Commission Latvia logo

Latvia

Financial and Capital Market Commission Latvia

Click to view thumbnail

Regulation No 209 | Version of 9 February 2026 (in effect as of 1 July 2026) 1 Structure and Format to Be Used for Providing Statistical Data on the Credit Institutions' Credit Exposures and the Persons Involved The document has been drafted based on Chapter 2.9 of Latvijas Banka's Regulation No 226 "Regulation on Electronic Information Exchange with Latvijas Banka" of 24 October 2022 and it stipulates the technical aspects for submitting the information required under Latvijas Banka's Regulation No 209 "Regulation on Compiling and Submitting the Statistical Data on the Credit Institutions' Credit Exposures and the Persons Involved" of 13 June 2023. The present version of the document has been drafted in compliance with Latvijas Banka's Regulation No 416 "Amendments to Latvijas Banka's Regulation No 209 " Regulation on Compiling and Submitting the Statistical Data on the Credit Institutions' Credit Exposures and the Persons Involved" of 13 June 2022" of 9 February 2026. Table of contents I. Notations used .................................................................................................................. 2 II. File exchange using the file exchange service or the online messages........................... 2 III. File of information on credit exposures......................................................................... 4 IV. File of the persons involved in credit exposures ........................................................... 9 V. Identification data correction file on the persons involved in credit exposures............ 10 VI. Reply file ..................................................................................................................... 11

2 I. Notations used

  1. Notations Notation used Explanation N Value is a number C Value is a combination of characters. Characters to be used are '0'– '9', 'A'–'Z', 'a'–'z', Space symbols, "–", "+", "!", "?", ".", ",", "&", "*", "_", "(", ")", "'", ":", "%", ";" and "/". Diacritical marks are not allowed Cn Value as in C format; maximum length of the value is n characters Nm Value is a number with a maximum length of m characters YYYY-MM-DD Value is expressed as the date in the format YYYY-MM-DD where: YYYY – four digit number of the year; MM – double digit number of the month (from 01 to 12); DD – double digit number of the day (from 01 to 31) HH.MM:SS Value is expressed as time in the format HH.MM:SS, where: HH – hours (from 00 to 23); MM – minutes (from 00 to 59); SS – seconds (from 00 to 59) Cn or Nn Value as in C or N formats, and the length of the value is exactly n characters II. File exchange using the file exchange service or the online messages
  2. The file name format shall be aaayymmddnnnnnn.xml, whereas the name format of a compressed, electronically signed and encrypted file shall be aaayymmddnnnnnn.p7m, where: 2.1 aaa – the prefix of the name of the respective file type, where; 2.1.1. "krd" – file of information on credit exposures; 2.1.2. "krf" – file of the persons involved in credit exposures; 2.1.3. "krt" – identification data correction file on the persons involved in credit exposures; 2.1.4. "kra" – replay file; 2.2 yymmdd – the date of preparing the file; 2.3 nnnnnn – unique file number on the day when the file was prepared.
  3. When using the file exchange service, Aafter compressing, electronic signing and encrypting the prepared files, the Credit Register (hereinafter, the Register) participant shall insert them in the KREG/OUT folder of the file exchange service. After compressing, electronic signing and encrypting the reply files, Latvijas Banka shall insert them in the KREG/IN folder of the file exchange service.
  4. When using the online messages: 4.1 after compressing the prepared files, the Register participant shall publish them in the outgoing message router (exchange) using the KREG routing key. After compressing the reply files, Latvijas Banka shall insert them in the incoming message queue of the Register participant;

3 4.2 the names of exchanges (for outgoing files) are constructed according to the following rules: E.<the uniform registration number (NMK code) of the Register participant>_OUT. For example, E.40000000000_OUT; 4.3 the names of the queues (for incoming files) are constructed according to the following rules: Q.<the uniform registration number (NMK code) of the Register participant>_KREG_IN. For example, Q.40000000000_KREG_IN; 4.4 the Register participant shall indicate the following parameters for each online message: 4.4.1. MessageID – a unique message identifier (36 characters; where it is not indicated, the uniqueness of the message shall be verified on the basis of the file name); 4.4.2. FileName – the file name; 4.4.3. SegmentCount – the total number of file segments ("1" if not indicated); 4.4.4. SegmentNumber – the current sequence number of the file segment ("1" if not indicated); 4.4.5. FileHash – the file checksum (base64-encoded); 4.4.6. SignatureValue – the file signature (base64-encoded); 4.4.7. X509Certificate – the public part of the signing certificate (base64‑encoded); 4.5 Latvijas Banka shall indicate the following parameters for each online message: 4.5.1. MessageID – a unique message identifier; 4.5.2. CorrelationID – the identifier of the submitted message (see Paragraph 4.4.1), where the message of Latvijas Banka is based on the submitted message and the respective identifier was indicated; 4.5.3. FileName – the file name; 4.5.4. SegmentCount – the total number of file segments ("1" if not indicated); 4.5.5. SegmentNumber – the current sequence number of the file segment ("1" if not indicated); 4.5.6. FileHash – the file checksum (base64-encoded); 4.5.7. SignatureValue – the file signature (base64-encoded); 4.5.8. X509Certificate – the public part of the signing certificate (base64-encoded); 4.6 the following additional technical information shall be used: Name Value Comment RabbitMQ server Test: at-mqfiles.bank.lv Production: prod-mqfiles.bank.lv Port: 15701 Authentication method EXTERNAL Shall be indicated when using the client authentication certificate Virtual resource (VirtualHost) kreg Shall be indicated when connecting to the server File transmission Exchange: E.<NMK code>_OUT Routing key: KREG Files shall be published to the exchange, indicating the corresponding routing key File reception Queue: Q.<NMK>_KREG_IN Files are received by reading the corresponding queue

4 III. File of information on credit exposures 3.5. The prefix of the file name shall be "krd". 4.6. Unless otherwise stipulated in the present description, information to be provided shall comply with the description and format stated in Formats and Structure of Credit Register Files and Web Services (hereinafter, Register Formats and Structure). 5.7. File structure

<?xml version="1.0" encoding="Windows-1257"?> <KRFile> <Header>Header element (see Paragraph 8)</Header> <KRMessages> <Message>Exposure data message element(see Paragraph 9)</Message> … <Message>Exposure data message element</Message> </KRMessages> <KRFile> 6.8. Header element of the file 6.18.1 Structure of the header element of the file <Header> <Participant>Identifier of the Register participant</Participant> <Subject>Data subject</Subject> <Messages>Number of messages</Messages> <Prepared>Date</Prepared> <FileType>D</FileType> </Header> 7.9. Exposure data message element 7.19.1 Structure of the exposure data message element <Message> <Header> <Year>Year</Year> <Month>Calendar month</Month> <MessageType>D</MessageType> <Operation>Type of operation</Operation> </Header> <BorrowerList> <Borrower>Person description element(see Paragraph 9.3)</Borrower> … <Borrower>Person description element</Borrower> </BorrowerList> <Credit> <ContractID>Customer contract identifier</ContractID> <CreditType>Identifier of customer obligations</CreditType> <CreditType>Type of the customer's obligations</CreditType> <CreditPurpose>Purpose of the customer's obligations</CreditPurpose>

5 <ValidFrom>Date of the customer's obligations taking effect</ValidFrom> <TakeOverDate>Date of taking over the customer's obligations</TakeOverDate> <ValidTo>End date of the customer's obligations as per customer contract</ValidTo> <SettlementDate>Settlement date</SettlementDate> <ActualEndDate>Actual end date of the customer's obligations</ActualEndDate> <Amount>Amount of the customer's obligations as per customer contract</Amount> <Currency>Currency code of the customer's obligations as per customer contract</Currency> <Syndicate>Reference to a syndicated loan</Syndicate> <SyndContractID>Syndicated loan contract identifier</SyndContractID> <RegrRights>Reference to the right of recourse</RegrRights> <FiduciaryInst>Reference to fiduciary instrument</FiduciaryInst> <ProjectLoan>Reference to a project finance loan</ProjectLoan> <SubDebts>Reference to subordinated debt</SubDebts> <RpmntRights>Reference to repayment rights</RpmntRights> <RemainingAmount>Actual oOutstanding principal amount of the customer's obligations</RemainingAmount> <RemainderCurrency>Currency code of the actual outstanding principal amount of the customer's obligations</RemainderCurrency> <OffBlncAmount>Off-balance sheet amount of the customer's obligations</OffBlncAmount> <OffBlncCurrency>Currency code of the off-balance sheet amount of the customer's obligations</OffBlncCurrency> <CreditAccounting>Reference to the accounting</CreditAccounting> <IntRate>Interest rate</IntRate> <IntRateCap>Interest rate cap</IntRateCap> <IntRateFloor>Interest rate floor</IntRateFloor> <RefRate>Reference rate values</RefRate> <RefRateDur>Reference rate maturity</RefRateDur> <IntRateSpread>Interest rate spread</IntRateSpread> <IntRateType>Interest rate type</IntRateType> <IntRateFrq>Interest rate reset frequency</IntRateFrq> <InterestRateRevisionDate>Next interest rate reset date</InterestRateRevisionDate> <IntRateEndDate>End date of interest-only period</IntRateEndDate> <AccInterest>Accrued interest</AccInterest> <AccInterestCurrency>Currency code of the accrued interest</AccInterestCurrency> <Accruals>Accumulated impairment amount</Accruals> <AccrualsCurrency>Currency account of the accumulated impairment amount</AccrualsCurrency> <QualityRate>Impairment assessment method</QualityRate> <ImpairmentType>Type of impairment </ImpairmentType>

6 <PrvsnOffBlnc>Provisions associated with off-balance-sheet exposures</PrvsnOffBlnc> <PrvsnOffBlncCurrency>Currency account of the provisions associated with off-balance-sheet exposures</PrvsnOffBlncCurrency> <DelayPeriod>Number of days past due</DelayPeriod> <DelayAmount>Principal past due</DelayAmount> <DelayCurrency>Currency code of the principal past due</DelayCurrency> <DelayInterest>Interest past due</DelayInterest> <DelayInterestCurrency>Currency code of the interest past due</DelayInterestCurrency> <OtherDelayedFees>Other payments past due</OtherDelayedFees> <OtherDelayedFeesCurrency>Currency code of the other payments past due</OtherDelayedFeesCurrency> <ProbabilityOfDefault>Probability of the customer's default on its obligations</ProbabilityOfDefault> <LossGivenDefault>Potential losses in the event of the customer's default on its obligations</LossGivenDefault> <PoDMethod>Reference to the assessment method</PoDMethod> <CreditDefaultStatus>Default status of the instrument</CreditDefaultStatus> <CreditDefaultStatus>Date of the default status of the instrument</CreditDefaultDate> <PerformingStatus>Performing status of the instrument</PerformingStatus> <PerformingDate>Date of the performing status of the instrument</PerformingDate> <RecognBalStatus>Reference to balance sheet and off-balance sheet recognition</RecognBalStatus> <AccountClsf>Accounting classification of customer's obligations</AccountClsf> <AmrtType>Amortisation type</AmrtType> <PmntFrq>Payment frequency</PmntFrq> <FairValueRisk>Fair value changes due to changes in credit risk before purchase</FairValueRisk> <TransfAmount>Transferred amount</TransfAmount> <TransfAmountCurrency>Currency account of the transferred amount</TransfAmountCurrency> <CountryRiskTransfBasis>Reason for the country risk transfer</CountryRiskTransfBasis> <RiskEmanatingCountry>Country where the risk is transferred from</RiskEmanatingCountry> <RiskAcceptCountry>Country where the risk is transferred to</RiskAcceptCountry> <SecuritType>Type of securitisation</SecuritType> <Losses>Amount of losses</Losses> <LossesCurrency>Currency account of the amount of losses</LossesCurrency> <SrcEncumbrance>Source of encumbrance </SrcEncumbrance> <CreditStatus>Status of the customer's obligations</CreditStatus>

7 <ForbearanceStatus>Status feature of the customer's obligations</ForbearanceStatus> <ForbearanceStatusDate>Date of the status feature of the customer's obligations</ForbearanceStatusDate> <FairValAccu>Accumulated changes in fair value due to credit risk</FairValAccu> <FairValAccuCurrency>Currency code of the accumulated changes in fair value due to credit risk</FairValAccuCurrency> <CumulatRecov>Cumulative recoveries since the date of default</CumulatRecov> <CumulatRecovCurrency>Currency code of the cumulative recoveries since the date of default</CumulatRecovCurrency> <ClsExposure>Reference to the classification of customer's obligations in the trading book</ClsExposure> <CarryAmount>Carrying amount</CarryAmount> <CarryAmountCurrency>Currency code of the carrying amount</CarryAmountCurrency> <CollateralList> <Collateral> <CollateralId>Collateral identifier</CollateralId> <CollateralType>Type of collateral</CollateralType> <CollateralCountry>Real estate collateral location</CollateralCountry> <CollateralOrigValue>Original collateral value</CollateralOrigValue> <CollateralOrigValueCurrency>Currency code of the original collateral value</CollateralOrigValueCurrency> <CollateralOrigDate>Date of original collateral value</CollateralOrigDate> <CollateralValue>Collateral value</CollateralValue> <CollateralValueCurrency>Currency code of the collateral value</CollateralValueCurrency> <CollateralValueType>Type of collateral value</CollateralValueType> <CollateralValueDate>Date of collateral value</CollateralValueDate> <CollateralValutApproach>Collateral valuation approach</CollateralValutApproach> <Collateral3rdPartyClaims>Value of third party priority claims against the collateral</Collateral3rdPartyClaims> <Collateral3rdPartyClaimsCurrency>Currency code of the value of third party priority claims against the collateral</Collateral3rdPartyClaimsCurrency> <CollateralAllocValue>Collateral allocated value</CollateralAllocValue> <CollateralAllocValueCurrency>Currency code of the collateral allocated value</CollateralAllocValueCurrency> <CollateralMaturityDate>Collateral end date</CollateralMaturityDate>

8 </Collateral><Collateral></Collateral> </CollateralList> </Credit> </Message> 7.29.2 Description of data used in the element Name Description Format Customer's obligations identifier; Customer's obligations identifier; C35 Type of the customer's obligations From the code list. Shall be omitted if the type of operation is D N2 or N3 7.39.3 Person description element 7.3.1.9.3.1. The structure of the person description element depends on the person type and the resident type. 7.3.2.9.3.2. The structure of the description element of a resident legal person <Borrower> <ResidentType>Resident type</ResidentType> <RegNumber>Uniform registration number</RegNumber> <InvestmentFundID>Fund identifier</InvestmentFundID> <CustomerDefaultStatus>Default status of the customer</CustomerDefaultStatus> <CustomerDefaultStatus>Date of the default status of the customer</CollateralValueDate> </Borrower> 7.3.3.9.3.3. The structure of the description element of a non-resident legal person <Borrower> <ResidentType>Resident type</ResidentType> <Country>Code of the country of registration</Country> <RegNumberN>Registration number</RegNumberN> <RegNumType>Type of registration number</RegNumType> <InvestmentFundID>Fund identifier</InvestmentFundID> <RegDate>Registration date</RegDate> <NameJP>Name</NameJP> <LegalForm>Legal form</LegalForm> <AddressStreet>Registered address – street</AddressStreet> <AddressCity>Registered address – administrative territory</AddressCity> <AddressPostalCode>Registered address – postal code</AddressPostalCode> <AddressPostBox> Registered address – post box</AddressPostBox> <Category>Category</Category> <EconomicSector>Sector of the economy (according to NACE 2.0)</EconomicSector> <EconomicSector2_1>Sector of the economy (according to NACE 2.1)</EconomicSector2_1> <LegalStatus>Status of legal proceedings</LegalStatus>

9 <LegalStatusDate>Date of the legal proceedings status</LegalStatusDate> <CustomerDefaultStatus>Default status of the customer</CustomerDefaultStatus> <CustomerDefaultStatus>Date of the default status of the customer</CustomerDefaultStatusDate></Borrower> </Borrower> 7.3.4.9.3.4. Description of data used in the element Name Description Format Category From the code list N2 IV. File of the persons involved in credit exposures 8.10. The prefix of the file name shall be "krf". 9.11. Unless otherwise stipulated in the present description, information to be provided shall comply with the description and format stated in Register Formats and Structure. 10.12. File structure

<?xml version="1.0" encoding="Windows-1257"?> <KRFile> <Header>Header element (see Paragraph 13)</Header> <KRMessages> <Message>Role description element (see Paragraph 14)</Message> … <Message>Role description element</Message> <KRMessages> <KRFile> 11.13. Header element of the file 11.113.1 Structure of the header element of the file <Header> <Participant>Identifier of the Register participant</Participant> <Subject>Data subject</Subject> <Messages>Number of messages</Messages> <Prepared>Date</Prepared> <FileType>F</FileType> </Header> 12.14. Role description element 12.114.1 Structure of the role description element <Message> <Header> <MessageID>Message identifier</MessageID> <Year>Year</Year> <Month>Calendar month</Month> <MessageType>F</MessageType> <Operation>Type of operation</Operation> </Header>

10 <Credit> <CreditID>General data identifier</CreditID> <ContractID>Customer contract identifier</ContractID> <CollateralId>Collateral identifier</CollateralId> <Role>Reference to the role of a person involved</Role> </Credit> <Person>Person description element(see Paragraph 9.3)</Person> </Message> 12.214.2 Description of data used in the element Name Description Format Message identifier Unique identifier assigned by a Register participant within the file C16 Type of operation "N" – message entry; "D" – message cancellation C1 Collateral identifier Collateral identifier. Collateral identifier shall be indicated only where the value of the message Reference to the role of a person involved is N C60 Reference to the role of a person involved "C" – the person involved is a creditor; "N" – the person involved is a provider of obligations' collateral; "P" – the person involved is a service provider; "I" – the person involved is an originator C1 V. Identification data correction file on the persons involved in credit exposures 13.15. The prefix of the file name shall be "krt". 14.16. Structure of the identification data correction file

<?xml version="1.0" encoding="Windows-1257"?> <KRFile> <Header>Header element of the file (see Paragraph 17.1)</Header> <KRMessages> <Message>Message element (see Paragraph 17.2)</Message> … <Message>Message element (see Paragraph 17.3)</Message> </KRMessages> </KRFile> 15.17. Header element of the file 15.117.1 Structure of the header element of the file <Header> <Participant>Identifier of the Register participant</Participant> <Subject>Data subject</Subject> <Prepared>Date</Prepared>

11 <FileType>T</FileType>

</Header> 15.217.2 Description of data used in the element Name Description Format Identifier of the Register participant Uniform registration number N11 Data subject BIC of the Register participant's branch C8 Date The date when the identification data correction file on the persons involved in credit exposures is prepared YYYY-MM-DD 15.317.3 Message element 15.3.1.17.3.1. Structure of the message element <Message> <Header> <MessageType>T</MessageType> <MessageID>Message identifier</MessageID> </Header> <Substitution> <PersonFrom>Current person description element</PersonFrom> <PersonTo>New person description element</PersonTo> </Substitution> </Message> 15.3.2.17.3.2. The person description element referred to in Paragraph 17.3.1 shall be prepared in line with Paragraph 9.3, replacing the name of the element "Borrower" with "PersonFrom" and "PersonTo" respectively without indicating the data Default status of the customer, Date of the default status of the customer, Category, Sector of the economy (according to NACE 2.0, Sector of the economy (according to NACE 2.1, Status of legal proceedings and Date of the legal proceedings status. Description of the data used in the element Name Description Format Message identifier Unique identifier assigned by a Register participant within the file C16 VI. Reply file 16.18. The prefix of the file name shall be "kra". 17.19. The format and structure of the reply file are described in Register Formats and Structure.
Share