Who must file a German tax return, who can skip it, who files voluntarily and gets money back, and the deadlines and the ELSTER portal explained.

Germany works differently from countries where everyone files every year. For many employees, the wage tax withheld by the employer each month is treated as settling the bill, and no return is required at all. The withholding was designed to land close to the real figure, so the tax office is content to leave it there and let the employee get on with life.
That does not mean filing is pointless for those employees. A voluntary return often produces a refund, for example when work costs during the year were high and were never fully reflected in the monthly withholding. Travel to work, tools, training and other job costs can all pull the real bill below what was withheld, and the only way to claim the difference back is to file.
Others have no choice. The self employed must file, because nobody has been withholding tax on their behalf through the year. Couples in certain tax class combinations must also file, since some combinations are generous in the monthly withholding and the return is where the year is balanced out properly. Landlords and people with certain other untaxed income can be required to file as well.
For a required return, the deadline is 31 July of the following year. If a tax adviser prepares and files the return for you, that deadline moves later, which is one reason advisers are popular with the self employed. A voluntary return is far more relaxed: it can be filed up to four years after the year it belongs to, so a refund from an old year may still be waiting to be claimed.
Most returns are sent electronically through ELSTER, the official online portal of the German tax administration. You register once, receive your access, and then complete the return on screen, with the figures from your employer's annual wage statement feeding the main lines. The portal checks entries as you go, which catches simple mistakes before the return is sent.
Whether your return is required or voluntary, the arithmetic underneath is the same tariff the Germany calculator uses. Filing simply feeds your real figures, your income, your costs and your situation, into that tariff and compares the answer with what was withheld during the year. The difference is either a welcome refund or a bill, and for many voluntary filers it is the refund that makes the small effort worthwhile.
The Germany calculator previews the tariff your return will apply. Open the calculator.