Addition of reference date and document type