Start building

Transform and map

camt.054 debit and credit notifications

Extract ordered debit/credit notifications with decimal text and booking status, without posting them again. Synthetic local subset; no SWIFT connectivity, CBPR+ certification, sanctions screening or vendor parity is implied.

  • ISO 20022 MX → 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 processcamt.054 debit and credit notifications7 activities

Scroll sideways to see the whole flow.

Flow diagram of camt.054 debit and credit notifications7 activities and 6 transitions: Synthetic input, Parse notification XML, Check supported subset and correlation, Select ordered notification entries, Map notifications, Reject unsupported or mismatched input, Return evidence.Synthetic inputstartParse notification XMLxml.parse1Check supported subsetand correlationchoiceSelect orderednotification entriesxml.xpath2Map notificationsdata.mapper3Reject unsupported ormismatched inputraise_errorReturn evidenceend
List the 7 activities and 6 transitions

Activities

  1. Synthetic input start
  2. Parse notification XML xml.parse
  3. Check supported subset and correlation choice
  4. Select ordered notification entries xml.xpath
  5. Map notifications data.mapper
  6. Reject unsupported or mismatched input raise_error
  7. Return evidence end

Transitions

  • Synthetic input → Parse notification XML (on success)
  • Parse notification XML → Check supported subset and correlation (on success)
  • Check supported subset and correlation → Select ordered notification entries (condition)
  • Check supported subset and correlation → Reject unsupported or mismatched input (otherwise)
  • Select ordered notification entries → Map notifications (on success)
  • Map notifications → Return evidence (on success)

Walkthrough

  1. Parse notification XMLExtract ordered debit/credit notifications with decimal text and booking status, without posting them again.
  2. Select ordered notification entriesExtract ordered debit/credit notifications with decimal text and booking status, without posting them again.
  3. Map notificationsExtract ordered debit/credit notifications with decimal text and booking status, without posting them again.

What you will practise

  • Extract ordered debit/credit notifications with decimal text and booking status, without posting them again.
  • Inspect exact output and rejection cases using synthetic fixtures.
  • Keep external-service acceptance separate from payment settlement.

Sample cases

2 cases with 6 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 /notifications/0/direction
  • Verify /notifications/1/amount
  • Verify /posted_to_ledger

This sample run only; not a production certification.

Unknown direction

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
3b38f88d8be5528037e638c6bf669bd2f5152a084019569d41858b508ba78b97
Closure SHA-256
cf47be61094b56b4e2a2472042c3e99da1583512a00a6da911feca2ecd97ef07
Runtime
1.27.0
Results
2/2 cases, 6/6 assertions, mode simulate, external calls: none.
Files in the closure
  • server/integration/example_packs/swift_camt054_notifications.json
  • server/integration/templates/swift_camt054_notifications.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_camt054_notifications
PYTHONPATH=. python scripts/export_public_gallery.py --check