SShortSingh.
Back to feed

Convert MT940 bank statements to CAMT.053 online or with a Python package

0
·2 views

The article explains two ways to turn an MT940 bank statement into ISO 20022 CAMT.053 XML: a free browser converter that needs no sign-up, or the open-source mt940-camt053 Python package run offline. MT940 is an older SWIFT plain-text format built from tagged lines such as :61: and :86:, while CAMT.053 is the XML format banks are adopting. Both approaches verify that the opening balance plus transactions equals the closing balance before writing the XML. The author walks through a sample two-transaction statement, showing the Python script, its output, and a balance check that passes. The package also supports version 001.02 for older systems and converting in the reverse direction to MT940, CSV, or Excel.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Designing Human Escalation Paths into AI Workflows Before Failures Occur

The article argues that engineers should plan for what happens when an AI system cannot safely finish a task, not just for the successful path. It explains that understanding a request does not grant permission to act, so authentication and business rules must be enforced by the server rather than by conversational replies. Workflows should define permitted actions, track state transitions with actor, timestamp, and reason, and preserve only the minimum context needed for a human reviewer. The author recommends synthetic tests covering scenarios like missing consent, ambiguous identity, and dependency timeouts, and notes that handoffs must have a responsible recipient and honest communication about availability. The piece concludes that a trustworthy system is judged by how predictably it stops and transfers responsibility, not only by how often it succeeds.

0
ProgrammingDEV Community ·

Black Friday Load Testing: Validating the Full Customer Journey, Not Just Server Health

The article argues that a healthy-looking server dashboard does not prove a system is reliable during peak shopping traffic, since customers may still be unable to submit requests or learn their status. It proposes testing one representative flow: finding a service, submitting an inquiry, receiving a durable acknowledgement, and having the next action assigned. Recommended practices include using synthetic data in isolated environments, enforcing capacity limits in the authoritative transactional store, and distinguishing transient failures from invalid or ambiguous requests in retry logic. The author also suggests simulating slow dependencies, lost responses, full queues, and worker restarts, while tracking latency, duplicates, and queue age. The piece presents these as design guidance rather than reported results.

0
ProgrammingDEV Community ·

Engineers Urged to Design Systems Around the People Who Use and Maintain Them

A Thanksgiving-weekend editorial argues that gratitude should shape engineering decisions, not just sentiment. It describes designing interfaces for users with limited connectivity, eyesight, or time, using clear labels and error messages, and cites W3C form guidance while noting that such steps alone do not guarantee accessibility conformance. The piece recommends durable recovery states with accountable owners for failed automated requests, and runbooks that let colleagues diagnose and verify fixes without exposing private data. It also urges teams to define success by actual customer outcomes rather than completed automated steps, and to test one small workflow from the user's perspective.

0
ProgrammingDEV Community ·

ag-ui: Chinese translation of the Agent-User Interaction Protocol released

A Chinese translation of the README for ag-ui, an MIT-licensed TypeScript protocol with about 21,900 GitHub stars, was published on 2026-11-27 at yangshun2005/ag-ui-cn. The protocol standardizes streaming, bidirectional communication between AI agents and user-facing applications, replacing custom integration code for each framework. Version 1.0 is described as stable and backward compatible with 0.x releases, with SDKs in TypeScript, Python, and .NET. The Chinese edition adds a separate quick-start guide that is labeled as supplementary, offering a CLI scaffold path requiring an OpenAI API key and a keyless Python-and-TypeScript example. The translation repository itself currently has no stars, so its quality has not yet been independently validated.