After you file

if you asked for a specific rule, I couldn't find one. From a technical standpoint income and deductions can only be reported in the proper year which means that the basis to use for tax purposes would be only that remaining if the original sale had been reported correctly.