Amazon processes millions of transactions daily, and errors happen โ missing reimbursements, double-counted fees, or settlement adjustments with no matching order. This query flags the discrepancies automatically.
This is part of the Taptic Data Amazon query library. Explore related queries: SQL query for Amazon return rate by SKU, SQL query for Amazon net margin after FBA fees, SQL query for Amazon buy box percentage by ASIN, and more.
The question
The SQL Taptic generates
SELECT s.settlement_id, s.transaction_type, s.amount_type, ROUND(s.amount::numeric, 2) AS settlement_amount, s.posted_date::date AS posted_date, s.sku, CASE WHEN o.amazon_order_id IS NOT NULL THEN 'Matched' WHEN fe.seller_order_id IS NOT NULL THEN 'Fee match only' ELSE 'Unmatched' END AS match_status FROM amazon_settlement s LEFT JOIN amazon_orders o ON o.amazon_order_id = s.order_id AND o.order_status NOT IN ('Canceled', 'Cancelled') LEFT JOIN amazon_financial_events fe ON fe.seller_order_id = s.order_id WHERE s.posted_date::date >= CURRENT_DATE - INTERVAL '90 days' AND o.amazon_order_id IS NULL AND fe.seller_order_id IS NULL AND ABS(s.amount) > 1 ORDER BY ABS(s.amount) DESC LIMIT 50
This query was generated by Taptic Data from plain English against a real Amazon Seller Central schema. In Taptic, you type the question โ the AI writes the SQL, runs it, and returns the result. You can edit the SQL, ask for explanations, and save it as a refreshable report.
How this query works
What it returns
A list of settlement transactions with no matching order or financial event, ranked by amount โ your shortlist of items to investigate with Amazon Seller Support.
Why it matters
FAQ
Generate this automatically
In Taptic Data, you type "Show me settlement transactions that have no matching order ..." and this SQL runs automatically against your real Amazon Seller Central data.
Try Taptic Free โ $29.99/moNo credit card required. Connect your data source in under 5 minutes.
Compare tools