anchor.diff:  -define(ATTACHMENT, <<"attachment">>).
   -define(GENERATE, <<"generate">>).
   -define(CURRENT_SERVICES, <<"current_services">>).
  +-define(CURRENT_BILLING_PERIOD, <<"current_billing_period">>).
   -define(CURRENCY_SIGN, <<"currency_sign">>).
   -define(MODB, <<"onbills_modb">>).
   -define(ALL_CHILDREN, <<"all_children">>).
  
positive.code: allowed_methods() ->
      [?HTTP_GET].
  allowed_methods(?CURRENT_SERVICES) ->
      [?HTTP_GET];
  allowed_methods(?CURRENCY_SIGN) ->
      [?HTTP_GET].
  
negative.code:     validate_onbill(Context, cb_context:req_verb(Context)).
  validate(Context, ?CURRENT_SERVICES) ->
      validate_current_services(Context, cb_context:req_verb(Context));
  validate(Context, ?CURRENT_BILLING_PERIOD) ->
      validate_current_billing_period(Context, cb_context:req_verb(Context));
  validate(Context, ?CURRENCY_SIGN) ->
      validate_currency_sign(Context, cb_context:req_verb(Context)).
  validate(Context, ?GENERATE, Id) ->
  