Required Error Codes for MX Validation

Sterling Standards Library supports Generic, Cash Management, Cash Reporting, and Funds rule book validation error codes. The error codes are logged when MX validation errors occur. Errors are logged in the translator report and in the SWIFT Message Editor when you are using the Document Repair function.

Note: For a complete listing of MX validation error codes, see the translator_swift_error_codes.properties file.
Table 1. Generic rule book validation error codes
Error code Description
Sw.Stds.D00001 Invalid BIC code.
Sw.Stds.D00002 Invalid BEI code.
Sw.Stds.D00003 Invalid IBAN format or invalid check digits. A valid IBAN consists of all 3 of the following components: # Country Code, check digits, and BBAN.
Sw.Stds.D00004 Invalid Country Code. The code is checked against the list of country names obtained from the United Nations (ISO 3166, Alpha-2 code).
Sw.Stds.D00005 Invalid active currency code.
Sw.Stds.D00006 Invalid active or historic currency code.
Sw.Stds.D00007 Invalid Currency Amount. Also, the number of fractional digits (or minor unit of currency) must comply with ISO 4217.
Sw.Stds.D00008 Invalid BIC or BEI code.