While an invoice is a draft, everything can be edited, and it can be deleted.
Once issued, its customer, entity, date, currency, discount, taxes, lines and amount no longer change, and it can no longer be deleted. MAYA refuses the change and names the fields concerned.
The reason: issuing posted an accounting entry on those amounts. Rewriting the invoice in place would leave the books on the old receivable, with nothing to signal it.
To correct it, issue a credit note against the invoice (see the article about credit notes), then, if needed, a new correct invoice.
PlansIncluded in every plan.