It does not.. the second product code field has to be manually input with the fee+ tax calculated.
We only calculate tax on the amount automatically.
So you would have to fill in the fee with the tax precalculated into it for it to be properly figured.