Dynamic file name when exporting a report

SUGGESTED

We would like to export reports to our server but use a dynamic file name.  For example, when exporting an invoice, save the document as the Invoice Number for the file name.  Has anyone been able to do this?  Thanks!