Knowledge base MessagesEntitiesAttributesCode listsErrors and fixesProcessesRolesReleasesGlossaryEcosystemCompare Validator NL EN

Consistency check

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

Symptom

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

Cause

The manual prescribes exactly one of the two; the schema does not enforce it.

Fix

Fill per transaction either an amount or a quantity; the WTP Data Lab validator tests this rule.

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