Skip to content

Update pain.008.001.02.hbs to handle empty / unfound BIC#20

Open
NevenSubotic wants to merge 1 commit intomgmco:masterfrom
NevenSubotic:patch-1
Open

Update pain.008.001.02.hbs to handle empty / unfound BIC#20
NevenSubotic wants to merge 1 commit intomgmco:masterfrom
NevenSubotic:patch-1

Conversation

@NevenSubotic
Copy link
Copy Markdown

fix to pass certification for transactions without BIC. This kept me from uploading my file due to a validation error.

fix to pass certification for transactions without BIC.
@NevenSubotic NevenSubotic changed the title Update pain.008.001.02.hbs Update pain.008.001.02.hbs to handle empty / unfound BIC Dec 25, 2020
<FinInstnId>
{{#if bic}}
<BIC>{{bic}}</BIC>
{{else}}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a good change! My initial version only support BIC. But this is also allowed according the pain 008.001.02.xsd. And apparantly it is filled with NOTPROVIDED in that case.
Could be in some countries (Germany?) BIC is always expected though. But this will definitely work in the Netherlands e.g.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my case, yes, I am working out of Germany and collecting donations from bank accounts in germany. The BIC is only required on SEPA-Payments out of country, e.g. Netherlands.

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