add new metod to service GetDocument
fix bug with invalid tagId