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: -define(ATTACHMENT, <<"attachment">>).
  -define(GENERATE, <<"generate">>).
  -define(CARRIERS, <<"carriers">>).
  -define(SERVICE_PLANS, <<"onbill_service_plans">>).
  -define(MODB, <<"onbills_modb">>).
  -define(RESELLER_VARIABLES, <<"onbill_reseller_variables">>).
  -define(ALL_CHILDREN, <<"all_children">>).
  
negative.code: validate_onbill(Context, ?CARRIERS, Id, ?HTTP_GET) ->
      read_onbill(<<"carrier.", (kz_util:to_binary(Id))/binary>>, Context);
  validate_onbill(Context, ?CARRIERS, Id, ?HTTP_POST) ->
      save_onbill(build_carrier_doc_id(Id, Context), Context).
  
  validate_onbill(Context,?CARRIERS, Id, AttachmentId, ?HTTP_GET) ->
      load_carrier_attachment(Context, build_carrier_doc_id(Id, Context), <<Id/binary, "_", AttachmentId/binary, ".tpl">>);
  