max_debit can be 0
Merge branch '0.1' of github.com:openlets/openlets-spa into 0.1