Trax Tech
Contact Sales
Trax Tech
Contact Sales
Trax Tech

Freight Data Contracts Between Systems: Defining Required Fields and Validation Rules

Key Takeaways

  • Passing an EDI check confirms format, not usefulness. An invoice can be structurally valid and still be missing the references finance, audit and procurement need.
  • A freight data contract defines what complete and correct data looks like between systems, covering required fields, validation rules, ownership and service levels.
  • Build the contract backward from the questions your teams need answered, and only require fields that a consuming team actually uses.
  • Every contract needs four rule types (structural, referential, reasonableness and reconciliation), plus a plan for failures: flag before rejecting, assign an owner to every field and version the contract as systems change.
  • Written contracts make it easier to absorb new regulatory requirements like the EU’s VAT in the Digital Age package and give automated audit the consistent data it depends on.

 

Say a carrier’s invoice file clears every EDI check. Weeks later, finance finds the reference field it needed for cost allocation was empty all quarter. The systems never agreed on what the data had to contain. That missing agreement sits behind many freight data integration problems, and data engineering already has a name for the fix: a data contract.

Why Passing an EDI Check Doesn't Mean Your Data Works

EDI standards define the format of a carrier invoice, so a shipper’s system knows where each piece of data belongs. Format is one question. Whether a given invoice carries the specific references your finance, audit and procurement teams depend on is another, and an invoice can satisfy the first without the second. An EDI acknowledgment tells the sender a file was received. It doesn't confirm that the cost center inside it exists in your master data.

In a 2025 survey of 505 data and analytics leaders at large enterprises, the Center for Applied AI and Business Analytics at Drexel University's LeBow College of Business and Precisely found data quality was the biggest challenge to the success of data integration projects. Measuring data quality effectively was the most-cited obstacle to high-quality data, named by 29% of leaders, while 45% said improved data quality was the most significant success of their integration projects.

Without a written definition of complete and correct, there is nothing to measure against. A data contract supplies that definition. In data engineering terms, it is an agreement between the producers of data and its consumers, typically covering structure, quality rules, ownership and service levels.

Start With the Question, Then Work Backward to the Fields

Blake Tablak, CEO of Trax, argues against starting with the systems. In his American Supply Chain Summit keynote, he described three groups every architecture has to account for: "data contributors," "data consolidation points" and "data consumers." His advice was direct. "Do not call IT and say, 'I need to start integrating all of these systems.' Start with the question."

His example came from an accounting team that wants to know what has shipped but not been billed, what has been billed but not paid and what is paid and closed, by 5 p.m. on the 30th of the month. Answering that, he explained, takes TMS data, freight audit data and a way to get ASN information into the freight audit system. His full session recap covers more of these executive questions.

In freight, each consumer brings fields it can't work without.

Consumer

Question it needs answered

Required fields

Freight audit

Was this billed at the contracted rate?

Rate basis, weight, freight class, lane, service level, charge codes

Shipment matching

Is this a valid shipment?

Shipment ID, PO or ASN reference

Finance

Where does this cost belong?

Legal entity, GL code, cost center, currency, tax

Procurement

Which agreement governs this charge?

Contract or rate ID

Only make a field required if one of these teams actually uses it. Every extra requirement is one more thing carriers and internal teams have to get right, so a shorter list is easier to enforce.

4 Validation Rules Every Freight Data Contract Needs

Required fields say what must arrive. Validation rules say whether it can be trusted.

  1. Structural rules check that a field exists and follows the expected format, such as a valid currency code, date or carrier identifier.
  2. Referential rules check that a value exists where it should. A cost center must appear in the current master list, and a shipment ID must match a TMS record. Version 3.1.0 of the Open Data Contract Standard, released in December 2025 by the Linux Foundation’s Bitol project, lets teams declare these relationships inside the contract so tools can verify them even when the source system doesn’t.
  3. Reasonableness rules check whether a value fits the lane, mode and history. Blake described the kind of catch these rules make possible: “All of a sudden a 1-lb package became a 72-lb package. We saw it within minutes.”
  4. Reconciliation rules check that systems agree, matching the invoice to the shipment record and billed charges to the contracted rate.

Start with the rules that guard against your costliest mistakes, such as referential checks on allocation fields and reasonableness checks on weight.

What Happens When a Record Breaks the Contract?

When a record fails a rule, someone has to deal with it, and without a plan, failures just pile up in a new queue. Three decisions keep that from happening.

  • Flag or reject. Rejecting every imperfect invoice on day one strains carrier relationships. Start by flagging failures for review, then move to rejection carrier by carrier as their data quality improves.
  • Assign an owner to every field. Carriers correct the data they supply, like charge codes and weights, while internal teams own master data like cost centers and legal entities. Without clear owners, the same exception can end up fixed by hand every month.
  • Version the contract. A new cost center, a renegotiated accessorial code or an ERP migration can quietly break a rule that worked for years, so review those changes before they go live.

All of this happens at the consolidation point, where data from many contributors is normalized, matched and checked before it reaches finance, procurement or the enterprise data lake. That layer can sit with an internal team, a TMS or a freight audit provider, as long as it runs on one written set of rules.

Regulators Are Adding Requirements of Their Own

Some data requirements will soon stop being a company's choice. The European Union adopted its VAT in the Digital Age package on 11 March 2025. Member States can introduce mandatory e-invoicing under specific conditions, Digital Reporting Requirements will affect cross-border B2B transactions from 1 July 2030, and the package rolls out in stages until January 2035. Each new reporting obligation adds required data somewhere upstream. Companies with written contracts can add those requirements as new rules instead of rebuilding informal mappings under deadline.

AI raises the stakes further. The LeBow research found 43% of data leaders cite data readiness as the most significant barrier to aligning AI with business objectives. Automated audit is only as accurate as its records. Contracted data gives it consistent inputs and frees audit teams for analysis and carrier conversations that need human judgment.

Put Your Freight Data Contract in Writing

Most freight data integration problems trace back to an agreement nobody wrote down. Start with the questions your finance, audit and procurement teams need answered, turn them into required fields, write the four rule types against those fields, then assign owners and failure actions.

Want to see where your carrier and system data falls short of what your teams need? Contact Trax to review your required fields, validation rules and data gaps with our team.New call-to-action