The order adds up. The SKU does not. A single order can tie to the cent at header level and still carry the wrong margin on every line, because totals live on the header and costs live on the SKU, with no rule connecting the two. The fix is not a cleaner report. It is a field map: name one line-item model, decide where each platform’s product price, discount and tax land, and choose one allocation key for every header-level amount. Bundles stay one row until you split them by cost × quantity. This article documents that map from an internal OMS rules document, anonymized.
The customer paid. You have not been paid. Receipt, settlement and withdrawal are three events, not one, and revenue runs on a fourth clock. Posting a payout as one debit to bank and credit to revenue hides the channel balance between them, the fees taken at two different stages, and the receivable on orders shipped but not yet settled. The fix is a chain of state transitions, each with its own source document, debit and credit. These rules come from one cross-border group’s internal design document, anonymized to a generic pattern. Educational content only; not accounting or tax advice.
Read the article: Platform settlements to AR: the journal entries behind every payout
The entity that pays the invoice is rarely the one that should carry the expense. One paid-on-behalf payment leaves a single bank account and lands on two ledgers, so reconciling it as one balance is how intercompany accounts fail to close. The fix is a shared bill. The expense-control system pays, the finance system holds the reconciliation basis, and payer and cost owner each match their own cash flow against that same bill before both post to the ERP. One payment produces four document types across six steps. Ad spend then moves through accrual, reversal and actual, while rebates accrue in one month and arrive in another. These rules come from an internal accounts-payable design document, anonymized.
Read the article: Intercompany reconciliation: when one entity pays and another owns the cost
Platform profit and entity profit disagree, and that is the design. Both are read from one base table, the account-dimension expense detail, through three different mapping sets, so their grains and scopes cannot match. Four of the nine sheets are derived, not sourced. Treating the gap as a load error sends teams chasing a bug that does not exist. This article documents the structure from an anonymized internal report field dictionary, reduced to generic patterns.
A mismatch between three reports is usually not a bug. It is three different definitions of one word. On a marketplace report, revenue is a settlement figure pushed down to a SKU line; on an independent-site report, it is a transaction-feed amount converted into the reporting currency; on a TikTok Shop report, it is a shop-level total whose overseas-warehouse return rows often have no platform order number. The reports stop agreeing at four field decisions: which clock a row uses, which rate it converts at, how an order total is split, and where a cost with no order number is allowed to land. This article maps those rules from an anonymized internal system design document, sanitized to generic patterns.
Redesigning an ecommerce reporting stack: six metric dimensions and the LLD that makes them testable
Adding a dimension does not add a filter. It builds a new table with a new grain, new joins and new numbers. That is why site × SKU and store × site × SKU are two builds, not one view with a WHERE clause. Six metric dimensions need six field dictionaries, each carrying data source, formula, required flag, validation logic and aggregation. The redesign only holds together when a detailed design (LLD) answers How down to interface signatures, table DDL, state machines and error codes, keeps rollout thresholds on the same metric definition as alerts, and gives a canary Runbook a real first step.
Three dashboards disagree because they sit on three different grains. The fix is one fact table at one declared grain, one row per financial event, joined across systems by stable ids (Stripe’s balance_transaction, Shopify’s OrderTransaction), loaded idempotently so late refunds restate instead of duplicate, and checked by control totals: the net events inside a payout must sum to the payout amount.
Read the article: One fact table for store finance: grain, keys and honest loads
A direct source-to-ERP link breaks the moment one payout spans orders, refunds and fees. Layering splits the problem into five seams: source, ingest, warehouse, reconciliation, ledger. Each seam has one job and one invariant: idempotent ingest, a declared grain, control totals, one definition of revenue. The ledger then receives one honest number instead of four dashboard opinions.
The layer that matters most in a finance audit is not the dashboard; it is DWD, the detail layer where grain and history live. ODS keeps the raw truth, DWD keeps one fact row per event with SCD2 history, DWS rolls it up, ADS serves it. Name the grain once, keep history, and an auditor can replay any number back to the source.
Read the article: ODS to ADS: a warehouse layout that survives a finance audit
Four teams can read the same store and report four different “revenues”, all defensible, none comparable. Metric governance is not a documentation exercise; it is one formula, one owner and one base table per metric, enforced in code. dbt calls this a semantic layer. The payoff is that a number means the same thing in a board pack and a query.
Read the article: GMV, net sales, revenue, profit: four words, four numbers, one definition each
A dashboard that is down is obvious. A dashboard that is quietly stale or silently wrong is dangerous, and that is the normal failure in finance. Monte Carlo’s five pillars are a monitoring checklist for the numbers the CFO reads: freshness, quality, volume, schema and lineage. Put the checks in before the charts, or the charts will lie with confidence.
Read the article: Why a finance dashboard needs monitoring before it needs charts
The connector posts a number and calls it done. The audit trail breaks in the gap between a Shopify payout and a journal line, where sales, fees, refunds and a 90-day history have to become mapped accounts. A healthy integration keeps three things: an account map with a rule for every fee type, journals generated from reconciled events, and a closed loop back to the transaction.
Read the article: Shopify into Xero or NetSuite: where integrations lose the audit trail
Three storefronts look alike in a dashboard and behave nothing alike in their APIs. Field names differ, pagination differs, rate limits differ, and each platform stamps time in its own way. For finance data those differences become wrong amounts and misplaced periods. Build one canonical event shape, keep the raw payload, and treat every platform doc as the authority. Never assume Shopify’s rules transfer.
Read the article: Shopify, Shoplazza, Shopline: three APIs, three sets of traps
Most finance data errors are not exotic. They are an amount that lost a fee, an FX rate applied on the wrong date, or a timestamp in the wrong period. Each needs a different check and a different fix. AWS Glue Data Quality expresses checks as DQDL rules, 25-plus of them, and the same rule-per-failure thinking applies to money data long before it reaches a report.
Read the article: Three kinds of dirty data that break financial reports: amount, FX and time
Teams do not jump from Excel to automation. They pass through stages, and most get stuck at “spreadsheet plus a script that emails it”. Gartner frames FP&A transformation as more than tooling; the real bottleneck is the private workbook every decision still depends on. Automate the data path first, retire the manual number second, and only then build dashboards.
Read the article: From a spreadsheet to a pipeline: the stages finance teams actually pass through
When finance files a ticket for every number, the bottleneck is not the tool. It is that nobody agreed what the number means. Microsoft’s Power BI transformation guidance describes centralized BI with managed self-service: a core team owns the data model, finance owns the analysis. Give them governed metrics, not raw tables, and the tickets stop.
Read the article: Stop asking engineering for numbers: a self-service BI setup finance can own