We log search terms to improve our documentation. For more information, read our Privacy Policy.


E-Invoicing Configuration Errors

Problem

When you save the E-Invoicing addon module settings at Configuration () > System Settings > Addon Modules, the system displays a validation error and does not save your changes. The error message lists the specific information that failed. For example:

The tax ID is invalid.
The postcode is invalid.
You must provide both license credentials or they must be empty.

Cause

This error occurs when one or more configuration values do not meet the addon module’s validation rules, or when you only provide one of the two license credentials.

The configuration settings use the following rules:

SettingRequired?Rule
License IDThis value accepts letters (az), digits (09), dashes (-), and asterisks (*) only. It allows a maximum of 50 characters.
License KeyThis value accepts letters (az), digits (09), dashes (-), and asterisks (*) only. It allows a maximum of 50 characters.
Company NameThis value allows a maximum of 50 characters.
Tax IDConditionalThis value is required when you select the Tax Support checkbox at Configuration () > System Settings > Tax Configuration. It accepts letters (az), digits (09), spaces, and the ., /, and - characters only, and allows between 5 and 20 characters.
EmailThis value must be a valid email address.
AddressThis value allows a maximum of 100 characters.
CityThis value allows a maximum of 50 characters.
PostcodeThis value accepts digits (09), letters (az), dashes (-), spaces, and the / character only. It allows between 4 and 20 characters.
CountryYou must select a country from the menu. During the limited release, select Belgium. The addon module supports installations in Belgium only, and selecting other countries may return errors.
PhoneOptionalThis value accepts between 7 and 15 digits with no spaces or special characters.
Audit Log Retention (Days)OptionalThis value sets how many days the system retains audit data in the mod_einvoicing_audit_log table on your WHMCS instance. It defaults to 180 days.

Solution

To resolve this error:

  1. Read the error message that the system displays. It names the specific information that failed validation.
  2. Correct the information so that it meets the rules in the table above.
  3. If the error includes a You must provide both license credentials or they must be empty message, make certain that you enter both the License ID and the License Key values, or leave both empty.
  4. Click Save Changes again.

If validation errors continue after you correct all of the information, or if the message does not identify a specific value, contact WHMCS Technical Support.

Last modified: 2026 September 17