Tweaks to bpa_invoice report

Make flex report currency precision configurable,
Simplify report grouping.