Mahesh,
have a quick look at the classes starting Delivery***…
These classes are used to calculate taxes for brazil taxes and they have two separate tax fields(same as yours) in the salesline or I think they have extension tables.
You can also check on the salestable form to know how it is called
You can leverage same to achieve yours.
Regards
Shon