What happens when an accrual S Corporation earns $X in Year 1, sends client invoice Year 1 and pays taxes on said accrual income in Year 1. However, S Corporation does not collect the funds in Year 1 or 2 (say company renegotiates contract/invoice), how does S Corporation account for the income recognized in Year 1 but never collected? Thank you in advance.