I have not found a solution for the automatic determination of the tax code in the transfer between centers. In the scenario in which the company's work have transfers within the same state as the tax code is I0 (tax free). Already transfers Entres different states, the tax code should be I1 (with ICMS).
So that taxes are determined correctly, we need to change the shipment at all times that the shipments are from different states, whereas in j1btax (J_1BSDICA table) is set to I0.
Someone went through this problem and can help me?