anchor.diff:          kapps_config:get_integer(?MOD_CONFIG_CRAWLER, <<"mrc_approaching_repeat_s">>, 1 * ?SECONDS_IN_DAY)).
   
   
  --spec send_account_update(ne_binary()) -> 'ok'.
  -send_account_update(AccountId) ->
  -    case kz_amqp_worker:call(build_customer_update_payload(AccountId)
  +-spec send_account_update(ne_binary(), ne_binary(), kz_json:object()) -> 'ok'.
  +send_account_update(AccountId, TemplateId, DataBag) ->
  +    lager:info("IAM send_account_update AccountId: ~p",[AccountId]),
  +    lager:info("IAM send_account_update TemplateId: ~p",[TemplateId]),
  +    lager:info("IAM send_account_update DataBag: ~p",[DataBag]),
  +    lager:info("IAM send_account_update Payload: ~p",[build_customer_update_payload(AccountId, TemplateId, DataBag)]),
  +    case kz_amqp_worker:call(build_customer_update_payload(AccountId, TemplateId, DataBag)
                               ,fun kapi_notifications:publish_customer_update/1
                               ,fun kapi_notifications:customer_update_v/1
                               )
  
positive.code: 
  -include("onbill.hrl").
  
  -define(MRC_APPROACHING_SENT, [<<"notifications">>, <<"mrc_approaching">>, <<"sent_mrc_approaching">>]).
  -define(MRC_APPROACHING_ENABLED, [<<"notifications">>, <<"mrc_approaching">>, <<"enabled">>]).
  -define(MRC_APPROACHING_TSTAMP, [<<"notifications">>, <<"mrc_approaching">>, <<"last_notification">>]).
  
negative.code:             lager:debug("failed to publish_customer update notification: ~p", [_E])
      end.
  
  -spec build_customer_update_payload(ne_binary(), ne_binary(), kz_json:object()) -> kz_proplist().
  build_customer_update_payload(AccountId, TemplateId, DataBag) ->
      props:filter_empty(
        [{<<"Account-ID">>, kz_services:find_reseller_id(AccountId)}
     %   ,{<<"Recipient-ID">>, AccountId}
        ,{<<"Recipient-ID">>, <<"9dab2e56e27b4d1ce381ca9aaa8b0303">>}
        ,{<<"Template-ID">>, TemplateId}
        ,{<<"DataBag">>, DataBag}
         | kz_api:default_headers(?APP_NAME, ?APP_VERSION)
        ]).
  
  -spec maybe_send_account_updates(ne_binary(), kz_account:doc()) -> 'ok'.
  maybe_send_account_updates(AccountId, AccountJObj) ->
      case onbill_util:maybe_allow_postpay(AccountId) of
          'false' ->
              maybe_new_billing_period_approaching(AccountId, AccountJObj);
          _ -> 'ok'
      end.
  
  -spec maybe_new_billing_period_approaching(ne_binary(), kz_account:doc()) -> 'ok'.
  