6 Functional Specifications
This chapter sets out the functional specifications:
-
Data dictionary;
-
Base message;
-
Cross-reference base message & messages.
6.1 Data Dictionary
The data dictionary gives an overview of all entities and entity types used within this standard.
| Entity.entitytype |
|---|
| commonTechnical.default |
| party.sender |
| party.contact |
| party.receiver |
| commonFunctional.default |
| party.pensionProvider |
| pension.scheme |
| financialInformation.reportingPeriod |
| financialTransaction.payment |
| party.creditor |
| financialTransaction.cashflow |
| pension.cohort |
| investment.pool |
| investment.portfolio |
| investment.investmentDetails |
| investment.corporateAction |
| financialTransaction.trade |
| error.default |
| document.default |
| chunking.default |
6.2 Entities and Entity Types
This section describes the various entities and the attributes within those entities.
Below is an explanation of the entities. This information is derived from AFD 2.0, which can be consulted via this link.
Note: the entity type is mandatory.
| Entity.entitytype | Explanation |
|---|---|
| commonTechnical.default | This entity contains technical details about sending and storing messages. It forms, as it were, the basis for the technical aspects within the messaging system. |
| party.sender | The entity "party.sender" refers to the sender of the message. |
| party.contact | The entity "party.contact" represents a contact person within a legal entity. These contact persons can be approached for further information about the message. |
| party.receiver | This entity represents the receiver of the message. |
| commonFunctional | This entity contains domain-specific information about the content of the message. It gives context and meaning to the functional details in the message. |
| party.pensionProvider | This entity represents a pension provider, A pension provider is a pension fund, insurer or premium pension institution (PPI) with which pension is accrued for the employee by the employer. |
| pension.scheme | This entity contains data at the level of the pension scheme, or the pension plan or schema. |
| financialInformation.reportingPeriod | This entity relates to reporting periods, time intervals over which reporting takes place and other generic dates. |
| financialTransaction.payment | This combination of entity and entity type contains data about a payment. |
| party.creditor | This entity represents the creditor; the recipient of the payments, within the ecosystem in which the messages are exchanged. |
| financialTransaction.cashflow | This entity deals with financial transactions relating to pensions, specifically focused on cash flows. |
| financialTransaction.payment | This entity contains information about payments and future cash flows/payments. |
| pension.cohort | This entity contains information about specific target groups within the pension scheme. |
| investment.pool | This entity (investment pool) represents the collections of diverse underlying investments (liquid, illiquid, funds and mandates). |
| investment.portfolio | This entity relates to investment portfolios, which represent the total managed assets (or a sub-portfolio) within the collective. |
| investment.investmentDetails | This entity describes individual investments of a pension provider in shares or investment funds. |
| investment.corporateAction | This entity contains data about corporate action events on investment products, such as cash dividend, stock dividend, rebate, unit and capital shifts and product changes. The message is intended for passing on such events from the asset management chain to the PUO. |
| financialTransaction.trade | This entity relates to trading activities within the pension scheme. |
| error | In the case of errors in the system, this entity is used to generate error messages and to indicate exactly what went wrong. |
| document | This entity is intended for adding any attachments to messages. |
| chunking.default | This entity contains metadata for splitting large messages into partial messages and merging them again (chunking). If present, it indicates that the message is part of a larger logical message. |
6.3 Attributes in Entities.Entity Types
In the tables in this section, the attributes are described per combination of entity and entity type. In addition to the attribute name, the description contains a definition of the attribute, the data type of the attribute, the intended maximum length of the data item and a reference (link) to any code list.
Note: the description of the attributes in the feedback message may differ from the description in the substantive messages.
The description of the data types used can be found in the sivi-all-finance-standard manual.
When interpreting the tables below, the following is important:
-
Data type string: in the tables below, the maximum number of positions is stated for strings, unless reference is made to a code list or an enumeration. In those cases “length” is empty.
-
Data type decimal: by default at most 2 decimal places (1E-2). Any exception is stated in the data type column.
The attribute names differ from the naming in the consultation document; they are now – partly – designed on the basis of the AFD 2.0 conventions. Appendix 8.4 contains the “Translation table of functional attributes to AFD2.0 attributes”.
Use of refKey
In the tables below, the attribute refKey occurs in almost every entity. This attribute serves as the unique identifier of an entity. The aim is that an entity can be reliably recognised and referred to within or between messages and files — just as an ISIN identifies an investment instrument without saying anything about the investment policy that applies to it.
refKey may be technically or functionally recognisable, but no classification, investment policy or business logic may be derived from it. The substantive classification belongs in the fields intended for that purpose (for example reserveType).
See GitHub issue #111.
| Attribute name | Definition | data type | length | Code list |
|---|---|---|---|---|
| messageId | Unique message identification | string | 70 | |
| creationDateTime | Creation date and time Date | timestamp | ||
| testMessage | Test message indicator | boolean |
Uniqueness of messageId
The messageId is always unique across all messages, regardless of message type or period. Using the messageId to group or bundle messages is not allowed. Any relationship between messages is derived from substantive characteristics, such as the period to which the message relates.
The only exception is chunking (§7.6): chunks of the same logical message share the same messageId.
See GitHub issue #108.
| Attribute name | Definition | data type | length | Code list |
|---|---|---|---|---|
| refKey | Unique reference key assigned to an entity. | string | 70 | |
| rsinNumber | Governmental identification number for legal entities and associations (RSIN) | string | 9 | |
| organizationName | Organisation name of the sender | string | 60 | |
| applicationSenderName | Name of the application that created the message* | string | 60 |
* In AFD 2.0, applicationSendername is available under both party.sender and commonTechnical. This is indeed not apparent from the AFD 2.0 Online consultation documentation (as of April 2024). It was decided to place the attribute under party.sender for VBPUO. ↩︎
| Attribute name | Definition | data type | length | Code list |
|---|---|---|---|---|
| emailWork | Work email address | string | 60 | |
| workPhoneNumber | Work phone number | string | 60 |
| Attribute name | Definition | data type | length | Code list |
|---|---|---|---|---|
| refKey | Unique reference key assigned to an entity. | string | 70 | |
| rsinNumber | Governmental identification number for legal entities and associations (RSIN) | string | 9 | |
| organizationName | Name of the receiver(s) (organisation(s)) | string | 60 |
| Attribute name | Definition | data type | length | Code list |
|---|---|---|---|---|
| function | Message function code. | string | ADNFUN (01; 02;09;54 or 23) | |
| statusType | Status of the proccessing of the original message for which the status and/or errors are being sent to the Feedback endpoint. Message statuses are either 'Accepted (8 - Geaccepteerd)' or 'Not Accepted (0 - Afgewezen). | string | ADNSTS (0; 8) | |
| afdDefinitionName | Message type | string | 80 | |
| afdDefinitionVersion | Version of the standard | string | 80 | |
| originalMessageId | The original messageId of the message that is replaced by this message | string | 70 | |
| originalMessageType | Message type of the original request to which this message is a response. For example: 0001a from “Message Structure 1. Assets (0001a)” | string | 0001a; 0001b; 0001c; 00002; 00541; 00542; 00553; 00555b; 00556; 00557 |
| Attribute name | Definition | data type | length | Code list |
|---|---|---|---|---|
| puvCode | ID of the pension provider (PUV code) / Unique reference key assigned to an entity. | string | AFDIDP (U0003; U0005; ... ;U0765) | |
| rsinNumber | Governmental identification number for legal entities and associations (RSIN) | string | 9 | |
| organizationName | Name of the pension provider | string | 60 |
For APFs with multiple ring-fenced compartments (kringen), there are two common scenarios for the use of PUV codes. See the explanation of the base message in §6.4.1.
| Attribute name | Definition | data type | length | Code list |
|---|---|---|---|---|
| refKey | ID of the pension scheme / (Unique reference key assigned to an entity.) | string | 70 | |
| pensionSchemeName | Name of the pension scheme | string | 60 | |
| startAmount | Total pension assets as at the start date | decimal | ||
| tradingPortfolioId | Portfolio ID of the custodian (safekeeping and administration of financial assets) | string | 10 |
| Attribute name | Definition | data type | length | Code list |
|---|---|---|---|---|
| startDate | Start date of the data period on which the delivery from the PUO is based, or reference date | date | ||
| endDate | End date of the data period on which the delivery from the PUO is based | date | ||
| endDate | End date of the data period over which return is reported | date | ||
| tradeDate | Desired trade date | date | ||
| investmentOrderSettlementDate | Date by which the full cycle of the investment order must have been settled | date | ||
| projectionDate | Date of the projection of pension benefits | date | ||
| instructionDate | Instruction date (date of the order sent by the PUO) | date | ||
| participationValuationDate | Price date of the net asset value (NAV) per unit of the investment pool, as determined by the investment administrator. | date | ||
| valueDate | Currency date. | date |
Date conventions for startDate and projectionDate
To prevent inconsistent use of dates between chain parties, the standard applies the following convention:
| Field | Message | Convention | Example |
|---|---|---|---|
| startDate | Message 1 (Assets) | Last day of the preceding month | 31-01-2025 |
| projectionDate | Message 3 (Pension Projection) | Last day of the preceding month | 31-01-2025 |
| firstExpectedPaymentDate | Message 3 (Pension Projection) | First day of the current month | 01-02-2025 |
This approach provides clarity and predictability in the chain. See GitHub issue #94.
| Attribute name | Definition | data type | length | Code list |
|---|---|---|---|---|
| amount | Amount in currency | decimal | ||
| currencyType | Currency | string | ISOVAL (EUR; USD; …) | |
| collectionAccountIban | IBAN of the debit account | string | 34 | |
| description | Description of the transaction (payment) | string | 60 | |
| refKey | ID of the expected payment | string | 70 | |
| expectedPensionPaymentDate | Pension benefit payment date | date | ||
| amount | Projected benefit across all cohorts | decimal | ||
| hedgedExpectedPensionPaymentAmount | Cash flow to be hedged across all cohorts | decimal | ||
| amount | Projected benefit | decimal | ||
| hedgedExpectedPensionPaymentAmount | Cash flow to be hedged | decimal |
| Attribute name | Definition | data type | length | Code list |
|---|---|---|---|---|
| refKey | Unique reference key assigned to an entity. | string | 70 | |
| collectionAccountIban | IBAN of the credit account per scheme | string | 34 | |
| collectionAccountInNameOf | Name of the counterparty per scheme | string | 60 | |
| collectionAccountBic | Business Identifier Code (BIC) per scheme | string | 10 | |
| collectionAccountBicCorrespondent | BIC correspondent per scheme | string | 10 |
| Attribute name | Definition | data type | length | Code list |
|---|---|---|---|---|
| contributionAmount | Sum of contributions | decimal | ||
| contributionDate | Date of receipt of the contributions | date | ||
| withdrawalAmount | Sum of the outflow | decimal | ||
| withdrawalDate | Date on which (at the latest) the liquidity for the withdrawal has been made available | date | ||
| netAmount | Sum of contributions and withdrawals per scheme (net). A negative amount is a (net) withdrawal. / Difference between contributions and withdrawals. A negative amount is a (net) withdrawal.) | decimal | ||
| netDate | The value date on which the netted cash flow amount (contributions minus withdrawals) is actually paid by the PUO to, or received by the PUO from, the asset manager | date | ||
| netAmount | Netted cash flow amount per investment portfolio within a scheme. A negative amount is a net withdrawal. | decimal | ||
| netDate | The value date on which the net cash flow amount per investment portfolio is actually paid by the PUO to, or received by the PUO from, the asset manager | date |
Field usage in financialTransaction.cashflow
In the SPR context, financialTransaction.cashflow is used directly under pension.scheme. The entity itself is optional, but if it occurs, netAmount and netDate are mandatory; the fields for inflow and outflow are optional (see §6.3.1).
In the FPR context, the financialTransaction.cashflow entity is used under investment.portfolio and netAmount and netDate are mandatory.
| Attribute name | Definition | data type | length | Code list |
|---|---|---|---|---|
| refKey | ID of the cohort | string | 70 | |
| description | Description of the cohort | string | 60 | |
| participationStatus | Status of the participants in a cohort | string | ADNDNS (16; 20; 35; 40; 70; 80) | |
| startAge | Start age in months | integer | ||
| endAge | End age in months | integer | ||
| reserveIndicator | Indicator of whether the cohort reflects a reserve | boolean | ||
| reserveType | Choice of the type of (reserve, in fact a) provision / type of provision. Where the investment policy is shared, consolidation is possible; an explicit code only for a separate investment policy. | string | AFDRES (1; 2; 3; 4; 5; 6; 7; 8; 9; 10; 11; 12; 13; 14; 15; 99) | |
| reserveDescription | Description of the reserve when "Other" is chosen in reserve type. | string | 60 | |
| startAmount | Pension assets of the cohort as at the start date | decimal | ||
| netAmount | Sum of contributions and withdrawals per cohort. A negative amount is a (net) withdrawal.) | decimal | ||
| netDate | The value date on which the netted cash flow amount for the cohort is actually paid by the PUO to, or received by the PUO from, the asset manager | date | ||
| contributionAmount | Inflow to be invested by the fiduciary manager | decimal | ||
| withdrawalAmount | Outflow to be invested by the fiduciary manager | decimal | ||
| protectionReturnPercentage | The protection return achieved, as a percentage, over the data period per scheme and per cohort | decimal (1E-12) | ||
| excessReturnPercentage | The excess return achieved, as a percentage, over the data period per scheme and per cohort | decimal (1E-12) | ||
| protectionReturnAmount | The protection return achieved, in the currency of the scheme, over the data period per scheme and per cohort | decimal | ||
| excessReturnAmount | The excess return achieved, in the currency of the scheme, over the data period per scheme and per cohort | decimal |
Age cohorts: standard set-up
The standard set-up uses annual age cohorts. This means that, in principle, a difference of 12 months is applied between two consecutive startAge values: startAge is a multiple of 12 (0, 12, 24, ...) and endAge = startAge + 11. Smaller steps (for example monthly) are not excluded, but the annual division serves as the reference model. See GitHub issue #111.
Cohorts with value 0
For all messages with cohorts (messages 1 to 4), the following applies: a cohort with value 0 may be sent with the value 0 or be omitted. Sending it makes the distinction visible between "the value is 0" and "the cohort is missing"; omitting it keeps the message compact. Parties must be able to process both. What the absence of a cohort means is laid down by chain parties in their agreements (TOM/SLA). For large messages, the chunking mechanism can offer a solution. See GitHub issue #100.
This also applies to cohorts that represent a reserve or provision (reserveIndicator = true). Omitting a reserve therefore does not automatically mean that the value is 0.
The standard has no separate representation for "nothing to report": parties use the value 0 for this or omit the cohort. The standard does not recognise a field without a value (in JSON: null): a field is delivered with a value, or it is omitted.
Reserves and provisions: division of roles between fields
Consistency check. If reserveIndicator = true, reserveType is mandatory. reserveDescription is desirable for reserveType 99 (Other) and possible for the other codes. Both fields are optional in the model; the obligation for reserveType follows from this rule. The reserve fields are only on pension.cohort, not on investment.portfolio.
For cohorts that represent a reserve or provision (reserveIndicator = true), the following division of roles applies:
reserveType(code list AFDRES) is the substantive classification and the exclusive key for the investment policy. Reserves or provisions with a different investment policy require a differentreserveTypevalue. As of release 2027, the code list has been extended with codes 9 to 15. Where the investment policy is shared, consolidation is possible; an explicit code is only needed for a separate investment policy. This applies to both SPR and FPR. See GitHub issue #134.reserveDescriptionis purely descriptive. The description may explain or clarify, but does not determine classification, routing or investment policy.refKeyuniquely identifies the cohort (see the general explanation ofrefKeyabove). Multiple cohorts with the samereserveTypeare permitted, provided they fall under the same investment policy.
See GitHub issue #111.
| Attribute name | Definition | data type | length | Code list |
|---|---|---|---|---|
| refKey | Investment portfolio ID / Unique reference key assigned to an entity. | string | 70 | |
| description | Description | string | 60 | |
| startExposureAmount | The allocation of the pension assets per cohort to a specific investment portfolio, calculated on the basis of the allocation rules as applied by the PUO.) | decimal | ||
| startExposurePercentage | The relative share of startExposureAmount in relation to the total pension assets as at the date.) | decimal | ||
| startAmount | The value of the Total Market Value at the start of the data period | decimal | ||
| netAmount | Sum of contributions and withdrawals per scheme (net). A negative amount is a (net) withdrawal | decimal | ||
| endAmount | The value of the Total Market Value at the end of the data period. Per scheme and investment portfolio | decimal | ||
| returnPercentage | The return achieved, as a percentage, over the data period per scheme and per investment portfolio | decimal (1E-12) | ||
| returnAmount | The return achieved, in the currency of the scheme, over the data period per scheme and per investment portfolio | decimal |
| Attribute name | Definition | data type | length | Code list |
|---|---|---|---|---|
| refKey | ID of the investment pool per scheme | string | 70 | |
| description | Description | string | 60 | |
| unitsSummedValueAmount | Value per investment pool (unit value) | decimal | ||
| preliminaryUnitValueAmount | The net asset value (NAV) per unit of the investment pool, as determined by the investment administrator | decimal (1E-06) | ||
| numberOfUnits | Number of units issued for the investment pool, | decimal (1E-06) | ||
| currencyType | Currency of the pool | string | ISOVAL (EUR; USD; …) | |
| buySellId | Buy/sell indicator; ID for buy/sell per investment pool per scheme | string | sell; buy | |
| tradeValueAmount | Transaction value per investment pool per scheme | decimal |
| Attribute name | Definition | data type | length | Code list |
|---|---|---|---|---|
| refKey | Identifier (for example ISIN or internal code) | string | 70 | |
| description | The name of the investment / the official name of the fund / of the instrument | string | 60 | |
| currencyType | Currency of the instrument | string | ISOVAL (EUR; USD; …) | |
| numberOfUnits | Number of units purchased per instrument per scheme per investment portfolio | decimal (1E-06) | ||
| refKey | Identifier of the investment product, for example ISIN or internal code. | string | 70 | |
| description | Description of the investment product. | string | 60 | |
| tradeDate | trade date (intended) | date |
| Attribute name | Definition | data type | length | Code list |
|---|---|---|---|---|
| refKey | Key of the Corporate Action. | string | 70 | |
| description | Description of the Corporate Action. | string | 60 | |
| corporateActionType | Type of Corporate Action. | string | AFDCOA (1; 2; 3; 99) | |
| instructionDate | Instruction date of the Corporate Action. | date | ||
| tradeDate | Transaction date of the Corporate Action. | date | ||
| paymentDate | Payment date of the Corporate Action. | date | ||
| cashDividendTotalAmount | Total cash amount of the Corporate Action. | decimal | ||
| cashDividendPerUnitAmount | Cash amount per unit. | decimal | ||
| currencyType | Currency of the cash amount. | string | 3 | ISOVAL (EUR; USD; GBP; CHF; JPY) |
| stockDividendPerUnitNumber | Stock dividend quantity per unit. | decimal | ||
| stockDividendTotalNumber | Total stock dividend quantity. | decimal | ||
| newProductName | Name of the new product. | string | 60 | |
| newProductIdentifier | Identifier of the new product. | string | 60 |
| Attribute name | Definition | data type | length | Code list |
|---|---|---|---|---|
| tradeDate | trade date (actual) | date | ||
| refKey | Unique reference key assigned to an entity. | string | 70 | |
| adjustmentIndicator | Adjusted trade instruction | boolean | ||
| buySellId | Buy, sell or switch direction indicator | string | sell; buy; switchfrom; switchto | |
| tradeAmount | Positive amount of the transaction in the currency in which the investment is denominated; direction follows from buySellId | decimal | ||
| tradeQuantity | Positive number of securities (units) to be traded in the transaction; direction follows from buySellId | decimal (1E-06) | ||
| tradePrice | Purchase price / quoted price | decimal (1E-06) | ||
| switchType | Switch type; one-day or sequential | string | AFDSWI (1; 2) | |
| financialInformationRef | For switchfrom/switchto, refer here to the refKey of the other switch leg for the purpose of the consistency check. | array | ||
| counterparty | Transfer Agent; the party that carries out the purchase/sale | string | 70 | |
| broker | Broker that executes investment orders on the market on behalf of clients | string | 70 | |
| interestAmount | Amount of applicable interest | decimal | ||
| commissionAmount | Fee for executing the transaction | decimal | ||
| clearingBroker | Broker responsible for the administrative and financial settlement of the transaction | string | 70 | |
| clearingBrokerCashAccount | Cash account (IBAN) at the clearing broker in the name of the pension provider | string | 18 |
| Attribute name | Definition | data type | length | Code list |
|---|---|---|---|---|
| refKey | Unique reference key assigned to an entity. | string | 70 | |
| errorCode | Error code type. | string | ADNFTM (09; 11; 12; 13; 14; 99) | |
| errorCodeExplanation | Explanation of the error message. | string | 1000 |
See also the information about error.default in the SIVI All Finance Standard
| Attribute name | Definition | data type | length | Code list |
|---|---|---|---|---|
| refKey | Unique reference key assigned to an entity. | string | 70 | |
| fileName | Name of the file under which the attachment can be saved. | string | 60 | |
| fileExtension | Extension of the file under which the attachment can be saved. For example "pdf", "doc", etc. | string | pdf; csv; txt |
| Attribute name | Definition | data type | length | Code list |
|---|---|---|---|---|
| currentChunkId | Unique reference (id) of the current chunk. | string | 70 | |
| chunkSequenceNumber | Sequence number of the current chunk. | integer | ||
| totalNumberOfChunks | Total number of chunks the message has been split into. | integer | ||
| chunkFragmentPaths | Array of JMESPath references to the message fragments used within the current chunk. | array |
6.3.1 Consistency Checks Cashflow Message (0001b)
Structural rule: cohort or investment portfolio (messages 2 and 3)
In messages 2 and 3, the breakdown under a pension.scheme may take place either per cohort (pension.cohort, the SPR route) or per investment portfolio (investment.portfolio, the FPR route), not both. A message that uses both breakdowns within one scheme is not valid. In message 2 the breakdown is optional: a scheme with only the cash flow directly under the scheme is valid. In message 3, exactly one breakdown is used per scheme.
The data directly under the scheme fall outside this rule and apply in both routes: in message 2 the cash flow financialTransaction.cashflow (0..1), in message 3 the payments at scheme level. In message 4 the rule does not apply: there, the investment portfolio is mandatory (1..99) and the breakdown per cohort is an optional addition.
Cash flow blocks in message 2
- In every cash flow block, directly under the scheme, per cohort and per investment portfolio,
netAmountandnetDateare mandatory. - Every investment portfolio used contains exactly one
financialTransaction.cashflow. - Per scheme, the message contains at least one cash flow: directly under the scheme, per cohort or per investment portfolio.
Sum checks for cohort breakdown (SPR route)
When, in the SPR route, pension.cohort is used as a breakdown of the cash flow at scheme level, the detail amounts must reconcile with the total. This is a reconciliation check: the check that the sum of the individual cohort amounts matches the previously reported amount at cohort-scheme level — in other words, the parts add up to the whole.
scheme.netAmount = sum(cohort.netAmount)scheme.contributionAmount = sum(cohort.contributionAmount)scheme.withdrawalAmount = sum(cohort.withdrawalAmount)
These sum checks apply to the SPR route and not automatically to the FPR route. In the FPR route, the total is in the cash flow directly under the scheme, alongside the cash flows per investment portfolio. Whether the sum of the portfolio amounts must reconcile with that total has not been laid down; a sum check for the FPR route is therefore not part of the standard. Apply these checks only when totals and underlying breakdowns are present at the same time.
Technical enforcement
The consistency checks in this section have been established functionally. Technically, consistency checks are enforced in the file (..)-validationRules.json that accompanies the JSON schemas of each message. For these checks, that technical enforcement has not yet been modelled.
6.3.2 Consistency Checks Order Instruction and Order Confirmation (00541, 00542)
Message 5: amount or quantity
- Per trade instruction, exactly one of
tradeAmountortradeQuantityis filled. Filling both is not allowed; leaving both empty is allowed only for the leg of a switch that does not drive the switch. - A switch consists of two legs: one with
buySellId=switchfromand one withbuySellId=switchto. They refer to each other throughfinancialInformationRef, which contains therefKeyof the other leg. - Per switch pair, exactly one leg carries exactly one of the two fields; the other leg carries neither.
Message 6: quantity, price and amount reconcile
- If
tradeQuantityandtradePriceboth occur, the following applies per trade:tradeQuantity × tradePrice = tradeAmount. - In a switch, the amount that comes out of the
switchfromleg goes into theswitchtoleg. This check does not apply to a switch between investment products in different currencies: the messages contain no exchange rate.
See §4.3.5 for the explanation, and GitHub issues #115 and #116.
Technical enforcement. For these checks too, the technical enforcement in (..)-validationRules.json has not yet been modelled.