Calculate Carbon Tax

This action is accessed via Shipment Management > Shipment Management > Buy Shipments > Actions > Shipment Management > Change Shipment Costs > Calculate Carbon Tax.

Calculate Carbon Tax is specific to Canada where the tax is imposed according to the distance traveled. Each province may set different rates for levying taxes on shipments based on the distance traveled in that province.

Defining the Calculate Carbon Tax

This action sends the request to the External Distance Engine (EDE) specified in the Rate Distance which is configured using the property glog.emission.carbonTax.RateDistanceID. Request to EDE depends on the property glog.emission.carbonTax.IsProvinceLevelBreakUp. This represents whether the province level distance break up is needed or the total distance of the Shipment is needed in creating the Emission Activity for the Shipment. The Emission Activity is created with the Emission Activity Type configured using the property glog.emission.carbonTax.ESGActivityTypeID. If glog.emission.carbonTax.IsProvinceLevelBreakUp is set to true, then Emission Activity Details are created with Province Code and corresponding Accessorial Code defined in Charge Token Set configured using the property glog.emission.carbonTax.ProvinceToAccCodeMap.chargetokenset.

The hierarchy in finding the Charge Token in Charge Token Set based on the response from EDE is as follows:
      i)  Looks for the accessorial code with the token name as Province Code
      ii) Looks for the accessorial code with the token name as Province Code||Country Code
      iii) Looks for the accessorial code with the token name as Country Code

You can calculate CO2 and CO2e Emission in Emission Activity and Emission Activity Detail based on the distance traveled using the properties glog.emission.carbonTax.CO2EmissionPerMile and glog.emission.carbonTax.CO2eEmissionPerMile respectively.

Note: The optional feature "SUPPORT CALCULATE CARBON TAX" is used to control whether to support the web action calculate carbon tax or not. If the feature "SUPPORT CALCULATE CARBON TAX" is enabled, then you will be able to use this web action. If the feature is disabled, then you can not use this action.

Related Topics