A peace officer shall not arrest, on the basis of an outstanding warrant arising from a violation of this code, any person who presents to the peace officer a receipt, from a proper official of the court, indicating that the person has paid the fine for the violation that caused the warrant to be issued. The receipt shall contain sufficient information to identify the name and number of the court issuing the receipt, the date the case was adjudicated or the fine was paid, the case number or docket number, and the violations disposed of.