magento / magento/magento2

Cannot create proper tax rates for guest user purchases in Greece

Open
#39,779 8 comments 0 reactions 1 assignee View on GitHub

@engcom-Hotel is already working on this.

Since May 12, 2025.

feature request Progress: ready for grooming Reported on 2.4.x Triage: Dev.Experience
Dominant language
PHP
Stars
12.2k
Forks
9.4k
PR merge metrics
No merged PRs in 30d

Description

Summary

In our country (Greece) we have some tax rates which apply conditionally based on whether the customer is a business or an individual and their physical location.

When the user is logged in, it's possible to handle this by changing his group and assigning a tax class to that group.

However when the user is not logged in, there's no possibility to apply different tax rates as the tax rules are based on tax classes assignable only to groups.

What's the proper way to address this situation in shops which are both B2C and B2B / Wholesale and they sell to random businesses as well without them necessarily having an account?

Examples

Basically I need to cover these scenarios .

Status Is Business Is from specific area Rate
Logged in No No 24
Logged in No Yes 24
Logged in Yes No 24
Logged in Yes Yes 17
Guest No No 24
Guest No Yes 24
Guest Yes No 24
Guest Yes Yes 17

This is just an example of a common use case as there are cases where they might be fully exempt from VAT tax obligations

Proposed solution

Here the ERP systems take into account the existence of a valid VAT ID to differentiate and apply the correct tax rules, maybe something like this is possible in Magento as well?

Release note

No response

Triage and priority
  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.