Yes you can reclaim VAT on an unpaid sales invoice that you have accounted for and paid.