Amount owing

Is the refund amount including what was taken to pay the previous balance for CRA owing? So if it says refund 40 that means my balance with CRA has been paid?