you need to take everything before you sign the closing.
you are responsable for everything after the closing.
your lawyer should check them and deduct all money from the sale price.
My lawyer did not check the water bill when I bought my house. I end up the one to pay for it, just let you know.