Foreign licensed car in Croatia

I use foreign llicensed car in Croatia with my Schengen.what should I do after 3 months? Can I go to Bosnia or Serbia for a few days and come back ? I will have the new green document with me?