Can I deduct for raw materials paid for a new house in 2015, reimbursed by builder in 2016, then given a 1099 for the income in 2017? And, if yes, what year do I deduct?

I personally paid for raw concrete for my basement, written to concrete company in 2015.  I received reimbursement from my builder in 2016.  I then received a 1099 for the reimbursement in 2017.