byrokrat / autogiro

Read and write files for the swedish direct debit system autogirot.
GNU General Public License v3.0
10 stars 7 forks source link

Id and account is not mandatory in mandate responses #20

Closed hanneskod closed 6 years ago

hanneskod commented 6 years ago

In mandate responses, mandate reqords (tc 73) includes an id and an account field. These are not mandatory, and will be 0 filled for certain info and status codes (for example when a mandate has been revoked). Needs to be fixed in parser or validator...

Here is an example. Fake bg. Payer number 1.

012018032299000050501055AG-MEDAVI                                               
73005050105500000000000000010000000000000000000000000000     033320180322       
092018032299000000001