anchor.diff:  			'Auth-Application-Id' = ?CC_APPLICATION_ID,
   			'CC-Request-Type' = ?'DIAMETER_CC_APP_CC-REQUEST-TYPE_INITIAL_REQUEST',
   			'CC-Request-Number' = RequestNum0, 'Granted-Service-Unit' = GrantedUnits0} = Answer0,
  -	#'diameter_cc_app_Granted-Service-Unit'{'CC-Total-Octets' = Balance0} = GrantedUnits0,
  -	Usage0 = Balance0 - 1000000,
  +	#'diameter_cc_app_Granted-Service-Unit'{'CC-Total-Octets' = InitBalance} = GrantedUnits0,
  +	Usage0 = trunc(InitBalance/10),
   	RequestNum1 = RequestNum0 + 1,
   	Answer1 = diameter_accounting_interim(SId, Username, RequestNum1, Usage0),
   	#diameter_cc_app_CCA{'Result-Code' = ?'DIAMETER_BASE_RESULT-CODE_SUCCESS',
  
positive.code: 			'CC-Request-Type' = ?'DIAMETER_CC_APP_CC-REQUEST-TYPE_UPDATE_REQUEST',
  			'CC-Request-Number' = RequestNum2, 'Granted-Service-Unit' = GrantedUnits2} = Answer2,
  	#'diameter_cc_app_Granted-Service-Unit'{'CC-Total-Octets' = Balance2} = GrantedUnits2,
  	Usage3 = Balance2 - 10000000,
  	RequestNum3 = RequestNum2 + 1,
  	% Final Interim
  	Answer3 = diameter_accounting_interim(SId, Username, RequestNum3, Usage3),
  
negative.code: 
  %% @hidden
  diameter_accounting_interim(SId, Username, RequestNum, Usage) ->
  	UsedUnits = #'diameter_cc_app_Used-Service-Unit'{'CC-Total-Octets' = [Usage]},
  	CC_CCR = #diameter_cc_app_CCR{'Session-Id' = SId,
  			'Auth-Application-Id' = ?CC_APPLICATION_ID,
  			'Service-Context-Id' = "nas45@testdomain.com" ,
  			'User-Name' = Username,
  			'CC-Request-Type' = ?'DIAMETER_CC_APP_CC-REQUEST-TYPE_UPDATE_REQUEST',
  			'CC-Request-Number' = RequestNum,
  			'Used-Service-Unit' = [UsedUnits]},
  	{ok, Answer} = diameter:call(?SVC_ACCT, cc_app_test, CC_CCR, []),
  	Answer.
  	
  