...demand money? What to do?
The procedure for issuing a military ticket is regulated by the Procedure for Issuing, Storage and Destruction of Military Tickets for Private, Sergeant, and Senior Officers (https://zakon.rada.gov.ua/laws/show/z0582-17#n29)
The above-mentioned Procedure does not mention the payment of the procedure for issuing military tickets, and therefore the issuance of the latter is free of charge.
If you are being asked for money for this, contact the police and inform them about the fact that money is being demanded for the issuance of a military ticket.