Abstract: A method and device for automatic preparation of documentation for an agricultural production machine is disclosed. Work of the agricultural production machine is documented in the documentation, whereby a positioning system records a movement path of the agricultural production machine while the work is being performed. The movement path, including position data and a timestamp assigned to the particular position data, is generated. The movement path is analyzed using data analysis to derive a movement pattern of the agricultural production machine, with the type of work of the agricultural production machine being inferred from the movement pattern. The data analysis may comprise a machine learning method, with the machine learning method including a classification step, a clustering step and a regression step.