Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions formats/pain.008.001.02.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,16 @@
<DtOfSgntr>{{mandateSignatureDate}}</DtOfSgntr>
<AmdmntInd>false</AmdmntInd>
</MndtRltdInf>
</DrctDbtTx>
{{#if bic}}
</DrctDbtTx>
<DbtrAgt>
<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.

<Othr>
<Id>NOTPROVIDED</Id>
</Othr>
{{/if}}
</FinInstnId>
</DbtrAgt>
{{/if}}
Expand All @@ -87,4 +92,4 @@
{{/each}}
</PmtInf>
</CstmrDrctDbtInitn>
</Document>
</Document>