If the german company has a VAT number, then no vat is charged by the hk company. But the german company has to pay it (german vat rate) to the german gouverment (reverse-charge mechanism).
If the german company did not have a vat identification number, hk should charge german vat on the invoice.