anchor.diff:  -export([get_category/2, get_categories/1]).
   -export([get_product_spec/2, get_product_specs/1]).
   -export([delete_product_offering/1]).
  +
  +-export([inventory/1]).
   
   -include("ocs.hrl").
   
  
positive.code: 	#subscriber{name = Username, password = Password, product = ProductInstance};
  inventory(#subscriber{name = Username, password = Password,
  		product = #product_instance{characteristics = Chars}  = ProductInstance}) ->
  	F = fun(CChars, _, undefined) ->
  			CChars;
  		(CChars, Key, Value) ->
  			lists:keystore(Key, 1, CChars, {Key, binary_to_list(Value)})
  	end,
  	Chars1 = F(Chars, "subscriberIdentity", Username),
  	Chars2 = F(Chars1, "subscriberPassword", Password),
  	instance(ProductInstance#product_instance{characteristics = Chars2}).
  
  -spec instance(Instance) -> Instance
  	when
  
negative.code: 	instance(T, Acc#product_instance{characteristics = NewChars});
  instance([{"productOffering", {struct, Offer}} | T], Acc) ->
  	instance(T, Acc#product_instance{product = product({struct, Offer})});
  instance([{"status", Status} | T], Acc) ->
  	instance(T, Acc#product_instance{status = product_status(Status)});
  instance([{"startDate", SDate} | T], Acc) ->
  	instance(T, Acc#product_instance{start_date = ocs_rest:iso8601(SDate)});
  instance([{"terminationDate", TDate} | T], Acc) ->
  	instance(T, Acc#product_instance{termination_date = ocs_rest:iso8601(TDate)});
  instance([_ | T], Acc) ->
  	instance(T, Acc);
  instance([], Acc) ->
  