Sales Invoice Rounding - Individual Invoice wise

My client have different types of Invoice Rounding for different Customers, in local Currency Only.

I want to Round Invoice individually, like service tax rounding option in Sales Invoice Header.

Can anybody tell me where should i write the code for the same???