Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.29 KB

README.md

File metadata and controls

38 lines (25 loc) · 1.29 KB

Elgentos' EU Tax Rates Importer

This Magento 2 module makes it possible to import a CSV file containing all the tax rates for all countries in the EU. It will also create the related tax rules used in Magento with some basic configuration.

Rates

You can find the current rates here.

Installation

This package can be installed using Composer:

composer require elgentos/module-eu-tax-rates
bin/magento module:enable Elgentos_EuTaxRates
bin/magento setup:upgrade

Usage

To use this script, you can run the following command on your command line:

bin/magento elgentos:eutaxes:create [--reset=1] [--file=path/to/file.csv]

When setting the reset option, the existing tax rates and tax rules will be removed. If not set, only non-existing tax rates will be imported and the tax rule will be updated as well.

If you have a custom rates file to import, you can set that using the file option and add the CSV file as its value.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

OSL-3.0