Use reference number of documents for each user when checking for TOA