Solution guide · Supply Chain

Custom Software With EDI Integration: What It Really Costs to Build

The short answer

EDI integration is not a file format problem, it is a trading partner problem. Each partner you onboard has its own dialect of the same X12 or EDIFACT document, its own connection method, and its own certification process. Across 2,000+ Digital Heroes projects, a focused EDI layer added to an existing product runs $15,000 to $60,000 for two to four partners and a handful of document types. EDI inside a first release lands at $50,000 to $130,000 over 10 to 16 weeks. A full multi-partner platform with mapping tooling, self-serve onboarding and a compliance dashboard runs $150,000 to $350,000 over 6 to 12 months. The engineering is maybe 40 percent of the calendar. The rest is waiting on your partner's EDI coordinator.

What EDI actually is once a real trading partner is on the other end

Electronic Data Interchange (EDI) is a set of fixed-format documents exchanged between businesses, mostly ANSI ASC X12 in North America and UN/EDIFACT everywhere else. A purchase order is an X12 850. The acknowledgement of that order is an 855. The advance ship notice is an 856. The invoice is an 810. The functional acknowledgement, the one that says "I received your file and it parsed", is a 997. That list is the part every vendor quotes on. It is the easy part. A competent parser for 850 and 810 is about two weeks of work.

Where the naive version breaks: you go live with a retailer. Their 850 arrives with the ship-to address in an N1 loop with qualifier ST. Your parser reads it, creates the order, everything is fine for three weeks. Then the retailer sends an 850 for a drop-ship order where the ST address is a consumer's home, and a second N1 loop with qualifier BT for the bill-to, and your code takes the first N1 loop it finds because that is what worked for twenty-one days. You ship 400 units of product to the retailer's corporate office. Nobody notices for six days because your integration never sent an 856, so the retailer's receiving system had no expectation to reconcile against. The chargeback for a missing or late ASN at a large grocery or general merchandise retailer is real money, often a percentage of invoice value per occurrence, and it is assessed per purchase order rather than per incident. The failure mode here is not a server going down. It is a silent semantic misread that shipped wrong for a week.

The second thing that breaks: you send an 810 invoice, get a 997 back saying accepted, and assume you are paid. The 997 only means the syntax parsed. The 824 application advice, if your partner even sends one, is what tells you the invoice was rejected for a price discrepancy against the original 850. Teams that treat 997 as success sit on 90 days of unpaid invoices and do not find out until finance asks.

Every trading partner is a separate integration, and their spec is a PDF

There is no such thing as "supporting X12 850". There is supporting a specific partner's 850 implementation guide. The X12 standard defines segments and qualifiers, then each partner publishes a companion guide that says which segments are mandatory for them, which qualifiers they use, what their internal item numbers look like, and which of the standard's optional elements they will reject you for omitting. These guides are 40 to 200 page PDFs. They are not machine readable. They contradict themselves.

Practical consequences you should budget for. The same 850 from two partners will disagree on where the ship-date lives: one uses DTM with qualifier 002, another puts it in a PO4 loop, another sends a blanket order with releases in an 862 and expects you to know the 850 was informational. Unit of measure codes differ: one partner sends EA for each, another sends CA for case with a PO4 pack quantity you must multiply. Item identification differs: UPC in the LIN loop for one, their internal SKU for another, and you need a cross-reference table your ERP (Enterprise Resource Planning) does not have.

What a competent build does: it separates the parser from the mapper. The parser turns raw X12 into a neutral structured object and is written once. The mapper is per partner, is data-driven rather than hard-coded, and lives in config that a non-engineer can inspect. If you see a proposal where partner-specific logic is if (partnerId === 'ACME') branches inside the order service, that build will cost triple by partner number five. Realistic velocity from our delivery data: the first partner takes 3 to 5 weeks including certification. Partners 2 and 3 take 2 to 3 weeks each. By partner 6, with the mapping layer built, you are at 3 to 8 days each. The curve only bends if someone paid to build the mapping layer up front.

Transport is a 1990s problem you still have to solve

The document is only half of it. The connection is the other half, and it is where most timelines slip.

Options in the real world. AS2, defined in RFC 4130, is the most common direct method: HTTP with S/MIME signing and encryption, plus a Message Disposition Notification (MDN) that proves receipt. It requires X.509 certificates that you and your partner exchange, and those certificates expire. A certificate rollover with a large partner is a coordinated, scheduled event that takes weeks of email, and if you miss the window your inbound orders stop with a TLS or signature error at 2am on the expiry date. SFTP is common and simpler but has no acknowledgement layer, so you build your own file-received tracking. VANs (Value Added Networks) like SPS Commerce, TrueCommerce, Cleo or OpenText act as a post office: you connect once to them, they connect to everyone. Some partners still use AS1 over SMTP. Some large partners will only connect through a VAN they specify.

The interchange control numbers matter more than people think. The ISA13 interchange control number and GS06 group control number must be unique and, for some partners, strictly increasing. If your service redeploys and resets a counter, or two instances of your sender run concurrently and race, the partner rejects the interchange as a duplicate. That is a distributed sequence-generation problem rather than a formatting problem. Use a database sequence with a transactional reservation, not an in-memory counter, and never let two writers share a sender ID.

Also: X12 segments are terminated by a character you get from the ISA header itself, not a fixed newline. Partners use different element separators, sub-element separators and segment terminators. A parser that hard-codes ~ and * works until the day it does not.

Idempotency, replay, and the duplicate order problem

EDI is asynchronous and lossy in exactly the ways that cause duplicates. A partner's VAN retries. A file drops into your SFTP directory twice because a poller crashed between read and archive. A partner resends the entire day's batch because of an issue on their side, and you now have 300 850s you have already processed.

What a competent build does: deduplicate on the partner-supplied purchase order number (BEG03 in an 850) combined with the sender ID, not on a hash of the file, because the same logical order can arrive with a different control number. Store every raw inbound interchange immutably before parsing, keyed by ISA13, so you can replay it. Make processing idempotent so replaying the archive is safe and boring. Treat a resend of the same PO number with a different BEG02 purpose code (00 original vs 01 cancellation vs 04 change) as a distinct state transition rather than a duplicate, because change orders arrive as an 860 or as an 850 with purpose code 04 depending on the partner.

Failure mode most builds miss: partial batch failure. An interchange contains 50 transaction sets and set number 37 has bad data. Do you reject all 50 or accept 49? The 997 lets you accept or reject at the transaction-set level, and most partners expect exactly that granularity. All-or-nothing processing means one bad line item stops a whole day of orders.

Testing and certification is a calendar item, not a sprint task

This is the line nobody quotes. Before a partner turns on production EDI with you, they run a certification cycle: you send test documents to their test environment, a human at their end reviews them, sends back corrections, and you iterate. With a large retailer this is 2 to 6 weeks of elapsed time, most of it waiting. Their EDI coordinator has a queue. You will get one round of feedback per week if you are lucky. Some partners have testing windows and will not accept new certifications during Q4 peak.

You also cannot generate realistic test data yourself. You need their actual sample files. Ask for them on day one, in writing, before you write a line of code. Half the surprises in this work come from a segment that is not in the companion guide but appears in every real file they send.

Budget implication: for a project touching three partners, assume 6 to 10 weeks of calendar where your engineers are blocked on someone else's inbox. Good delivery plans stack partner certifications in parallel and use that time for the internal mapping tooling.

What this costs and what drives the number

These bands come from Digital Heroes delivery across 2,000+ projects.

A focused EDI capability added inside an existing product, with 2 to 4 partners and 3 to 5 document types (typically 850, 855, 856, 810, 997), runs $15,000 to $60,000. That assumes you already have an order model, a database and a deployment pipeline, and that you are connecting via SFTP or a VAN rather than standing up AS2 yourself.

EDI as part of a first release, where the surrounding order and inventory system is also being built, runs $50,000 to $130,000 in 10 to 16 weeks. The EDI work is roughly a third of that, and the rest is the domain model it plugs into.

A full platform, with a mapping UI, self-serve partner onboarding, AS2 in-house, a compliance and chargeback dashboard, and 10 or more partners, runs $150,000 to $350,000 over 6 to 12 months.

What specifically pushes this capability's number up, in order of impact. Partner count is the single biggest driver and it is superlinear early, sublinear late: going from 1 to 4 partners roughly doubles cost, going from 10 to 20 adds maybe 30 percent if the mapping layer exists. Document type breadth is next: adding 856 ASN generation is expensive because it requires packaging hierarchy (pallet, carton, item) and SSCC-18 barcode label generation on GS1-128 labels, which drags in physical printing and often a scale or WMS (Warehouse Management System) integration. Adding AS2 in-house instead of using a VAN adds $8,000 to $20,000 and ongoing certificate operations forever. Outbound is more expensive than inbound: parsing someone else's file is easier than producing one that passes their validation. And if your ERP is the actual source of truth, the ERP connector, not the EDI, is where the money goes.

When you should NOT build this

If you have fewer than five trading partners, no unusual document types, and a standard ERP or e-commerce backend, buy it instead of building it. SPS Commerce, TrueCommerce, Cleo Integration Cloud and Orderful will map your partners for you as a service. That is a monthly subscription plus per-document fees, and it buys you out of the certification cycles, the AS2 certificate rotations and the companion-guide archaeology. Get a real quote against your actual document volume and partner count before you compare it to a build, because the comparison is rarely close: the service works on day 30, the build works on day 120. If EDI is a cost of doing business for you rather than a product differentiator, stop reading and go get that quote.

Build custom when one of three things is true. First, EDI is your product: you are the platform other people connect through, and mapping speed is your moat. Second, your document flow is genuinely non-standard, for example EDI events must trigger real-time decisions inside your own system rather than land in an ERP inbox, and the round-trip through a VAN's batch schedule breaks your business. Third, you have partner volume where per-document VAN pricing has crossed into six figures a year, at which point the build pays back inside 18 months. Everyone else is paying for the privilege of maintaining a parser.

Middle path worth taking seriously: use a VAN for transport and partner mapping, and build only the thin layer that turns their normalized API into your domain events. That keeps the ugly part outsourced and the valuable part in-house, and it is what we recommend to most clients who come in asking for full custom EDI.

How to brief and vet a developer for this

Give them, before any estimate: the actual companion guides from each partner, real sample files (not spec examples), the list of document types with direction, the transport method each partner requires, and whether the ERP or your system owns order state. An estimate given without the companion guides is fiction.

Questions that expose someone who has never shipped EDI. Ask what a 997 actually confirms, and whether they would treat it as delivery confirmation. Anyone who says yes has never been paid late because of it. Ask how they generate ISA13 control numbers across multiple app instances. If the answer is not "a database sequence" or equivalent, they will ship duplicate-interchange rejections. Ask where the segment terminator comes from. If they say "it's a tilde", they have parsed exactly one file. Ask how they would handle an 850 with purpose code 04 for a PO already shipped. Ask what happens when transaction set 37 of 50 fails validation. Ask how long they expect certification with a large retailer to take, and treat any answer under two weeks as inexperience. Ask them to describe an 856 they built and what the packaging hierarchy looked like, because that is the document that separates people who have read about EDI from people who have done it.

One more: ask what they would do if the partner's spec and the partner's real files disagree. The correct answer is "map to the real files, log the deviation, raise it with their coordinator in writing, and never silently accommodate it in the parser." Anyone who says "follow the spec" will go live and immediately fail.

Research & sources

The evidence behind this guide

Independent findings on why this investment pays off. Every link goes to the primary source.

  1. In a survey of 579 supply chain professionals (July 31 to October 1, 2024), only 29% had built at least three of the five capabilities Gartner identifies as needed for future competitiveness (agility, resilience, regionalization, integrated ecosystems, and enterprise-wide strategy). Source: Gartner (2025) →
  2. Across 1,471 IT projects the average cost overrun was 27%, but one in six projects was a 'black swan' with an average cost overrun of 200% and a schedule overrun of nearly 70%. Source: Harvard Business Review (Bent Flyvbjerg & Alexander Budzier, University of Oxford) (2011) →
  3. Retailers connecting point-of-sale and loyalty data in an omnichannel strategy reported up to 15% lower cost per purchase and nearly 20% higher incremental store revenue. Source: Deloitte (2024) →
  4. Median SaaS spend reached $9,455 per employee, and organizations leave an average of 36% of their SaaS licenses unused. Source: Zylo (2026) →
Rohan Malhotra · Enterprise Software Consultant

Rohan advises mid-market and enterprise teams on ERP, CRM and custom software, and has led delivery on dozens of business-software builds.

Writes for Digital Heroes, shipping business software for 2,000+ brands across 55+ countries since 2017.

FAQ

Frequently asked questions

How much does adding EDI integration to an existing app cost?
A focused EDI layer inside a product that already has an order model typically runs $15,000 to $60,000 for two to four trading partners and three to five document types like 850, 855, 856, 810 and 997. That range assumes you connect through a VAN or SFTP rather than standing up AS2 yourself, which adds $8,000 to $20,000 plus ongoing certificate operations. Partner count is the biggest cost driver: going from one partner to four roughly doubles the number.
How long does an EDI integration take to build?
Plan 10 to 16 weeks if EDI ships as part of a first release, and 4 to 8 weeks for a focused add-on to an existing system. The engineering is only about 40 percent of that calendar. The rest is trading partner certification, where you send test files and wait for a human at their end to review them, typically 2 to 6 weeks of elapsed time per large partner.
Can you add EDI to our existing application without rebuilding it?
Yes, in most cases. EDI sits at the edge of your system: it parses inbound documents into your existing order objects and produces outbound documents from them. The work only gets invasive if your order model has no concept of the things EDI requires, such as packaging hierarchy for an 856 advance ship notice or per-partner item cross-references.
What breaks first when EDI integration goes to scale?
Duplicate documents and control number collisions. Partners and VANs retry, batches get resent, and if you deduplicate on a file hash instead of the purchase order number plus sender ID, you create duplicate orders. Separately, if two instances of your sender generate ISA13 interchange control numbers from memory instead of a database sequence, the partner rejects your interchanges as duplicates.
Should we use a service like SPS Commerce or Orderful instead of building custom?
Yes, if you have fewer than five trading partners and standard document types. A managed VAN maps your partners for you, handles certification and absorbs certificate rotations, priced as a monthly subscription plus per-document fees, so get a quote against your real document volume before comparing it to a build. Build custom only when EDI is your product, your flow is genuinely non-standard, or your per-document VAN spend has crossed six figures a year.
What does a $150,000 EDI budget actually get you?
At $150,000 to $350,000 over 6 to 12 months you get a full platform: a data-driven mapping layer, self-serve partner onboarding, AS2 transport in-house, a compliance and chargeback dashboard, and ten or more live partners. That is the right band only if you are the platform other companies connect through. A supplier connecting to four retailers is overpaying by a factor of five at that budget.
Which EDI documents cost the most to implement?
The 856 advance ship notice is the most expensive by a wide margin. It requires a packaging hierarchy of pallet, carton and item, plus SSCC-18 barcodes on GS1-128 labels, which pulls in label printing and often a warehouse system integration. Outbound documents generally cost more than inbound because producing a file that passes someone else's validation is harder than parsing theirs.
Is X12 the same everywhere, so one parser covers all partners?
No. X12 defines the segments, but each partner publishes a companion guide specifying which segments are mandatory, which qualifiers they use and what they will reject. Two partners' 850 purchase orders will disagree on where the ship date lives and how units of measure are coded. The parser is written once; the mapper is per partner and should be config-driven, not hard-coded branches.
What should we hand a developer before asking for an EDI estimate?
The actual companion guides from each partner, real sample files rather than spec examples, the document types with direction, the transport method each partner requires, and whether your system or your ERP owns order state. Any estimate given without the companion guides and real files is a guess, and the gap between the published spec and the files partners actually send is where most EDI overruns come from.
How much does a custom warehouse management system cost to build?
A custom WMS typically costs $40,000 to $120,000 for a single-warehouse operation, and $120,000 to $300,000 once you add multiple sites, wave picking, and labor tracking. Across Digital Heroes WMS builds, the biggest cost drivers are scanner-based workflows, real-time inventory sync with your ERP, and the number of picking strategies you need. A pilot covering receiving, putaway, and picking for one warehouse is the cheapest credible starting point.
Is custom supply chain software cheaper than SAP over five years?
For small and mid-size operations it usually is, because SAP costs compound through licensing, implementation partners, and per-user fees, while custom costs are front-loaded. SAP Business One's published list price has run roughly $3,200 per professional user as a perpetual license plus annual maintenance near 20 percent, and the S/4HANA proposals Digital Heroes clients share are typically in the hundreds of thousands before any customization. A $60,000 to $100,000 custom build with 15 to 20 percent annual upkeep often costs less by year three for a 10 to 30 user company, and you stop paying per seat as you hire.
Who owns the code when an agency builds my supply chain software?
You should own it outright, with full IP assignment on payment written into the contract, and you should walk away from any agency that only licenses the software to you. Insist on the code living in a repository under your own GitHub or GitLab account from day one, not handed over at the end. Digital Heroes contracts assign all custom code, database schemas, and documentation to the client; the only carve-outs should be clearly listed open source libraries.
Will custom software scale as we add warehouses, SKUs, and order volume?
Yes, if multi-location support and your target volumes are stated requirements at design time, because a schema built for one warehouse is expensive to retrofit for ten. A well-built system on PostgreSQL comfortably handles millions of SKUs and tens of thousands of orders per day on modest cloud hardware, so scaling cost shows up in hosting bills rather than rewrites. Give your agency the 3-year growth picture upfront even if phase one covers a single site.
Should I hire a freelancer or an agency to build supply chain software?
For anything past a single-user internal tool, use an agency or an established team, because supply chain systems need backend, frontend, integration, and QA skills that rarely live in one freelancer. A solo developer can build a $10,000 inventory tracker; a system that talks to your ERP, carriers, and warehouse scanners fails badly when its only author is unreachable during a shipping cutoff. In the proposals Digital Heroes sees clients compare, agencies cost 20 to 50 percent more but give you continuity, code review, and someone answerable when order data stops flowing.
What are the biggest mistakes first-time software buyers make?
Choosing the lowest bid, paying more than 30-40% upfront instead of on milestones, skipping a written specification, and having no maintenance plan for after launch. The most expensive of the four in Digital Heroes rescue projects is the missing spec: without written acceptance criteria, done becomes an argument instead of a checklist, and every disagreement resolves in the vendor's favor. Fix those four and you have avoided most of the ways these projects fail.
How long does it take to build custom supply chain software?
Plan on 10 to 14 weeks for a first production release covering one or two core workflows, and 6 to 9 months for a full platform spanning procurement, inventory, and fulfillment. Digital Heroes ships most supply chain MVPs in about 12 weeks with a 4 to 6 person team. Integrations are the schedule risk: each ERP, EDI, or carrier connection typically adds 2 to 4 weeks of build and testing.
Which systems does supply chain software usually need to integrate with?
The standard set is your accounting or ERP system (QuickBooks, NetSuite, SAP), your sales channels (Shopify, Amazon, or a B2B portal), carriers and 3PLs for rates and tracking (UPS, FedEx, or an aggregator like EasyPost), and warehouse hardware such as barcode scanners and label printers. EDI connections to large retail customers are their own workstream. In Digital Heroes scoping, integration work is commonly 30 to 50 percent of total project effort, so listing every connected system upfront is the single best way to get an accurate quote.
Can I build my product on a no-code tool like Bubble instead of hiring developers?
For testing whether anyone wants the product, yes, and Bubble's paid plans start at $29 a month, which is the cheapest validation you will ever buy. The ceiling arrives with complex data relationships, heavy integrations, performance at a few thousand users, and the fact that you cannot export a Bubble app to servers you control. A path many Digital Heroes clients take: prove demand on no-code, then rebuild custom once revenue justifies it, treating the no-code version as a paid prototype rather than a foundation.
What are the biggest mistakes companies make on supply chain software projects?
The top three: replacing every system at once instead of one workflow at a time, skipping data cleanup so the new system inherits years of bad SKUs and phantom stock, and designing screens without the warehouse staff who will use them daily. A fourth is underscoping integrations and discovering mid-project that the ERP connection is half the work. Digital Heroes sees more supply chain projects fail from scope and data problems than from any technical cause.
Keep reading
let's build

Build something worth launching.

A plan, a team, a timeline, within 24 hours. No decks, no discovery calls. Tell us what you're building and we'll come back with a real scope and a real number.

message us directly · we reply within one business day

mission briefing

Monthly dispatch

Playbooks, real build costs, and what we're shipping. One email a month. No fluff.

visit us

New York HQ

1140 Broadway, Suite 704 · New York, NY 10001

Get directions
Online now

Hey there 👋 How can we help you today?