定制 digitick/sepa-xml 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

digitick/sepa-xml

最新稳定版本:3.0.0

Composer 安装命令:

composer require digitick/sepa-xml

包简介

Creates Single Euro Payments Area (SEPA) XML files for the Direct Debit and Credit Transfer operations.

README 文档

README

Build Status

SEPA / ISO20022 file generator for PHP.

Creates XML files for the Single Euro Payments Area (SEPA) Credit Transfer and Direct Debit Payments Initiation messages. These SEPA XML messages are a subset of the "ISO20022 Universal financial industry message scheme".

License: GNU Lesser General Public License v3.0

The versions of the ISO20022 standard supported are:

  • For Credit Transfers:
    • pain.001.001.03
    • pain.001.001.04
    • pain.001.001.05
    • pain.001.001.06
    • pain.001.001.07
    • pain.001.001.08
    • pain.001.001.09 (The minimum version recommended)
    • pain.001.001.11
    • pain.001.001.12
    • Credit Transfer Variants:
      • pain.001.002.03 (STPCreditTransferInitiationV03)
      • pain.001.003.03 (EUSTPCreditTransferInitiationV03)
  • For Direct Debits:
    • pain.008.001.02
    • pain.008.001.03
    • pain.008.001.04
    • pain.008.001.05
    • pain.008.001.06
    • pain.008.001.07
    • pain.008.001.08 (The minimum version recommended)
    • pain.008.001.10
    • pain.008.001.11
    • Direct Debit Variants:
      • pain.008.002.02
      • pain.008.003.02

We do not claim 100% support of those formats but the files produced by this library are validated against the official XSDs and they pass the validation. I you're missing a field or two please submit a PR. The library accepts a custom ISO20022 format so in theory you can use any of the versions in between the ones on the officially supported list.

Institutions that should accept these formats:

  • Any bank that is part of the SEPA network and works with the ISO20022 standard

Institutions that are confirmed to accept these formats:

  • Deutsche Kreditwirtschaft
  • Fédération bancaire française
  • ING (tested on direct credit, use pain.001.001.03)
  • Commerzbank (tested on Credit Transfer, use pain.001.001.03)
  • Spain: CaixaBank
  • Spain: SantanderBank
  • Netherlands: direct-debit (pain.008.001.02) at RABO-bank (thanks @rodekker)
  • Austria: Raiffeisenbank direct-debit (pain.008.001.08) 2025-10-29
  • Austria: Volksbank direct-debit (pain.008.001.08) 2025-10-29

Always verify generated files with your bank before using in production! If you encounter an institution that does accept this library's generated files please notify us to add it to the list or send a PR!

Installation

Composer

This library is available in packagist.org as digitick/sepa-xml, you can add it to your project via Composer:

composer require digitick/sepa-xml

Please note that the library still carries it's original name (namely digitick/sepa-xml) as we don't want to confuse people. The latest versions are developed by the php-sepa-xml community and the packagist alias (digitick/sepa-xml) points here. In the near future we may switch to php-sepa-xml/php-sepa-xml as that is already the official package name.

Documentation

Check out our docs at:

ISO20022 Message Names

ISO20022 messages follow a specific naming convention which can be denoted to the following pattern: MessageType.MessageSubType.MessageVariant.MessageVersion

For e.g. pain.001.001.12 should be decoded as:

  • MessageType: 'PAIN' - Payments Initiation
  • MessageSubType: '001' - CustomerCreditTransferInitiation
  • MessageVariant: '001'
  • MessageVersion: '12'

Development

Want to contribute? Please check out our Dev docs

Any Questions?

Feel free to open an issue. We will try to reply to the best of our knowledge.

External Resources

统计信息

  • 总下载量: 5.55M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 272
  • 点击次数: 1
  • 依赖项目数: 11
  • 推荐数: 0

GitHub 信息

  • Stars: 268
  • Watchers: 21
  • Forks: 110
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-3.0-or-later
  • 更新时间: 2026-01-04