EU VAT Addon

From WHMCS Documentation

Revision as of 16:58, 9 September 2021 by SarahK (talk | contribs)

Note
This page describes deprecated features in version 5.1 through 7.6. In version 7.7 and above, this functionality is in Configuration () > System Settings > Tax Configuration or, prior to WHMCS 8.0, Setup > Payments > Tax Configuration.

The EU VAT Addon allows you to configure a additional invoice and billing-related options for EU invoicing and VAT requirements.

This functionality includes:

  • The ability to automatically set up EU tax rules.
  • Automatic validation of VAT numbers when ordering.
  • The ability to assign custom invoice number formats when generating invoices based on the month and year.
  • The ability to configure proforma or sequential paid invoice numbering.
  • The ability to configure automatic resetting of the sequential paid invoice numbers monthly or annually.
  • The ability to have invoice dates automatically updated when invoices are paid.

Requirements

This addon uses VIES, the Vat Number Validation service of the European Commission, which requires the PHP SOAP Extension.

The PHP SOAP extension is required to communicate with this service. If you do not have the SOAP extension already compiled and available in your PHP binary, you will need to recompile PHP to add this extension. For more information, contact your hosting provider or system administrator.

Note
EUROPA, the service through which VAT numbers are validated, may not accept connections on IPv6.

Setup Instructions

To set this addon up:

  • Log in to the Admin Area.
  • Navigate to Configuration () > System Settings > Addon Modules or, prior to WHMCS 8.0, Setup > Addon Modules.
  • Click Activate for the EU VAT Addon.
  • Enable access for your admin role group and then click Save.
  • Go to Addons > EU VAT Addon to access and use the module.

Note
If you have used the VAT number validation hook previously, delete it from the /includes/hooks/ folder.

Usage Notes

The automatic invoice numbering reset occurs when the automation cron runs on the last day of the month. To use this feature, we recommend configuring the cron job to run late at night on the last day of the month.