Knowledge base MessagesEntitiesAttributesCode listsErrors and fixesProcessesRolesReleasesGlossaryEcosystemCompare Validator NL EN

Consistency check

tradeAmount and tradeQuantity both filled or both empty (message 5)

Symptom

The receiver rejects the order functionally (feedback statusType 0) or executes an unintended quantity.

Cause

The manual lays down exactly one of the two per order instruction (section 6.3.2, explained in section 4.3.5); filling both is not allowed. Both empty is allowed only on the order of a switch that does not steer: that can be the switchfrom or the switchto order, and per switch pair exactly one order carries an amount or quantity. The schema does not enforce this.

Fix

Fill per transaction either an amount or a quantity; in a switch let one order steer and leave the other empty. The WTP Data Lab validator tests both rules, per order and per switch pair.

Wrong and right

Wrong

{ "buySellId": "buy", "tradeAmount": 250000.00, "tradeQuantity": 1000 }

Right

{ "buySellId": "buy", "tradeAmount": 250000.00 }

Check your own message for this and all other errors with the free validator: schema, code lists and consistency checks in one report. Validate a message

Attribution. Source: SIVI – VB-PUO Standard. Schemas, attribute descriptions and code lists are taken unchanged from the VB-PUO Standard (owned by the Pensioenfederatie, managed by SIVI) and shown with their release and version. Explanations, examples, error descriptions and translations are by WTP Data Lab and are not part of the standard. GitHub Stichting-SIVI/VBPUOdsk · Manual · sivi.org