elgentos/module-eu-tax-rates

Magento 2 extension to import EU taxes into Magento.

Installs: 31 922

Dependents: 0

Suggesters: 0

Security: 0

Stars: 8

Watchers: 12

Forks: 3

Open Issues: 0

Type:magento2-module

1.2.0 2022-08-05 05:49 UTC

This package is auto-updated.

Last update: 2024-12-17 11:50:48 UTC


README

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