Appearance
Orders: nova_share.orders
One row per order line of the last 24 months: what it sold, what Amazon charged and refunded on it, and when the money moved.
At a glance
| One row | seller × marketplace × order × child ASIN × SKU: the grain of product_metrics before it is summed by day |
| Holds | the order lines purchased in the last 24 months. The sale from the order report, one column per order-level fee and refund key from the Finances API, the posting instants of the principal, the fees and the refunds, and the settlements that carried them |
| Not here | the keys Nova books on the posted day, even with the order id on the line: the fees Amazon posts on a refund (refund_commission…), the reimbursements and their reversals; advertising, storage, account fees; and the fee lines no order line holds (a multi-channel fulfilment order S01-…, a line without a SKU on an order that does not hold one SKU of its ASIN): costs. Today's lines within the minute: orders_live |
| History | 24 months of purchases. The last ~60 days still move: late refunds, released funds, restated fees |
| Refresh | nightly, after 04:00 UTC. The copy holds the reads of the last hourly build before 04:00 |
| Sign | sales positive, fees and refunds negative, in currency |
| Sync key | seller_partner_id, marketplace_id, order_id, child_asin, sku |
Which orders table
orders_live holds the current UTC day and the three before it, every minute, without fees or refunds. orders holds 24 months, nightly, with every fee, refund and settlement. Planned: one orders table that also carries today's lines.
Columns
The account and the line
| Column | Meaning |
|---|---|
seller_partner_id, seller_name, org_key | Your account. |
marketplace_id, marketplace_name, stock_region | The marketplace of the order. stock_region is its physical pool (EU_FBA for the Pan-EU pool) and joins inventory.stock_region. |
order_id, child_asin, sku | The line. |
order_status, item_status | Amazon's order status (Shipped, Cancelled, Pending) and item status. |
fulfillment_channel, is_business_order, ship_country | Amazon (FBA) or Merchant (FBM), 1 on an Amazon Business order, the ship-to country code. |
quantity | Units ordered on the line. |
last_updated_at | Amazon's last update of the order (UTC): status changes, cancellations. |
ingested_at | When Nova last read the line from Amazon (UTC). |
The sale, on the purchase clock
| Column | Meaning |
|---|---|
purchase_at_utc, purchase_at_local, purchase_day | When the buyer ordered: UTC, the marketplace's wall clock, and the marketplace-local day product_metrics books the sale and its fees on. |
product_sales | Item price total of the line as the order report states it, positive. |
sales_net_of_promotions | product_sales net of the item and shipping promotions. |
shipping_price, giftwrap_price | Shipping and gift wrap charged to the buyer, positive. |
item_promotion_discount, ship_promotion_discount | The promotions on the line, negative. |
vat, amazon_collects_vat | VAT on the line as Nova computes it for the P&L, negative. 1 when Amazon collects the VAT (marketplace facilitator), 0 when you do. |
currency | Your organization's primary currency: every money column of the row. |
The money Amazon posted
| Column | Meaning |
|---|---|
paid_principal, paid_tax, paid_quantity | What the buyer paid for the items, the tax on it and the units shipped, per the Finances API. NULL until the shipment posts. For a VAT-registered Business buyer paid_principal is excl. VAT while product_sales shows the VAT-inclusive price. |
shipments_posted, principal_status | Parcels posted on the line, NULL when none yet. DEFERRED while Amazon holds the funds of any parcel (Pay-by-invoice, some Prime lines), RELEASED once every parcel is released. |
principal_posted_at_first, principal_posted_at_last, principal_posted_day | When the principal posted (UTC): the first parcel, the last one, and the day of the first: the cash-basis day of the sale. |
amazon_fees_order_level | Sum of the fee columns below, without the _reversal and _correction children: the fees product_metrics books on purchase_day for this line, negative. |
fees_posted_at_first, fees_posted_at_last | Posting instants of the first and last fee line of the order (UTC). |
refunds_total, refund_events | Sum of the refund columns below, negative, and the number of refund lines Amazon posted (0 = never refunded). |
refund_posted_at_first, refund_posted_at_last | Posting instants of the first and last refund line (UTC), NULL when none. |
settlement_ids | Every settlement (payout) that carried a line of this order line, comma-separated, oldest first. A refund lands in a later payout than the sale. |
One column per fee and refund key
Each column holds that key's amount on the line, in currency, negative; a reimbursement is positive. The column names are the cost_key of cost_dictionary, not the export_name of product_metrics: commission_fee here is referral_fee there. Quote service_FBAPick&PackFee in backticks. Which keys are columns here and which are rows of costs: which table holds a key.
| Block | Columns |
|---|---|
| Fees (20) | cod_chargeback, commission_fee, digital_services_fee, fba_customer_return_fee, fba_fulfillment_fee, fba_reimbursement_free_replacement, fba_reimbursement_multichannel_order_damaged, fba_reimbursement_multichannel_order_lost, fba_reimbursement_removal_order_lost, fba_storage_billing, fba_try_before_you_buy_fee, giftwrap_commission, payment_method_fee, sales_tax_service_fee, service_FBAPick&PackFee, shipping_hb, variable_closing_fee, fba_weight_based_fee, fixed_closing_fee, premium_experience_fee |
Kept at 0 (2) | mfn_postage_fee, mfn_shipping_chargeback: the FBM postage is a row of costs with in_pnl = 1 since 2026-11-10, placed on the lines of its order. The two columns stay, always 0, for the queries that name them |
Fee children (2): inside their parent's figure, outside amazon_fees_order_level | fba_fulfillment_fee_reversal, fba_fulfillment_fee_correction |
Refunds and sales deductions (19), summed in refunds_total | a_to_z_refund_promotion_price_discount, a_to_z_refund_price_principal, a_to_z_refund_price_tax, a_to_z_refund_shipping_principal, giftwrap_chargeback, promotion_price_tax_discount, refund_giftwrap_chargeback, refund_giftwrap_principal, refund_giftwrap_tax, refund_price_principal, refund_price_tax, refund_promotion_price_discount, refund_promotion_price_tax_discount, refund_promotion_shipping_discount, refund_promotion_shipping_tax_discount, refund_shipping_chargeback, refund_shipping_principal, refund_shipping_tax, shipping_chargeback |
giftwrap_chargeback, promotion_price_tax_discount and shipping_chargeback are sales deductions: they sit in the refund block only.
On some lines the order report already holds the tax of the promotion. promotion_price_tax_discount reads 0 on them:
| Marketplace | Lines |
|---|---|
| Amazon.in, Amazon.ie | the order report states no item tax |
| Amazon.co.jp | the order report states an item tax. vat is net of the promotion's tax once the shipment posts |
| Amazon.com.mx | fulfilled by Amazon |
Read it
sql
-- Order basis vs cash basis for one month: the sales purchased in it, the principal Amazon posted in it
SELECT SUM(CASE WHEN purchase_day BETWEEN '2026-09-01' AND '2026-09-30' THEN product_sales ELSE 0 END) AS purchased_in_month,
SUM(CASE WHEN principal_posted_day BETWEEN '2026-09-01' AND '2026-09-30' THEN paid_principal ELSE 0 END) AS posted_in_month,
SUM(CASE WHEN purchase_day BETWEEN '2026-09-01' AND '2026-09-30' AND principal_status = 'DEFERRED' THEN 1 ELSE 0 END) AS lines_still_deferred
FROM nova_share.orders
WHERE seller_partner_id = 'A1XXXXXXXXXXXX';sql
-- Everything Amazon posted on one order, line by line
SELECT sku, quantity, product_sales, paid_principal, principal_status,
amazon_fees_order_level, refunds_total, refund_events, settlement_ids
FROM nova_share.orders
WHERE order_id = '123-1234567-1234567';sql
-- Refunds per SKU over the last 90 purchase days
SELECT sku,
COUNT(*) AS lines,
SUM(CASE WHEN refund_events > 0 THEN 1 ELSE 0 END) AS refunded_lines,
ROUND(SUM(refunds_total), 2) AS refunded
FROM nova_share.orders
WHERE seller_partner_id = 'A1XXXXXXXXXXXX'
AND purchase_day >= CURDATE() - INTERVAL 90 DAY
GROUP BY sku
ORDER BY refunded ASC
LIMIT 20;Sync
- First pull: by
purchase_day, one month at a time. - Each night after 04:00 UTC: re-pull the last 60 purchase days and upsert on the five columns of the sync key. A row changes while Amazon posts on it.
dataset_freshness: theordersrow.updated_atmoves once a night, with the copy.
Related
orders_live: today's lines, every minute, the same column names.product_metrics: the same sales and fees, summed bypurchase_day.costs: every other settlement line, the fees of a refund included.- How the tables join.