Tediware launches an official MCP server for EDI.Learn more →
Access X12 from your terminal Get the tedi CLI

838 Trading Partner Profile

A Trading Partner Profile gives a company’s business details to the companies it trades with, so they can keep their records up to date. It can also ask a trading partner for its profile, or ask it to check or change one. The details range from addresses and payment terms to tax information, survey answers and supplier ratings. The BTP (Beginning Segment For Trading Partner Profile) segment shows the purpose of the message, N1 (Name) loops describe each organization or location, and TXN (Transaction Capabilities) segments list the EDI transactions it can exchange.

For example, Ashdown Fittings moves its accounts department and starts sending invoices by EDI on the same day. It sends an 838 to its customer Bexley Manufacturing. An N1 loop carries the new address in N3 (Party Location) and N4 (Geographic Location) segments, and a PER (Administrative Communications Contact) segment names the person to call. A TXN segment adds the Invoice (810) to the list of transactions Ashdown can exchange, with the date it takes effect. Bexley updates Ashdown’s vendor record and prepares its system to receive the invoices.

Structure

Trading Partner Profile (TD838) contains 1 table (Heading), 10 loops, and 53 segments. Sign up free or login to view every table, loop, and element in full, as well as download it in Markdown or console (text) formats.

Heading
ST 010
Transaction Set Header
R
Max 1
ERI 510
Entity Relationship
O
Unbounded
AMT 520
Monetary Amount
O
Unbounded
SE 530
Transaction Set Trailer
R
Max 1

Sign up free to see the full TD838 reference

See every segment, loop, and element across all 1 tables. Download it in console (text) or Markdown format, or use the tedi CLI to access the full X12 reference from your terminal.