CRIMINAL PROCEDURE CODE OF BOSNIA AND HERZEGOVINA
PART ONE - BASIC PROVISIONS
CHAPTER X - MEASURES TO GUARANTEE THE PRESENCE OF A SUSPECT OR ACCUSED AND SUCCESSFUL CONDUCT OF CRIMINAL PROCEEDINGS
Section 6 - PRE-TRIAL CUSTODY
Article 131 - Ordering Pre-trial Custody
(1) Custody may be ordered only under the conditions prescribed by this Code and only if the same purpose cannot be achieved by another measure.
Rights during investigation - arbitrary arrest or detention and deprivation of liberty
EDIT.