Both sales and purchase GST in the same sales invoice

I have a situation where I need to have both GST collected and GST paid on the same sales invoice. The GST collected is calculating correctly on the gross sales amount and goes to the GST collected account. But I have not been able to figure out how to get the GST paid to calculate on the expenses that are deducted from this gross amount and go into the GST paid account. I want to be able to use the tax report to track my GST so I want it to show both entries.