Demurrage occurs when containers are not cleared and removed from the port throughout the stipulated free days. Shipping lines charge demurrage and detention fees to deal with and enhance container usage by shippers. Detention applies when the containers are already taken out of the port (for example, to your warehouse) https://2howtocalculatedemurragec62047.ampblogs.com/what-does-128-project-finance-vs-trade-finance-differences-mean-71752411