driesvints / vat-calculator

Handle all the hard stuff related to EU MOSS tax/vat regulations, the way it should be.
MIT License
1.2k stars 88 forks source link

Problems with the config file #163

Closed Spryer closed 1 year ago

Spryer commented 1 year ago

I tried to change the rates, however it did not apply to the calculator and i am just getting the origin values. For example i wanted to change the Values of Belgium to 0.1 instead of 0.19 but nothing changed: ` 'rules' => [

    'BE' => [
        // Belgium
        'rate' => 0.10,
        'exceptions' => [
            'Jungholz' => 0.19,
            'Mittelberg' => 0.19,
        ],

I tried different countries however nothing worked. Am i missing something?

'AT' => [
            // Austria
            'rate' => 0.10,
            'exceptions' => [
                'Jungholz' => 0.19,
                'Mittelberg' => 0.19,
            ],
            'rates' => [
                'high' => 0.20,
                'low' => 0.10,
                'low1' => 0.13,
                'low2' => 0.05,
                'parking' => 0.13,
            ],
        ],
Spryer commented 1 year ago

Extended the class and edited the countries