Knowledge base MessagesEntitiesAttributesCode listsErrors and fixesProcessesRolesReleasesGlossaryEcosystemCompare Validator NL EN

Consistency check

tradeAmount or tradeQuantity negative

Symptom

Schema-valid, but the receiver interprets the sign differently from the intention.

Cause

The direction of the transaction was put in the sign instead of in buySellId.

Fix

Amounts and quantities are always positive; the direction is in buySellId.

Wrong and right

Wrong

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

Right

{ "buySellId": "sell", "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