python-sepaxml icon indicating copy to clipboard operation
python-sepaxml copied to clipboard

Add the UltmtCdtr block for SEPA Direct Debit (Ultimate Creditor) + Customizable MsgId and InitgPty node

Open Nickinthebox opened this issue 2 years ago • 1 comments

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 avatar Mar 10 '23 12:03 Nickinthebox

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

raphaelm avatar Apr 08 '23 20:04 raphaelm