# Reconcile Claude Code usage with your Anthropic invoice

Canonical: https://weaveos.com/blog/claude-code-invoice-reconciliation

Published: 2026-12-04

By Sammy Tourani

A developer checks a Claude Code session and sees $48. Finance opens the Anthropic invoice and can't find a $48 charge. Both figures can be right. Claude Code priced the tokens from the session. The invoice shows what the organization paid under its contract. First check which account paid for that session. [Claude Code cost documentation](https://code.claude.com/docs/en/costs) · [Anthropic's invoice guide](https://support.claude.com/en/articles/16608069-understanding-your-claude-api-invoices)

Most teams need two separate answers. Finance needs the charges to tie to the bill. Engineering needs to know which people, tools and sessions drove the cost. [Weave Token Intelligence](/products/token-intelligence) helps with the second question by labeling billed amounts, configured seat costs and priced usage. You can open the rows behind a person's number before deciding whether it belongs in a finance report. [Weave's AI report](https://docs.weaveos.com/reports/ai)

## Start with how Claude Code was signed in

The same engineer can use a company seat for interactive work and run a background job with credentials tied to a Console workspace. A cloud provider or a gateway can be the payer on a third path. Grouping the sessions under one email address helps you see activity. It does not tell you which bill to open. [Claude Code authentication](https://code.claude.com/docs/en/authentication)

| If the session ran through… | Start with… | Check before adding the dollars |
| --- | --- | --- |
| A Claude subscription | The subscription invoice and usage-credit charges | Included activity can have a dollar estimate even though the seat already covered it. On seat-based Enterprise plans, the cost and usage endpoints reflect usage credits. Reconcile the seat charge from the invoice. |
| A Claude Console organization | The Console Cost export and the API invoice | Match the paying org, workspace and dates. Separate Claude Code activity from API work done by other applications. |
| A cloud provider or third-party gateway | The statement for the account paying that provider | A Claude model name does not identify the billing account. Check whether the gateway usage export and the underlying bill describe the same charge. |

Anthropic documents the distinction between its Enterprise Analytics, Claude Code Analytics and Usage and Cost Analytics APIs. The Console's Claude Code Analytics API reports estimated cost by model. The newer Usage and Cost Analytics cost endpoint reports discounted amounts before credits and exposes cost types such as token usage and web search. Confirm which report you have before comparing totals. [Anthropic analytics API comparison](https://platform.claude.com/docs/en/manage-claude/analytics-api) · [Usage and Cost Analytics API](https://platform.claude.com/docs/en/manage-claude/usage-cost-analytics-api)

## Run the close in three passes

**1. Tie the paying accounts to the statement.** Start with a completed billing period. Match the dates, currency, payer and billing account. Export at the organization and workspace scope you need, including the default workspace where applicable. Keep seat purchases, usage, credits, tax and applied balances on separate rows. If you prepay for API credits, record the cash top-up and the usage funded by it separately. [Anthropic's invoice guide](https://support.claude.com/en/articles/16608069-understanding-your-claude-api-invoices)

**2. Classify the work inside each charge.** Use an available product, workspace, project or key identifier to separate Claude Code from other work on the same account. For an API analysis, look at the Claude Code product filter and the actor or workspace grouping that fits your investigation. A personal email or a shared API key may leave the owner unknown. Keep that amount visible and ask the owner to resolve it. [Usage and Cost Analytics dimensions](https://platform.claude.com/docs/en/manage-claude/usage-cost-analytics-api)

**3. Explain the rest with usage data.** Claude Code's `/usage` prices session tokens at list rates by default, or at a configured rate when the organization sets one. Use those estimates to find high-usage sessions or gaps in client capture. Compare matched scopes where possible. A difference between a partial telemetry total and a complete invoice is not a missing charge. [Claude Code session cost](https://code.claude.com/docs/en/costs)

## A worked month-end close

In this illustrative close, finance has **$1,500 of seat fees**, **$250 of subscription overage** and **$900 of Console API usage**. The Console export traces $600 to Claude Code and $300 to a separate application. The statements also show $106 in taxes and $200 in applied balance.

<figure class="article-evidence">
  <div class="article-evidence__box">
    <p class="article-evidence__title">One close, three useful totals</p>
    <p class="article-evidence__intro">Illustrative account with seats, extra usage and a metered API workspace.</p>
    <dl class="article-evidence__inputs">
      <div><dt>Seats</dt><dd>$1,500</dd></div>
      <div><dt>Seat overage</dt><dd>$250</dd></div>
      <div><dt>Console API</dt><dd>$900</dd></div>
      <div><dt>Charges before adjustments</dt><dd>$2,650</dd></div>
    </dl>
    <dl class="article-evidence__columns">
      <div class="article-evidence__card article-evidence__card--peach"><dt>Claude Code charges</dt><dd class="article-evidence__value">$2,350</dd><dd class="article-evidence__note">Less $300 from another app</dd></div>
      <div class="article-evidence__card"><dt>Amount due</dt><dd class="article-evidence__value">$2,556</dd><dd class="article-evidence__note">Adds $106 tax and subtracts $200 in applied balance</dd></div>
      <div class="article-evidence__card article-evidence__card--lilac"><dt>Session estimate</dt><dd class="article-evidence__value">$2,200</dd><dd class="article-evidence__note">Tracked outside billed totals</dd></div>
    </dl>
  </div>
  <figcaption>Illustrative figures. The Claude Code subtotal is before adjustments. The amount due includes all charges, tax and the applied balance.</figcaption>
</figure>

The **$2,650 charge subtotal** ties out by source. The **$2,350 Claude Code subtotal** is the amount engineering should discuss before tax or credits. The **$2,556 payable** comes from the statements, including unrelated usage and adjustments. Suppose captured session activity is valued at $2,200. Leave the apparent $150 gap out of the allocation. It compares a partial session estimate with billed seats and usage.

If you couldn't verify what the $300 funded, the close would still tie at $2,650. Engineering would report $2,350 confirmed for Claude Code and $300 unresolved, with the Console workspace as the starting point for investigation.

## Check the cost source in Weave

Open **AI → ROI → Cost by fidelity** to review how spend was measured. On **Overview**, open **Cost per person → See cost details** to inspect usage rows. Weave's Claude Code integration uses the most accurate connected cost source available. A supported Enterprise analytics connection supplies actual billing where available. Console-derived estimates and plugin observations are labeled separately. [Weave's Claude Code integration](https://docs.weaveos.com/ai-tools/claude-code) · [Cost labels and source order](https://docs.weaveos.com/metrics/ai-tool-costs#cost-fidelity)

The plugin's **observed** label means it had plan or overage state when it priced a request. Usage served inside the allowance is $0 in that record, while observed overage is priced at list rates. A **plugin-estimated** row lacks the allowance signal and can price a request at full list rates even when the plan covered it. Check the source and paying account before you use either as cash spend. [Weave's AI cost documentation](https://docs.weaveos.com/metrics/ai-tool-costs#cost-fidelity)

Bring one closed month and one discrepancy to the [AI report](https://docs.weaveos.com/reports/ai). Trace the amount from the paying account to the usage rows you can verify. Once those dollars have a source, you can ask what shipped and [trace the relevant sessions to a merged PR](/blog/ai-token-cost-per-pull-request).
