if ( new_item.getTaxRates() != null) {
List<String> newTaxRates=new ArrayList<>();
if ( new_item.getTaxRates() != null) {
for (int i=0; i< new_item.getTaxRates().size();i++) {
newTaxRates.add(new_item.getTaxRates().get(i).getId());
}
}
inventoryConnector.assignTaxRatesToItem(added_item.getId(), newTaxRates);