Calculate
post/container/demurrage-calculate/Calculate
Headers
Content-Typeapplication/json
Body Parameters
- dischargeDateOptionalstringDate when a container was discharget at the port of destination Example: 2024-11-1
- dateOutFullOptionalstringLoaded container with import cargo left th port of discharge for on-carriage to the final destination Example: 2024-11-7
- dateInEmptyOptionalstringEmpty container returned to the terminal passed back to the Carrier Example: 2024-11-30
- storageOptionalarray[object]Terminal storage is a fee that a Carrier or a Terminal itself charges cargo owner, their forwarder or agent. It counts for all days loaded container is placed on the yard; unfull day counts as full. sinceDayOptionalintegerSince day value Example: 1untilDayOptionalintegerUntil day value Example: 5rateOptionalnumberPrice value per day Example: 10currencyOptionalstringCurrency value (USD, EUR, ...) 
- demurrageOptionalarray[object]Demurrage is a fee imposed by Carriers for excessive use of container or transport. It starts from the moment container is unloaded from ship (import) or picked up for loading (export). Some free days are normally given to return container back to Carrier's yard. Every day exceeding that timeframe is charged as a penalty, and most often - at progressive scale. sinceDayOptionalintegerSince day value Example: 1untilDayOptionalintegerUntil day value Example: 5rateOptionalnumberPrice value per day Example: 10currencyOptionalstringCurrency value (USD, EUR, ...) 
- detentionOptionalarray[object]Detention is a general transport penalty, similar to demurrage. Applied to containers it normally counts when the unit is outside of the terminal and usage exceeds free days. sinceDayOptionalintegerSince day value Example: 1untilDayOptionalintegerUntil day value Example: 5rateOptionalnumberPrice value per day Example: 10currencyOptionalstringCurrency value (USD, EUR, ...) 
Response example
1{
2  "code": 200,
3  "data": {
4    "storage": {
5      "currency": "USD",
6      "total": 20
7    },
8    "demurrage": {
9      "currency": "USD",
10      "total": 670
11    },
12    "detention": {
13      "currency": "USD",
14      "total": 490
15    },
16    "total": {
17      "currency": "USD",
18      "value": 1180
19    }
20  }
21}