# Purchase reconciliation: STORE, PERIOD

Fill every line. Write "not checked" rather than deleting a line. No personal data; order keys only in the exception list kept by the investigation owner.

## Verdict

- Verdict: pass, investigate or defect.
- Sender architecture: browser only, server confirmed or mixed.
- Unexplained gap: N orders (X% of eligible orders), Y% of eligible value.
- Threshold set used: skill defaults, or `metrics.md` approved on DATE.
- One sentence on the main cause and the decided fix.

## Scope

- Period: START to END, time zone ZONE, run on DATE (the last scan-window day ended at least 3 days before).
- Contract: path and version. Business outcome: one sentence. Business timestamp: paid or placed. Paid definition: captured or authorized.
- Join key: analytics `transaction_id` to order field FIELD (second key FIELD or none). Normalisation: RULE. Proof orders: ten keys traced on DATE.
- Value rule: items after discounts without tax and shipping, per currency, tolerance one minor unit per item line.
- Analytics source: GA4 property PROPERTY_ID (stream measurement IDs G-XXXXXXXXXX), export dataset, scan window SCAN START to SCAN END and why it was widened if it was, daily tables present for every day (schema check and Query 0).
- Order source: SYSTEM, extracted at TIMESTAMP, latest timestamp present TIMESTAMP. Extract check: eligible orders placed before the scan window N.
- Classification ran in: BigQuery saved table, BigQuery inline literal, or the order warehouse.
- Known changes in or near the period: releases with dates, or none.

## Order population

- Orders in the extract: N.
- Excluded, by reason: test N, other channel N, cancelled before payment N, authorized not captured N, unpaid N, missing amounts N, outside period N.
- Eligible: N orders, value per currency.

## Classes

Per currency when more than one.

- Matched: N (X%).
- Missing in analytics: N (X%), value V.
- Duplicate: N (X% of observed), of which identical transport rows N, same ID N and different IDs N.
- Late: N (X% of observed), of which sent before the business timestamp N.
- Value mismatch: N (X% of observed), of which value equals order total N, minor units N, currency N, missing value N.
- Sum check: the five classes add up to the eligible count.
- Flag rates over observed orders: duplicate X%, value or currency X%, late X%.
- Analytics-only transactions in the period: N, by reason (unpaid N, authorized not captured N, test N, outside period N, no order found N, stream not mapped N).
- Purchase rows without a transaction ID: N.
- Count against count, for context only: GA4 purchase rows in the period N against eligible orders N. State why it misleads.

## Gap against thresholds

- Observed coverage: O of E eligible orders (X%).
- Explained missing: N, by source (consent records or rates with source and period, measured blockers with method, documented policy).
- Unexplained missing: N (X% of orders, Y% of value). Verdict.
- Control segment and its miss rate; suspect segments against it. Verdict per suspect.
- Duplicate flag rate X%. Verdict.
- Value mismatch flag rate X%. Verdict.
- Late flag rate X%. Verdict.
- Analytics-only unpaid: N. Verdict.

## Causes

One bullet per cause:

- Class, segment, rows affected, miss rate against the control, evidence (query, reproduced journey, logs), owner.

Suspect segments without a proven cause are listed here as unexplained.

## Senders and attribution

- Per sender, rows in the period: purchase rows, transactions, distinct users, rows without session, distinct session source and medium.
- Overlap: browser only N, server only N, both N.
- Senders without attribution, if any, and what removing them would change.

## Decision and next steps

- Browser fix or server-confirmed sending, with the rule that decided it (recoverable share against the line, placement fire under a paid contract). Redirect and delayed shares for context.
- For server sending: the contract's choice for orders without a captured `client_id` and for payments after 24 hours.
- Changes proposed, each as a draft for approval: tag, data layer, server sender, contract, thresholds.
- Expected effect on reported counts and channel mix, the option it assumes, and the date consumers should be warned about.
- Re-run: the frozen period after the release on which the same contract will run.

## Not checked

- Anything outside the contract: other channels, refunds, app streams, ad platform conversions.
- Checks skipped and why, including blockers if not measured.
