Bank Statement Processing and Conversion: Transforming MT940, Excel, and PDF Statements into Financial System Import Templates

Introduction

Financial staff, shared service center employees, or implementation colleagues often encounter similar challenges: bank statements provided by banks are in MT940 format, Excel files specific to various banks, or PDFs, while the target system only accepts import templates with fixed column names. Manual copying and pasting is prone to column misalignment and errors in debit/credit direction, and becomes even more time-consuming when handling batches of multiple accounts. The following introduces the community skill “Bank Statement Processing and Conversion” on SkillHub (Coordinates: @user_ac4bcccb/imp-trm-accstmt). An Agent parses the statement and performs field mapping according to the skill instructions, generating Excel/xls files that can be directly used by systems such as BIPV5, Kingdee Cloud Xinghan (EAS_YXH), Fingard ATS (FINGARD), NSTC Treasury, and Yonyou NCC.

What is this

This is an Agent Skill based on the universal SKILL.md format, published on SkillHub (Category: office-efficiency, Source: community, Publisher: user_ac4bcccb). The current page version is v1.0.3, with a tag indicating requires_api_key=false; no additional API Key is required.

Its positioning can be summarized as: Parse MT940 / Excel / PDF bank statements → Intelligent field mapping → Output standard import templates for various target systems. The official description emphasizes that this skill should be used when users need to convert statements in the above formats into templates for BIPV5, EAS_YXH, FINGARD, NSTC, YYNCC, etc.

Official Pages:

  • SkillHub: https://www.skillhub.cn/skills/user_ac4bcccb/imp-trm-accstmt
  • API Entry: https://api.skillhub.cn/user_ac4bcccb/imp-trm-accstmt

Core Features

Input Formats

  1. MT940: SWIFT standard bank statements, including common carriers like TXT and STA.
  2. Domestic Bank Excel: Listed in the materials are banks including China Merchants Bank, CITIC Bank, Industrial Bank, SPDB, Minsheng Bank, Huishang Bank, Guangxi Beibu Gulf, Bohai Bank, CDB, Zhongyuan Bank, etc.
  3. Domestic Bank PDF: Text-based PDFs; OCR is optional for image-based PDFs. Examples listed include Rural Commercial Banks, Ping An Bank, Hengfeng Bank, Zheshang Bank, Zhengzhou Bank, etc.

Target Systems and Template Files

The default target is BIPV5. Other systems are distinguished via target_system, corresponding to the official templates under assets/template/:

System Code Description Template Filename
BIPV5 (Default) Bank Transaction Processing Excel YYBIPV5_banktransaction.xlsx
EAS_YXH Kingdee Cloud Xinghan Offline Details eas_yxh_banktransaction.xlsx
FINGARD Fingard ATS Offline Information fingard_banktransaction.xls
NSTC NSTC Treasury Batch Import Bank Details nstc_banktransaction.xls
YYNCC Yonyou NCC Data Tab yyncc_banktransaction.xls

The output adheres as closely as possible to the requirements of each system: for example, EAS_YXH preserves cell comments and dropdown items; FINGARD, NSTC, and YYNCC preserve instruction sheets and mapping tables.

Parsing and Mapping Capabilities (As specified in materials)

  • Cosine similarity matching for column names to mitigate inconsistencies in bank headers.
  • Support for multiple aliases for counterparty account numbers and names (e.g., counterparty account, payee account, etc.).
  • Separation of debit/credit flags, date and currency conversion; extraction of own account number from the header area and cleaning of currency suffixes like “Account (RMB)”.
  • PDF: Merges split header lines (e.g., “Transaction Time” + “Period” → “Transaction Time”); uses PyMuPDF X/Y coordinates to reorganize tables by columns without relying on fixed column counts.
  • Configurable JSON mapping files to extend support for new bank formats or new target systems; the official description states that adapting to new formats requires no code changes.
  • Supports statement structures where accounts and details are separated, as well as batch conversion of multiple files merged into a single import file.

Output Location: Defaults to the same directory as the input file for convenient management alongside the original statement.

Template Loading: The unified entry point is resolve_template(target_system) in scripts/core/template_manager.py. If installed from a marketplace (like clawhub) that cannot carry binary templates and the local template is missing, it will automatically download from a pre-configured address to assets/template/.

Installation and Activation

SkillHub provides two common methods: CLI installation or instructing the current Agent to pull the skill based on installation documentation.

1. Check SkillHub CLI

First, confirm if skillhub is already on your machine:

command -v skillhub && skillhub --version

If not installed, follow the SkillHub installation documentation to perform a complete installation (including default Skills):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

To install only the CLI:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

2. Install to the current Agent’s skills directory

During installation, you must use --dir to point to the skills directory recognized by your current client; otherwise, it defaults to ./skills/, which might not be loaded. Common paths are as follows (excerpted from SkillHub installation instructions):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

Example in Cursor:

skillhub install @user_ac4bcccb/imp-trm-accstmt --dir ~/.cursor/skills/

After installation, restart or refresh the skill list according to your client’s requirements.

3. Install via Agent conversation

The prompt provided on the SkillHub skill page is:

Please install @user_ac4bcccb/imp-trm-accstmt according to https://skillhub.cn/install/skillhub.md.

Send the above content to an Agent that supports Skills, and let it complete the installation and directory configuration according to skillhub.md.

Typical Usage

This skill focuses on Natural Language Trigger + Agent executing scripts via SKILL.md. The official site does not provide a standalone command-line “one-click conversion” example on the public page. In practice, you can collaborate with the Agent using the following steps:

  1. Prepare Files: Place MT940 (.txt / .sta), bank Excel, or PDF in an accessible path, and specify the target system (defaults to BIPV5 if not written).
  2. Initiate Task: Use phrasing that matches your scenario, such as “Convert this China Merchants Bank Excel statement to Kingdee Cloud Xinghan EAS_YXH import template,” “Parse MT940 to generate BIP import file,” or “Convert PDF bank transactions to Yonyou NCC.”
  3. Verify Output: Check the generated .xlsx or .xls in the same directory, then import it into the corresponding financial or treasury system.

The mandatory trigger keywords listed officially include: Bank Statement Conversion, MT940 Parsing, PDF Statement Conversion, Overseas/SWIFT Statements, Convert to Kingdee/Fingard/NSTC/Yonyou NCC, as well as English expressions like bank statement import, MT940 to BIP, PDF to BIP, etc. When bank statements, MT940, SWIFT, bank transactions, PDF statements, or the vendor names mentioned above are referenced, the Agent should mount this skill to handle the task.

For multi-file scenarios, you can explicitly request to “Batch convert multi-bank statements and merge into one import file.”

Scenarios and Notes

Who is it for

  • Finance, treasury, and implementation personnel who need to import bank transactions from multiple sources into BIPV5, Kingdee Cloud Xinghan, Fingard ATS, NSTC Treasury, or Yonyou NCC.
  • Colleagues dealing with messy statement formats and inconsistent headers who want to reduce manual column mapping.
  • Users already utilizing Agent environments that support Skills, such as Cursor, Claude Code, or Codex.

Usage Notes

  • This is a community-sourced skill; please verify amounts, debit/credit directions, and transaction counts in a test environment before importing into production.
  • For scanned PDFs, it relies on optional OCR; recognition rates depend on the quality of the original file, requiring manual spot checks.
  • New bank layouts can be extended via JSON mapping; if the template directory is missing, the first run may trigger a network download of the template (e.g., in clawhub or similar marketplace scenarios).
  • SkillHub Statistics (based on scraped data): Rating 100000, 2041 downloads; page data updates continuously, refer to SkillHub for the latest.

Conclusion

“Bank Statement Processing and Conversion” bridges the format gap between MT940, domestic Excel/PDF statements, and five mainstream import templates into a single Agent workflow: parsing, mapping, writing to disk according to system templates, and supporting mapping extensions and batch merging. If you are handling requirements related to bank transaction import templates, you can install @user_ac4bcccb/imp-trm-accstmt from SkillHub:

https://www.skillhub.cn/skills/user_ac4bcccb/imp-trm-accstmt

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye