As NetSuite continues to evolve and upgrade its features, some changes are applied to existing features. In the recent versions, some country enumerations have been updated. Thus resulting in some integrations failing when it goes unnoticed after upgrading to a more recent WSDL Version.
The documentation from the SuiteAnswers Country Enumerations or Help Center:
provides a list of countries’ enumerations used in SOAP API. This is very helpful for developers setting up their integration with NetSuite. But they have the older version of the enumerations.
In this article, I listed the enumerations that are different from what is listed in the article above compared to the ones from the SOAP Schema Browser.
Country | Old Enumeration | New Enumeration (as of Versions 2023.2) |
|---|
Bolivia (Plurinational State of) | _bolivia | _boliviaPlurinationalStateOf |
Bonaire, Sint Eustatius and Saba | _bonaireSaintEustatiusAndSaba | _bonaireSintEustatiusAndSaba |
Cabo Verde | _capeVerde | _caboVerde |
Congo (the Democratic Republic of the) | _congoDemocraticPeoplesRepublic | _congo |
Congo | _congoRepublicOf | _congoTheDemocraticRepublicOfThe |
Croatia | _croatiaHrvatska | _croatia |
Czechia | _czechRepublic | _czechia |
Timor-Leste | _eastTimor | _timorLeste |
Falkland Islands (Malvinas) | _falklandIslands | _falklandIslandsMalvinas |
Heard Island and McDonald Islands | _heardAndMcDonaldIslands | _heardIslandAndMcdonaldIslands |
Holy See | _holySeeCityVaticanState | _holySee |
Korea (the Democratic People's Republic of) | _koreaDemocraticPeoplesRepublic | _koreaTheDemocraticPeoplesRepublicOf |
Korea (the Republic of) | _koreaRepublicOf | _koreaTheRepublicOf |
Macao | _macau | _macao |
North Macedonia | _macedonia | _northMacedonia |
Micronesia (Federated States of) | _micronesiaFederalStateOf | _micronesiaFederatedStatesOf |
Moldova (the Republic of) | _moldovaRepublicOf | _moldovaTheRepublicOf |
Pitcairn | _pitcairnIsland | _pitcairn |
Réunion | _reunionIsland | _reunion |
Saint Helena, Ascension and Tristan da Cunha | _saintHelena | _saintHelenaAscensionAndTristanDaCunha |
Saint Martin (French part) | _saintMartin | _saintMartinFrenchPart |
Sint Maarten (Dutch part) | _sintMaarten | _sintMaartenDutchPart |
Slovakia | _slovakRepublic | _slovakia |
South Georgia and the South Sandwich Islands | _southGeorgia | _southGeorgiaAndTheSouthSandwichIslands |
Palestine, State of | _stateOfPalestine | _palestineStateOf |
Saint Pierre and Miquelon | _stPierreAndMiquelon | _saintPierreAndMiquelon |
Svalbard and Jan Mayen | _svalbardAndJanMayenIslands | _svalbardAndJanMayen |
Eswatini | _swaziland | _eswatini |
Tanzania, the United Republic of | _tanzania | _tanzaniaTheUnitedRepublicOf |
Türkiye | _turkey | _turkiye |
United States Minor Outlying Islands | _uSMinorOutlyingIslands | _unitedStatesMinorOutlyingIslands |
Venezuela (Bolivarian Republic of) | _venezuela | _venezuelaBolivarianRepublicOf |
Virgin Islands (U.S.) | _virginIslandsUSA | _virginIslandsUS |
Note: This article is written for WSDL Version 2023.2 and enumerations may change in future releases. Suppose any updates were not reflected in this article. Please let us know in the comments!