Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.3, 5.2.0-b1
    • Component/s: None
    • Labels:
      None

      Description

      It appears that VIES uses the alpha2 code EL for Greece, while the official ISO_3166 is GR. This mismatch is causing an issue with our validation. To resolve, edit core/Util/tax/EuropeTax.php and change line 40 from:

                      $validator = new Validator(new Europa, $tax_id, $country);
      

      To

                      $validator = new Validator(new Europa, $tax_id, $country == 'GR' ? 'EL' : $country);
      

      And line 88 from:

                          $validator = new Validator(new Europa, $tax_id, $country);
      

      To

                          $validator = new Validator(new Europa, $tax_id, $country == 'GR' ? 'EL' : $country);
      

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            jonathan Jonathan Reissmueller
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Aug/21

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 16 minutes
              16m

                Agile