Creation of declaration document