A declaration made by a party, before or while paying a
   tax, duty, or the like, demanded of him, which he deems illegal,
   denying the justice of the demand, and asserting his rights and claims,
   in order to show that the payment was not voluntary.