Problem
You experience one of the following issues in the E-Invoicing addon module when the e-invoicing service sends status updates to your WHMCS installation as an invoice’s state changes:
- An invoice exported successfully, but its service status never updates.
- The webhook delivery from the e-invoicing service fails with a
401response.
Cause
This issue usually occurs for one of the following reasons:
- The License Key is missing or incorrect in the addon module settings.
- The webhook endpoint is not reachable from the e-invoicing service because a firewall, web application firewall, or URL misconfiguration blocks inbound requests.
Solution
To resolve this issue:
Go to Configuration () > System Settings > Addon Modules and open the E-Invoicing settings.
Confirm that the License Key value is correct, then click Save Changes.
Confirm that your webhook endpoint is publicly accessible and that a firewall or web application firewall does not block inbound POST requests. The endpoint uses the following format, where
example.comis your WHMCS domain name:https://example.com/modules/addons/einvoicing/webhook.phpReview the Activity Log at Configuration () > System Logs for entries that contain webhook around the time of the export.
If statuses still do not update after you confirm that the License Key is correct and the endpoint is reachable, contact WHMCS Technical Support.
Last modified: 2026 September 17