I tryed to be as simple as possible assuming that calculations were made separatly in different functions (programmer here). Anyway, tariff is a tax collected by custom office, payed by importer, included in final price that customer pays for the product.