The system isn't designed for you to 'get everything back'. In the same way, when you earn $1, you don't pay all of it in tax either.
Tax deductions you claim in your annual tax return (assuming you've claimed them correctly) are done and dusted, and are not to be included in the capital...