diff --git a/account_banking_sepa_credit_transfer/data/pain.001.001.02.xsd b/account_banking_sepa_credit_transfer/data/pain.001.001.02.xsd index 43529da1b..51cedb95f 100644 --- a/account_banking_sepa_credit_transfer/data/pain.001.001.02.xsd +++ b/account_banking_sepa_credit_transfer/data/pain.001.001.02.xsd @@ -1,784 +1,919 @@ - + - - + + - - - - + + + + - - - - - - + + + + + + - - + + - + - + - + - - + + - + - - + + - - - + + + - + - - - - + + + + - - + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - + + - - - - - + + + + + - - - - + + + + - - + + - + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + - + - - - + + + - + - + - - - - + + + + - - + + - + - - - - - - - - - - - + + + + + + + + + + + - - - - - - + + + + + + - + - + - - + + - - - + + + - - - + + + - - + + - - + + - - + + - - - - - + + + + + - - - - - + + + + + - - + + - - + + - - - - - - - - - + + + + + + + + + - - - + + + - + - + - + - + - - - - + + + + - - + + - - + + - - + + - - + + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - + + + + + + + + + - - + + - - - - + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - + + + - + - - + + - - + + - - + + - - - - - - - - - - + + + + + + + + + + - + - - - - - - - - + + + + + + + + - - + + - - + + - - - - - + + + + + - - + + - - + + - + - - + + - - - + + + - - - + + + - - + + - - - - + + + + - - - - - + + + + + - - - + + + - - + + - + - - - + + + - - - - - - - + + + + + + + - - + + - - - - - - - - + + + + + + + + - - - - + + + + - + - - + + diff --git a/account_banking_sepa_credit_transfer/data/pain.001.001.03.xsd b/account_banking_sepa_credit_transfer/data/pain.001.001.03.xsd index 864977991..f414be34d 100644 --- a/account_banking_sepa_credit_transfer/data/pain.001.001.03.xsd +++ b/account_banking_sepa_credit_transfer/data/pain.001.001.03.xsd @@ -1,921 +1,1457 @@ - + - - + + - - + + - - + + - - - + + + - + - + - - - - - - + + + + + + - - + + - + - - + + - - - - + + + + - + - - + + - + - - + + - - - + + + - - - - + + + + - - + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - + + - - - - + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - + + - - - - - + + + + + - - + + - - + + - - - - - - - + + + + + + + - + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + - - + + - - - - + + + + - - + + - - + + - + - - - - + + + + - - - - - - + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - + + - - - + + + - - - + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - + + + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - - - - - + + + + + + + - + - + - + - - - - + + + + - - + + - - + + - - + + - - + + - - + + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - + + + + - - + + - - + + - - + + - - + + - - - - - + + + + + - - + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - + + + - - - - + + + + - - + + - - + + - - + + - + - - - - - - - - - - + + + + + + + + + + - - + + - - + + - - - + + + - - + + - - + + - - + + - - - + + + - - - + + + - - - - - - + + + + + + - - + + - - - - + + + + - - - - - - + + + + + + - - + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - + + + + - - + + - - - - - - - - - - + + + + + + + + + + - - - + + + - - - - + + + + - - - + + + - - - - - - - - - + + + + + + + + + - - + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + diff --git a/account_banking_sepa_credit_transfer/data/pain.001.001.04.xsd b/account_banking_sepa_credit_transfer/data/pain.001.001.04.xsd index 1bd82454d..1628a52a6 100644 --- a/account_banking_sepa_credit_transfer/data/pain.001.001.04.xsd +++ b/account_banking_sepa_credit_transfer/data/pain.001.001.04.xsd @@ -1,968 +1,1539 @@ - + - - + + - - + + - - + + - - - + + + - + - + - - - - - - + + + + + + - - + + - + - - + + - - - - + + + + - + - - + + - + - - + + - - - + + + - - - - + + + + - - + + - - + + - - - - + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - + + - - - - - + + + + + - - + + - - + + - - - - - - - + + + + + + + - + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + - - - + + + - - - - + + + + - - + + - - + + - - + + - - + + - + - - - - + + + + - - - - - - + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - + + - - - - + + + + - - - + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - + + + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - - - - - + + + + + + + - + - + - + - - - - + + + + - - + + - - + + - - + + - - + + - - + + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - + + + + - - + + - - + + - - + + - - + + - - - - - + + + + + - - + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - + + + - - - - + + + + - - + + - - + + - - + + - + - - - - - - - - - - + + + + + + + + + + - - + + - - + + - - - + + + - - + + - - + + - - + + - - - + + + - - - + + + - - - - - - + + + + + + - - + + - - - - + + + + - - - - - - + + + + + + - - + + - - - - - - + + + + + + - - - - - - + + + + + + - - + + - + - - - - + + + + - - + + - - + + - - + + - - - - - - - - - - + + + + + + + + + + - - - + + + - - - - + + + + - - - + + + - - - - - - - - - + + + + + + + + + - - + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + diff --git a/account_banking_sepa_credit_transfer/data/pain.001.001.05.xsd b/account_banking_sepa_credit_transfer/data/pain.001.001.05.xsd index 18bd0cc7c..9caf796e9 100644 --- a/account_banking_sepa_credit_transfer/data/pain.001.001.05.xsd +++ b/account_banking_sepa_credit_transfer/data/pain.001.001.05.xsd @@ -1,931 +1,1504 @@ - + - - + + - - + + - - + + - - - + + + - + - + - - - - - - + + + + + + - - + + - + - - + + - - - - + + + + - + - - + + - + - - + + - - - + + + - - - - + + + + - - + + - - + + - - - - + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - + + - - - - - + + + + + - - + + - - + + - - - - - - - + + + + + + + - + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + - - - + + + - - - - + + + + - - + + - - + + - - + + - - + + - + - - - - + + + + - - - - - - + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - + + - - - - + + + + - - - + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - + + + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - - - - - + + + + + + + - + - + - + - - - - + + + + - - + + - - + + - - + + - - + + - - + + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - + + + + - - + + - - + + - - + + - - + + - - - - - + + + + + - - + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - + + + - - - - + + + + - - + + - - + + - - + + - + - - - - - - - - - - + + + + + + + + + + - - + + - - + + - - - + + + - - + + - - + + - - + + - - - + + + - - - + + + - - - - - - + + + + + + - - + + - - - - + + + + - - - - - - + + + + + + - - + + - - - - - - + + + + + + - - - - - - + + + + + + - - + + - + - - - - + + + + - - + + - - + + - - + + - - - - - - - - - - + + + + + + + + + + - - - + + + - - - - + + + + - - - + + + - - - - - - - - - + + + + + + + + + - - + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + diff --git a/account_banking_sepa_credit_transfer/data/pain.001.003.03.xsd b/account_banking_sepa_credit_transfer/data/pain.001.003.03.xsd index 0c3b51e32..a5b9de32e 100644 --- a/account_banking_sepa_credit_transfer/data/pain.001.003.03.xsd +++ b/account_banking_sepa_credit_transfer/data/pain.001.003.03.xsd @@ -1,125 +1,138 @@ - + - - + + - + - - - - + + + + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - If used, it is recommended to be used at ‘Payment Information’ level and not at ‘Credit Transfer Transaction Information’ level. + If used, it is recommended to be used at ‘Payment Information’ level and not at ‘Credit Transfer Transaction Information’ level. - + - It is recommended that this element be specified at ‘Payment Information’ level. + It is recommended that this element be specified at ‘Payment Information’ level. - This data element may be present either at ‘Payment Information’ or at ‘Credit Transfer Transaction Information’ level. + This data element may be present either at ‘Payment Information’ or at ‘Credit Transfer Transaction Information’ level. - - - - - - + + + + + + - + - If a Creditor Reference contains a check digit, the receiving bank is not required to validate this. + If a Creditor Reference contains a check digit, the receiving bank is not required to validate this. If the receiving bank validates the check digit and if this validation fails, the bank may continue its processing and send the transaction to the next party in the chain. RF Creditor Reference may be used (ISO 11649). @@ -128,168 +141,176 @@ RF Creditor Reference may be used (ISO 11649). - - + + - + - - + + - - - - + + + + - - + + - + - + - - + + - - + + - - + + - - + + - - + + - + - - + + - + - + - - - + + + - - - + + + - - - - - + + + + + - + - + - + - - + + - + - - + + - - + + - - + + - - + + @@ -304,7 +325,8 @@ occurrence of ‘Other’ is allowed. - Either ‘Date and Place of Birth’ or one occurrence of ‘Other’ is allowed. + Either ‘Date and Place of Birth’ or one occurrence of ‘Other’ is allowed. @@ -318,7 +340,7 @@ occurrence of ‘Other’ is allowed. in length. - + @@ -329,19 +351,19 @@ in length. in length. - - + + - - + + - + Only ‘TRF’ is allowed. @@ -349,60 +371,71 @@ in length. - If present and contains ‘true’, batch booking is requested. If present and contains ‘false’, booking per transaction is requested. If element is not present, pre-agreed customer-to-bank conditions apply. + If present and contains ‘true’, batch booking is requested. If present and contains ‘false’, booking per transaction is requested. If element is not present, pre-agreed customer-to-bank conditions apply. - - + + - If used, it is recommended to be used only at ‘Payment Information’ level and not at Credit Transfer Transaction Information’ level. + If used, it is recommended to be used only at ‘Payment Information’ level and not at Credit Transfer Transaction Information’ level. When Instruction Priority is to be used, ‘Payment Type Information’ must be present at ‘Payment Information’ level. - - - - + + + + - This data element may be present either at ‘Payment Information’ or at ‘Credit Transfer Transaction Information’ level. + This data element may be present either at ‘Payment Information’ or at ‘Credit Transfer Transaction Information’ level. - It is recommended that this element be specified at ‘Payment Information’ level. + It is recommended that this element be specified at ‘Payment Information’ level. - + - + - If present, pre-agreed customer-to-bank conditions apply. + If present, pre-agreed customer-to-bank conditions apply. - + - Depending on the agreement between the Originator and the Originator Bank, ‘Category Purpose’ may be forwarded to the Beneficiary Bank. + Depending on the agreement between the Originator and the Originator Bank, ‘Category Purpose’ may be forwarded to the Beneficiary Bank. - + - Depending on the agreement between the Originator and the Originator Bank, ‘Category Purpose’ may be forwarded to the Beneficiary Bank. + Depending on the agreement between the Originator and the Originator Bank, ‘Category Purpose’ may be forwarded to the Beneficiary Bank. @@ -410,36 +443,37 @@ When Instruction Priority is to be used, ‘Payment Type Information’ must be - - + + - - + + - - + + - - + + - Only codes from the ISO 20022 ExternalPurposeCode list are allowed. + Only codes from the ISO 20022 ExternalPurposeCode list are allowed. @@ -447,28 +481,29 @@ When Instruction Priority is to be used, ‘Payment Type Information’ must be - - + + - + - When present, the receiving bank is not obliged to validate the the reference information. + When present, the receiving bank is not obliged to validate the the reference information. - + diff --git a/account_banking_sepa_credit_transfer/tests/test_sct.py b/account_banking_sepa_credit_transfer/tests/test_sct.py index a457ca115..1f896ce7c 100644 --- a/account_banking_sepa_credit_transfer/tests/test_sct.py +++ b/account_banking_sepa_credit_transfer/tests/test_sct.py @@ -244,7 +244,8 @@ class TestSCT(SavepointCase): for inv in [invoice1, invoice2, invoice3, invoice4, invoice5]: self.assertEqual(inv.state, "posted") self.assertEqual( - float_compare(inv.amount_residual, 0.0, precision_digits=accpre), 0, + float_compare(inv.amount_residual, 0.0, precision_digits=accpre), + 0, ) return @@ -340,7 +341,8 @@ class TestSCT(SavepointCase): for inv in [invoice1, invoice2]: self.assertEqual(inv.state, "posted") self.assertEqual( - float_compare(inv.amount_residual, 0.0, precision_digits=accpre), 0, + float_compare(inv.amount_residual, 0.0, precision_digits=accpre), + 0, ) return