{"uid":"cap_2WD30t5n6UgiK9yJPA6_8","slug":"2s-edi-x12-997-functional-acknowledgment-generator-50470722","name":"2s EDI X12 997 Functional Acknowledgment Generator","description":"The (most) everything API: 575+ pay-per-call endpoints for AI agents — ground-truth data, a full AI gateway, and agent infrastructure (storage, queues, watchers). USDC via x402, no signup, no API keys, and upto billing: pay actual usage, not the quote.","url":"https://2s.io/api/edi/ack","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"edi":{"type":"string","description":"Raw inbound X12 interchange text (begins with ISA)."},"status":{"enum":["A","E","P","R","M","W","X"],"type":"string","description":"Functional-group ack status. Default A (Accepted)."},"controlNumber":{"type":"string","description":"Control-number seed (digits) for the generated 997. Default time-derived."}}},"responseSchema":null,"example":{"request":{"edi":"ISA*00* *00* *ZZ*ACME *ZZ*BUYERCORP *230101*1200*^*00501*000000123*0*P*>~GS*PO*ACME*BUYERCORP*20230101*1200*123*X*005010~ST*850*0001~BEG*00*NE*PO-001**20230101~SE*2*0001~GE*1*123~IEA*1*000000123~","status":"A","controlNumber":"997001"},"response":{"data":{"ok":true,"meta":{"ack":"ISA*00*          *00*          *ZZ*BUYERCORP      *ZZ*ACME           *260617*2139*U*00501*000997001*0*P*>~GS*FA*BUYERCORP*ACME*20260617*2139*997001*X*005010~ST*997*0001~AK1*PO*123~AK2*850*0001~AK5*A~AK9*A*1*1*1~SE*6*0001~GE*1*997001~IEA*1*000997001~","delimiters":{"element":"*","segment":"~","component":">"},"acknowledges":{"senderId":"ACME","receiverId":"BUYERCORP","transactionSetCount":1,"functionalGroupCount":1,"interchangeControlNumber":"000000123"},"controlNumber":"000997001"},"items":[{"status":"Accepted","transactionSets":[{"type":"850","response":"A","controlNumber":"0001"}],"transactionSetsAccepted":1,"transactionSetsIncluded":1,"transactionSetsReceived":1,"acknowledgedFunctionalGroup":"PO","acknowledgedGroupControlNumber":"123"}],"total":1,"source":{"url":"https://2s.io/edi/ack","license":"Computed by 2s.io. X12 is an ASC X12 standard; this is an independent generator.","provider":"2s.io X12 997 generator"}},"meta":{"cost":{"usd":0.0018,"tier":0},"caller":"x402","version":null,"endpoint":"edi.ack","settlement":{"txHash":"0xbd5e30ff7cc627cb0406f3717e50b51f0fce98d5f2600ab56d478902684da127","network":"eip155:8453","success":true}}}},"exampleRequest":{"edi":"ISA*00* *00* *ZZ*ACME *ZZ*BUYERCORP *230101*1200*^*00501*000000123*0*P*>~GS*PO*ACME*BUYERCORP*20230101*1200*123*X*005010~ST*850*0001~BEG*00*NE*PO-001**20230101~SE*2*0001~GE*1*123~IEA*1*000000123~","status":"A","controlNumber":"997001"},"tags":["x402"],"displayCostAmount":"0.0018","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0018/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0045","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0045","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OOw9PSYJF2JzQz-G7Qp2D","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0045","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses an inbound X12 EDI interchange and generates a standards-compliant 997 Functional Acknowledgment response segment","exampleAgentPrompt":"Generate a 997 functional acknowledgment for this raw EDI interchange — status Accepted — and give me the full X12 output I can send back to my trading partner: ISA*00* *00* *ZZ*ACME *ZZ*BUYERCORP *230101*1200*^*00501*000000123*0*P*>~GS*PO*ACME*BUYERCORP*20230101*1200*123*X*005010~ST*850*0001~BEG*00*NE*PO-001**20230101~SE*2*0001~GE*1*123~IEA*1*000000123~","exampleUseCases":null,"resultDescription":"Returns a JSON object with ok:true, the full 997 ACK X12 text in meta.ack, parsed delimiter characters, acknowledges object with senderId/receiverId/counts/interchange control number, and an items array detailing each functional group's status, transaction sets received/accepted/included, and per-transaction-set type and control numbers.","failureModes":["Invalid or malformed ISA segment causes parse failure and ok:false","Missing required EDI fields returns error response","Unsupported X12 version may yield incomplete acknowledgment","Non-numeric controlNumber seed causes validation error","Empty edi string returns error"],"whenToPreferThis":"Use this endpoint when you need to programmatically generate a standards-compliant X12 997 Functional Acknowledgment for an inbound EDI interchange without setting up EDI infrastructure, managing trading partner relationships, or obtaining API keys — ideal for AI agents automating B2B supply chain workflows on a per-call pay-as-you-go basis via USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T13:04:37.814Z","isFirstParty":false}