Remova os símbolos do CNPJ JS
"22.918.180/0001-28".replace(/[^\w\s]/gi, '') // 22918180000128
Cirilord
"22.918.180/0001-28".replace(/[^\w\s]/gi, '') // 22918180000128