1. A computer-implemented method for determining a set of legal documents to present to a user for acceptance as part of a transaction, the method comprising: receiving information describing a type of transaction and a geographic location associated with the transaction; identifying a set of hierarchical documents pertinent to the transaction based at least in part on the received information, the set including a root document identified based at least in part on the type of transaction and the geographic location associated with the transaction, the root document specifying a transaction identifier of the transaction and metadata, the set further including one or more dependency documents of the root document identified responsive to an analysis of the metadata specified by the root document; pruning the set of hierarchical documents responsive to data describing documents that a user involved in the transaction has previously accepted; and outputting information pertaining to the pruned set of hierarchical documents for presenting the pruned set of hierarchical documents to the user involved in the transaction for acceptance as part of the transaction.