Clean code and fix how to compute invoice denomination

Merged Macarena Meldi requested to merge 15.0-hf-T1651 into 15.0-preStable

Merge request reports