Get in touch
OpenCart

Brazilian Checkout Fields for OpenCart 2.3, 3.x and 4.x — CPF, CNPJ, address from the CEP

CPF and CNPJ checked on the server, house number and bairro, masks, the address from the CEP through ViaCEP. Pro adds the company from the CNPJ, CNPJ status, duplicate checks and CSV. Lifetime licence.

Pro · lifetime licence Staging copies are included. The more sites, the cheaper each one
Compatibility
OpenCart 4.0.2.x and 4.1.x (tested on 4.0.2.3 and 4.1.0.3), 3.0.x (tested on 3.0.5.0), 2.3.0.2 · PHP 7.0+ · languages: English, Brazilian Portuguese
Version
v1.0.0 (OpenCart 4)
v1.0.0 (OpenCart 3.x)
v1.0.0 (OpenCart 2.3)
Licence
a site + a staging copy, lifetime
Trial
7 days, no card, one per site
Updated
November 2026
Or all 396 Pro modules with All Access — 4 990 ₴ / year ≈ €98

What Free has,
and what Pro adds

The free version works with no time limit. Pro adds the rest of the features in the table.

Feature Free Pro
CPF and CNPJ, including the alphanumeric one, checked on the server ✔ ✔
Individual or company at checkout ✔ ✔
House number and bairro as separate fields ✔ ✔
Optional razão social, IE, RG, date of birth, celular ✔ ✔
Masks while typing ✔ ✔
Address from the CEP: ViaCEP, with BrasilAPI as the fallback ✔ ✔
Fields only for Brazil or for everyone ✔ ✔
A panel for a logged-in customer without a document ✔ ✔
Number and bairro on the order address lines ✔ ✔
Find orders by document ✔ ✔
Company and address from the CNPJ — ✔
CNPJ status: a note or a refusal — ✔
One document per account: a note or a refusal — ✔
IBGE code — ✔
CSV of orders — ✔
Check of older orders — ✔

What it looks like

Checkout with Brazilian fields
Checkout with Brazilian fields (2)
Person type, CPF, number and bairro on the stock checkout.
Wrong CPF
The server stops the form, with the message under the field.

Key points

What the buyer sees

The buyer picks individual or company, sees only the fields that apply and types the number with a mask.

What the admin gets

In the settings you choose who is asked for a document and which fields show. The order page shows the document, and a separate tab finds orders by CPF or CNPJ.

How much it costs

The base version is free. Pro costs 1 290 UAH, a one-time payment for a lifetime licence.

The trial starts when you ask

A fresh install is the free version, nothing switches on by itself. The “Try Pro for 7 days” button → e-mail → the key right in the window and by e-mail.

One key — a site and a staging copy

Moving the site? Unlink the licence on the old domain and activate it on the new one yourself. A staging copy (staging., dev.) works with the same key and does not take a site slot. For studios — keys for 5 or 25 sites, or unlimited.

Technical requirements

  • OpenCart 4.0.2.x and 4.1.x, 3.0.x or 2.3.0.2 · PHP 7.0+.
  • Outgoing requests from the shop’s server to ViaCEP and BrasilAPI: without them the address is typed by hand.

Version history

v1.0.0 Current November 2026

For OpenCart 4.x, 3.x and 2.3: CPF, CNPJ, number, bairro, masks, the address from the CEP; Pro adds company from the CNPJ, status, duplicates, IBGE, CSV.

Frequently bought with Brazilian Checkout Fields

All Access Need more? All modules (396) under one licence, new ones are added automatically. 4 990 ₴≈ €98 Learn more →

Full module description

Brazilian Checkout Fields makes the OpenCart checkout fit Brazil: CPF or CNPJ, house number, bairro and the address from the CEP. All data goes into OpenCart’s own custom fields, so orders, customers and other modules see it.

What the buyer sees

The buyer picks individual or company, sees only the fields that apply and types the number with a mask. A wrong CPF or CNPJ stops the form with a message under the field. After the CEP the street, city, bairro and state fill in by themselves. If the address service does not answer, the buyer fills everything by hand and the order is not blocked. A buyer from abroad does not see these fields.

What the admin gets

In the settings you choose who is asked for a document and which fields show. The order page shows the document, and a separate tab finds orders by CPF or CNPJ. Pro adds a refusal by CNPJ status, one document per account, CSV and a check of older orders.

How it works, step by step

  1. Install the module: the fields are created for all customer groups.
  2. Choose who is asked for a document and which fields you need.
  3. The buyer enters the CEP and the address fills in.
  4. A wrong CPF or CNPJ is stopped on the server.
  5. The order gets the document, number and bairro.

Under the hood

  • Nothing is patched: only OpenCart’s own custom fields and events.
  • ViaCEP and BrasilAPI are free, with no promise of uptime. There is a cache and a limit per IP.
  • IE is checked by format only, state check digits are not computed.
  • A payment module’s own button outside the confirm block can bypass the panel for a returning customer: in Pro the order check shows it.
  • On removal the fields are hidden and the data stays.

How to install

  1. Extensions → Installer: upload the archive for your version and keep the file name.
  2. OpenCart 2.3: the Installer copies files only with FTP enabled. Without FTP copy the contents of upload/ to the shop root by hand.
  3. OpenCart 2.3 and 3.x: Extensions → Modifications → Refresh.
  4. Extensions → Modules → Brazilian Checkout Fields → install button → Edit.
  5. Try the fields at checkout with a Brazilian address.
  6. Change the list of fields in the settings if you need to.
  7. For Pro: paste the key or start the 7-day trial.

Questions
about the module

Didn't find the answer? Message us on Telegram and we'll reply within a business day.

@catcode_support Setup, compatibility, activation
Does this connect to the Receita Federal?

No. CPF and CNPJ are checked by check digits, and the CNPJ status in Pro comes from BrasilAPI.

What if the address service is down?

The buyer types the address by hand and the order goes through.

Will buyers from other countries see these fields?

No, the fields appear only for a Brazilian address.

Can I ask companies only?

Yes, the settings offer individuals, companies, both or nobody.

Not quite what you are looking for?

We build custom modules for WordPress, WooCommerce, OpenCart and Shopify. Tell us about the task and we'll prepare an estimate.

Order a custom module