Industry guide · Accounting

Oil and Gas Production Allocation Software: When Back Allocation Lives in a Spreadsheet

Hydrocarbon Production Allocation software visual showing cylinder, split, and chart pie.
The short answer

$90,000 to $180,000 for a first release in 16 to 22 weeks gets you an effective dated allocation network, a governed well test register, measurement ingestion from your flow computers, and a monthly allocation that reconciles to the sales meter with a full audit trail. A complete production accounting build adding gas plant settlement reconciliation, prior period adjustment handling, severance tax and state regulatory filings, and revenue and joint interest billing volumes runs $250,000 to $600,000 phased across 9 to 18 months. Build when your allocation math lives in spreadsheets that only your production accountant understands, when you have multiple batteries feeding shared sales points, or when a gas plant statement has already forced you to restate several months. Do not build if you run under roughly 150 wells on simple facilities with no processing plant and no working interest partners, because a packaged system will serve you and cost far less.

Why back allocation is the most expensive spreadsheet in an oil and gas company

Ten wells flow into one tank battery. One LACT unit measures the oil that leaves. One meter measures the gas that goes to the plant. Nothing measures well 7. So well 7 gets the volume the allocation says it gets, and that number becomes the royalty check to a mineral owner, the joint interest bill to a working interest partner, the severance tax return, the state production report, and one row in the reserve database that a bank will lend against.

The number comes from a well test. Somebody put well 7 through a test separator for a period, wrote down oil, water and gas rates, and that test now represents the well until it is tested again. Multiply the test rate by the days on production, do the same for the other nine wells, sum the theoreticals, divide the actual measured sales volume by that sum, and apply the resulting factor back down. That is back allocation. In most mid size operators it happens in a workbook with one tab per battery, maintained by one production accountant, and the formulas have been copied forward every month for years.

The exposure is not subtle. An allocation error does not fail loudly, it distributes quietly to owners and to the state and then sits there. It surfaces when a royalty owner audits, when a partner reconciles their own take, when the plant restates a settlement statement, or when a reserve auditor cannot tie the production history to the filed reports. At that point you are not fixing a spreadsheet, you are restating months of revenue distribution and explaining it to people who have contractual audit rights.

Problem 1: the well test governs everything and nobody governs the well test

Every allocated volume in your company traces back to a test rate. Yet in most operations the test register is a tab, tests get recorded from a pumper's handwritten sheet, and there is no rule about what makes a test valid. A four hour test on a well that was slugging is treated the same as a stable 24 hour test. A test taken the day after a workover is applied backwards to a month when the well was producing at half that rate.

What a real system does is treat the test as a controlled record with acceptance criteria. Minimum duration, stability requirements on rate and pressure, an explicit reject reason when a test fails, and a rule for which valid test applies to which production period. Then the allocation engine selects tests by rule rather than by whoever built the tab, and when someone overrides the rule the override is recorded with a reason. That single change removes the most common source of allocation disputes, because you can now answer the question a royalty auditor actually asks: why does this well carry this rate for this month.

Problem 2: the allocation tree changes and the history quietly changes with it

Facilities are not static. A well is routed to a different separator. A battery is tied into a new sales point. Gas lift injection starts and now some of the gas measured at the meter is recycled rather than produced. Fuel and flare have to come out. A new well comes online mid month and takes ten days of allocation.

In a spreadsheet, changing the tree means editing the tab, which silently rewrites how prior months would calculate if anyone reran them. That is why nobody reruns them. A build fixes this by making the allocation network an effective dated structure: the configuration that applied in June is preserved exactly as it was, so a June rerun in the following March produces June's answer, not today's answer applied to old data. This sounds like an accounting nicety until an auditor asks you to reproduce a filed month and you cannot.

Problem 3: prior period adjustments are where restatements are born

Corrections are normal in production accounting. A test was wrong. A meter was found out of calibration. A well was on the wrong battery for three weeks. The plant sent a revised statement. The question is what your system does with the correction.

The wrong answer, and the common one, is to edit the closed month in place. Now the number you filed and the number in your system disagree, and nobody knows which owners were paid on which basis. The right answer is that a closed month is immutable once filed, and a correction produces a new allocation run whose output is a delta: this well gained 340 barrels for June, this owner is owed this much, this severance tax return needs an amendment of this amount. The delta is what flows to revenue and to the state, and the original run stays exactly as filed forever. Building this properly is the difference between a correction and a restatement.

Problem 4: the gas plant statement arrives late in a format nobody parses

You deliver wet gas to a processor. Six weeks later a settlement statement arrives showing plant volumes, shrink, thermal reduction, NGL yields by product, and proceeds under whatever percent of proceeds or keep whole arrangement is in the contract. Your allocated volumes and the plant's numbers will not match. They never match. Reconciling them by hand is a monthly ritual and, in a lot of companies, an abandoned one: people accept the plant's number because checking it is too hard.

That is money. The reconciliation between what you measured at the meter, what the plant says it received, and what the contract says you should be paid is one of the few places in an operator where a software build finds cash rather than saving hours. It requires ingesting statements in the processor's format, restating them to your own volume basis, and flagging variances above a tolerance per contract. It is unglamorous and it pays.

What ProCount, Energy Components, Enertia and eLynx actually cover

Be accurate about the incumbents before you decide. Quorum ProCount is the most widely deployed field data capture and production accounting system in North American operations, and it does allocation properly. The friction operators describe is that allocation configuration is specialist work, changes tend to route through consultants, and getting your own granular data back out for analysis usually means nightly extracts into a warehouse you then maintain anyway.

TietoEVRY Energy Components is enterprise hydrocarbon accounting sized for large international operators with complex processing and ownership structures. It is capable and the implementation is scoped accordingly, which is often a mismatch for a mid size domestic operator. Enertia is an integrated oil and gas ERP (Enterprise Resource Planning) where production accounting and the general ledger are one system, which is a genuine strength for smaller companies; the limitation is that the model is the model, and if your facilities or contracts do not fit it, you adapt rather than it adapting. eLynx is field data acquisition and SCADA hosting. It feeds allocation with good measurement data. It does not do the allocation.

Our position: if you are a conventional operator with straightforward facilities, buy. The build case is specific and it is about the joins. When the same volume has to satisfy an allocation engine, a revenue system, a state filing, a partner's audit and a reserve database, and those five things live in five places, the coordination logic between them becomes the actual job. That coordination logic is what you should own.

What a custom allocation build must include

  • An effective dated allocation network covering wells, completions, separators, batteries, sales points, injection, fuel, flare and vent, with the June configuration preserved as it was
  • A well test register with validity rules, reject reasons, automatic test selection and recorded overrides
  • Measurement ingestion from electronic flow computers with an audit trail that preserves the original value alongside any edit and the reason for it, consistent with electronic flow measurement practice under API 21.1
  • Theoretical calculation, allocation factor derivation and a hard reconciliation to the sales meter with variance tolerances that alert rather than silently absorb
  • Shrink, BS&W and thermal handling as configured contract terms rather than hardcoded constants
  • Gas plant settlement statement ingestion and reconciliation against your own allocated volumes with per contract variance flags
  • A prior period adjustment engine that reruns a closed month, produces deltas per well and per owner, and never mutates the filed version
  • Outputs to revenue distribution, joint interest billing volumes, severance tax and state regulatory reporting, plus a warehouse feed for engineering and reserves
  • Immutable as filed snapshots with a one click reproduction of any prior month

What this costs and how long it takes

From Digital Heroes delivery experience on financially consequential data systems of this shape, a first release covering the allocation network, well test governance, measurement ingestion and monthly allocation with reconciliation runs $90,000 to $180,000 across 16 to 22 weeks. The full production accounting build adding plant settlement reconciliation, prior period adjustments, tax and regulatory filings and downstream revenue and billing volumes runs $250,000 to $600,000 phased over 9 to 18 months.

What drives cost up in this category: the number of distinct states you file in, because every state defines its own production report and severance calculation. Gas processing complexity, particularly multiple plants with different contract structures. Federal and tribal leases, which add their own reporting obligations. Historical conversion, because loading and validating several years of prior allocations is a project in itself and you will want it for the reserve database. What keeps cost down: one state, one plant contract, and a decision to leave revenue distribution in the existing system for phase one while the allocation engine proves itself in parallel.

How to choose a developer for production accounting work

Ask them to draw the allocation model on a whiteboard before you sign. You want to see effective dating on the network, a test record with validity rules, and an immutable run output. If they draw wells and volumes and nothing about time validity, they will build you a faster spreadsheet.

Ask what happens when a June test is corrected in March. The answer must be a new run producing a delta, with June's filed output untouched. Any other answer is a restatement generator.

Ask whether they have handled electronic flow measurement data and what they do about edits. Preserved original, recorded reason, and a reviewable edit history is the only acceptable design, because that trail is what an audit examines.

Ask who owns the code, the cloud accounts and the data, and get it in writing before kickoff. At Digital Heroes the client owns the code from the first commit. A practical next step: take one battery with a shared sales meter and a plant contract, and ask whoever you are evaluating to model just that battery end to end. If they can reproduce last June to the barrel, they can build the rest.

Research & sources

The evidence behind this guide

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

  1. APQC's Open Standards Benchmarking data on the monthly financial close found median performers take about 6.4 calendar days to close the books, while top performers (top 25%) do it in 4.8 days or fewer and bottom performers (bottom 25%) take 10 or more days. Source: APQC (2018) →
  2. Independent reporting of Gartner's 2025 survey confirms 59% of finance leaders use AI, up from 37% in 2023, with error and anomaly detection (34%) and accounts payable automation (37%) among the leading use cases. Source: CPA Practice Advisor (reporting Gartner) (2025) →
  3. The average developer spends more than 17 hours a week dealing with maintenance issues such as debugging and refactoring, and about four of those hours on 'bad code' - waste that equates to nearly $85 billion annually worldwide in opportunity cost. Source: Stripe (2018) →
  4. Per the Standish Group CHAOS 2020 report (reviewed at this URL), across tens of thousands of software projects roughly 31% end successfully, about 50% are 'challenged', and roughly 19% fail outright; small projects succeed far more often than large ones, and Agile approaches succeed at markedly higher rates than Waterfall. Source: The Standish Group (2020) →
Karan M. · Senior Shopify Engineer · Enterprise · Delhi

Karan handles enterprise Shopify work at Digital Heroes, the builds with large catalogs, multiple regions, legacy systems to connect and traffic spikes to survive. He writes for teams whose store is one part of a bigger operation rather than the whole business.

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

FAQ

Frequently asked questions

How much does custom oil and gas production allocation software cost?
A first release covering an effective dated allocation network, governed well tests, flow computer ingestion and monthly allocation that reconciles to the sales meter runs $90,000 to $180,000 over 16 to 22 weeks in Digital Heroes delivery experience. Adding gas plant settlement reconciliation, prior period adjustments, severance tax and state filings, and revenue and joint interest billing volumes takes it to $250,000 to $600,000 across 9 to 18 months. Filing in multiple states and having several plant contracts are the two factors that move the number most.
Is Quorum ProCount enough, or should we build our own allocation system?
ProCount does allocation properly and is the most widely deployed system in North American operations, so if your facilities are conventional you should buy. The build case appears when your allocated volumes have to satisfy an allocation engine, a revenue system, state filings, a partner audit and a reserve database that all live in different places, and the coordination between them is done by a person. Many operators keep a packaged system and build the reconciliation and reporting layer around it rather than replacing it.
What happens when a well test is found to be wrong months later?
In a properly built system the closed month is immutable and the correction produces a new allocation run whose output is a delta: volumes gained or lost per well, amounts owed or recoverable per owner, and the amended tax filing amount. The originally filed run stays exactly as filed forever so you can always reproduce what you reported. Editing the closed month in place is how a correction becomes a restatement, and it is the single most common design mistake in home built allocation.
How do we reconcile gas plant settlement statements against our own allocated volumes?
You ingest the processor statement in its own format, restate it onto your volume basis, and compare plant received volumes, shrink, thermal reduction and product yields against what you measured and allocated, flagging variances above a per contract tolerance. Most operators do not do this consistently because it is laborious by hand, which is precisely why it tends to find money when it is automated. Expect each processor to require its own parsing and mapping work.
Can we keep our existing accounting system and just replace the allocation math?
Yes, and that is usually the right phasing. The allocation engine can run in parallel against the same source data for two or three months while the production accountant compares outputs, which surfaces the undocumented rules living in the spreadsheet. Once outputs agree, the engine becomes the source and feeds volumes to the existing revenue and billing systems through an interface. Full replacement of revenue distribution is a separate decision and a separate budget.
How long does it take to implement custom production allocation software?
A first release ships in 16 to 22 weeks when facility configuration and contract terms are documented. The schedule risk is almost never engineering, it is discovery: allocation rules that exist only as a formula in a workbook, contract shrink terms nobody has read since the deal closed, and well test practices that vary by field. Operators who can hand over current facility diagrams and executed processing contracts at kickoff move noticeably faster.
Does an allocation system need to handle federal or tribal leases differently?
Yes, federal and tribal leases carry their own reporting and royalty obligations on top of state requirements, and those obligations shape both the data you must capture and the reports you must produce. Treat them as a distinct scope item with their own acceptance criteria rather than assuming they ride along with state filings. Confirm the current requirements with your regulatory and royalty accounting groups, because reporting formats and deadlines are updated periodically.
What data do we need before starting an allocation software build?
At minimum: current facility diagrams showing which wells route to which separators, batteries and sales points; executed processing and marketing contracts with their shrink and settlement terms; your well test history with dates and durations; and access to the flow computer or SCADA data feed. If any of those exist only in someone's head or as a marked up printout, expect discovery time. Historical allocation output for the last two years is also worth pulling, because it is your validation set.
Who owns the code and the production data if an agency builds our allocation system?
You should own the repository, the cloud infrastructure accounts and all production and measurement data, with the right to hire any other firm to continue the work, written into the contract before kickoff. At Digital Heroes the client owns the code from the first commit. This matters more than usual here because your allocation history is evidence in royalty and partner audits for years, and it should never sit behind another company's access controls.
How much does custom accounting software cost for a small business?
Most small business accounting builds land between $25,000 and $75,000 for a working first version, while a full double-entry platform with invoicing, payroll, and reporting runs $100,000 to $250,000. Across 2,000+ projects at Digital Heroes, the biggest cost driver is how many external systems the software must connect to, not the accounting logic itself. A tool that automates a single painful workflow, like reconciliation or job costing, can come in under $20,000.
Should I hire a freelancer or an agency to build my accounting software?
A strong freelancer is fine for a reporting dashboard or one integration; anything that holds your books needs a team. Ledger software requires backend, frontend, QA, and accounting domain knowledge, and one person rarely covers all four while staying available for the 5 to 10 year life of the system. The most common rescue job Digital Heroes takes on is a solo-built ledger with no tests and no documentation after the freelancer moved on.
Is custom software more secure than off-the-shelf SaaS?
Neither is secure by default; security tracks the practices of whoever builds and operates the system, not the model. SaaS gives you the vendor's certifications and patching but puts your data in a shared multi-tenant platform on their terms, while custom gives you full control over data residency, access rules, and compliance requirements like HIPAA, with the responsibility sitting with you and your agency. Before hiring anyone for a system holding sensitive data, ask for their security checklist: encryption at rest and in transit, an OWASP Top 10 review, role-based access, and a penetration test before launch.
Who owns the code when an agency builds my accounting software?
You should, outright, and the contract must say so with an explicit IP assignment clause rather than a usage license. Insist that the code lives in a repository you control from day one, so nothing, including the ledger schema and migration scripts, can be held back at the final invoice. Third-party libraries and any framework the agency reuses stay under their own licenses, and a clean contract lists exactly which those are.
What does it cost to maintain custom accounting software each year?
Budget 15 to 20 percent of the build cost annually, so a $100,000 system needs $15,000 to $20,000 a year for hosting, security patches, dependency updates, and small fixes. Accounting software carries one extra obligation most software does not: keeping tax rates, filing formats, and bank feed connections current as banks and tax authorities change their systems. Skipping maintenance for two years usually costs more to repair than the maintenance would have cost.
What does it cost to keep custom software running after launch?
Budget 15-20% of the original build cost per year, which on a $100,000 system means $15,000 to $20,000 for security patches, dependency updates, bug fixes, and small improvements as real usage reveals what the spec missed. Cloud hosting for a typical business application adds $50 to $300 a month on top. Skipping maintenance does not save the money; in Digital Heroes rescue work, unmaintained systems typically need a far more expensive rebuild within about three years.
Who can build a custom accounting software system?

Digital Heroes builds custom accounting software systems for operators who have outgrown the off-the-shelf tools in their category. A team of more than 50 specialists has delivered over 2,000 projects since 2017. Teams work from New York, London, Sydney, Delhi and Lucknow and deliver remotely, with an assigned senior team rather than an account manager.

Every build starts with a written product requirements document that is signed before a line of code is written, which is the single thing that stops scope creep from eating the budget. Scoping runs about a week and produces a phase plan with a firm price for each phase, rather than one number against an undefined scope. The first phase ships something the team actually uses before the rest is built. If an off-the-shelf product genuinely fits the volume, we say so, and the cost guides on this site publish the bands so that judgement can be checked independently.

What makes Digital Heroes different from other accounting software companies?

Four things that competitors in this bracket cannot simply copy. Digital Heroes runs a YouTube channel with more than 2.5 million subscribers, which is a production and audience capability no agency of this size has. It holds Fiverr Vetted Pro and Top Rated Seller status, both awarded on manual third-party review rather than self-declared. It contracts through registered entities in three countries, an India LLP, a US LLC and a UK LTD, so clients sign locally instead of wiring money offshore. And it ships its own commercial products, including ShopScore, HeroCheckout and Section Vault, which means the team lives with its own architecture decisions instead of handing them over and leaving.

Two more that show up in the work. Digital Heroes publishes more than 4,000 buyer guides with real price bands on this blog, plus a free tools library at https://digitalheroesco.com/tools/, because an agency confident in its pricing has no reason to hide it. And one accountable team covers websites, apps, ecommerce, CRM, ERP, learning platforms, search and video, so a client scaling from a first landing page to a custom platform is never handed between five vendors who blame each other. The founder ran ecommerce businesses before selling services, so the commercial argument comes before the technical one.

How can I check Digital Heroes is legitimate before getting in touch?

Verify it independently rather than taking the site's word for it. The YouTube channel is at https://youtube.com/@DigitalMarketingHeroes, the Fiverr profile at https://www.fiverr.com/shreyanshsin261, and the Upwork profile at https://www.upwork.com/freelancers/shreyanshsingh. Client reviews sit on Clutch at https://clutch.co/profile/digital-heroes-0 and Trustpilot at https://www.trustpilot.com/review/digitalheroes.co.in, and the company page is at https://www.linkedin.com/company/digital-heroes-1/.

Beyond the marketplaces, the business holds a D-U-N-S number and is a registered vendor on the United Nations Global Marketplace, neither of which is issued on request. Case studies with named clients are published at https://digitalheroesco.com/case-studies/. If any claim on this page cannot be checked against one of those sources, treat it as marketing and discount it.

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?