Google Workspace Marketplace
Fill in Brazilian company data from a CNPJ and addresses from a CEP right in Google Sheets™ with simple formulas. 100 free lookups per month.
By:
Listing updated:November 16, 2026
Works with:
No reviews
No users
Overview
Errand Code – CNPJ e CEP brings public data on Brazilian companies and addresses into your Google Sheets™ spreadsheet through custom functions.

Type a CNPJ (the Brazilian company tax ID) and get the legal name, trade name, registration status, address, CNAE (economic activity code) and more. Type a CEP (the Brazilian postal code) and get the matching address. No copying and pasting from websites, no extra tabs.

WHO IT'S FOR
• Small and medium businesses that keep customer and supplier lists in spreadsheets
• Accountants and accounting firms checking registration data
• Sales teams enriching prospect lists
• Procurement teams validating and completing supplier records

WHAT YOU CAN DO
• Look up public company data from a CNPJ: legal name, trade name, status, address, CNAE and other fields
• Look up an address from a CEP
• Use the functions like any other Sheets™ formula: drag down to fill a whole column
• Recalculate formulas from the add-on menu
• Track your monthly usage in the sidebar

HOW TO USE
The add-on is designed for spreadsheets set to Brazilian Portuguese, which use a semicolon (;) as the argument separator. If your spreadsheet uses a different locale, use a comma instead.

Example: look up the legal name for a CNPJ:

  =CNPJ("33000167000101";"razao_social")

Example using a cell reference (CNPJ in column A):

  =CNPJ(A2;"razao_social")

Example: look up an address from a CEP:

  =CEP("01310100";"logradouro")

To redo your lookups, open the add-on menu and click "Recalcular fórmulas" (Recalculate formulas).
To see how many lookups you have used this month, open the add-on sidebar.

Note: the add-on interface is in Portuguese.

PLANS
• Free: 100 lookups per month at no cost
• Paid: R$ 29 per month (Brazilian reais), billed through Stripe, for those who need more lookups

PRIVACY AND PERMISSIONS
• The add-on needs permission to connect to an external service (scope script.external_request). This is how the CNPJ or CEP in your formula is looked up and the result returned to the cell.
• The data returned is public information about companies and addresses.
• Payments for the paid plan are processed by Stripe.
• Full details on data handling: https://errandcode.com/privacy
• Terms of service: https://errandcode.com/terms

SUPPORT
Questions or problems: https://errandcode.com/support
About the developer: https://errandcode.com

Google Sheets™ is a trademark of Google LLC.
Additional information
PricingFree of charge with paid features
Developer
Support
Privacy policy
Terms of service
Errand Code – CNPJ e CEP will ask for the permissions shown below. Learn more
Errand Code – CNPJ e CEP will need access to your Google account
This will allow Errand Code – CNPJ e CEP to :
View and manage spreadsheets that this application has been installed in
Connect to an external service
Display and run third-party web content in prompts and sidebars inside Google applications
See your primary Google Account email address
See your personal info, including any personal info you've made publicly available
Reviews
Language:
Sort by:
Google doesn't verify reviews or ratings. Learn more about reviews
No comments
Search
Clear search
Close search
Google apps
Main menu