Why Frachta invoices use credit notes, not edits
A sent or paid invoice can't be edited in Frachta; it's corrected with a credit note so your numbering stays intact.
Every invoice you issue in Frachta is treated as final from the moment it exists: the figures on it can never be changed afterwards, no matter how small the mistake. That might sound rigid, but it is what lets you hand an invoice to a customer, or to an auditor years later, and know it says exactly what it said on day one.
In /tms/invoices, find the invoice you need to correct and open it. Frachta treats it differently depending on whether it has gone out yet, and that single fact determines your next step.
If the invoice has not gone out yet, you still have a free hand: delete it and raise a new one with the right figures, since no customer has ever seen the mistaken version and nothing downstream depends on it.
Once it has been sent, or once it has been paid, deletion is off the table. Correcting it then means issuing a credit note against it from the same record, so the error is reversed openly rather than quietly removed.
That single rule keeps your invoice numbers running in one unbroken sequence from the first you ever issued to the latest, with every correction showing up as its own linked document rather than a gap or a reused number.
It is what saves you from the awkward moment, months later, when someone asks why an invoice number is missing, or which of two versions of the same invoice is the real one; with Frachta, there is only ever one answer, and the trail to it is complete.