Skip to content

Conversation

Nickinthebox
Copy link

@Nickinthebox Nickinthebox commented Mar 10, 2023

Add an optional Ultimate Creditor block for SEPA Direct Debit.

I have implemented it for Organization only (not individuals) following ISO 20022 (french source)

Allow customizable msg_id (MsgId node) option.

Allow customizable initiating_party and initiating_party_id (InitgPty node) options instead of mandatory copying name & creditor_id in this node.

Limit manually set endtoend_id option to 35 chars to meet SEPA standards requirements.

Also add a default AmdmntInd node set to false as it can be required by some banks (if we set it to true, we would need to provide extra details about what has changed in an extra AmdmntInfDtls node, which is not as easy as it seems as it needs multiple child nodes)

@Nickinthebox Nickinthebox changed the title Add the UltmtCdtr block for SEPA Direct Debit (Ultimate Creditor) Add the UltmtCdtr block for SEPA Direct Debit (Ultimate Creditor) + Customizable MsgId node Mar 14, 2023
@Nickinthebox Nickinthebox changed the title Add the UltmtCdtr block for SEPA Direct Debit (Ultimate Creditor) + Customizable MsgId node Add the UltmtCdtr block for SEPA Direct Debit (Ultimate Creditor) + Customizable MsgId and InitgPty node Apr 6, 2023
@raphaelm
Copy link
Owner

raphaelm commented Apr 8, 2023

Nice, thanks! Would you be able to add a test to the test suite as well?

@Nickinthebox
Copy link
Author

Nice, thanks! Would you be able to add a test to the test suite as well?

@raphaelm 2 years and a half after, I finally had some time to add the tests 😅
I tried to follow the way you code the existing tests, I hope it's ok!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants