Look into adding a feature for putting a document on expiration hold.
Stored doucmetns are subject to subpoenas and may not be purged until the subpoena is lifted. Suggest you add the capability to create a hold, such as a subpoena, and then assign documents to that hold. A given document may be covered by multiple holds and can only be purged when it is expired and not on any holds.
John Watson shared this idea