

# Step 5: Create a partnership with outbound EDI configuration
<a name="outbound-tutorial-step5-partnership"></a>

A partnership represents your trading relationship with a business partner. For outbound EDI, the partnership requires extensive configuration of EDI headers, control numbers, and formatting options that will be used to generate properly formatted EDI documents for your trading partner.

**Important**  
Outbound partnerships require significantly more configuration than inbound partnerships. You must specify all interchange control header (ISA) and functional group header (GS) values that your trading partner expects to receive.

**To create an outbound partnership**

1. In the AWS B2B Data Interchange console, choose **Partnerships**.

1. Choose **Create partnership**.

1. In the **Partnership details** section, enter:
   + **Partnership name**: **SupplierXYZ-Outbound-Partnership**
   + **Email**: **edi@supplierxyz.example.com**
   + **Profile**: Select **AcmeCorpOutboundProfile**
   + **Trading capabilities**: Select **Outbound-850-Generation**

1. In the **Inbound EDI configuration** section, leave the acknowledgment settings as default (this section is not used for outbound processing).

1. In the **Outbound EDI configuration** section, configure the EDI headers:

   1. **Interchange control header (ISA segment):**
      + **Interchange ID qualifier (ISA05)**: **ZZ**
      + **Interchange sender ID (ISA06)**: **ACMECORP**
      + **Interchange ID qualifier (ISA07)**: **ZZ**
      + **Interchange receiver ID (ISA08)**: **SUPPLIERXYZ**
      + **Repetition separator (ISA11)**: **U**
      + **Acknowledgment requested (ISA14)**: **0**
      + **Usage indicator (ISA15)**: **P**

   1. **Functional group header (GS segment):**
      + **Application sender's code (GS02)**: **ACMECORP**
      + **Application receiver's code (GS03)**: **SUPPLIERXYZ**
      + **GS-05 time format**: Select your preferred time format
      + **Responsible agency code (GS07)**: **X**

   1. **Control numbers:** Accept default values (starting at 1) for both interchange and group control numbers.

   1. **Delimiters (optional):** Leave as default unless your trading partner requires specific delimiters.

   1. **New Lines Formatting:** accept the default value of **One segment per line - add a new line character after each segment**.

   1. **EDI validation:** Leave **Enable outbound EDI validation** selected (recommended).

1. Optionally, add tags:
   + Key: **Partner**, Value: **SupplierXYZ**
   + Key: **DocumentType**, Value: **PurchaseOrder**
   + Key: **Direction**, Value: **Outbound**

1. Choose **Create partnership**.

## Required fields
<a name="outbound-step5-required-fields"></a>
+ Partnership name
+ Email address
+ Profile selection
+ Trading capabilities selection
+ All ISA segment fields (ISA01-ISA15)
+ All GS segment fields (GS01-GS08)
+ Control number starting values

## Example data used
<a name="outbound-step5-example-data"></a>
+ Partnership name: SupplierXYZ-Outbound-Partnership
+ Email: edi@supplierxyz.example.com
+ Profile: AcmeCorpOutboundProfile
+ Trading capability: Outbound-850-Generation
+ Sender ID: ACMECORP
+ Receiver ID: SUPPLIERXYZ

## See also

* **Skills for AI coding assistants (optional).** AWS publishes reusable skills for AWS B2B Data Interchange. To see which apply, search the Agent Toolkit for AWS catalog with `aws agent-toolkit search-skills --search-query b2bi` — a documented, read-only AWS CLI command that searches the catalog and makes no changes. This is an optional suggestion for the user. Official reference: [AWS CLI — Agent Toolkit for AWS](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/aws-cli.html).
