Afferent Package Type RLD Rule overview

Package type rule icon fafafa 250px png

Routing Logic Directives (RLD) built into EPISHIP control shipments through the rate and label manifest processes of the supply chain.

The purpose of this article is to detail the Afferent Package Type Rule, a specific RLD Rule type, that targets the transformation and control of package type information before a rate or label request is processed.

Overview

A rate or label request relies on package dimensions, weight, and designated type to determine shipping costs, available services, and dimensional weight logic. Sometimes, the default package type submitted in a request does not optimize shipping rates or align with carrier-specific packaging requirements based on the order contents. This is where the Afferent Package Type Rule comes in. Unlike Efferent rules that post-process carrier responses, the Afferent Package Type Rule pre-processes the request to explicitly modify the package type designation (e.g., dynamically changing a standard “Custom Box” to a “USPS Flat Rate Box” or “FedEx Pak”) before the request is ever submitted to the carrier network. The Afferent Package Type Rule is one rule type within an RLD Template.

Afferent Package Type Rule Components

Any number of Afferent Package Type Rules can be built within an RLD Template to match business objectives. Each Afferent Package Type Rule includes the following components.

Match conditions

Match conditions of criteria operators include the following types: All (AND), Any (OR), None (Not).

Match criteria

1. Sender

Sender fields available for match criteria include the follow properties:

  • Sender Name
  • Sender Company
  • Sender Address 1
  • Sender City
  • Sender State
  • Sender Postal Code
  • Sender Country
  • Sender Residential

2. Receiver

Receiver fields available for match criteria include the follow properties:

  • Receiver Name
  • Receiver Company
  • Receiver Address 1
  • Receiver City
  • Receiver State
  • Receiver Postal Code
  • Receiver Country
  • Receiver Residential

3. Package

Package fields available for match criteria include the follow properties:

  • Package Type
  • Package Quantity
  • Declared Value
  • Actual Weight
  • Package Length
  • Package Width
  • Package Height

4. Line Items

Line Items fields available for match criteria include the follow properties:

  • Line Item SKU
  • Line Item HS Code
  • Country of Origin

5. Options

Options fields available for match criteria include the follow properties:

  • Saturday Delivery
  • Cash on Delivery
  • Cash on Delivery Amount
  • Dropoff Type

6. References

References fields available for match criteria include the follow properties:

  • Reference 1
  • Reference 2
  • Reference 3

7. Rate

Rate fields available for match criteria include the follow properties:

  • Carrier
  • Service Name
  • Total Cost
  • Zone
  • Estimated Delivery Days

8. Time

Time fields available for match criteria include the follow properties:

  • Day of Week
  • Time of Day

The match criteria types listed above are used within individual rules or can be combined into a single rule to target specific conditions that include several match criteria.

Transformation

Modification of the information included within the payload of the shipment sent to the carrier targets any one of the following types. An is, the contents of the rate request or shipping label creation request includes the information set by the transformation rule. 

1. Carrier Filter

Set fields avilable within Carrier Filter transformation is as follows: 

  • Allowed Carriers

2. Sender

Set fields available within Sender transformation is as follows: 

  • Sender Residential

3. Receiver

Set fields avilable within Receiver transformation is as follows: 

  • Receiver Residential

4. Package

Set fields available within Package transformation is as follows: 

  • Package Type
  • Declared Value
  • Actual Weight
  • Package Quantity
  • Package Length
  • Package Width
  • Package Height

5. Options

Set fields available within Options transformation is as follows: 

  • Cash on Delivery
  • Cash on Delivery Amount
  • Dropoff Type

6. References

Set fields available within References transformation is as follows: 

  • Reference 1
  • Reference 2
  • Reference 3

7. Account Holder

Set fields available within Account Holder transformation is as follows: 

  • Include or Exclude shipping accounts assigned to shipper

Package Type Override

This configuration dictates exactly how the package type property is altered in the outgoing request payload. Once the match criteria are met, the request is transformed to override the originally submitted package type with an explicitly defined replacement value. This ensures the carrier rates and processes the shipment against the newly designated packaging before returning rates or generating a label.

Afferent Package Type Rule Use Cases

Usual use cases for Afferent Package Type Rules within an RLD Template are numerous. Some common use cases include the following:

  • Automatically override standard custom packaging to a specific carrier flat-rate type (e.g., “USPS Priority Mail Medium Flat Rate Box”) when the actual weight is high but the dimensions fit within the box, capturing cheaper flat-rate pricing.

  • Force the package type when specific expedited services are selected to ensure compliance with carrier packaging rules for those exact service levels.

  • Change a generic package designation to a specialized type when particular Line Item SKUs (like dangerous goods or small documents) are detected in the payload.

Related

Related Categories