Enhance qr code parsing

- more robust
- amount support