Middleware is a billing mechanism that acts as a central point of contact between Mobile Telecom Operator and the VAS provider which have no access to HLR and IN systems. It is able to distinguish and generate a pre-paid or a post-paid bill amount in accuracy as per the plan. Also, VAS partner providing GPRS would be allowed to set and reset the HLR flags and bill customer as per the specified plan.