Six Afghans have been killed and more than 120 people injured when a suicide bomber drove a truck loaded with explosives into the German consulate in the northern Afghan city of Mazar-e Sharif.
Five bodies had been brought to the clinic following the blast late on Thursday, the head of the largest hospital in town, Noor Mohammad Faiz, said.
Police say one attacker died in the explosion in front of the consulate.
A spokesman for the German Foreign Ministry said all its two-dozen German staff were "safe and uninjured" after the bombing, adding that Afghan security forces and German special forces had "repulsed the heavily armed attackers".
Afghan officials said the suicide bomber had been the only attacker.
Taliban militants claimed responsibility, saying they had launched an attack on "invading infidels" in revenge for civilians killed in airstrikes on northern Kunduz.
More then 30 civilians were killed and 19 others injured in a series of air strikes carried out in the city of Kunduz by US forces supporting Afghan troops in early November.
A small contingent of German troops has been stationed in Kunduz since March to train and assist local soldiers, but the government in Berlin says the Bundeswehr was not involved in the November air strikes.