BAP-1 ISO 20022 Banking Message Validator
iso20022_validateDeterministic validation for institutional ISO 20022 XML/JSON payment messages (pain.001 credit transfer, pacs.008 customer credit, camt.053 bank statement) with XML DOCTYPE security guards, BigInt CtrlSum decimal sums, and ISO 13616 / 9362 / 17442 checksums (BAP-1).
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"raw_payload": "<Document xmlns=\"urn:iso:std:iso:20022:tech:xsd:pain.001.001.09\"><CstmrCdtTrfInitn><GrpHdr><MsgId>MSG-2026-001</MsgId><NbOfTxs>1</NbOfTxs><CtrlSum>100.00</CtrlSum></GrpHdr><PmtInf><CdtTrfTxInf><Amt><InstdAmt Ccy=\"USD\">100.00</InstdAmt></Amt><CdtrAgt><FinInstnId><BICFI>DEUTDEDDFXX</BICFI></FinInstnId></CdtrAgt><CdtrAcct><Id><IBAN>DE89370400440532013000</IBAN></Id></CdtrAcct></CdtTrfTxInf></PmtInf></CstmrCdtTrfInitn></Document>"
},
"name": "iso20022_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | 'xml' or 'json' (default auto-detected) | |
| namespace | No | Expected ISO 20022 schema namespace (e.g. 'pain.001.001.09') | |
| raw_payload | Yes | Raw ISO 20022 XML or JSON message text | |
| transactions | No | Structured transactions array for JSON validation |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| valid | Yes | ||
| findings | No | ||
| standard | Yes | ||
| tx_count | No | ||
| namespace | No | ||
| message_id | No | ||
| ctrl_sum_minor | No | ||
| receipt_digest | No |