tax_amount was calculated wrong. The tax_amount getting send arround now is the value on the order. This has to get dived by the number of products on the order.