Before you leave you must tell your tax and social security offices that you are leaving the country.
Moving Documents
Keep all the evidence/bills regarding your move. You can declare them in Germany on your tax form.