Start building

Transform and map

MT202COV cover payment

Keep underlying customer fields in sequence B and correlate the cover with its customer transfer. Synthetic local subset; no SWIFT connectivity, CBPR+ certification, sanctions screening or vendor parity is implied.

  • SWIFT MT → JSON
  • Advanced
  • 8 min

Last verified 2026-10-31 at f4ce7d0 — simulation fixtures

Try this template in Studio

Studio activation is a one-time payment of USD 20.

Flow

Drawn at build time from the node positions in the template's process definitions. Numbered markers are the walkthrough stages.

Main processMT202COV cover payment6 activities

Scroll sideways to see the whole flow.

Flow diagram of MT202COV cover payment6 activities and 5 transitions: Synthetic input, Parse cover sequences A and B, Check supported subset and correlation, Map report, Reject unsupported or mismatched input, Return evidence.Synthetic inputstartParse cover sequencesA and Bswift.mt.parse1Check supported subsetand correlationchoiceMap reportdata.mapper2Reject unsupported ormismatched inputraise_errorReturn evidenceend
List the 6 activities and 5 transitions

Activities

  1. Synthetic input start
  2. Parse cover sequences A and B swift.mt.parse
  3. Check supported subset and correlation choice
  4. Map report data.mapper
  5. Reject unsupported or mismatched input raise_error
  6. Return evidence end

Transitions

  • Synthetic input → Parse cover sequences A and B (on success)
  • Parse cover sequences A and B → Check supported subset and correlation (on success)
  • Check supported subset and correlation → Map report (condition)
  • Check supported subset and correlation → Reject unsupported or mismatched input (otherwise)
  • Map report → Return evidence (on success)

Walkthrough

  1. Parse cover sequences A and BKeep underlying customer fields in sequence B and correlate the cover with its customer transfer.
  2. Map reportKeep underlying customer fields in sequence B and correlate the cover with its customer transfer.

What you will practise

  • Keep underlying customer fields in sequence B and correlate the cover with its customer transfer.
  • Inspect exact output and rejection cases using synthetic fixtures.
  • Keep external-service acceptance separate from payment settlement.

Sample cases

3 cases with 8 assertions, run with python -m server.integration examples --all in simulation.

Happy path

Passed

Run this synthetic case with isolated local fixtures. Synthetic local subset; no SWIFT connectivity, CBPR+ certification, sanctions screening or vendor parity is implied.

Expected result All declared value, outcome and trace checks must pass.

4/4 assertions

  • Run outcome
  • Verify /profile
  • Verify /customer_reference
  • Verify /underlying_debtor

This sample run only; not a production certification.

Unmatched customer

Expected failure verified

Run this synthetic case with isolated local fixtures. Synthetic local subset; no SWIFT connectivity, CBPR+ certification, sanctions screening or vendor parity is implied.

Expected result All declared value, outcome and trace checks must pass.

2/2 assertions

  • Run outcome
  • Fail closed

This sample run only; not a production certification.

Plain mt202

Expected failure verified

Run this synthetic case with isolated local fixtures. Synthetic local subset; no SWIFT connectivity, CBPR+ certification, sanctions screening or vendor parity is implied.

Expected result All declared value, outcome and trace checks must pass.

2/2 assertions

  • Run outcome
  • Fail closed

This sample run only; not a production certification.

Prerequisites

Runtime
Cohuno runtime 1.27.0, the version recorded when these cases last passed.
Starter
Manual start; no listener.
Optional dependencies
None beyond the base runtime.
Simulation fixtures
None: no activity in this template uses a connector.
Verification details

Provenance

What was verified, and when. The content part changes whenever the pack, a process in its closure, the runtime version or a case result changes; the gallery check then fails until the gallery is regenerated and the changed templates are verified again.

Verified content

Pack SHA-256
103d1d34118dd647e2acc01ab85ef56641b8ae4a898f903958c88344a8df112b
Closure SHA-256
7c714197393f6d129eb27916fbd8360cc2eb30d91b9deef24de47f641aaa649c
Runtime
1.27.0
Results
3/3 cases, 8/8 assertions, mode simulate, external calls: none.
Files in the closure
  • server/integration/example_packs/swift_mt202_cover.json
  • server/integration/templates/swift_mt202_cover.json

Verification event

Commit
f4ce7d08eedc90267b405ed1974344153a8b3a34
Verified at (UTC)
2026-10-31T21:19:21Z

How the Cohuno team reproduces this check

PYTHONPATH=. python -m server.integration examples --example swift_mt202_cover
PYTHONPATH=. python scripts/export_public_gallery.py --check