Because you use cash-based accounting, both the "expense" and the "refund" are 2019 activities. The expense clearly is a 2019 activity. But the refund is as well. Although you physically received the check on January 2 of this year (today), it is considered "constructively received" in 2019 per IRS standards because the check was issued on December 30, 2019. The same standard is used when a company pays an employee. If the company issues a payment on December 30, the income is included in the employee's W-2 for 2019, although the employee may not see it in the bank account until 2020. See this article for additional information: Constructive Receipt of Income
If the net difference between the expense and the payment is less than $600, it is technically not necessary to issue a 1099, but you may want to anyways. Best practice on the Schedule C is to include the refund as income and expense the contract payment just so that there is a paper trail if the IRS or another taxing authority questions the books. But both are reported for 2019.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"