anchor.diff:  -spec validate_onbill(cb_context:context(), http_method()) -> cb_context:context().
   validate_onbill(Context, ?HTTP_GET) ->
       onbills_modb_summary(Context).
  -
  --spec validate_onbill(cb_context:context(), path_token(), http_method()) -> cb_context:context().
  -validate_onbill(Context, ?RESELLER_VARIABLES, ?HTTP_GET) ->
  -    AccountId = cb_context:account_id(Context),
  -    AuthAccountId = cb_context:auth_account_id(Context),
  -    case kz_services:is_reseller(AuthAccountId) orelse cb_context:is_superduper_admin(AuthAccountId) of
  -        'true' -> read_onbill(AccountId, Context);
  -        'false' -> cb_context:add_system_error('forbidden', Context)
  -    end;
  -validate_onbill(Context, ?RESELLER_VARIABLES, ?HTTP_POST) ->
  -    AccountId = cb_context:account_id(Context),
  -    AuthAccountId = cb_context:auth_account_id(Context),
  -    case kz_services:is_reseller(AuthAccountId) orelse cb_context:is_superduper_admin(AuthAccountId) of
  -        'true' -> save_onbill(AccountId, Context);
  -        'false' -> cb_context:add_system_error('forbidden', Context)
  -    end;
  -validate_onbill(Context, _Id, ?HTTP_GET) ->
  -    cb_context:add_system_error('only carrier or reseller docs are implemented for now...', Context).
   
   validate_onbill(Context, ?CARRIERS, Id, ?HTTP_GET) ->
       read_onbill(<<"carrier.", (kz_util:to_binary(Id))/binary>>, Context);
  
positive.code:                ,{'endkey', [ResellerId, kz_json:new()]}
                 ],
      kz_datamgr:get_results(?KZ_ACCOUNTS_DB, ?ACC_CHILDREN_LIST, ViewOpts).
  
  
negative.code:     _ = crossbar_bindings:bind(<<"*.validate.onbills">>, ?MODULE, 'validate').
  
  -spec allowed_methods() -> http_methods().
  -spec allowed_methods(path_token(),path_token()) -> http_methods().
  -spec allowed_methods(path_token(),path_token(),path_token()) -> http_methods().
  allowed_methods() ->
      [?HTTP_GET].
  allowed_methods(?CARRIERS,_) ->
      [?HTTP_GET, ?HTTP_POST];
  allowed_methods(?GENERATE,_) ->
  