Platinum Sponsor, Community Summit North America 2026, Nashville, Booth 311. See details

Support Contact

Onboarding template

Trading Partner Requirements Specification

One specification per trading partner. It defines the EDI requirements, configuration details and transaction-level rules for the relationship between your company and the partner, and it is the foundation for implementation, testing and production setup in Framework Interchange for Microsoft Dynamics 365 Finance & Supply Chain Management.

Download the template (.docx)

1. Trading partner profile

Who the partner is and how the connection is made.

IdentityTrading partner name; partner EDI ID and qualifier; Framework EDI ID and qualifier
Communication methodAS2, SFTP, HTTPS, VAN or API
EDI file formatFlat, XML or JSON
EndpointsTest endpoint; production endpoint
ContactsTechnical contact name, email and phone
Acknowledgements997, 999 or none
ScheduleTest window; planned go-live date

2. General EDI configuration

Data sourceFile, API or queue
Integration directionInbound, outbound or both
File naming conventionAs agreed with the partner
Character setASCII or UTF-8
DelimitersSegment terminator (~), element separator (*), sub-element separator (:)
Envelope standardsX12 or EDIFACT; ISA and GS setup (ISA06, ISA08, GS02, GS03)
Acknowledgement timingImmediate, delayed or batch
Error notificationsRecipient name and email
AI Advisor exception monitoringEnabled or disabled

3. Transaction details

Each transaction set in scope gets its own block: direction, purpose, trigger in Dynamics 365, required and optional segments, business rules, Advisor validation and the test files required. The template ships with the five most common transactions and a general block for any other.

EDI 850, purchase order (inbound)

PurposeImport customer purchase orders to create sales orders in Dynamics 365
Trigger in D365Creates sales records
Required segmentsISA, GS, ST, BEG, REF, N1, N3, N4, PO1, CTT, SE
Optional segmentsSAC (allowances and charges), TD5, FOB
Business rulesValidate PO duplicates before creation; default the customer account from the N1 loop; map partner item to internal item number
Advisor validationDetect mismatched quantities; alert if price is below cost; flag unknown SKUs
Test files requiredThree minimum: new, change, cancel

EDI 810, invoice (outbound)

PurposeSend invoices for posted customer invoices
Trigger in D365Event or batch
Business rulesMatch invoice to originating PO; include freight and tax details if provided; one invoice per PO unless the partner allows multiple
Advisor validationCross-validate invoice amount against PO total; detect missing tax or freight values

EDI 856, advance ship notice (outbound)

PurposeNotify the trading partner of shipment details
Trigger in D365Packing slip posting or shipment confirmation
Hierarchical structureShipment, order, pack, item
Business rulesValidate shipped quantity equals invoiced quantity; include SSCC and GS1 labels if required
Advisor validationDetect missing tracking numbers; warn on ASN timing delays

EDI 940, warehouse shipping order (outbound)

PurposeSend a shipment request from Dynamics 365 to a 3PL warehouse
Trigger in D365Transfer order or sales order release to warehouse
Business rulesInclude ship-from and ship-to locations; map the Dynamics 365 warehouse to the partner warehouse code
Advisor validationFlag missing warehouse codes; check for incomplete address data

EDI 945, warehouse shipping advice (inbound)

PurposeReceive confirmation from the warehouse for completed shipments
Trigger in D365Update shipment status to Confirmed
Business rulesMatch against the 940; update quantities and confirm shipment; create the ASN automatically if configured
Advisor validationIdentify missing or duplicate shipment confirmations; alert if quantities do not match the 940

Other transactions

The general block covers any other transaction set, for example the 820 payment, 855 PO acknowledgement or 846 inventory advice: direction, trigger in Dynamics 365, business rules, Advisor validation and the number and type of test files.

4. Testing and validation plan

PhaseObjectiveResponsible
Connectivity testValidate the AS2 or SFTP connectionFramework Systems and partner
Data structure testConfirm envelope, delimiters and schemaFramework Systems and partner
Functional testValidate business logic (PO to invoice to ASN)Framework Systems and partner
User acceptance testConfirm Dynamics 365 integration and document postingCustomer
Production cutoverEnable production endpointsFramework Systems

5. Error handling and notifications

Event typeMethodDescription
Transmission failureEmail or Framework portalFailed AS2 or SFTP delivery
Validation errorFramework Advisor or emailSchema or mapping failure
Business rule exceptionFramework AdvisorPrice, quantity or item mismatch
AI Advisor alertPortalPattern-based or predictive warning

6. Compliance, documentation and sign-off

  • Attach partner EDI specifications (X12 or EDIFACT PDFs), test results and partner sign-off sheets.
  • Document Framework EDI entity mappings and any transformation or mapping extensions (custom X++ class references).
  • Approval is signed by Framework Systems, Inc., the customer and the trading partner.