Compare sea against air on total cost
compare_sea_and_airCompare air and sea freight on total landed cost rather than on the freight quote: includes duty charged on the freight itself, the cost of capital tied up in transit, and profit lost while stock is unavailable. Also returns the weekly lost profit at which the two routes cost the same.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| air_days | No | Door-to-door air transit days. Defaults to 8. | |
| sea_days | No | Door-to-door sea transit days. Defaults to 38. | |
| sea_quote | Yes | Total sea freight quote, in GBP. | |
| weight_kg | Yes | Gross weight of the shipment in kg. | |
| volume_cbm | Yes | Volume of the shipment in cubic metres. | |
| goods_value | Yes | Value of the goods in GBP. | |
| air_rate_per_kg | Yes | Air freight rate quoted per chargeable kg, in GBP. | |
| duty_rate_percent | No | Customs duty rate on the goods, as a percentage. | |
| capital_rate_percent | No | Annual cost of money tied up in stock, as a percentage. Defaults to 8. | |
| lost_profit_per_week | No | Gross profit lost per week the stock cannot be sold, in GBP. |