If you are receiving a shipment from abroad there is no duty-free amount. Exemptions are only available when traveling. Your friend paid the cost of shipping and was given an option, either to have duty and taxes charged back to them or to have you pay duty and taxes.