A few small changes, does this work for you?
GET /hist_latest_5.5.0/_search
{
"query": {
"bool": {
"must": [{
"script": {
"script": "doc['bank_client_entity_name'].value.toUpperCase() == 'SHELL TREASURY CENTRE LIMITED'"
}
}]
}
}
}