Migration assurance
Settlement XML report replacement: migration guide and scanner checklist
Settlement XML report replacement explains what replaces Settlement XML report workflow, the removal date, the migration risks to validate, and how API Migration Guard detects the pattern.
- Target keyword: Settlement XML report replacement
- Removed: Settlement XML report workflow
- Replacement: No XML replacement; Flat File V2 only
- Removal date: November 11, 2026
TL;DR
| Deprecated item | Removal date | Replacement | Migration risk | Scanner detection |
|---|---|---|---|---|
| Settlement XML report workflow | November 11, 2026 | No XML replacement; Flat File V2 only | Teams waiting for an XML successor will miss the November 2026 deadline. | AMZ-SET-XML-001 |
Official status
Amazon documentation lists Settlement XML report workflow as in-scope for this migration. Use the official source before code freeze because deadlines and replacement details can change.
Amazon settlement report removal changelog Amazon SP-API deprecation schedule
Production Settlement validation plan
Settlement migration is a finance parser rebuild. The production gate is not simply requesting the new report type; it is proving that amount rows, currencies, descriptions and totals reconcile under realistic sample files.
| Validation area | Production proof to collect |
|---|---|
| Report type | Confirm no code path still requests XML or the legacy flat-file report type. |
| Parser contract | Parse by header name and retain amount-type, amount-description, amount and currency together. |
| Locale handling | Validate decimal comma and decimal point samples with deterministic decimal arithmetic. |
| Accounting totals | Reconcile principal, fees, refunds and transfers before replacing close workflows. |
XML parser migration map
A serious XML migration map does not translate tags one by one. It translates each legacy XML parser assumption into a canonical Flat File V2 row shape that finance can reconcile.
| Legacy XML parser assumption | Canonical Flat File V2 row | Validation check |
|---|---|---|
| Charge or fee nodes grouped by element name | amount-type plus amount-description | Confirm fee and price buckets land in the expected ledger accounts. |
| Nested amount value and currency nodes | amount plus currency | Use decimal-safe parsing and preserve currency on every row. |
| Order, refund or transfer node identity | transaction-type plus order/settlement identifiers | Reconcile by transaction identity before grouping totals. |
| XPath-specific business rules | Header-name row reducer | Remove XML-only code paths from the release branch. |
Removed resource and replacement
| Old resource | Replacement | Deadline | Validation outcome |
|---|---|---|---|
| Settlement XML report workflow | No XML replacement; Flat File V2 only | November 11, 2026 | Teams waiting for an XML successor will miss the November 2026 deadline. |
What breaks
| Area | Breakage |
|---|---|
| Code pattern | Legacy settlement report type or parser path for Settlement XML report workflow. |
| Payload or schema | Flat File V2 is tab-delimited and collapses discrete fee/price columns into amount fields. |
| Permission or data access | Flat File V2 can require Finance and Accounting role access in Seller Central. |
| Pagination, status or field mapping | Header-name parsing, locale decimal commas and canonical totals replace positional parsing assumptions. |
Before/after example
The example is intentionally small so the migration shape is visible in a code review.
Before:
download('GET_V2_SETTLEMENT_REPORT_DATA_XML').then(parseSettlementXml);
After:
download('GET_V2_SETTLEMENT_REPORT_DATA_FLAT_FILE_V2').then(parseFlatFileV2);Scanner detection
| Rule ID | Severity | Evidence pattern | False positive condition | Validation step |
|---|---|---|---|---|
| AMZ-SET-XML-001 | BLOCKER for XML or legacy report type evidence; HIGH for parser assumptions | Settlement XML report workflow | Documentation, comments, generated clients or test fixtures can require manual review. | Request a Flat File V2 sample and verify it downloads for the marketplace. |
Migration checklist
- Request a Flat File V2 sample and verify it downloads for the marketplace.
- Parse by header name and normalize amount-type, amount-description, amount and currency.
- Run the Settlement Flat File V2 sample validator with locale decimal examples.
- Reconcile canonical totals before turning off the legacy report path.
Common mistakes
- Looking for an XML replacement even though Amazon removed XML with no XML replacement.
- Reading columns by index rather than by header name.
- Using parseFloat on locale comma amounts such as 95,00.
Sample report preview
The public sample report shows the same evidence shape used by paid reports: rule ID, severity, file location, redacted evidence, migration mapping, validation step and quality gate.
FAQ
What replaces Settlement XML report replacement?
No XML replacement; Flat File V2 only
Is there an XML replacement?
No. XML settlement workflows must be rebuilt on Flat File V2.
What should finance teams validate?
Header mapping, currency grouping, amount normalization and totals reconciliation against accounting expectations.
Official sources
Validate Settlement XML report replacement in your source
Run a static scan, review the sample report shape, then unlock the detailed migration report when the evidence is useful.