Skip non-JSON
Avoid duplicite query form parameters
s/idCity/idMesto/

idCity only works for invoicesd, while idMesto seems to do for all.