I am looking to travel to Bali in the coming months. Do foreigners have to provide fingerprints when travelling to Bali? Is a visa required?
Whether you need a visa to enter a country is determined by your citizenship (i.e., what passport you carry, and/or in some cases, what country's travel document you carry), as well as what country you're flying from and in what country you reside.
If an airline passenger is refused entry into a country, the airline will be fined and also is required to return the passenger to his or her point of departure at the airline's expense, although the airline may try to recover the cost from the passenger. Thus, airlines are very careful to review passengers' travel documents before allowing them to board.
You haven't told us your passport or travel document country or country of residence, so we can't answer your question about needing a visa. You can input your information to the second link above, and see what Timatic (and, therefore, your air carrier) will require.