Skip to content

P&L: nova_share.pnl ​

Your whole P&L: one row per product and day, plus one account row per day. A SUM over it is Nova's figure.

At a glance ​

One rowa row of product_metrics (is_account_level = 0) or of account_metrics (is_account_level = 1), on the same columns
Identitypnl = product_metrics + account_metrics, on every column, on every day. The money of a day is in exactly one of the two
History2022, where available
Refreshhourly, with the two tables. A view: no copy, no lag of its own
Movesthe last ~60 days
Basisraw: the app's figure at the default P&L policy, before your own costs
Sync keymetric_date; replace the days you pull

The four P&L tables ​

text
pnl                      the figure: every row below, one column list
├── product_metrics      the product rows    seller × marketplace × ASIN × SKU × day
└── account_metrics      the account line    seller × marketplace × day
costs                    the settlement lines behind their fee columns, one row per line
└── cost_dictionary      what each cost key is
You wantRead
the P&L by day, marketplace, accountpnl
the P&L of a product, a SKU, an ASINproduct_metrics
what the account pays that no product carriesaccount_metrics
the line behind a fee: what Amazon posted, when, on whatcosts

costs is the detail behind the fee columns, not a part of the sum. Its rows with in_pnl = 1 add up to those columns: lines the P&L does not book.

What pnl is and is not ​

pnl is Nova's P&L on a raw basis: Amazon's figures, every cost on the day Amazon posted it, your cost of goods and FBM costs as you entered them. Two things the app can add are not here:

Not appliedWhat it is in the app
Your P&L policythe rules an owner sets: fees left out of the fee total, monthly fees spread over their month, the VAT on Amazon's fees booked as a cost, the FBM cost read from the shipping price, the FBM returns recovery rate
Your own coststhe per-unit, percentage and fixed amounts under Your costs: overheads, 3PL, local shipping

In-app Net Profit = SUM(pnl.net_profit) + the effect of your policy − your own costs. A reading of the share that applies both is planned.

When SUM(pnl) equals the app to the cent ​

ConditionWhy
Same hourthe app reads live, the share copies every hour. A closed day matches; today and yesterday move between copies
Primary currencythe share serves your organization's primary currency; the app can display another one
Order basisthe app can also show a cash basis (every amount on its posted day); pnl books on the order day
Seller Central onlya Vendor Central account is in the app's unfiltered P&L: add vendor_product_metrics
No saved filteran advertising scope or a cost filter narrows the app's figure; pnl has every row

Columns ​

The columns of product_metrics, in its order, plus three. A column added to product_metrics is added here.

ColumnProduct row (is_account_level = 0)Account row (is_account_level = 1)
is_account_level01. Sits after metric_date
parent_asin, child_asin, sku, is_fbmthe productNULL
the fees Amazon posts without an order line, advertising, liquidations, the cost categoriesits valueits value
sales, units, cost of goods, the per-order fees, sessionsits value0
the point-in-time readings: BSR, reviews, average_order_value, last_order_updated_dateits valueNULL
account_costs0the fifth cost category. Sits after one_off_costs
sponsored_actions_spend0the Sponsored Actions spend, positive. The last column

Read it ​

sql
-- The P&L of October: the whole figure
SELECT round(sum(net_sales), 2)   AS net_sales,
       round(sum(amazon_fees), 2) AS amazon_fees,
       round(sum(ppc_spend), 2)   AS ppc_spend,
       round(sum(dsp_spend), 2)   AS dsp_spend,
       round(sum(net_profit), 2)  AS net_profit
FROM pnl
WHERE metric_date BETWEEN '2026-10-01' AND '2026-10-31';

-- The same by cost category: net_sales plus the five categories equals net_profit on every row
SELECT round(sum(net_sales), 2)         AS net_sales,
       round(sum(variable_costs), 2)    AS variable,
       round(sum(product_costs), 2)     AS product,
       round(sum(one_off_costs), 2)     AS one_off,
       round(sum(account_costs), 2)     AS account,
       round(sum(advertising_costs), 2) AS advertising,
       round(sum(net_profit), 2)        AS net_profit
FROM pnl
WHERE metric_date BETWEEN '2026-10-01' AND '2026-10-31';

-- Per SKU, the account line as one more row
SELECT if(is_account_level = 1, '(account)', sku) AS line,
       round(sum(net_profit), 2) AS net_profit
FROM pnl
WHERE marketplace_id = 'A1F83G8C2ARO7P' AND metric_date >= '2026-10-01'
GROUP BY line
ORDER BY net_profit;

Filter on a product (sku, child_asin, parent_asin) and the account rows drop out: their product columns are NULL. The app does the same: the account line belongs to no product selection.

Sync ​

  • No row of its own in dataset_freshness: read the product_metrics and account_metrics rows.
  • Pull by metric_date and replace the days you pull. The last ~60 days move.
  • On today and yesterday a SKU can carry up to three rows: sum them, as on every other day.