In transaction records, we can select tax codes at the item line level. These tax codes come from the entity of the transaction. For example, in a sales order, the tax code depends on the customer record. To be precise, it depends on the country of the customer address.
That is the Tax code is not dependent on the subsidiary of the transaction. It depends on customer country.