fix: fix invoice payment total (#6493)