This limitation (that it is not possible to add, remove or change quantities and products) is enforced by the inventory module. When a sales invoice is confirmed, ERPLY generates “inventory records” from it, to remove the sold items from stock. However, you can still delete or credit a confirmed document if necessary.