issue #22067: create return line view
issue #22067: moved shared invoice code into mixin