Thanks Manjunath, yes, I can set the retention time in the repository but the problem is that Archive Server does not purge the documents automatically, please see the answer from OT support:
"At the moment there is no tool within Archive Server that would allow or simplify automated purge of documents after their retention expires. It is the leading application that would initiate deletion/purge of documents."
maybe is using Opentext records management or SAP records management, but I cannot find information about how to do and what components I will need.