Kowal GUS
Composer kowal/module-gus · Version 1.0.16
Product page
Description
Look up a Polish business by its NIP tax number in the Statistics Poland (GUS) register and fill in address fields during checkout.
For whom
For stores serving Polish businesses and staff who enter orders on behalf of customers in Magento Admin.
Features
- Find a business by NIP.
- Fill in the company name, street, town and postcode.
- Use the lookup at checkout and when creating an Admin order.
Installation
From the Magento root, with Composer access to the Kowal package, run
composer require kowal/module-gus
bin/magento module:enable Kowal_Gus
bin/magento setup:upgrade
bin/magento cache:clean
Configuration
- Open Kowal → nipfromgus → Ustawienia in store configuration and enable the module.
- For testing, select Tryb Testowy (test mode) and enter the matching GUS key under Klucz użytkownika (user key).
- Save the settings. Before going live, switch to the production environment and enter the production key.
Requirements / notes
The package uses gusapi/gusapi and Kowal Base. A custom checkout must expose the form fields that the integration populates.
FAQ
How can I tell an invalid key from a missing company record?
“Bad user key” indicates an authentication problem. “No data found for NIP” refers to the search result. Check the tax number and selected environment.
Verify the installation
bin/magento module:status Kowal_Gus
Look up a NIP available in the selected environment and compare the returned name and address with the company record. Repeat the lookup when creating an order in Admin.