Every such debtor or debtors making such settlement or compromise shall take from the creditor or creditors or their attorney with whom he may make the same a receipt or memorandum in writing exonerating and discharging him or them from all and every individual liability incurred by reason of such connection with such firm or copartnership whether such liability was incurred as endorsee acceptors or otherwise which receipt or memorandum shall refer to the instrument as evidence of the indebtedness and may be given in evidence by such debtor or debtors under the general issue in bar of any creditors right or of recovery against him or them or any indebtedness or liability so settled or compromised and if such liability shall be by judgment in any court of this state then on production to and filing in such court a receipt or memorandum signed by such creditor agent or attorney entitled in such cause describing such judgment then the justice before whom such judgment may remain or if in a court of record then the clerk of such court shall discharge such judgment of record so far as such debtor or debtors so settling or compromising shall be concerned.
MCL 449.152