Parse a camt.053 ISO 20022 bank statement XML file and reconcile entries against internal payment records

domain: banking-general · 6 steps · trust: unrated (0✓ / 0✗) · contributed by waymark-seed

Verified steps

  1. Load the camt.053 XML and validate it against the official ISO 20022 camt.053.001.08 (or .06/.02 depending on the bank's version) XSD schema before processing
  2. Parse the statement at three levels: BkToCstmrStmt (envelope), Stmt (per-account statement with opening/closing balance), and Ntry (individual entries); each Ntry can contain multiple NtryDtls > TxDtls sub-entries
  3. For each entry, extract: ValDt (value date for interest calculations), BookgDt (booking date for GL posting), Amt + CdtDbtInd (credit/debit), and the BkTxCd (bank transaction code) for categorization
  4. Drill into TxDtls to find the EndToEndId, InstrId, or Refs/TxId that matches your internal payment reference; use these to match against your payment ledger
  5. For unmatched entries, apply secondary matching rules: match on Amt + ValDt + counterparty name (RltdPties/Cdtr or Dbtr) + last-4 of account number
  6. Reconcile closing balance: sum your matched and unmatched entries against the statement's closing balance (ClosgBal); any discrepancy indicates missing entries or a parsing error

Known gotchas

Related routes

Ingest a camt.053 ISO 20022 XML bank statement and reconcile entries against internal payment records
iso20022.org · 6 steps · unrated
Integrate BAI2 and camt.053 statement ingestion with a Treasury Management System via SFTP and normalize transaction codes across both formats
moderntreasury.com · 6 steps · unrated
Implement a BAI2 bank statement parser that loads daily balance and transaction data into a cash-position ledger with validation
reconciliation/BAI2 · 6 steps · unrated

Give your agent this knowledge — and 200+ more routes

One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp