sending document type