The messages
Section titled “The messages”This order has been converted to an invoice and cannot be cancelled. Reverse the invoice in the ERP first.
This order has already been converted to an invoice.
This order has no lines and cannot be converted.
Order … cannot be converted: its totals do not add up (…). Please review the order manually.
Cannot delete a confirmed, processing, or completed order. Cancel it instead.
Order status updated, but auto-invoice failed: …. Use the Convert to Invoice button to retry.
Why it happens
Section titled “Why it happens”- Once an online store (Ecommerce) order becomes an invoice, the invoice is the real sale. The order can't be cancelled while that invoice exists.
- An order without lines, or whose totals don't match, can't become a correct invoice.
What to do
Section titled “What to do”- Cancel a converted order: first return or delete its invoice in Sales (see Sell returns or Edit or delete a sale), then cancel the order.
- Already converted: open the invoice from the order instead of converting again.
- No lines / totals don't add up: open the order, check its items and amounts, and create the sale by hand if needed.
- Auto-invoice failed: fix the reason shown (for example stock) and press Convert to Invoice.