l10n_br_cnpj_search
This module integrates with Brazilian government web services (ReceitaWS and SerPro) to automatically fill partner data using CNPJ numbers.
Key Features
- res.partner: Adds a search button next to CNPJ field to open CNPJ search wizard for filling partner information
- res.company: Adds a search button next to CNPJ field to open CNPJ search wizard for filling company information
- res.config.settings: Provides configuration options for selecting CNPJ search provider (ReceitaWS or SERPRO) and SERPRO-specific settings
- webservice: Integrates with ReceitaWS API to fetch company data including legal name, address, phones, emails, CNAE codes, legal nature, and equity capital
- webservice: Integrates with SERPRO API to fetch company data with different schemas (basica, qsa, empresa) including shareholders information
- partner.search.wizard: Provides a wizard interface to review and update partner data retrieved from CNPJ search APIs
- validation: Includes CNPJ validation requirements and error handling for API responses
- formatting: Automatically formats CNPJ and ZIP codes during data entry and retrieval