Get not found function when I use frappe.call

my client side

frappe.ui.form.on('Sales Invoice', {
	refresh(frm) {
	frappe.call({
					// type: 'POST',
					method: 'erpnext.accounts.doctype.sales_invoice.sales_invoice.greeting',
					 callback: function(r) {
								 console.log(r);
					}
				});
	}
})

server side

@erpnext.whitelist()
def greeting():
	value = "hello world"
	return value

I got this error

@revant_one excuse me what do you think about the problem ?