document service interface