It can definitely not be the main “missing” variable that could explain differences between Germany and Sweden!
Nevertheless, it could be an interesting variable to have a look at. Depending on the choice of withholding tax schedule, the withholding tax rates in Germany are extremely different.