Purchase Orders

Hi, 

We have purchase orders set up but when we post an invoice to that order it doesn't affect the amount that's on the purchase order. It also doesn't show as completed if we post an amount that covers the full order. Is there something we need to set up or is this possible?