In the unlikely event that the IRS reclassifies the first loan into equity, even after doing all this, then whatever payments were made will need to be reclassified. Tell the auditor that the payments will be reclassified to one's person as the corporation draws upon its line of credit, rather than dividends and return of principal from the corporation. Figure out the dates of the payment, put them in the payment schedule, apply the interest rate and the late payment penalties, and make a payment that day that brings one in compliance with the loan. That’s how to avoid penalties, no matter what the IRS decides.