Kowal_Gus Module - Automatic Company Data Retrieval from GUS in Magento 2
Magento Modules: Clear Guidelines
You purchase the module once, with no domain restrictions
Free installation and updates via Composer
Affiliate Program
Technical support for Magento
Clear guidelines for licensing Magento modules
Magento Module Code Security
Introduction
The Kowal_Gus module is an innovative solution for Magento 2-based stores that automatically retrieves company data based on the NIP number. Thanks to integration with the Statistics Poland (GUS) API, users can instantly complete address details without having to enter information manually.
Module Features
- Automatic company data retrieval based on the NIP number
- Form field completion: company name, address, postal code, city
- Support for both the order page (checkout) and the admin panel
- Option to enable/disable the module in Magento configuration
- Seamless integration with native Magento forms
Benefits of Implementing the Module
- Time savings – eliminates manual data entry
- Greater accuracy – helps avoid typos and incorrect addresses
- Better customer service – faster and more intuitive ordering process
- Compliance with tax requirements – correct company data on invoices
How Does the Module Work?
After the NIP number is entered in the order form, the module sends a request to the GUS API and automatically completes the form fields with the appropriate data. The mechanism works both on the checkout page and when manually creating an order in the admin panel.
Installation and Configuration
The module can be easily installed in Magento 2 by adding it to the app/code/Kowal/Gus directory and enabling it in the system configuration. The admin panel includes an option to activate the module and enter the API key for authorized access to GUS data.
Summary
The Kowal_Gus module is an ideal solution for Magento 2 store owners who want to streamline the process of entering business customer data. Thanks to automation, it significantly reduces order placement time, improves accuracy, and enhances the quality of customer service.
Installation and Deployment
To install the module, simply:
- Install the module: - Add the Composer repository to the configuration by running
composer config repositories.gus vcs https://github.com/kowalco/magento-2-gus
Add an access token for the private repositorycomposer config --global --auth github-oauth.github.com
Install the Composer module by runningcomposer require kowal/module-gus
Enable the module by runningphp bin/magento module:enable Kowal_Gus
- Run the commands:
bin/magento setup:upgrade bin/magento setup:di:compile bin/magento cache:flush bin/magento indexer:reindex sales_order_grid
- Go to Kowal.co → GUS → Settings and enable the module.
- Go to https://api.stat.gov.pl/Home/RegonApi and follow the instructions to obtain an API user key















