Amazon Marketplace → report.html
How the January 2025 dashboard report is assembled from itemized orders and standalone expenses.
The authoritative input is the itemized Amazon Orders 2025 workbook. The source adapter
creates one expense object per order; the import service persists those orders as standalone
rows in expenses. The verification report then reconciles the workbook, database,
vendor key, category, duplicate key, and receipt metadata before writing the dashboard-facing
report.html.
Build sequence
Source objects: AmazonMarketplaceSource,
AmazonMarketplaceExpense, AmazonMarketplaceImportService,
StoredAmazonExpense, and AmazonMarketplaceExpenseRepository.
Each persisted Amazon order has expense_role = STANDALONE; no parent or child
itemization rows are created.