Skip to content
Centriu
Centriu TrustOps

AI Cost Anomaly Detection and Invoice Reconciliation Automation: An Unknown Cost Is Never Recorded as Zero

A cost-tracking system that quietly turns "we couldn't calculate this" into a zero is lying by omission, and it lies in the most dangerous direction: underestimating what was actually spent. Centriu TrustOps refuses that shortcut structurally — an unrecorded cost is stored as an explicit null with its own status, never folded into a total as if it were nothing. On top of that honest foundation sits real anomaly detection, from two distinct and reproducible families: fixed rules (a charge after a service was suspended, a discontinued model still in use, a duplicate charge) and a statistical method built on the median and a robust measure of spread rather than the average, specifically so a single cost spike cannot corrupt the very baseline used to detect it. Vendor invoices are reconciled through a two-step, human-confirmed process with a SHA-256 hash on the file and a check of the declared total against the sum of its own line items.
Median-based, spike-resistant
Unknown cost stays unknown
Small business owner checking a phone
An unknown cost stays unknown. It never becomes zero.

Why summing unknowns as zero is the most expensive mistake a cost system can make

Every cost-tracking system eventually hits a gap it cannot fill: a usage event with no matching price, a currency with no exchange rate for that date, a vendor line item that does not map cleanly to a category. The tempting shortcut is to treat the gap as zero and move on, because a total that includes a zero still looks like a complete, confident number. That confidence is exactly the problem — a total built partly from zeros that are actually unknowns is a total that systematically understates real spend, and nobody double-checks a bill that looks smaller than expected. The gap does not announce itself; it just quietly erodes the number everyone trusts.

How the underlying problem shows up before you fix it

A cost total looks reassuring and turns out, months later, to have silently excluded a category of spend nobody had priced correctly.

A cost spike from a genuine incident — a runaway process, a leaked credential — gets averaged away by a detection method too sensitive to its own outliers to notice the outlier at all.

Two reviewers looking at the same anomaly get different confidence readings because nothing in the tool distinguishes a rule that fired with certainty from a statistical wobble.

An invoice gets keyed in by hand, a digit gets transposed, and nothing catches the mismatch between the declared total and what the line items actually add up to.

A correction to a previously recorded cost overwrites the original number, leaving no trace of what the figure used to be or why it changed.

A currency conversion for an old cost uses today's exchange rate instead of the rate that applied on the date the cost was actually incurred.

Why cost systems tend to smooth over exactly the numbers that matter most

A system under pressure to show a clean, simple total will, by default, resolve every gap toward the value that keeps the total looking complete — and that value is almost always zero, because it requires no judgment call and produces no visible error. The same pressure pushes anomaly detection toward simple averages, which are easy to compute and are precisely the statistic that a genuine spike distorts the most — the outlier that most needs catching is the one most likely to drag the average toward itself and hide inside it.

How Centriu TrustOps detects anomalies and reconciles invoices honestly

A cost that cannot be calculated is recorded explicitly as null with its own calculation-method status, never silently treated as zero in any total — a database constraint makes it structurally impossible to fake a different origin for that value, and the type system used to represent money propagates the gap rather than hiding it. Anomaly detection runs on two separate, reproducible families. The rule-based family checks deterministic conditions: cost continuing after a service was suspended, a discontinued model still generating charges, a duplicate charge, usage outside a declared time window. The statistical family compares a scope's current cost against its own historical baseline using a robust z-score built on the median and the median absolute deviation rather than the mean and standard deviation — deliberately, because a single genuine spike distorts a mean and a standard deviation immediately, which would blunt the very detector meant to catch that spike; the median and its robust spread measure resist exactly that distortion. Every finding — from either family — carries a confidence value explicitly documented as a measure of how well the evidence supports the finding, not a probability of fraud, and every anomaly is explainable line by line, because an anomaly has to be explainable to become an investigation, a chargeback, or an invoice dispute. Vendor invoices move through a genuine two-step process with human confirmation at the center: the file is received, its MIME type and byte-level signature are validated, a SHA-256 hash is recorded, the content is extracted and previewed ten lines at a time, a column mapping is suggested, and the system checks for a duplicate period; only once a person confirms the mapping is the same file resubmitted, re-hashed on the server to confirm it has not changed, and only then does it create the invoice and its line items, validating that the declared total matches the sum of what was actually itemized.

What is actually built today

Costs that cannot be calculated are recorded as explicit nulls with their own status, never folded into a total as zero — enforced by a database constraint, not just application logic.

Two independent, reproducible anomaly-detection families: deterministic rules (post-suspension charges, discontinued-model usage, duplicate charges, off-hours usage) and a statistical method using median and median absolute deviation specifically to resist distortion from the very spikes it is meant to catch.

A confidence value on every anomaly finding, explicitly documented as a measure of evidence strength rather than a probability of fraud.

A two-step, human-confirmed invoice import: MIME and byte-signature validation, a SHA-256 hash, a ten-line preview with a suggested column mapping and duplicate-period detection, followed by a re-hashed confirmation submission before the invoice and its line items are actually created.

A check that a confirmed invoice's declared total matches the sum of its own line items before it is accepted.

Cost is immutable once confirmed, invoiced or reconciled — a correction is recorded as a new, linked delta event pointing at the original, never an edit to it.

A pending currency conversion never enters a cost total, and a later exchange rate is never applied to convert an earlier cost — only a rate dated on or before the cost's own date is used.

Twenty-four dedicated financial-tracking tables, all with row-level isolation by organization, none of them with a delete policy — financial history is never erased.

A statistical outlier and a bad invoice surface the same week (illustrative scenario, not a real client)

A specific project's daily AI cost has held steady for months. One day it jumps sharply. A simple average-based check would have already absorbed part of that jump into a rising baseline over the prior few days of gradual increase leading up to it; the median-based method does not, because the jump has not yet had time to drag a median that is resistant to exactly that kind of outlier. The anomaly fires with a documented confidence level and a specific comparison — today's cost against the recent median, with the deviation stated in plain terms — and a reviewer traces it to a misconfigured process retrying the same expensive call in a loop, catching it the same day rather than at the end of the billing cycle.

Separately, a vendor invoice is uploaded for that same period. The system validates the file, hashes it, and shows a ten-line preview with a suggested mapping; a reviewer confirms it. On resubmission, the file is re-hashed and matches, the invoice is created — and the declared total on the invoice does not match the sum of its line items by a few cents, likely a rounding difference on the vendor's side. The mismatch is flagged rather than silently accepted, and the reconciliation is held until it is resolved rather than posted with an unexplained gap.

What changes operationally

The structural change is that gaps in cost data stay visible as gaps instead of quietly becoming zeros that understate real spend, and a genuine cost spike gets caught by a method built specifically to resist being fooled by the spike itself. Invoice entry gets a real integrity check — a hash, a validated mapping, a total that has to match its own line items — instead of trusting a manually keyed number. Centriu attaches no figure to what this catches; it depends entirely on an organization's AI spend volume and how many vendors and cost categories it reconciles.

When this is not the right fit

An operation with one AI vendor, one flat monthly invoice and no meaningful cost variation has little for a statistical anomaly detector to compare against, and reconciling a single simple invoice by eye is not a burden this mechanism needs to remove. The value grows with the number of cost sources, vendors and the natural variability of usage-based spend.

A cost report that fills gaps with zero vs. one that names the gap

A cost system built for a clean-looking total will resolve every unknown toward zero and detect anomalies with a simple average, because both choices are easy and both quietly favor an understated, over-smoothed picture of spend. Centriu TrustOps's approach accepts a less tidy-looking result in exchange for an honest one: an unknown cost stays visibly unknown, and the statistic used to catch a spike is specifically the one that a spike cannot distort into invisibility.

Related systems

Main system: Centriu TrustOps.

What it does NOT do

  • Does not treat anomaly confidence as a probability of fraud — the confidence value measures how well the available evidence supports the finding, and every finding is meant for human review, not automatic action.
  • Does not automatically dispute a vendor invoice or issue a chargeback — a detected anomaly or reconciliation mismatch is surfaced for a person to act on.
  • Does not overwrite a previously confirmed cost when a correction is needed — the correction is a new, linked delta event; the original record is never edited or deleted.
  • Does not convert a cost using an exchange rate from after the cost was incurred — currency conversion only ever uses a rate dated on or before the cost's own date.
  • Does not promise regulatory, tax or accounting compliance — this is a cost-integrity and reconciliation mechanism, not a financial audit or certification.

Security and governance

Every organization using Centriu TrustOps sees only its own cost records, anomalies and invoices — isolation is enforced at the database level, with no delete policy on financial history. Uploaded invoice files are validated by MIME type and byte signature and recorded with a SHA-256 hash before and after human confirmation. Personal data follows Brazil's LGPD (Law No. 13,709/2018). Full detail on access control and audit trails lives at /governanca and /iso.

Pricing and contracting

Available by monthly subscription, with tiered plans. Values and terms come from the official pricing table at /precos (Centriu's central source — never restated here).

Frequently asked questions

What happens to a cost that cannot be calculated?

It is recorded as an explicit null with its own status — never silently treated as zero in a total. A database constraint enforces this; it cannot be worked around by writing to a different field.

Why use the median instead of the average to detect a cost spike?

Because a genuine spike distorts an average and its standard deviation immediately, which blunts detection of the very spike it is supposed to catch. The median and a robust spread measure resist that distortion.

Does a high confidence score mean fraud was detected?

No — confidence measures how well the evidence supports the finding, explicitly documented as distinct from a probability of fraud. A human always reviews the finding.

How is a vendor invoice actually processed?

In two steps: the file is validated and hashed with a preview and suggested mapping shown first, and only after a person confirms that mapping is the file resubmitted, re-hashed, and turned into an actual invoice with its line items.

What happens if an invoice's declared total does not match its line items?

The mismatch is flagged rather than silently accepted, and reconciliation is held until it is resolved.

Can a confirmed cost record be edited later?

No — a correction is written as a new, linked delta event pointing at the original record, which is never edited or deleted.

What does Centriu TrustOps cost?

It is sold by subscription with a published starting price — exact current values are on the central pricing page.

See how Centriu TrustOps detects AI cost anomalies

Reach our commercial team directly, or leave your details below — we'll follow up with guidance for your case.

Sources

  1. Centriu TrustOps — public product page — Centriu, 2026-07-20 · link(primária)
  2. Centriu TrustOps — public factsheet (API, JSON) — Centriu, 2026-07-21 · link
  3. Law No. 13,709/2018 — Brazil’s General Data Protection Law (LGPD) — Presidência da República (Brazil), 2018-08-14 · link

Last material update on .

By · AI-assisted production, with human review