Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NevenSubotic
Copy link

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
<BIC>{{bic}}</BIC>
{{else}}
Copy link

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
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