salesking / sepa_king

Ruby gem for creating SEPA XML files
MIT License
149 stars 118 forks source link

ChargerBearer SLEV wrongly set in xml when service_level is nil #83

Closed chrisokamoto closed 5 years ago

chrisokamoto commented 5 years ago

<ChrgBr>SLEV</ChrgBr> means that the ChargerBearer is ServiceLevel.. When ServiceLevel is nil, it shouldn't be shown in the xml file.. Some Payments in CHF can be denied by the swiss bank institutions if this field is set as SLEV..

I created a small PR for that: https://github.com/salesking/sepa_king/pull/84

ledermann commented 5 years ago

Fixed by #84