If DCES does not find a tax rate, 0% is assumed or nothing is passed. 0% is wrong in most cases, however.
In this case, it should be possible to define a default tax rate per company code, which then applies. Background is that typically in a company code a large part of the invoices has the same tax rate and therefore can be worked with a best guess.
Even better would be an additional logic that tests whether the setting of a valid tax rate for this BUKRS the correct tax amount of the header data comes out. Only if not, use the fall-back tax rate.