if an electronic invoice with a tax code of the tax authority has not been sent to the buyer, and the error is discovered, what to do?

if an electronic invoice with a tax code of the tax authority has not been sent to the buyer, and the error is discovered, what to do?