Download the PHP package gwharton/module-autocustomergroup-norway without Composer
On this page you can find all versions of the php package gwharton/module-autocustomergroup-norway. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package module-autocustomergroup-norway
AutoCustomerGroup - Norway Addon
Magento 2 Module - Module to add Norway functionality to gwharton/module-autocustomergroup
Norwegian VOEC Scheme
This Scheme applies to shipments being sent from anywhere in the world to Consumers (Not B2B transactions) in Norway.
As of 1st April 2020, all sellers must (if their turnover to Norway exceeds 50,000 NOK) register for the Norway VOEC scheme, and collect Norwegian VAT for B2C transactions at the point of sale and remit to the Norwegian Government.
The module is capable of automatically assigning customers to the following categories.
- Domestic - For shipments within Norway, normal Norway VAT rules apply.
- Import B2B - For shipments from outside of Norway to Norway and the buyer presents a Norway Business Number, then VAT should not be charged.
- Import Taxed - For imports into Norway, where the value of each individual item is below or equal to 3,000 NOK, then Norway VAT should be charged.
- Import Untaxed - For imports into Norway, where one or more individual items value is above 3,000 NOK, then VAT should NOT be charged and instead will be collected at the Norwegian border along with any duties due.
You need to create the appropriate tax rules and customer groups, and assign these customer groups to the above categories within the module configuration. Please ensure you fully understand the tax rules of the country you are shipping to. The above should only be taken as a guide.
Government Information
Scheme information can be found on the Norwegian Tax Administration website here.
Order Value
For the Norway VOEC Scheme, the following applies (This can be confirmed in Section 4) :
- When determining whether VAT should be charged (VAT Threshold) Shipping or Insurance Costs are not included in the value of the goods.
- When determining the amount of VAT to charge the Goods value does include Shipping and Insurance Costs.
The Online Stores and Marketplace Guidelines refers to bundling in Section 4 where it states that multiple items can be shipped in a single shipment, and it is the cost of each item that determines whether VAT should be charged on each item, so a consignment of 10 items, each sold for 1,000 NOK, should still have VAT charged at the point of sale even though the total order value exceeds 3,000 NOK. The guidance recommends if an order contains a mix of above and below threshold items, that the order is split into separate orders. Because of this, this module assumes that if any one single item in a shipment is above the threshold in value, then the entire order does not have VAT applied. Orders sent in this way will be processed at the Norwegian border with VAT being charged as appropriate. This is still in accordance with Section 4 of the above guidance.
More information on the scheme can be found on the Norwegian Tax Administration Website
VAT Number Verification
Norwegian Business Numbers are verified by a simple test that they are 9 digit numbers beginning with 8 or 9. No online lookups are performed.
Pseudocode for group allocation
Groups are allocated by evaluating the following rules in this order (If a rule matches, no further rules are evaluated).
- IF MerchantCountry IS Norway AND CustomerCountry IS Norway THEN Group IS Domestic.
- IF MerchantCountry IS NOT Norway AND CustomerCountry IS Norway AND TaxIdentifier IS VALID THEN Group IS ImportB2B.
- IF MerchantCountry IS NOT Norway AND CustomerCountry IS Norway AND OrderValue IS LESS THAN OR EQUAL TO Threshold THEN Group IS ImportTaxed.
- IF MerchantCountry IS NOT Norway AND CustomerCountry IS Norway AND OrderValue IS MORE THAN Threshold THEN Group IS ImportUntaxed.
- ELSE NO GROUP CHANGE
Configuration Options
- Enabled - Enable/Disable this Tax Scheme.
- Tax Identifier Field - Customer Prompt - Displayed under the Tax Identifier field at checkout when a shipping country supported by this module is selected. Use this to include information to the user about why to include their Tax Identifier.
- VOEC Registration Number - The Norway VOEC Registration Number for the Merchant. This is not currently used by the module, however supplementary functions in AutoCustomerGroup may use this, for example displaying on invoices etc.
- Import VAT Threshold - If any single item within the order is valued above the VAT threshold then no VAT should be charged.
- Use Magento Exchange Rate - To convert from NOK Threshold to Store Currency Threshold, should we use the Magento Exchange Rate, or our own.
- Exchange Rate - The exchange rate to use to convert from NOK Threshold to Store Currency Threshold.
- Customer Group - Domestic - Merchant Country is within Norway, Item is being shipped to Norway.
- Customer Group - Import B2B - Merchant Country is not within Norway, Item is being shipped to Norway, Norwegian Business Number passed validation by module.
- Customer Group - Import Taxed - Merchant Country is not within Norway, Item is being shipped to Norway, All items valued at or below the Import VAT Threshold.
- Customer Group - Import Untaxed - Merchant Country is not within Norway, Item is being shipped to Norway, One or more items in the order is valued above the Import VAT Threshold.
Integration Tests
No specific setup is required to run the integration tests.
All versions of module-autocustomergroup-norway with dependencies
magento/framework Version *
magento/module-catalog Version *
magento/module-directory Version *
magento/module-quote Version *
magento/module-store Version *
psr/log Version *