Skip to content

gwharton/module-autocustomergroup-australia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoCustomerGroup - Australia Addon

Magento 2 Module - Module to add Australia functionality to gwharton/module-autocustomergroup

Australia GST for Non Residents Scheme

This Scheme applies to shipments being sent from anywhere in the world to Consumers (Not B2B transactions) in Australia.

As of 1st July 2017, all sellers must (if their turnover to Australia exceeds 75,000 AUD) register for the Australia GST for Non Residents scheme, and collect GST for B2C transactions at the point of sale and remit to the Australian Government.

The module is capable of automatically assigning customers to the following categories.

  • Domestic - For shipments within Australia, normal Australia GST rules apply.
  • Import B2B - For shipments from outside of Australia to Australia and the buyer presents a validated GST ABN number, then GST should not be charged.
  • Import Taxed - For imports into Australia, where the order value is equal to or below 1,000 AUD, then GST should be charged.
  • Import Untaxed - For imports into Australia, where the order value is above 1,000 AUD, then GST should NOT be charged and instead will be collected at the Australia 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 ATO website here.

Order Value

For the Australia GST for Non Residents Scheme, the following applies (This can be confirmed here) :

  • Order value (for the purpose of thresholding) is the sum of the sale price of all items sold (including any discounts)
  • When determining whether GST should be charged (GST Threshold) Shipping or Insurance Costs are not included in the value of the goods.
  • When determining the amount of GST to charge the Goods value does include Shipping and Insurance Costs.

The GST on low value imported goods guide details how to handle shipments that contain multiple low value items that will be shipped together, that when combined present an order value that is above 1,000 AUD. In this case, even though individual items may be classed as low value items and would attract GST, the value of the entire shipment is above the threshold and VAT should not be charged at the point of sale.

More information on the scheme can be found on the Australian Tax Office Website

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 Australia AND CustomerCountry IS Australia THEN Group IS Domestic.
  • IF MerchantCountry IS NOT Australia AND CustomerCountry IS Australia AND TaxIdentifier IS VALID THEN Group IS ImportB2B.
  • IF MerchantCountry IS NOT Australia AND CustomerCountry IS Australia AND OrderValue IS LESS THAN OR EQUAL TO Threshold THEN Group IS ImportTaxed.
  • IF MerchantCountry IS NOT Australia AND CustomerCountry IS Australia AND OrderValue IS MORE THAN Threshold THEN Group IS ImportUntaxed.
  • ELSE NO GROUP CHANGE

ABN Number Verification

  • Offline Validation - A simple format and checksum validation is performed.
  • Online Validation - In addition to the offline checks above, an online validation check is performed with the Australian Tax Office ABN checker service. The online check not only ensures that the ABN number is valid, but also checks that the ABN number has an associated GST number registered with it, and it is in date and valid.

Credentials for the Australian Tax Office ABN checker API can be obtained by signing up on the Australian Business Register Website.

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.
  • Validate Online - Whether to validate GST Registration status with the Australian Business Register using the ABN number, or just perform simple format validation.
  • ABN API GUID - The GUID provided by the Australian Business Register website for API access.
  • ATO Registration Number - The ATO 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 GST Threshold - If the order value is above the GST Threshold, no GST should be charged.
  • Use Magento Exchange Rate - To convert from AUD 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 AUD Threshold to Store Currency Threshold.
  • Customer Group - Domestic - Merchant Country is within Australia, Item is being shipped to Australia.
  • Customer Group - Import B2B - Merchant Country is not within Australia, Item is being shipped to Australia, ABN Number passed validation by module.
  • Customer Group - Import Taxed - Merchant Country is not within Australia, Item is being shipped to Australia, Order Value is below or equal to the Import GST Threshold.
  • Customer Group - Import Untaxed - Merchant Country is not within Australia, Item is being shipped to Australia, Order Value is above the Import GST Threshold.

Integration Tests

To run the integration tests, you need your own credentials for the Australian Business Register API. Please add them to config-global.php.

Please note that the Australian Business Register API does not have a sandbox for testing, so a live API GUID should be used.

  • autocustomergroup/australiagst/apiguid

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages