Analytics

867 Data in Pharma: What It Is, How It Differs From 852, and How to Use It

867 data in pharma explained: what wholesalers send, how it differs from 852 and 844, a worked reconciliation, blinding, and how to pick a data partner.

Nov 202614 min readAnalytics

What 867 data in pharma is

867 data in pharma is the line-level sales report a wholesaler or distributor sends a manufacturer showing which of its distribution centres sold how many units of each NDC to which pharmacy, hospital, clinic or physician practice, on which day. It is the manufacturer's main view of where product goes after it leaves the warehouse, and it feeds sales reporting, incentive compensation, chargeback reconciliation and gross-to-net work.

The name comes from the X12 electronic data interchange standard. X12 calls transaction set 867 the Product Transfer and Resale Report and says it can be used to report product transferred from one location to another, or sales of product from one or more locations to an end customer. In pharma, the sender is usually the wholesaler and the receiver is the manufacturer or the data aggregator acting for it.

The idea is simple. Using it is not. 867 files arrive in different layouts from different distributors, customers are identified inconsistently, some outlets are hidden, and the totals rarely match what the wholesaler says it shipped. That is the problem commercial operations, trade, finance and analytics leads at small and mid-sized manufacturers run into, often for the first time while preparing a launch.

Why wholesaler data matters

$933bnprojected 2026 drug distribution revenue for the Big Three wholesalers, Cencora, Cardinal Health and McKesson (Drug Channels Institute, October 2026)
40%+of 2026 US drug distribution revenues projected to come from five customers: CVS Health, Cigna, Walgreens, Walmart and UnitedHealth Group (Drug Channels Institute, October 2026)
2008the year IntegriChain says it began 867 unblinding and unblocking, per its 2026 data aggregation platform page
3core uses IQVIA lists for 867 in its ValueTrak fact sheet (2021): sales operations and incentive compensation, downstream visibility, and financial reporting including 340B exposure

852 vs 867 data, and the other channel feeds

867

Transaction-level outbound sales from each distribution centre to each customer location, plus returns and transfers between locations. It answers the question "which outlet bought how many units, and when". It is the feed used for territory sales, account-level trends and matching chargebacks to real sales.

852

X12 describes 852 as a way to advise a trading partner of inventory, sales and other product activity. In pharma it gives each distribution centre's receipts, total sales, returns and on-hand inventory by NDC, usually daily or weekly, without naming the customers.

844 / 849

The 844 Product Transfer Account Adjustment is the wholesaler's claim for the difference between wholesale acquisition cost and a lower contract price. The 849 is the manufacturer's line-by-line response. They describe contracted sales only, and they are financial transactions, not a full sales view.

Ex-factory

What the manufacturer invoiced and shipped into the channel, from its own ERP or third-party logistics provider. It is the most reliable number you have, but it measures sell-in, not demand.

What a pharmaceutical 867 file usually contains

Each distributor implements the standard its own way, so treat this as the typical content rather than a fixed layout. A usable pharmaceutical 867 feed carries, for every line:

  • Reporting distributor and distribution centre, so you can tie the line to the 852 inventory for that location.
  • Ship-to customer: name, address and some combination of DEA number, HIN, NPI or the distributor's own account number. This is the field that causes most of the work.
  • Product by NDC, with quantity in units or packs. Pack-size confusion between eaches and cases is a classic error.
  • Transaction type: sale, return, credit, or transfer between distribution centres. Transfers must be excluded from demand or you count the same unit twice.
  • Invoice date and invoice number, the anchor for de-duplication and for matching chargebacks.
  • Contract or pricing reference where the sale was made at a contract price, which links the line to an 844 claim.

None of that becomes useful until three things are mastered. First, the customer: the same hospital appears under different names, addresses and account numbers from each distributor, so it needs to resolve to one record in a customer master, with its parent system mapped through an HCO hierarchy. Second, the product: NDCs need to roll up to product, strength and brand through an NDC product hierarchy. Third, the class of trade: retail, hospital, clinic, long-term care, mail order or government, because almost every downstream question is asked by channel.

A worked 867 reconciliation with real numbers

The figures below are illustrative, chosen to make the arithmetic easy to follow. They are not a real product or distributor.

A manufacturer ships 10,000 units of one NDC ex-factory to a wholesaler in October. The wholesaler's 852 for the same month reports opening inventory of 6,000 units, receipts of 10,000, sales of 9,200 and closing inventory of 6,800. Its 867 lines for October, after removing 400 units of transfers between its own distribution centres, add up to 8,700 units of outlet sales.

  • Sell-in versus receipts: ex-factory 10,000 against 852 receipts 10,000. They match, so nothing is in transit at month end.
  • Inventory roll: 6,000 + 10,000 minus 9,200 = 6,800. The 852 is internally consistent.
  • Weeks on hand: 9,200 sold over about 4.33 weeks is roughly 2,125 units a week, so 6,800 on hand is about 3.2 weeks of supply.
  • 852 versus 867 gap: 9,200 minus 8,700 = 500 units, about 5.4% of sales, that the wholesaler says it sold but did not report at outlet level.

That 500-unit gap is the number to chase. It is usually one of four things: outlets the distributor blocks under its data agreements, returns booked differently in the two feeds, a late file, or a transfer coded as a sale. Each has a different fix, and only the first is a contract question.

Now add chargebacks. The wholesaler's 844 claims for October cover 3,100 units sold at a GPO contract price to member hospitals. The 867 shows 2,950 units shipped to the same mastered ship-to accounts. The 150-unit difference, worth 150 times the chargeback per unit, should be investigated before the 849 goes back. Our guide to pharma chargeback management covers how that validation runs.

Finally, incentive compensation. If those 500 unreported units were sold in territories that pay reps on account-level sales, they cannot be credited to anyone. Reps in affected territories see lower attainment than their real performance, and the dispute arrives at quarter end. The practical fix is a documented rule, such as allocating blocked volume by 852 distribution centre geography, agreed with sales leadership before the plan year starts. Our pharma incentive compensation guide explains the trade-offs.

Blinded and blocked 867 data, and what unblinding means

The worked example's 500-unit gap is often a visibility problem. Not every 867 line arrives with a usable customer. Some outlets are blocked, meaning the line is withheld or the customer is suppressed under the distributor's data agreements or policies. Other lines are blinded, meaning the customer is masked or reported at a coarser level of geography or time than the transaction itself. The effect is the same: volume you know was sold, from the 852, that you cannot attribute to an account.

The data vendors are open about this. IQVIA's 2021 ValueTrak fact sheet sells a separate Market Visibility service for insight into activities that are "normally blocked and blinded", which it notes requires an additional subscription. IntegriChain's 2026 platform page describes "industry-standard 867 unblinding and unblocking since 2008". In practice, unblinding means the aggregator holds agreements and reference data that let it resolve masked lines to outlets, or estimate their distribution, and then pass the manufacturer a cleaner file.

Three questions to ask any provider who offers it:

  1. Which lines are resolved, and which are modelled? A projected outlet is not the same as a reported one, and IC plans should treat them differently.
  2. Can we see the blocked volume as its own line? You need to measure the gap over time, not have it disappear into totals.
  3. What can we do with the data under our agreements? Use restrictions on wholesaler data can limit sharing with field teams or third parties. Read them before you design dashboards.

How manufacturers use 867 data

  • Territory and account sales

    Account-level sales by territory and class of trade, refreshed weekly, so field teams see which hospitals, clinics and pharmacies are ordering and which have stopped.

    • New accounts and lapsed accounts
    • Sales by class of trade
  • Incentive compensation

    Sales credited to territories through ship-to alignment, with a written rule for blocked volume. IQVIA's fact sheet names IC as a primary use of mastered 867 data.

    • Territory crediting by ship-to
    • Rules for blinded volume
  • Chargeback and 340B checks

    Contracted units claimed on 844 compared with units actually sold to the same accounts, and 340B-identified sales flagged before rebates are paid.

    • 844 claims versus 867 sales
    • Duplicate discount checks
  • Gross-to-net and accruals

    Sales by channel and contract feed the accrual models finance uses for chargebacks, rebates and returns, so estimates are based on mix rather than last quarter's average.

    • Channel mix for accruals
    • Returns trend by outlet type
  • Launch tracking

    In the first weeks after launch, 867 is often the earliest account-level signal of uptake, before prescription data has enough volume to read.

    • First orders by account
    • Reorder rate after first purchase
  • Channel inventory health

    Combined with 852 and ex-factory data, it shows whether stock is building in the channel ahead of a price increase or a forecast miss.

    • Weeks on hand by distribution centre
    • Inventory build alerts

How to set up an 867 data pipeline, step by step

List your distributors and their data

For each wholesaler and specialty distributor, record whether it sends 867, 852 or both, how often, in what format and over which connection. Your distribution service agreements usually define what data you are entitled to.

Land the raw files untouched

Store every file exactly as received, with the date it arrived, before any transformation. When a number is questioned in six months, this is what lets you prove where it came from.

Standardise to one model

Map every distributor's layout to a single structure: distributor, distribution centre, customer, NDC, quantity in units, transaction type, invoice date and contract reference. Convert packs to units and separate transfers from sales here.

Master customers and products

Resolve ship-to customers to one record with DEA, HIN and address matching, assign class of trade and parent system, and map NDCs to products and brands. This step decides whether the rest of the pipeline is trusted.

Reconcile every period

Compare ex-factory, 852 and 867 for each distributor and NDC, as in the worked example. Publish the gap, by distributor, so everyone can see coverage rather than assume it is complete.

Align to territories and publish

Map mastered accounts to territories, apply the blocked-volume rule, and feed dashboards, IC and finance from the same tables so every team sees the same number.

Monitor and alert

Automate checks for missing files, sudden drops by distributor, new unmatched customers and gaps above a threshold. Analysts should spend their time on exceptions, not on loading files.

Choosing an 867 data aggregator, platform or in-house build

Aggregator

Providers such as IQVIA (ValueTrak) and IntegriChain collect 852, 867 and related feeds from distributors, master customers, and deliver cleaned data and reports. The right default for most manufacturers with several distributors, because the distributor connections and reference data already exist.

Revenue platform

If you already run a revenue management platform for contracts, chargebacks and rebates, its channel data features may cover reconciliation. These tools are built for finance, so commercial reporting and IC usually still need a separate analytics layer.

In-house pipeline

Raw or aggregated 867 lands in your own commercial data warehouse, alongside prescription, specialty pharmacy and CRM data. Most flexible, and the only option where you own every rule, but someone must own customer mastering and the distributor relationships.

Not yet

867 data is not always the next best spend. Wait if your product ships almost entirely through a closed specialty pharmacy network, where dispense and status data tell you more than wholesaler outlet sales. Wait if you have one distributor and a handful of accounts, where a monthly 852 plus the distributor's own customer report may answer today's questions at a fraction of the cost. Wait if nobody will own the customer master, because account-level data with unresolved customers produces dashboards field teams stop trusting within a quarter.

Common 867 data mistakes, and where Greenwolf fits

  • Counting transfers as sales. A distribution centre moving stock to another centre is not demand. Filter transaction types before you sum anything.
  • Mixing units and packs. One distributor reports eaches, another reports cases. Normalise to units per NDC at load time, not in the dashboard.
  • Treating totals as complete. Without the 852 comparison you never see the blocked gap, and you will under-report territories with large chain pharmacies.
  • Overwriting customer history. When an account is acquired or changes class of trade, past sales must keep their original attributes, or quarterly IC and chargeback audits stop reconciling.
  • Building dashboards before reconciliation. The first question from sales leadership will be why the dashboard does not match finance. Publish coverage alongside every view.
  • Ignoring data rights. Check what your agreements allow before you put outlet names in front of a field team or an outside agency.

Most of these are data engineering and master data problems rather than analytics problems, which is why a clean 867 pipeline usually pays back first in chargeback and gross-to-net accuracy, then in field reporting through a pharma channel sales dashboard. If the 867 feed will sit next to prescription, CRM and specialty pharmacy data, plan it as part of a pharma commercial data warehouse from the start. If most of your volume moves through specialty pharmacies instead, start with specialty pharmacy data aggregators.

Where Greenwolf fits. We do not sell wholesaler data and we are not an aggregator. We build the layer that makes 867 data trustworthy and usable once you have it: loading and standardising distributor feeds or aggregator files, customer and product mastering, ex-factory, 852 and 867 reconciliation with published coverage, territory alignment, and dashboards that sales, trade and finance all read from the same tables. For emerging biopharma companies that is often the whole channel analytics function. For larger teams it is what makes an aggregator or platform investment pay off.

This work sits inside our pharma commercial analytics practice and our wider specialty pharmacy analytics work. Our founder started in specialty pharma commercial analytics at ZS, and the team has delivered 1,000+ projects for 200+ clients over 8+ years.

867 data questions

What is 867 data in pharma?
It is the line-level sales report wholesalers and distributors send manufacturers, showing which customer locations bought how many units of each NDC and when. The format is X12 transaction set 867, the Product Transfer and Resale Report.
What is the difference between 852 and 867 data?
852 reports product activity per distribution centre: receipts, total sales, returns and inventory on hand, without naming customers. 867 reports individual sales, returns and transfers to named customer locations. Use 852 for channel inventory and 867 for account and territory sales, and compare the two to measure coverage.
Why doesn't 867 data match 852 or ex-factory sales?
Common causes are blocked or blinded outlets, transfers between distribution centres, returns booked differently, unit and pack differences, and late files. Reconcile by distributor and NDC each period and publish the gap rather than hiding it.
What does unblinding 867 data mean?
Some 867 lines arrive with the customer masked or withheld. Unblinding is when a data provider uses its own agreements and reference data to resolve those lines to outlets, or to estimate where the volume went. Ask the provider to label which lines are reported and which are modelled.
Who provides 867 data aggregation?
Manufacturers can receive feeds directly from distributors or through aggregators. IQVIA's ValueTrak and IntegriChain both publicly describe 867 data management and aggregation services. Revenue management platforms may also process channel data alongside contracts and chargebacks.
How is 867 data used for incentive compensation?
Mastered 867 sales are credited to territories based on the ship-to customer's alignment, which lets reps be paid on account-level sales. Blocked volume needs a written allocation rule, agreed before the plan year, or it causes disputes.
Do small pharma companies need 867 data?
Not always. If your product moves mainly through specialty pharmacies or a single distributor with few accounts, specialty pharmacy data or an 852 feed may be enough at first. 867 becomes valuable as accounts, distributors and contracts multiply.

Want your 867 data to reconcile?

Tell us which distributors and data feeds you have today and what you need them for, with no customer or patient data attached. We will reply with where the gaps probably are and what a reconciled pipeline would take.

Contact us

Reviewed by Team Greenwolf Tech Labs ยท

Part of our Data Analytics Consulting hub. Start with our data analytics consulting.

Talk to us

Is this a problem you are living with?

If any of the above sounds like your week, tell us which part. We will come back with what it would take to fix it.

  • A reply from a consultant, not a sales sequence
  • Usually within one working day
  • No obligation, and nothing to sit through

We reply from [email protected], usually within one working day. We do not add you to a mailing list.