The defendant shall have the right to file an affidavit denying that the whole or any part of the amount for which the execution issued is due and stating what amount he admits to be due, which amount so admitted to be due shall be paid and collected before the affidavit is received and the affidavit shall be received for the balance. All affidavits, including those filed by railroads or street railways against whom execution is issued for the cost and expense of paving, shall set out in detail the reasons why the affiant claims the amount is not due. When received by the municipal marshal or chief of police, such affidavits shall be returned to the superior court of the county wherein the municipal corporation is located. They shall be tried and the issue shall be determined as in cases of illegality, subject to all the pains and penalties provided for in other cases of illegality for delay under the laws of this state.
OCGA § 36-39-22