Whether you can travel with your rental car to another country depends on the supplier’s specific policies. Some suppliers allow international travel with their vehicles, but it may be subject to additional fees and require prior authorization.
The best way to find out about a supplier’s policies and any fees is to check the Planning to travel to another country section on the booking page. You can also find this info in the Geographical Restrictions section of the Rental Conditions.