Finance Engineering & Data Infrastructure
Nine report dimensions behind an ecommerce P&L: why platform profit and entity profit disagree
Seamline Editorial · Finance content team · Updated
TL;DR
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.
Platform profit and entity profit disagree on purpose
Two profit reports, same workbook, two different numbers. The first instinct is to hunt for a dropped row, because two versions of profit look like one data error. They are not. The gap is built into how the sheets are wired.
The workbook has nine sheets. Four of them are profit or expense reports that never read a transaction file at all. They read a single base table and re-aggregate it under different keys. Change the key, change the answer, with no new data.
One of those four is platform profit, grouped by sales platform and a management metric, stopping at operating profit. Another is entity profit, grouped by legal entity and a statutory report item, running down to net profit. Different grain, different scope, different stopping line. A mismatch is arithmetic, not corruption.
This article documents the field rules of that workbook from an anonymized internal reporting design of a cross-border group: a PRD and report field dictionary reduced to generic patterns. No company, department, table, document number or fee rate is reproduced. Educational content only, not accounting or tax advice; these are system design rules, not accounting standards and not official platform rules.
Read the base table first. Everything else is a view. Once the mapping sets are visible, the disagreement stops looking like a defect and starts looking like the intended output of two different questions.
That distinction has a practical cost. A team that treats the gap as a bug will rebuild a load, re-run a close, and eventually force one report to match the other by deleting the accounts that do not fit. The numbers then tie and both views are wrong: the platform report gains overhead it cannot attribute to a channel, and the entity report loses the lines that make it a legal-entity result. Reconciliation here means explaining a difference, not erasing it.
The gap between the two profits is output, not error
A gap between platform profit and entity profit is expected output. Both figures are derived from one table; forcing them to tie deletes the difference that makes each one useful.
One base table, three mapping sets, four derived reports
The base is the account-dimension expense detail. Its grain is year-month, entity layer, account code and accounting dimension. Each row carries one period P&L amount in local currency, computed from the balance direction as the occurrence on the balance side minus the occurrence on the opposite side, then summed over that four-part key.
What turns one table into four reports is a set of configuration columns attached to each account code. Three mapping sets do the work. The first maps an account to a report item, the statutory P&L line it belongs to, with an enumeration that also contains a non-report item for balances that belong in no line at all. This drives the entity profit report down its twenty-four lines.
The second maps an account to a financial metric and a platform. Metrics are a short management list: revenue, cost, platform transaction fee, store promotion fee, logistics fee, collection fee, promotion fee, marketing expense. The platform value is resolved in a fixed order: manual import by key, then account-code configuration, then a lookup of the dimension against store master data. This drives the platform profit report.
The third set is two flags plus a reclassification: whether the account is store-related, whether it is a department expense, and the reclassified accounting-dimension code and name. Store-related rows feed the revenue-share detail. Department-expense rows feed the department expense detail. Both reports need a reclassified dimension because the raw ledger dimension rarely names a store or a business group cleanly.
So the four reports are not four datasets. They are four groupings of the same rows: report item plus entity, financial metric plus platform, store-related plus reclassified dimension, department-expense plus reclassified dimension. Nothing is re-sourced. Only the key changes.
That is also why the two profit figures cannot reconcile. Platform profit keeps only store-related accounts, ignores overhead and non-operating items, and ends at operating profit. Entity profit takes the full report-item set, includes non-operating income and expense and income tax, and ends at net profit. Compare them line by line and the difference is a defined set of accounts, not a lost batch.
- Base grain: year-month + entity + account code + accounting dimension, with one period P&L amount per row.
- Mapping set 1, report item: drives entity profit, 24 lines, ending at net profit.
- Mapping set 2, financial metric + platform: drives platform profit, ending at operating profit.
- Mapping set 3, store-related / department-expense flags + dimension reclassification: drives revenue-share and department expense detail.
- Four reports, four keys, one set of rows. None re-reads a transaction file.
Forcing the two profits to tie deletes overhead and tax
Forcing platform profit to equal entity profit removes the overhead and tax lines that only the entity view is supposed to carry.
Nine sheets, nine grains, nine decisions
The table below is the whole workbook in one view. It reads as four questions for each sheet: what it is called, the grain it aggregates on, where its data comes from, and the one decision it exists to answer. Read the cells as rules, not as a data dictionary with values.
Before the nine sheets, there is a dictionary. Every sheet in the source document is specified by the same seven columns: field name, data source, field logic, field permission, whether the field is required, validation logic, and aggregation method. That is not decoration. A column for data source means no figure appears without a named origin. A column for validation logic is where the pending-configuration flag lives. A column for aggregation decides whether a quantity is summed or an amount is shown as a ratio. When a report design records, field by field, where each value comes from, how it is computed, who may see it, whether it must be filled, what check it must pass and how it rolls up, the document becomes auditable. That seven-column spine is the strongest evidence that these are engineered rules, not a spreadsheet of numbers.
Five sheets are sourced, and they split by what they read. Two are payable views over purchase documents, one at supplier grain and one at child-SKU grain; one is the logistics cost detail, built from freight payable bills and a revenue figure; one is the inventory and in-transit balance, a daily snapshot. The fifth is the base table itself, fed by the general-ledger account balance and manual import.
Four sheets are derived. Platform profit, entity profit, revenue-share detail and department expense detail all name the same source in the table: the account-dimension expense detail. That repetition is the point. It is the only sheet whose output is another sheet’s input.
The grain column matters more than the names. Supplier payable groups by supplier, period and currency; SKU payable by child SKU, period and currency; logistics by cost-owning organization, month, supplier and currency; inventory by snapshot date, warehouse and SKU. Two reports with different grains cannot be diffed cell by cell, even when both carry a column called revenue.
Sheet names here are generic. Internal tab names, warehouse labels, department codes and document numbers were stripped, and subjects are written as Entity A and Entity B. Any amount shown is Sample data: illustrative, non-real, not a quote.
| Sheet | Analysis grain | Data source | One decision it answers |
|---|---|---|---|
| Supplier payable analysis | Supplier code + period + currency | Purchase payable documents (payables module) | Which supplier takes the largest share of tax-inclusive payable, and is the average purchase price drifting? |
| SKU purchase payable | Child SKU + period + currency | Purchase payable documents + SKU master data | Which SKU moved in payable share or average unit cost, and in which product category? |
| Logistics cost detail | Cost-owning organization + month + supplier + currency | Freight payable bills + receivables converted at the monthly rate | Which of the five freight segments is pushing the cost-to-revenue ratio up? |
| Inventory (in-transit) balance | Snapshot date + warehouse + SKU + in-stock / in-transit | Daily inventory snapshot + warehouse and SKU master data | How much stock is still in transit and therefore not sellable today? |
| Account-dimension expense detail (base) | Year-month + entity (Entity A / Entity B) + account code + accounting dimension | General-ledger account balance + account master + mapping configuration + manual import | Which report item, metric, platform and department does each P&L amount belong to? |
| Platform profit | Year-month + platform + financial metric | Account-dimension expense detail (derived) | Is each platform operating margin improving, and which fee ratio moved? |
| Entity profit | Year-month + entity + report item | Account-dimension expense detail (derived) | What is net profit for Entity A versus Entity B, and what drives the change? |
| Revenue-share detail | Year-month + reclassified dimension (store) | Account-dimension expense detail + store master data (derived) | Which store has a sales-expense ratio or gross margin off trend? |
| Department expense detail | Year-month + reclassified dimension + account code | Account-dimension expense detail (derived) | Which business group grew its expenses month over month, and on which accounts? |
How the two profit reports are actually built
Platform profit is a management view. For each platform and month it sums the base rows whose financial metric matches, then derives gross margin, each fee as a share of revenue, and operating profit as gross margin minus the listed fees. Operating-margin change and its month-over-month rate come last. Where the prior-month base is zero, the rate shows -- instead of a number.
The all-platform total has its own rule. Amounts are summed across platforms first; ratios are then computed from those summed amounts. Averaging per-platform ratios would give a different answer, so the report never does it. This is the kind of small rule that makes two exports disagree by a fraction and look like a load bug.
Entity profit is a statutory-shaped view. It walks twenty-four report items in a fixed order, each with a defined sign, and computes subtotals down to net profit, net margin, gross margin and a tax-burden ratio. Revenue is positive; cost, taxes and the expense lines are negative; other income and gains are positive. The table below is the full list.
Signs are not cosmetics. Because cost and expenses are stored negative, gross margin is computed as revenue plus cost divided by revenue, not revenue minus cost. Reverse one sign and operating profit moves while the underlying balance rows are untouched. The non-report item is excluded from every statistic, so a stray account mapped to it disappears from the totals by design.
Ratios share one guard across both profit reports. Any rate with a zero denominator, such as a month-over-month change on a zero base or a margin on zero revenue, displays --. A zero denominator is not zero growth. Showing -- keeps an undefined figure from being read as a flat month.
- Platform profit stops at operating profit; entity profit runs through non-operating items and income tax to net profit.
- All-platform totals sum amounts before computing any ratio.
- Revenue is positive, cost and expense lines negative; margins divide by revenue.
- A zero denominator prints --; it is never treated as zero.
| No. | Report item | Sign / derivation |
|---|---|---|
| 1 | Operating revenue | Positive |
| 2 | Operating cost | Negative |
| 3 | Taxes and surcharges | Negative |
| 4 | Selling expenses | Negative |
| 5 | Administrative expenses | Negative |
| 6 | R&D expenses | Negative |
| 7 | Finance expenses | Negative |
| 8 | Other income | Positive |
| 9 | Investment income | Positive |
| 10 | Net exposure hedging income | Positive |
| 11 | Fair-value change income | Positive |
| 12 | Credit impairment loss | Positive |
| 13 | Asset impairment loss | Positive |
| 14 | Asset disposal income | Positive |
| 15 | Operating profit | Sum of items 1–14 |
| 16 | Non-operating income | Positive |
| 17 | Non-operating expense | Negative |
| 18 | Total profit | Item 15 + 16 + 17 |
| 19 | Income tax expense | Negative |
| 20 | Net profit | Item 18 + 19 |
| 21 | Net margin | Item 20 / item 1; -- if the denominator is zero |
| 22 | Gross margin | (Item 1 + item 2) / item 1; -- if the denominator is zero |
| 23 | Tax-burden ratio | Item 19 / item 1; -- if the denominator is zero |
| 24 | Non-report item | Excluded from all statistics |
Two profits that tie exactly were flattened
If platform profit and entity profit tie exactly, someone has flattened two different grains into one.
Five freight segments and an inventory split that excludes first-mile cost
Logistics cost is not one number in this workbook. It is split into five segments: first-mile, last-mile, warehouse rent, miscellaneous fees and adjustments. Each is summed over cost-owning organization, month, supplier and currency and converted to local currency at the monthly rate. Every segment carries its own ratio to sales revenue, and a total row adds the five and divides again.
The denominator is built, not copied. Sales revenue is the month’s receivables converted at the monthly rate with COD receivables excluded, plus COD transfer documents converted the same way. One denominator serves all five segment ratios and the total ratio. Mixing a gross figure into one segment and a net figure into another would break every comparison in the sheet.
The inventory and in-transit balance makes a matching choice. It is a daily snapshot of the previous day, keyed by warehouse and SKU, and each row is tagged in-stock or in-transit. Inventory value is quantity multiplied by SKU cost, also shown in ten-thousand units. SKU cost is the unit purchase cost only, and it excludes first-mile freight.
That exclusion is deliberate, not an omission. First-mile is already a period cost with its own revenue ratio in the logistics sheet. Folding it into SKU cost would put the same freight into an asset on the balance sheet and into an expense in the same period. The in-stock / in-transit tag then answers a different question: how much paid-for stock cannot be sold yet.
The sample figures below are Sample data: illustrative, non-real amounts, not quotes, not a price list. They exist only to show how a segment ratio is computed from one shared denominator. Ratios in a real period come from the payable bills and the converted revenue, never from a template.
- Five segments: first-mile, last-mile, warehouse rent, miscellaneous, adjustments; the total is their sum.
- One shared revenue denominator: receivables excluding COD, plus COD transfers, converted at the monthly rate.
- Inventory balance is a daily snapshot tagged in-stock / in-transit; value = quantity × SKU cost.
- SKU cost excludes first-mile freight, which is expensed in the logistics sheet instead.
| Segment | What it sums | Sample data ratio to revenue | The decision it supports |
|---|---|---|---|
| First-mile | Inbound freight to warehouse | 1.8% | Is inbound cost rising relative to sales? |
| Last-mile | Outbound delivery to customer | 4.2% | Which carrier or zone is driving delivery cost? |
| Warehouse rent | Storage and holding charges | 0.9% | Is stock sitting too long? |
| Miscellaneous fees | Surcharges and small items | 0.3% | Are small fees drifting? |
| Adjustments | Corrections and true-ups | -0.1% | Are prior-period fixes material? |
| Total | Sum of the five segments | 7.1% | Is total logistics cost in range for the month? |
Two places, one cost
First-mile freight appears as a period expense in the logistics sheet and is kept out of SKU inventory cost. Counting it in both would double a single cost.
What to check before you trust either profit figure
The most common failure is not a wrong formula. It is an account that never got a mapping. When an account code does not match the configuration, the base table creates a new configuration row and flags it as pending configuration instead of dropping the amount. A code that matches but is still unconfigured is flagged the same way.
That rule protects both profit reports. A silently dropped account would shrink entity profit and leave platform profit looking correct, or the reverse depending on its flags, and the gap would be blamed on the load. A pending-configuration flag makes the missing rule visible, so the difference can be assigned to a named account rather than a mystery.
Other checks follow the same logic. Store-related rows must carry a platform that exists in platform master data, and if a row is store-related or a department expense, its reclassified dimension must be filled. An account name that cannot be resolved raises an error. Each rule turns a possible silent loss into a visible prompt.
Two external facts sit outside this workbook. Amazon publishes referral and selling fees by category (checked 2026-11-21), and Stripe splits each balance transaction into gross, fee and net (checked 2026-11-21). Those are platform-side facts. How the internal report maps a fee into a financial metric, or a receipt into revenue, is a field rule of this workbook, not a platform rule.
Every field rule, grain, mapping and sign in this article comes from the anonymized internal reporting design of a cross-border group: a PRD and report field dictionary reduced to generic patterns. No company, department code, table name, warehouse label, document number or fee rate is reproduced. These are engineering rules for how one reporting stack is wired, not accounting standards and not official platform rules. Educational content only, not accounting or tax advice.
Seamline works at the detection and reconciliation layer: tracing each derived figure back to the base row and the mapping that produced it, flagging accounts pending configuration, and reconciling the two profit views so a gap can be explained with evidence instead of smoothed away. That boundary is deliberate. The scope is detection and reconciliation.
- List every account flagged pending configuration before comparing the two profit reports.
- Confirm the base grain is the same in both exports: year-month, entity, account code, dimension.
- Separate the accounts that exist only in entity profit (overhead, non-operating, tax) from the gap.
- Rebuild the all-platform total by summing amounts, not averaging ratios.
- Check that zero-denominator rates show -- and that no amount was dropped.
No mapping means a flag, not a missing amount
If an account code has no mapping, it should appear as a pending-configuration flag, not as a missing amount.
FAQ
Why do platform profit and entity profit disagree if both read one base table?
They group the same rows under different keys. Platform profit keeps store-related accounts, groups by platform and financial metric, and stops at operating profit. Entity profit takes the full report-item set, groups by legal entity, and runs through non-operating items and income tax to net profit. The difference is a defined set of accounts, not a lost batch.
What happens when an account code has no mapping configuration?
The base table creates a new configuration row and marks it pending configuration instead of discarding the amount. A code that matches but is unconfigured gets the same flag. Unconfigured rows stay visible, so a difference between the two profit reports can be traced to a named account.
Why does the inventory balance exclude first-mile freight from SKU cost?
First-mile is expensed as its own segment in the logistics sheet, with its own ratio to revenue. Adding it to SKU cost would put one freight cost into both an asset and a period expense. The in-stock / in-transit tag then shows how much paid-for stock cannot be sold yet.
Are these sign rules and report items accounting standards?
No. They come from the anonymized internal reporting design of a cross-border group, reduced to generic patterns, and describe how one reporting stack is wired, not accounting standards and not official platform rules. Any amount shown is Sample data, illustrative and non-real.
Trace every derived figure back to one base row
The demo shows Seamline detecting unmapped accounts, flagging pending configuration, and reconciling platform profit against entity profit from the same detail rows.
Sources
- Anonymized internal finance-ops PRD / report field dictionary, reduced to generic patterns. Source of the nine-sheet map, three mapping sets, sign rules and segment logic in this article.
- Amazon Seller Central: selling fees and referral fees by category, a platform-side cost layer distinct from the internal financial-metric mapping (checked 2026-11-21)
- Stripe Docs: balance transactions split gross, fee and net, a platform-side view distinct from the internal revenue and collection-fee rules (checked 2026-11-21)