Demurrage is the amount cut off by the line while the container is waiting at the port as complete. Detention is the amount charged by the carrier for the time interval between emptying the entire container and delivering the empty to a warehouse determined by the line.