Code Validator Errors

List of Code Validation (CV) error codes, along with their causes and proposed solutions, returned when submitted document fields fail code-based validation.

Referenced Document Validator Errors Duplicate Document Validator Errors

Overview

This page lists all Code Validation (CV) error codes that may be returned when a submitted document fails validation against expected code lists or code-dependent business rules (e.g. Item Code, State Code, and other coded reference values).

Each error includes the error code, a description of the error, possible causes, and the proposed solution to resolve it.

Note! Error codes and messages may be updated from time to time as new validation rules are introduced. Always refer to the latest version of this page for the most accurate list.

Error Codes

Error Code Error Description Possible Causes Proposed Solution
CV302 ItemCode {0} does not exist in CodeType {1} The submitted code value is not found within the allowed code list for the specified Code Type. The system is unable to validate the submitted value against the master reference data maintained by MyInvois. • Verify the submitted code against the latest MyInvois SDK code tables.
CV316 State Codes 01–16 must be restricted to MYS only - {0} A Malaysian state code (01-16) has been supplied together with a non-Malaysian country code. Malaysian state codes can only be used when the country code is Malaysia (MYS). • Verify the taxpayer country code.If the address is in Malaysia, use Country Code = MYS.
If the address is outside Malaysia, remove Malaysian state codes and use the appropriate foreign address details.
CV317 State Code 17 should be used for Consolidated e-Invoice and non-Malaysian address only - {0} • State Code 17 is reserved for non-Malaysian addresses and consolidated e-Invoice scenarios.
• The submitted document uses State Code 17 in an unsupported scenario.
• Verify whether the transaction is a consolidated e-Invoice.
• For Malaysian addresses, use State Codes 01-16 as applicable.
• Use State Code 17 only for foreign addresses or approved consolidated invoice scenarios.

Notes

For a full list of accepted code values referenced by these validations (e.g. Item Codes, State Codes), please refer to the Codes section.