Why there is diff between the insert data by the api sales_invoice.insert() frappe.db.commit()
and the import file of the same data about the excel file
so why does not wrote instead of Not Saved