Skip to content

Commit

Permalink
[IMP] add support for PAIN 001.001.09 + 008.001.08 (adopted by EPC)
Browse files Browse the repository at this point in the history
Remove support for:
- SCT : pain.001.001.04, pain.001.001.05
- SDD : ain.008.001.03, ain.008.001.04
because these PAIN version have never been adopted by EPC.
Update and improve README
  • Loading branch information
alexis-via committed Aug 22, 2024
1 parent 6b2d88d commit 49e57c7
Show file tree
Hide file tree
Showing 24 changed files with 2,332 additions and 7,033 deletions.
6 changes: 5 additions & 1 deletion account_banking_pain_base/models/account_payment_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,11 @@ def _generate_start_payment_info_block(
if gen_args["payment_method"] == "DD":
payment_info.ReqdColltnDt = requested_date.strftime("%Y-%m-%d")
else:
payment_info.ReqdExctnDt = requested_date.strftime("%Y-%m-%d")
if gen_args["pain_flavor"].startswith("pain.001.001.09"):
requested_exec_date = objectify.SubElement(payment_info, "ReqdExctnDt")
requested_exec_date.Dt = requested_date.strftime("%Y-%m-%d")
else:
payment_info.ReqdExctnDt = requested_date.strftime("%Y-%m-%d")
return payment_info

@api.model
Expand Down
24 changes: 11 additions & 13 deletions account_banking_sepa_credit_transfer/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Account Banking SEPA Credit Transfer
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:030d7c0c67d71ed2090e394e21c684d619d36e02470521fdb9085695f3c8e793
!! source digest: sha256:c7df40d51f52d293aed85c94f6cc0f82234cfc97f493eb2153345aade7fb14e8
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand All @@ -30,20 +30,18 @@ Account Banking SEPA Credit Transfer

Module to export payment orders in SEPA XML file format.

SEPA PAIN (PAyment INitiation) is the new european standard for
Customer-to-Bank payment instructions. This module implements SEPA Credit
Transfer (SCT), more specifically PAIN versions 001.001.03,
001.001.04 and 001.001.05. It is part of the ISO 20022 standard, available on
https://www.iso20022.org.
`ISO 20022 <https://www.iso20022.org/>`_ is the new international standard for
bank XML files. This module implements SEPA Credit
Transfer (SCT), more specifically ISO 20022 PAIN (PAyment INitiation) versions 001.001.03
and 001.001.09. It follows the `SEPA credit transfer implementation guidelines <https://www.europeanpaymentscouncil.eu/what-we-do/epc-payment-schemes/sepa-credit-transfer/sepa-credit-transfer-rulebook-and>`_ of the `European Payments Council <https://www.europeanpaymentscouncil.eu>`_.

The Implementation Guidelines for SEPA Credit Transfer published by the
European Payments Council (https://www.europeanpaymentscouncil.eu) use
PAIN version 001.001.03, so it's probably the version of PAIN that you should
try first.
This module also supports PAIN version 001.003.03 which is used in Germany.
You can read more about this in german on `ebics.de <https://www.ebics.de/>`_.

It also includes pain.001.003.03 which is used in Germany instead of 001.001.03.
You can read more about this here (only in german language):
http://www.ebics.de/startseite/
Moreover, this module supports:

* SEPA **instant** credit transfer,
* non-SEPA credit transfer files, which can be used for wire transfer in currencies other then euro and/or to countries outside the `SEPA zone <https://en.wikipedia.org/wiki/Single_Euro_Payments_Area>`_.

**Table of contents**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<field name="payment_type">outbound</field>
<field name="payment_order_ok" eval="True" />
<field name="bank_account_required" eval="True" />
<field name="pain_version">pain.001.001.03</field>
<field name="pain_version">pain.001.001.09</field>
<field name="warn_not_sepa" eval="True" />
</record>
</odoo>
Loading

0 comments on commit 49e57c7

Please sign in to comment.