It is because when you try to correct a TicketBAI invoice that you have already issued, you have changed the Reference, Date or the total amount of the invoice.
When a TicketBAI invoice is issued, the IRS registers those three fields in their server.
When an invoice is issued, Treasury records those three fields on their server, so by changing them they will not be able to relate the invoice cure.
Never change those fields when you have to correct an invoice.
Never change those fields when you have to correct an invoice.
If you need to rectify one of those sections, it is necessary to cancel the TicketBAI and re-generate the invoice.