# Enable Sender-Based Inbound Validations

Learn how to enable sender-based validation rules for E2B(R2) and E2B(R3) import. 

## About the Feature

With the 24R1 release, support for adding validation criteria per Transmission Profile was added to Vault Safety. When an E2B Transmission is received through an AS2 gateway or through the Vault API, Vault Safety will validate the E2B based on the validation criteria set on the sender's or organization's Transmission Profile.

After completing the enablement on this page, see <a href="/en/lr/01202/#add-validation-criteria">Manage Transmission Profiles</a> to add validation criteria to Transmission Profiles. For more information on E2B import through an AS2 gateway or Vault API, see <a href="/en/lr/01286/">Receive an E2B Transmission</a>.

## Enable the Sender-Based Inbound Validation Setting

Enable the <a href="/en/lr/740208/#import">_Enable Sender-Based Inbound Validation_</a> setting to generate the inbound validation results in a related object section of _Inbox Items_. 

## Insert the Inbound Validation Results Section on Inbox Items

Perform the steps below to insert the **Inbound Validation Results** related objects section to the **Inbox Item** layout:
1. Go to **Admin > Configuration > Objects > Inbox Item > Layouts > Inbox Item Detail Page Layout**.
2. Insert a related object section for the _Inbound Validation Result_ object. We recommend labeling this section `Conformance Validations` and selecting the option to **Create record in new page**.
3. Add the **Rejection Reason** field. If you add this field to the layout, we recommend adding a layout rule to only show this field when populated. See step 7 for details. 
4. Save the page. 
5. In the **Inbox Item Detail Page Layout**, select **Layout Rules**. 
6. Select **Create**. 
7. On the **Create Layout Rule** page, complete the following information: 
    * **Label:** Hide Rejection Reason
    * **Description**: Hide Rejection Reason field unless populated by system. 
    * **IF this Layout Rule Expression is TRUE**: `IsBlank(rejection_reason__v)`
    * **Apply the following display effects**: 
        * **Effect**: Hide
        * **Type**: Fields
        * **Values**: Rejection Reason
8.  Select **Save**. 

## Insert the Validation Criteria Section on Transmission Profiles

You must insert the **Inbound Validation Criteria** section so that you can define the Validation Criteria for each Transmission Profile. Insert this section to the following **Transmission Profile** layouts: 
* **AS2 Gateway** layout 
* **System Gateway** layout
* **Transmission Profile** layout

1. Go to **Admin > Configuration > Objects > Transmission Profile > Layouts > [Layout]**.
2. Insert a related object section for the _Inbound Validation Rule > Validation Criteria_ object. We recommend labeling this section `Inbound Validation Criteria` and selecting the option to **Create record in pop-up dialog**.
3. Save the page.