If you are planning this for hosting services than I think WHMCS or Hostbill can solve your problem they both are paid but worth their price.