Shall probably indicates a legally binding condition in this sentence. I think discharge should be interpreted as fullfillment, and office remuneration as an office fee or cost for services delivered.
So basically something will be considered adequate payment for some office fee, and this entire fact -- that this is a proper discharge of the office remuneration -- is as agreed upon betwe