# Export companies to an Excel spreadsheet

> How to export the companies of a search, view or list on CNPJá to an XLSX spreadsheet, with registration, partners, tax regime and state registrations.

An export makes an XLSX spreadsheet with the registration of every establishment in a search, a view or a list, plus the resources you choose. It starts from **Export**, at the top of those pages of the **CNPJ** app, and the spreadsheet is ready to download on the list's page, under **Exports**.

## Who can use it

Any member of an organization, in any role, can export, as the [permissions matrix](https://cnpja.com/en-us/docs/organizations/members-and-roles#matrix) shows, and the export consumes the [quota](https://cnpja.com/en-us/docs/billing/queries-and-quotas) of the organization in use. In **Search CNPJ**, without an account or an organization, **Export** appears hatched and with a lock, and the notice it opens says what is missing: **Save and export with a free account** or **Save and export as an organization member**, as [Guests, accounts and organizations](https://cnpja.com/en-us/docs/app/access-levels#locked) details.

## Where to export from

Every export belongs to a list. That is why a search or a view is saved as a new list when it is exported, and so are the establishments filtered on a list's page, when you choose so:

| Source | What goes into the spreadsheet | What happens first |
| --- | --- | --- |
| **Search CNPJ** | Every establishment matching the search and filters on screen, up to the limit of a list | The search becomes a new list, with the name you give it in the **Confirm** step, saved only when you click **Export**. Only the list is saved, unless you tick **Also save as a view** |
| A view | Every establishment matching the view as it stands on screen, even with changes not yet saved | The search on screen becomes a new list, as in **Search CNPJ**, without the view checkbox, since the view already keeps the search. The view stays as it was saved |
| A list | The whole list or, when the search or filters on screen leave part of it out, what you choose in the first step | With no search or filter leaving establishments out, nothing: the list itself is exported. With them, the window first asks what to export, as [Export a filtered list](#filtered-list) explains |

To export:

1. Click **Export**, at the top of the page.
2. For a filtered list, in the **What to export** step, choose one of the options in [Export a filtered list](#filtered-list) and click **Continue**.
3. In the **Resources and age** step, choose the [max age](#max-age) and the [additional data](#resources), check the consumption on the strip above the buttons and click **Continue**.
4. In the **Confirm** step, check the **Summary**. For a search or a view, fill in the **List name**; for a filtered list saved as a new list, the **Name of the new list**. In **Search CNPJ**, with a term or a filter, tick **Also save as a view** if you want to keep the search too, under the same name; left unticked, only the list is saved.
5. Check the [Estimated consumption](#estimate), authorize the overage if the authorization box shows and click **Export**.

For a search, a view or a list with no search or filter leaving establishments out, the window opens straight on the **Resources and age** step. Nothing is saved while you choose: the estimate works out the consumption of the search itself, or of the filtered part of the list, and closing the window before you click **Export** leaves no list saved. When you click **Export**, the app saves the new list of the organization and, with the box ticked, the view of the same name too, consuming no quota ([What is not charged](https://cnpja.com/en-us/legal/metering#not-charged)), and exports that list. The window shows the export in the queue and closes, and the page moves to the new list, with **Exports** open; the sidebar already shows the list and, if you saved it, the view. If the view cannot be saved, the list is saved all the same and the export goes on, as [Common problems](#troubleshooting) explains.

On a view with **Unsaved changes**, **Export** stays at the top and exports the search on screen, changes included, without saving them to the view. So that you do not lose them, the page stays where it is: the **Confirm** step says so, with **The export joins the queue and you stay on this view, its changes still unsaved. Its progress and download stay on the list's page.**, and the notice that the export started brings **Open list**, which leads to the new list's **Exports**. The sidebar shows the new list too, with the export's progress. Leaving the view, through **Open list** or any other way, first asks whether you want to discard the changes, as [Views](https://cnpja.com/en-us/docs/search/views) explains.

In the **Resources and age** step, each choice shows what it consumes where it is made: the registration and each resource ticked show the live and cached queries they add to the export, and the strip above the buttons adds it all up and says whether the export fits the quotas, for every resource ticked and every age chosen, as [Estimated consumption](#estimate) explains.

In the **Confirm** step, the **Summary** gathers the choices, and each row leads back to its step: **What to export**, for a filtered list, with the choice, **New list** or **Whole list**, and the number of establishments; and **Resources and age**, with the number of additional resources and the max age, such as "2 additional resources · 7 days", and the names of the resources under it. **Back** goes back one step. When the export saves a new list, under the **Summary** comes the **List name**, or the **Name of the new list**, for a filtered list, and, in **Search CNPJ** with a term or a filter, the **Also save as a view** checkbox, unticked. Then come the [Estimated consumption](#estimate) and, when it applies, the notice that the export does not fit or the box that authorizes the overage, as [Quota usage](#quota) explains. The last line says what happens next, **The export joins the queue, and its progress and download stay on the list's page.**, preceded, when the export saves a new list, by the fact that saving the list consumes no quota, and is left out while the export would be refused. When you finish, the app confirms the export started and opens **Exports** on the page of the list exported, the new list when the window saved one.

The question mark icons in the window open the guide to each option in the [help drawer](https://cnpja.com/en-us/docs/app/tour#page-help), over the window.

A search larger than the limit of a list is flagged right in the first step: only the first establishments are saved and exported. A quota already used up, with no budget to pay the overage, is also flagged in the first step, as [Quota usage](#quota) explains. On a page with no establishments, **Export** is dimmed and its tooltip says **No establishments to export**.

## Export a filtered list

On a list's page, the search and the filters show only part of it. When they leave establishments out, **Export** first asks what to export, in a first step, **What to export**: the top of the window says how many of the list's establishments the filters show, and **Filters on this page** lists the search and each filter with its values, with the share of the list they leave in the corner, such as "120 of 800". With no search or filter, or with filters that leave no establishment out, nothing changes: the window opens straight on the **Resources and age** step and exports the whole list.

Under it come two options, each with the number of establishments it exports and a bar of the list, which shows the part exported and the rest. None is picked for you: until you choose one, **Continue** does not move on, with the tooltip **Choose what to export**.

- **Save the filtered ones as a new list:** saves only the filtered establishments in a new list and exports that list. Its name goes in **Name of the new list**, in the **Confirm** step, and it is saved only when you click **Export**; afterwards, the page moves to the new list. The original list stays as it is.
- **Export the whole list:** sets the search and the filters aside and exports every establishment of the list, which stays as it is.

Nothing is saved before you click **Export**, and saving a list consumes no quota, so the choice can be changed until then, with **Back** or from the **What to export** row of the **Summary**, and closing the window leaves no new list. When the filters leave no establishment, the first option is disabled, with **The filters leave no establishment.**, and only the whole list can be exported.

## Resources and detail levels

**Registration, activities and partners** goes into every spreadsheet, marked **Always included**. The other [resources](https://cnpja.com/en-us/docs/glossary#recurso--resource), under **Additional data**, are optional, and each one is charged per establishment:

| Resource | Summary | Detailed |
| --- | --- | --- |
| **Tax regime** | Regime type and the Simples Nacional and SIMEI start dates | Adds the IBS and CBS regular regime dates and a worksheet with the regime history |
| **State registrations** | Number, state, type and status of the registrations in the marked states | Adds activity, address, sublimit and authorized e-invoices |
| **SUFRAMA registrations** | Number, status and approved project of each registration | No level of detail |
| **Address coordinates** | Latitude and longitude of the address and the precision of the location | No level of detail |

The columns and worksheets each resource adds are in [Exported spreadsheet format](https://cnpja.com/en-us/docs/lists/spreadsheet-format#tabs).

For a member, **Registration, activities and partners** and each resource ticked show, under their description, how many live and cached queries they add to the export at the age chosen, each kind beside the dot of its colour: teal for live and grey for cached, the colours of the two kinds of query across the app. A resource just ticked shows its figures as soon as the estimate answers.

Ticking **Tax regime** or **State registrations** unlocks the **Summary** or **Detailed** switch next to it, and the description under it changes with the level. Two resources follow their own update rules:

- **Detailed tax regime:** age counts only from the last live query at the Simples Nacional, so it tends to need more live queries than the summary, as [Tax regime](https://cnpja.com/en-us/docs/data/tax-regime) explains.
- **Address coordinates:** they ignore the max age. They are queried live while the address cannot be located, as [Address coordinates and imagery](https://cnpja.com/en-us/docs/data/location) explains.

## States for state registrations

With **State registrations** ticked, the button with the pin, next to the level of detail, shows the states chosen and opens **States queried**, with the number of states each establishment queries at most. At the top, two buttons pick many states at once:

- **Origin**, the establishment's state, queries the state of each CNPJ exported. It is the starting choice.
- **All**, all states, queries all 27.

Each one takes a single click, whatever was chosen before: after **All** or states pressed one by one, **Origin** goes back to querying only each establishment's state.

Below, the map of the 27 states shows the ones queried, and each tile adds or removes a state:

- From **Origin**, pressing a state adds it to each establishment's own: **Origin** plus SP queries each establishment's state and SP as well.
- From **All**, releasing a state queries each establishment's state and the other 26.
- Pressing all 27 states is the same as **All**.

With states pressed one by one, neither button stays pressed, and the **Add each establishment's own state** checkbox, under the map, adds each CNPJ's state to the ones pressed or leaves it out. With **Origin** or **All**, the checkbox stays ticked and locked, since both already include each establishment's own state. The hint under the map sums up what will be queried, and at least one choice always stays pressed.

> **Important:** at the **Detailed** level, the marked states where the establishment has no registration also consume live queries, on every export. With more than one state, a note beside a swatch of the teal hatch of live queries shows the most of those queries per establishment, which is highest with **All**. Mark only the states you need, as [State registration and CCC](https://cnpja.com/en-us/docs/data/state-registrations#all-states-cost) recommends; what each level consumes is in the [Metering Rules](https://cnpja.com/en-us/legal/metering#platform-exports).

## Max age

The [max age](https://cnpja.com/en-us/docs/data/freshness#max-age) says how old each establishment's data may be. Data newer than that comes from the cache, faster and cheaper; older data, or data never queried, is queried live at the source, which costs more and takes longer. The age is counted from the request: data within it when the export was requested comes from the cache, even if the export waits in the queue or takes long.

It sits at the top of the **Resources and age** step, above **Additional data**, since it applies to all of them and is the choice that changes live queries the most. For every age chosen, the consumption of each resource and the strip above the buttons are worked out again, so you see at once what each age consumes and whether the export fits, without changing steps; the detail is in the [Estimated consumption](#estimate), in the **Confirm** step.

The age is chosen on a ruler, with **Live** at its left end and the ready-made ages on ticks to the right, from the newest to the oldest. To choose an age:

- Drag the ruler's handle, or click a tick or its name.
- With the ruler in focus, use the arrow keys to move from one tick to the next, and `Home` and `End` to go to either end.

The ruler's track shows the trade-off the age makes, in the colours of the two kinds of query: up to the handle, hatched in grey, is the data served from the cache; past it, hatched in teal, the older data, queried live. The legend under the ruler says the same with the age chosen, each side beside a swatch of its hatch: "Up to 7 days: from the cache", for example, and **Older: live, at a higher cost**.

| Option | What it accepts |
| --- | --- |
| **Live** | Only data up to 5 minutes old; everything else is queried at the source |
| **7 days** | Data up to 7 days old. It is the age the window opens on the first time |
| **1 day**, **30 days**, **90 days** and **1 year** | Data up to that age |
| **Custom** | An amount from 1 to 999 and a unit, from minutes to years, between 5 minutes and 1 year |

The **Custom** button, with the pencil icon, next to the ruler, opens the amount and the unit, starting from the age in use; the handle then stands between the two ticks the typed age falls between. Clicking it again closes the custom age and moves the handle to the nearest ready-made age. A value out of range turns red, with the reason beside it, and is not used: while it is in the field, the strip above the buttons shows **Fix the maximum age**, and when you leave the field, it goes back to the last valid age.

## Estimated consumption

The **Confirm** step shows, under the **Summary**, the **Estimated consumption** panel of what is exported, with the resources and age chosen: the list itself, whole, or the search or the filtered establishments, worked out as the new list will keep them, before it is saved. It sets the estimate against the period's quota, read again when you reach the step, and the top of the panel says when the quota resets.

In the panel, colour tells the kind, as it does across the app: teal for live queries, grey for cached queries and amber for overage, what is paid in reais past the quota. Each bar ends where its quota or budget ends, with its amount written beside the end, and the texture tells the time:

| On the bar | What it shows |
| --- | --- |
| Solid | What the period already used |
| Hatched | What this export adds |
| Empty | What is left free |

What goes past the end never stretches the bar: it runs on a second bar right under it, on the same scale and with the same textures. What the period already used past the quota is always amber, since it was paid as overage; what this export adds past it is amber when the overage budget pays the difference, or red when nothing pays for it and the export would be refused.

The panel has these rows, one under the other:

- **Live queries** and **Cached queries:** one row per kind, with its name and the dot of its colour on the left and, on the right, beside a swatch of the hatch, the queries this export adds. Under it, the quota's bar, with the period's quota beside its end, and a legend with the same figures: the queries already used and the ones left after exporting. When the export goes past the quota and the overage budget pays the difference, the second bar, in amber, has the overage in reais beside it, and the ones left give way, in amber too, to the queries past the quota, times the price of each. When it would be refused, what it adds on the second bar turns red, with **not covered** beside it, the queries past the quota turn red, and a quota already used up says **Used up: holds every export**.
- **Overage budget:** whenever the organization has an [overage budget](https://cnpja.com/en-us/docs/billing/packs-and-budget#overage-budget) and the plan prices overage queries, even when the export fits the quotas, a row under them shows the same bar in amber, in reais, ending at the month's budget, written beside its end: what the month already spent, what this export spends and what is left after exporting. When the export would go past the budget, what goes past it runs on a second bar, in red, with the amount over the budget beside it.
- **Extra cost:** the last row, between double rules, shows the amount the export adds beyond the plan, zero when it fits the quotas and amber when there is overage, and a line about it: **Within the quotas: nothing is billed beyond the plan.**; with overage, when it is billed, such as **Overage billed on the next invoice.**, depending on the plan, as [When overage is billed](https://cnpja.com/en-us/docs/billing/packs-and-budget#overage-billing) explains; or, with no amount and in red, **Doesn't fit the quota**, **Doesn't fit the overage budget**, **Quota used up** or **Not enough overage budget left**. The question mark icon beside **Extra cost** sums up how overage is billed.

When the estimate does not answer, the panel shows **Couldn't estimate the consumption.**, or **Too many estimates are running right now. Try again in a moment.** when too many estimates are running at once, with **Try again**, and the **Extra cost** has no amount: with no overage budget, it shows **Without the estimate, the request is checked on export and refused at no cost if it doesn't fit the quota.**; with a budget, the most overage the export may spend, what is left of the month's budget. When the period's quota could not be read, the panel shows **Couldn't read the quota right now. The request is checked on export.**, with **Try again**, and only the queries the export adds. At the foot of the panel, **Metering Rules** opens what each resource consumes in a new tab.

To change the consumption, go back to the **Resources and age** step with **Back** or from its row in the **Summary**. There, the strip above the buttons sums up the same figures: on the left, the live and cached queries the export adds; on the right, how it stands:

| Status | What it means |
| --- | --- |
| **No extra cost** | The export fits the period's quotas |
| The overage in reais, in amber | The export goes past the quota, and the overage budget pays the difference, billed beyond the plan |
| **Doesn't fit the quota** | The quota falls short and no budget pays the difference: the export would be refused |
| **Doesn't fit the overage budget** | The overage would go past what is left of the month's budget: the export would be refused |
| **Quota used up** | A quota has already run out with no budget to pay the overage: no export is accepted while it is used up |
| **Not enough overage budget left** | A quota has already run out, and what is left of the month's overage budget can't pay for even one more query past it: no export is accepted meanwhile |
| **Estimating…** | The estimate of the choice on screen is on its way |
| **Estimate unavailable** or **Quota unavailable** | The estimate or the period's quota could not be read; the button beside it tries again |
| **Too many estimates now** | Too many estimates are running at once; the button beside it tries again |
| **Fix the maximum age** | The [custom age](#max-age) is out of range |

> **Important:** an export consumes the estimate determined when the request is accepted, and that consumption does not change while the file is generated, as the [Metering Rules](https://cnpja.com/en-us/legal/metering#platform-exports) state.

## Run and track

After **Export**, the export joins the queue and goes through these states:

| State | What it means |
| --- | --- |
| **Queued** | The export waits its turn |
| **Exporting** | The spreadsheet is being built; the percentage shows how much is done |
| **Ready** | The spreadsheet can be downloaded while it is kept, as [Previous exports](#previous-exports) explains |
| **Failed** | The export could not be completed. When the failure is not down to the organization, its consumption is treated as a metering error, as the [Metering Rules](https://cnpja.com/en-us/legal/metering#platform-exports) state: [talk to us](https://cnpja.com/en-us/docs/support/contact). To get the spreadsheet, export again, which consumes again |

The progress shows in several places and updates on its own, with no need to reload the page:

- **On the list's page:** the **Export** band shows the time of the request, what was asked for, the steps and the progress bar. When the export becomes ready with the page open, the band shows the download buttons until you close it.
- **In Exports:** the panel with the list's exports. It opens from the button with the history icon next to **Export**, which appears after the first export, or from **Exports**, on the **Export** band.
- **In the sidebar and in Lists:** the list shows the percentage while it exports, and so does the **Exported** column of the **Lists** page.

You can leave the page or close the browser: the export carries on and its progress shows when you come back. Until it finishes, the list's CNPJs can't change and the list can't be deleted, as [Create and manage lists](https://cnpja.com/en-us/docs/lists/create#locked) explains.

## Download the spreadsheet and its parts

1. Open the list.
2. Click **Download**, at the top of the page. The tooltip shows the date of the export that will be downloaded.

**Download** delivers the latest ready export, while its spreadsheets are kept ([Previous exports](#previous-exports)). A large export is split into parts, each in its own XLSX file, when some worksheet of the spreadsheet would go past the maximum rows: in that case, **Download** opens **Exports**, where each part has its own button, **Part 1**, **Part 2** and so on. Download every part to get the whole list.

On the **Lists** page, the download icon at the end of the row downloads the latest ready spreadsheet without opening the list; when it has parts, the icon leads to the list's **Exports**.

The name of each file and part, the worksheets and the columns are in [Exported spreadsheet format](https://cnpja.com/en-us/docs/lists/spreadsheet-format), and how values appear, in [In the spreadsheet](https://cnpja.com/en-us/docs/data/format#spreadsheet).

## Previous exports

The **Exports** panel gathers the list's exports, newest first. Each one shows the date and time of the request, its state and what was asked for: the resources, with "(detailed view)" when detailed, the states when they are not just the establishment's own, and the max age accepted. Ready exports keep their download buttons, so you can download a spreadsheet again without exporting once more while it is kept.

Once the retention period of the spreadsheets, counted from the request and given in [Usage limits](https://cnpja.com/en-us/docs/billing/limits#lists), runs out, they are deleted and can no longer be downloaded: **Download**, at the top of the list's page, and the download icon on the **Lists** page no longer appear, and a note that the spreadsheets were deleted takes the place of the buttons in **Exports** and on the **Dashboard**, and of the date in the **Exported** column. The export stays in the panel, with its date, state and what was asked for, and keeps counting toward the [list's export limit](https://cnpja.com/en-us/docs/billing/limits#lists). To get the spreadsheet again, run a new export, which makes another spreadsheet from the list as it stands then and consumes quota again.

An export cannot be deleted. Deleting the list deletes all of its exports right away, along with their spreadsheets.

Your choices of resources, levels, states and age are saved in this browser and come back in the next export and in the bulk lookup, as [Data stored in your browser](https://cnpja.com/en-us/docs/privacy/browser-data) explains.

## Quota usage

Each CNPJ in the list consumes live or cached queries from the organization's quota, for its registration data and for each additional resource, according to the age of the data. A CNPJ that is not in the cache, a nonexistent one included, counts as live for each resource picked and is left out of the spreadsheet; the rules are in the [Metering Rules](https://cnpja.com/en-us/legal/metering#platform-exports).

An export is accepted on these conditions, checked at the request:

1. No quota of the period may be used up with no budget to pay the overage. If one is, no export is accepted, not even one that consumes nothing of that unit.
2. In each unit the export consumes, what is left in the period has to hold what it consumes.
3. On Pro, with an [overage budget](https://cnpja.com/en-us/docs/billing/packs-and-budget#overage-budget), what goes past the quota is accepted too, as long as the value of the month's overage in both units, plus this export's, fits in the budget.

The app does the same sum with the estimate and the period's quota, read again when the window opens and when you reach the **Confirm** step, and only sends the request when it fits:

- **Quota already used up:** when a quota of the period has already run out with no budget to pay the overage, the notice shows right in the window's first step, says when the quota resets and offers the way out your role allows.
- **Estimate on its way:** **Export** is dimmed, with the tooltip **Wait for the consumption estimate**, until the estimate answers.
- **Does not fit:** under the **Estimated consumption**, a notice says what falls short, such as **The live query quota doesn't cover this export** or **The overage budget doesn't cover this export**, and offers the way out your role allows, as in [Ways out by plan and role](https://cnpja.com/en-us/docs/billing/quota-exhausted#ways-out), and **Adjust resources and age**, which goes back to the step before. **Export** shows a lock, with the same words in its tooltip, and does not start the export.
- **Overage:** when the export goes past the quota and the overage budget pays the difference, a box above the buttons asks you to authorize the overage amount, written in amber, saying when it is billed, with the note **Priced again when the export is sent, and refused at no cost if it doesn't fit the month's budget.** Until it is ticked, **Export** does not move on, with the tooltip **Authorize the overage to export**, and clicking it takes you to the box. A new amount, after another choice, unticks the box, and while a new estimate is on its way the box is dimmed and cannot be ticked.
- **Check before sending:** clicking **Export** reads the quota again and, when a budget may pay overage or the quota could not be read, asks for the estimate again too. Meanwhile the button shows **Checking the cost…**, and **Back** and closing the window are held. If the export no longer fits, the notice shows in place of the box. If the overage changed, the authorization is taken back and a notice shows the new amount, for you to review and authorize again. If the estimate could not be worked out again, the authorization is taken back too, and the box then authorizes up to what is left of the budget.
- **No estimate or no quota:** without the estimate, with an overage budget, the box authorizes up to what is left of the month's budget. Without the period's quota, it says **I authorize any overage, up to the month's budget, if the organization has one.** With no budget and no estimate, nothing needs authorizing: the request is checked on export and refused at no cost if it does not fit the quota.
- **Request refused:** if the quota changes after the check, or the estimate or the quota could not be read, a request that arrives without fitting is refused with nothing consumed. It is also refused with nothing consumed, with **The list changed while the export was being created. Please try again.**, when the list changes, its CNPJs or its name, while the request is being checked, by another member or through the API: export again, to check the usage of the list as it now stands. For a list exported by itself, the same notice shows in the **Confirm** step, without closing the window. For an export that saves a new list, the list is already saved when the request is refused: the window closes, a notice says what falls short and offers the way out your role allows, and the page moves to the new list, from where you export it once there is quota. On a view with unsaved changes, the page stays where it is, and the new list shows in the sidebar.
- **Accepted export:** the consumption is recorded whole at the request, and the export runs to the end, even if the quota runs out meanwhile.

## Limits

An exported search follows the size limit of a list, and each list takes a maximum number of exports; the current values are in [Usage limits](https://cnpja.com/en-us/docs/billing/limits#lists).

## Common problems

- **No establishments to export**: the search, view or list is empty. Adjust the filters or add CNPJs to the list.
- **Enter a name for this list.** When you clicked **Export**, the **List name**, or the **Name of the new list**, for a filtered list, was blank in the **Confirm** step, and nothing was saved. Fill in the name and click **Export** again.
- **The organization reached its limit of lists.** When you click **Export**, exporting a search or a view creates a list, and so does **Save the filtered ones as a new list**, and nothing was saved or exported. Delete lists you no longer use, export an existing list or, for a filtered list, go back to **What to export** and choose **Export the whole list**.
- *A new list shows up on every export.* Exporting a search or a view always saves a new list, when you click **Export**, and so does **Save the filtered ones as a new list**. To export the same establishments again, export the list that already exists, from its page, rather than the search. Closing the window before you click **Export** saves no list.
- *A notice says the list was saved, but the view wasn't.* On export, the list was saved and the export goes on, but the view of **Also save as a view** was not. When the notice's message starts with **The organization reached its limit**, delete the views the organization no longer uses, as [Views](https://cnpja.com/en-us/docs/search/views#troubleshooting) explains, go back to the search, since the page moved to the new list, and save it with **Save as view**, in **Search CNPJ**.
- **Couldn't estimate the consumption.** or **Estimate unavailable**: the estimate did not answer. With **Too many estimates are running right now. Try again in a moment.** or **Too many estimates now**, too many estimates are running at once: wait a moment. Click **Try again**, in the **Estimated consumption**, or the button beside **Estimate unavailable**, on the strip of the **Resources and age** step. Without it, the request is checked on export: with no overage budget, it is refused at no cost if it does not fit the quota; with a budget, **Export** asks you to authorize overage up to what is left of the month's budget.
- **Couldn't read the quota right now. The request is checked on export.** or **Quota unavailable**: the period's quota could not be read. Click **Try again** or the button beside **Quota unavailable**. Without it, **Export** asks you to authorize any overage, up to the month's budget, and checks the cost again before sending.
- **Use a whole number from 1 to 999**, **The minimum is 5 minutes** or **The maximum is 1 year**: the custom age is out of range, and the step's strip shows **Fix the maximum age**. Fix the value or pick an age on the ruler.
- *A quota used up notice shows right in the first step.* A quota of the period has already run out with no budget to pay the overage, and no export is accepted while it is used up, not even one that does not use it. Use the way out in the notice or wait for the quota to reset, as [Quota used up](https://cnpja.com/en-us/docs/billing/quota-exhausted) explains.
- *Export shows a lock, with a notice that the quota or the budget doesn't cover the export.* The export does not fit what is left of the quota or of the overage budget, as [Quota usage](#quota) explains. Use the way out in the notice, or click **Adjust resources and age** and choose fewer resources or, if the live quota falls short, move the max age to the right of the ruler: the strip above the buttons shows for each age whether the export fits. Or wait for the quota to reset. While **Export** shows the lock, nothing is saved, and closing the window leaves no new list. Only a request refused on sending, after the new list was saved, leaves it saved: the window closes and takes you to it, from where you export it once there is quota, as [Quota usage](#quota) explains.
- *Export does not move on, with the tooltip Authorize the overage to export.* The export goes past the quota, and the overage budget pays the difference. Check the **Extra cost** and tick the authorization box above the buttons, or go back to the **Resources and age** step and choose fewer resources or a larger max age, to fit the quotas.
- *The app said the overage changed since the estimate.* The quota or the estimate changed between the confirmation and the send, and the authorization was taken back. Check the new **Extra cost**, tick the box again and click **Export**.
- **This list reached its limit of exports.** Previous exports keep counting, even with their spreadsheets deleted, and cannot be deleted. Export the same establishments through another list: in **Search CNPJ**, filter by the list with **Include** and click **Export**.
- **We couldn't start this export. Please try again.** The request never joined the queue or, for an export that saves a new list, the list could not be saved. Click **Export** again.
- *A notice says the list was created, but its export couldn't start.* When you clicked **Export**, the new list was saved, but the export request did not join the queue. The window closes and takes you to the list, with **Exports** open, or, on a view with unsaved changes, the notice brings **Open list**. Click **Export** on the list's page to try again, without saving another list.
- *The export is taking a while.* Every accepted export is delivered. Large lists and live resources take longer, and the progress may pause for a while as a source is queried again. The export carries on by itself until it is ready, with no need to request another.

## In the API

The API does not build spreadsheets. The equivalent is to request each CNPJ's data in [CNPJ lookup](https://cnpja.com/en-us/docs/api/cnpj-lookup), with `expand` for the additional resources and `maxAge` for the max age, as [Max age and partial success](https://cnpja.com/en-us/docs/api/max-age) explains, or to read the cached registration in pages with Search CNPJ filtered by a [list](https://cnpja.com/en-us/docs/api/cnpj-search#lists).
