add validation to fix bug

Merged Jose Luis Zanotti requested to merge 7.0-Fix_Invoice_QR into 7.0-stage

Merge request reports