anchor.diff:  -spec save_onbill(ne_binary(), cb_context:context()) -> cb_context:context().
   save_onbill(Id, Context) ->
       save(Id, <<"onbill">>, Context).
  -
  --spec save_account(ne_binary(), ne_binary(), cb_context:context()) -> cb_context:context().
  -save_account(Id, Type, Context) ->
  -    save(Id, kz_util:format_account_id(cb_context:account_id(Context),'encoded'), Type, Context).
   
   -spec save(ne_binary(), ne_binary(), cb_context:context()) -> cb_context:context().
   save(Id, DbName, Context) ->
  
positive.code: validate(Context, ?GENERATE, Id) ->
      validate_generate(Context, Id, cb_context:req_verb(Context));
  validate(Context, ?CARRIERS, Id) ->
      validate_onbill(Context, ?CARRIERS, Id, cb_context:req_verb(Context));
  validate(Context, ?SERVICE_PLANS, Id) ->
      validate_onbill(Context, ?SERVICE_PLANS, Id, cb_context:req_verb(Context)).
  validate(Context,?CARRIERS, Id, AttachmentId) ->
      validate_onbill(Context,?CARRIERS, Id, AttachmentId, cb_context:req_verb(Context));
  validate(Context,?MODB, Id, ?ATTACHMENT) ->
  
negative.code: -define(ATTACHMENT, <<"attachment">>).
  -define(GENERATE, <<"generate">>).
  -define(CARRIERS, <<"carriers">>).
  -define(MODB, <<"onbills_modb">>).
  -define(RESELLER_VARIABLES, <<"onbill_reseller_variables">>).
  -define(ALL_CHILDREN, <<"all_children">>).
  