Creating a barcode of the invoice posting reference automatically.

Hi All, 

I'm wondering if it is possible to create a barcode of the invoice posting reference automatically? 

We want to be able to store invoices into a document management system automatically using the invoice posting reference number. If a barcode can be generated then the document management system should be able to pick this up and store it away in the correct location. 

Thanks in advance. 

Ben