
More than a year after Vietnam’s restructured administrative boundaries took effect on July 1, 2025, many companies assume the transition is behind them simply because their checkout forms now show the updated province and ward lists. Open the legacy customer table in CRM, the receivables ledger in ERP, or the e-invoicing archive, and a different picture appears: thousands of records are still half old, half new.
These issues rarely crash an application right away. Instead, they quietly distort regional sales reports, force accounting staff to fix e-invoices by hand, or route shipments to the wrong sorting hub.
1. Three hidden address errors still showing up in daily operations
The first is duplicate customer profiles for the same buyer. A long-standing distributor was entered in CRM in 2024 under “Ward 1, My Tho City, Tien Giang Province.” In late 2025, they place a new order online and select the updated address: “My Tho Ward, Dong Thap Province.” String-based deduplication fails to recognize them as the same account, creating a second customer code and splitting credit history and discount tiers.
The second comes from rigid three-tier schemas in legacy databases. Many older ERP and accounting systems enforce three non-empty columns: Province, District, and Ward. When staff enter a two-tier address under the new structure (ward directly under province or city, with no intermediate district), the form either refuses to save or pushes operators to type placeholder text into the middle column just to pass validation. That breaks alignment with official e-invoice data.
The third is mismatched regional reporting and carrier rate cards. Sales groups revenue by the new province names while a 3PL partner’s freight tariff or historical warehouse records still rely on the old district and province labels. At month-end, finance and logistics arrive at different regional cost numbers simply because historical orders were never normalized to a shared reference.
2. Do not overwrite the old address column
When IT teams are asked to clean the database, the first instinct is often to run a script that replaces the existing address column with the new strings. That creates problems later.
Accounting teams still need to look up contracts, delivery notes, and tax invoices issued before July 2025 using the exact administrative names printed on those documents. Customers calling support and delivery drivers on the road also continue to refer to familiar legacy ward and district names.
A safer design is to keep the original field intact (legacy_address) while adding separate columns for the standardized new address (standardized_address), administrative code, and coordinates (lat, lng). On customer support screens or driver apps, the interface can display the updated address as primary and show the legacy name underneath as a secondary line.
3. Auditing and converting records in bulk with TrackAsia Convert Address API
Rather than asking admin staff to look up tens of thousands of Excel rows manually, engineering teams can run batch conversion through the TrackAsia Address Convert API (/api/v2/place/convert/json) with migrate_type=old_to_new.
Testing three real sample addresses directly against the live endpoint returns clean two-tier results:
| Legacy address in database | Converted result from TrackAsia Convert API (old_to_new) |
|---|---|
| 720A Dien Bien Phu, Ward 22, Binh Thanh District, Ho Chi Minh City | 720A Dien Bien Phu, Thanh My Tay Ward, Ho Chi Minh City |
| 12 Nguyen Hue, Ward 3, Da Lat City, Lam Dong Province | 12 Nguyen Hue, Xuan Huong – Da Lat Ward, Lam Dong Province |
| 100 Hung Vuong, Ward 1, My Tho City, Tien Giang Province | 100 Hung Vuong, My Tho Ward, Dong Thap Province |
The Node.js snippet below sends a legacy address string to retrieve the updated formatted address and structured address_components (if your CRM already stores coordinates, pass latlng as well to improve accuracy along split ward boundaries):
const url = new URL("https://maps.track-asia.com/api/v2/place/convert/json");
url.search = new URLSearchParams({
text: "100 Hung Vuong, Phuong 1, Thanh pho My Tho, Tinh Tien Giang",
migrate_type: "old_to_new",
key: process.env.TRACKASIA_API_KEY
});
const res = await fetch(url);
const data = await res.json();
if (data.status === "OK" && data.results?.length) {
console.log(data.results[0].formatted_address);
}
For new entries on web forms, mobile apps, or internal order screens, enable new_admin=true&include_old_admin=true on TrackAsia Autocomplete API v2. Staff can type either the old or new ward name and receive both versions in a single response.
4. A four-step workflow to clean large databases safely
When cleaning tens or hundreds of thousands of CRM and ERP rows, avoid firing the entire table at the API in one tight loop. A controlled four-step rollout keeps both data integrity and API spend predictable.
First, deduplicate by unique address string. An ERP with 200,000 orders often contains only 30,000 to 50,000 distinct customer addresses. Converting the unique lookup table and mapping the results back immediately cuts API calls by more than two-thirds.
Second, run a pilot batch of 200 to 500 records spread across multiple provinces, especially areas affected by provincial mergers or ward splits. Check match rates and inspect rows where the source string is heavily abbreviated or incomplete.
Third, run the full job in rate-limited batches and write results into a staging table holding the original string, converted output, and match status. Any record missing a house number, containing severe typos, or returning ambiguous components should be routed to an exception queue for manual review instead of overwriting production records blindly.
Finally, once imported into ERP and e-invoicing, keep both legacy and new columns side by side and reconcile one recent month of regional revenue and freight reports to confirm no customer group dropped out of its territory.
Run a pilot batch conversion on your CRM/ERP records
If your company still has tens of thousands of legacy addresses sitting in CRM, ERP, or accounting software that need conversion to the updated administrative boundaries, send a small sample file to support@track-asia.com or reach out via Hotline. TrackAsia’s engineering team can run a pilot test on Convert API and estimate batch processing costs for your dataset.