I have an equipment repair business. I paid for parts that I was reimbursed for. How do I write off what i paid?

customer paid me in one lump sum which included the cost of parts that I purchased