Bug fix for Ref values, example of invoices with invoice lines.