Does "offset" mean the same thing in these two sentences?

To offset one charge against another.

Offset deposits and withdrawals.
the same meaning