[FIX] using undefined variable

Merged Sebastian Kennedy requested to merge 8.0-HF_invoicing into 8.0-stage

Merge request reports