Deducting retainage from a commitment

I am needing to exhaust the retainage amount on a commitment. Any idea on how I go about doing that?