Generate the invoice for a random order fetched from a database