anchor.diff:              AccountId = cb_context:account_id(Context),
               <<"carrier.", (kz_util:to_binary(Id))/binary, ".", AccountId/binary>>
       end.
  +
  +load_carrier_attachment(Context, DocId, AName) ->
  +    crossbar_doc:load_attachment(DocId, AName, [], cb_context:set_account_db(Context, <<"onbill">>)).
  
positive.code:     [?HTTP_GET, ?HTTP_POST];
  allowed_methods(?MODB,_) ->
      [?HTTP_GET].
  allowed_methods(?CARRIERS,_,?ATTACHMENT) ->
      [?HTTP_GET];
  allowed_methods(?MODB,_,?ATTACHMENT) ->
      [?HTTP_GET].
  
negative.code:     validate_onbill(Context, Id, cb_context:req_verb(Context)).
  validate(Context, ?CARRIERS, Id) ->
      validate_onbill(Context, ?CARRIERS, 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) ->
      validate_onbill(Context,?MODB, Id, ?ATTACHMENT, cb_context:req_verb(Context)).
  
  