Ranjit Chowdhry -- best known in the U.S. for playing Vikram on "The Office" -- has died in India ... according to reports.

The former Bollywood star lived in New York but reportedly traveled back to his home country to receive dental treatment months ago. According to Indian theater actor Dolly Thakore ... he was supposed to return to America, but couldn't due to the shutdown, and recently suffered a ruptured ulcer in his intestine.

Thakore says Ranjit underwent emergency surgery, but died Wednesday at a Mumbai hospital.

Chowdhry made a name for himself in Indian comedies in the late '70s and early '80s before moving to the U.S. for a Hollywood career.

He wrote the screenplay for the 1991 film, "Sam & Me" before becoming a successful character actor in the '90s.

Most notably, Ranjit played the role of Singh on "Cosby" and had a 2-episode arc on "The Office" as a telemarketer who worked with Michael Scott.

His other credits include "Prison Break," the Queen Latifah movie "Last Holiday," and most recently ... a guest spot on "Law & Order: SVU" in 2013.

Chowdhry was 64.