This endpoint returns the transportation costs for each customer. If a customer does not appear under any ttKlant, the customer does not have to pay any transportation costs.
GET /TransportKosten
GET /TransportKosten/incremental
dossiernr = company within FoodMaster
pag = page number
lim = page size
dossiernr = company within FoodMaster
since = changes since 1900-01-01T00:00:00 for ‘since last call’
In the example below, the customer has to pay 14.15095 excl. VAT or € 15 incl. 6% VAT as long as the net value of the order does not exceed € 60. If the net order value is between 60 and 150, the customer has to pay 8.96226 excl. VAT or € 9.5 incl. 6% VAT. Once the order value is above € 150 there are no transportation costs anymore.
See following example:
xxxxxxxxxx{ "dsTransportKosten": { "ttTransportKost": [ { "id_kostd": 10, // cost id "rec-id": 456879, // record id "ttTarief": [ { "tot_hoev": 60.0, // `until order value` "tarrief": 14.15095, // cost VAT exlusive "commentaar": "" // comment }, { "tot_hoev": 150.0, // `until order value` "tarrief": 8.96226, // cost VAT exlusive "commentaar": "" // comment } ], "ttKlant": [ { "klant-nr": 1 // customer id }, ] } ] }}