anchor.diff:                 ,{'endkey', [ResellerId, kz_json:new()]}
                  ],
       kz_datamgr:get_results(?KZ_ACCOUNTS_DB, ?ACC_CHILDREN_LIST, ViewOpts).
  -
  
positive.code: -define(GENERATE, <<"generate">>).
  -define(CARRIERS, <<"carriers">>).
  -define(MODB, <<"onbills_modb">>).
  -define(RESELLER_VARIABLES, <<"onbill_reseller_variables">>).
  -define(ALL_CHILDREN, <<"all_children">>).
  -define(ACC_CHILDREN_LIST, <<"accounts/listing_by_children">>).
  -define(NOTIFICATION_MIME_TYPES, [{<<"text">>, <<"html">>}
  
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,_) ->
  