Hi Ian
If you are using latest version (2.7.0), there is a function which allows you to manage license codes for individual documents. When someone purchase a new documents, an available license code will be emailed to customer.
I believe it will meet your requirement perfectly .
Regards,
Tuan