# Data semantics and reconciliation

## Preserve the meaning of each measure

| Measure | Interpretation |
|---|---|
| Provider currency charge | Money reported by the source for its stated account, period and basis |
| Credit, token, time or capacity quantity | Usage in its native unit; requires a valid rate and basis before monetary conversion |
| Allocated cost | A share of cost attributed by a documented allocation rule |
| Estimated cost or saving | A model result with assumptions; separate from billing and realized savings |
| Null or unavailable | The measure is not established |
| Reported zero | The source or qualified calculation explicitly establishes zero for that scope and period |

Keep exact monetary values and currency through reconciliation. Round for presentation only. Do not sum currencies, overlapping snapshots or two collection paths for the same charge without an explicit conversion or deduplication rule.

## Reconciliation procedure

1. Align provider identity, account, selected resources, time zone and explicit start/end dates.
2. Choose the source of financial authority and its billing basis. Include credits, tax and adjustments consistently.
3. Record the source's publication time and the last covered day. Distinguish collection freshness from the dates of its observations.
4. Match a representative source record through collection and the published product report.
5. Compare counts and exact totals over the same complete population; account for filters and late corrections.
6. Classify any difference as scope, timing, currency, basis, missing coverage or transformation. Keep unexplained differences open.

## Snowflake example

`SNOWFLAKE.ORGANIZATION_USAGE.USAGE_IN_CURRENCY_DAILY` supplies currency billing. `SNOWFLAKE.ACCOUNT_USAGE.WAREHOUSE_METERING_HISTORY` supplies warehouse credits, and `SNOWFLAKE.ACCOUNT_USAGE.QUERY_HISTORY` supplies query observations. Do not use credit totals as currency charges.

The released Snowflake collection and reporting rebuild use complete calendar-month snapshots. Compare all service and adjustment rows in the same account/month/currency population. Do not add overlapping refresh snapshots together. See the [provider reference](../integrations/providers/snowflake/engineering.md).

## Coverage and time

A complete set of registered billing groups can still contain observations from only part of a month. State the observation dates independently. Month-to-date changes with the reporting boundary; use explicit dates for a reproducible comparison. Empty companion reports establish no reported rows, not measured numeric usage or spend.

## Published SaaS evidence

A reporting generation binds the captures admitted for an organization. Preserve typed nulls, units, currency, source dates and lineage during reconciliation. Accounts and assignments can exist with unresolved people or owners. That uncertainty must remain visible in allocation and actions.

Invoice headers, lines, dated charges and payment events have different grains. Compare source identity, revision, period and currency before summing. An operational count or dataset header supplies no monetary value on its own.
