anchor.diff:                            {'error', 'not_found'} |
                             {'error', 'unknown_error'}.
   transactions(AccountId, From, To) ->
  +  lager:info("IAM transactions"),
       case kz_transactions:fetch_local(AccountId, From, To) of
           {'error', _Reason}=Error -> Error;
           {'ok', _Transactions}=Res -> Res
  
positive.code: 
  -spec subscriptions(ne_binary()) -> atom() | kz_json:objects().
  subscriptions(AccountId) ->
      lager:debug("void subscriptions/1 call. AccountId: ~p",[AccountId]),
      [kz_json:new()].
  
  -spec commit_transactions(ne_binary(),kz_transactions:kz_transactions()) -> 'ok' | 'error'.
  
negative.code:     commit_transactions(BillingId, Transactions, 3).
  
  commit_transactions(BillingId, Transactions, Try) when Try > 0 ->
    lager:info("IAM commit_transactions"),
      case kz_datamgr:open_doc(?KZ_SERVICES_DB, BillingId) of
          {'error', _E} ->
              lager:error("could not open services for ~p : ~p retrying...", [BillingId, _E]),
  