Transform and map
pacs.008 CBPR+ inbound subset
Read a single-transfer BAH/pacs.008 namespace subset and retain decimal text, agents and UETR; reject envelope mismatches. Synthetic local subset; no SWIFT connectivity, CBPR+ certification, sanctions screening or vendor parity is implied.
Last verified 2026-10-31 at f4ce7d0 — simulation fixtures
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.
Scroll sideways to see the whole flow.
List the 8 activities and 7 transitions
Activities
- Synthetic input
start - Parse namespace-aware BAH and Document
xml.parse - Check supported subset and correlation
choice - Map payment
data.mapper - Validate canonical payment subset
json.validate - Validate and round-trip through pinned mapper
call_process - Reject unsupported or mismatched input
raise_error - Return evidence
end
Transitions
- Synthetic input → Parse namespace-aware BAH and Document (on success)
- Parse namespace-aware BAH and Document → Check supported subset and correlation (on success)
- Check supported subset and correlation → Map payment (condition)
- Check supported subset and correlation → Reject unsupported or mismatched input (otherwise)
- Map payment → Validate canonical payment subset (on success)
- Validate canonical payment subset → Validate and round-trip through pinned mapper (on success)
- Validate and round-trip through pinned mapper → Return evidence (on success)
Scroll sideways to see the whole flow.
List the 6 activities and 5 transitions
Activities
- Synthetic input
start - Validate synthetic payment contract
json.validate - Check supported subset and correlation
choice - Render BAH and pacs.008 with escaped values
xml.render - Reject unsupported or mismatched input
raise_error - Return evidence
end
Transitions
- Synthetic input → Validate synthetic payment contract (on success)
- Validate synthetic payment contract → Check supported subset and correlation (on success)
- Check supported subset and correlation → Render BAH and pacs.008 with escaped values (condition)
- Check supported subset and correlation → Reject unsupported or mismatched input (otherwise)
- Render BAH and pacs.008 with escaped values → Return evidence (on success)
Walkthrough
- Parse namespace-aware BAH and DocumentRead a single-transfer BAH/pacs.008 namespace subset and retain decimal text, agents and UETR; reject envelope mismatches.
- Map paymentRead a single-transfer BAH/pacs.008 namespace subset and retain decimal text, agents and UETR; reject envelope mismatches.
- Validate canonical payment subsetRead a single-transfer BAH/pacs.008 namespace subset and retain decimal text, agents and UETR; reject envelope mismatches.
- Validate and round-trip through pinned mapperRead a single-transfer BAH/pacs.008 namespace subset and retain decimal text, agents and UETR; reject envelope mismatches.
What you will practise
- Read a single-transfer BAH/pacs.008 namespace subset and retain decimal text, agents and UETR; reject envelope mismatches.
- Inspect exact output and rejection cases using synthetic fixtures.
- Keep external-service acceptance separate from payment settlement.
Sample cases
3 cases with 6 assertions, run with python -m server.integration examples --all in simulation.
Happy path
PassedRun 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
- Verify
This sample run only; not a production certification.
Wrong namespace
Expected failure verifiedRun 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.
Header mismatch
Expected failure verifiedRun 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
fc50b56882c2e2f7029495e5828134959ff89e180b6f99b6fa3d420048eb57c4- Closure SHA-256
a9d60a7fc3acb584361279282e4b0a1bd7ed1bc1de9fb0c6edfceb4467439b85- Runtime
1.27.0- Results
- 3/3 cases, 6/6 assertions, mode simulate, external calls: none.
- Files in the closure
server/integration/example_packs/swift_pacs008_inbound.jsonserver/integration/templates/swift_pacs008_inbound.jsonserver/integration/templates/swift_payment_mx.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_pacs008_inbound PYTHONPATH=. python scripts/export_public_gallery.py --check