# Late payment

> What happens when a CNPJá Pro plan or overage invoice falls due unpaid: overdue debt, overage suspended, the return to Free on a plan invoice and how to get out of arrears.

When a Pro plan or overage invoice falls due unpaid, the subscription is in arrears. Arrears move through stages, and what they do depends on the invoice type: a late plan or overage invoice switches overage off, the delay counted from the due date of the oldest of them still open, and only a plan invoice, the delay counted from the due date of the oldest open plan invoice, also refuses packs with **Now** and ends with the return to Free if nothing is paid. Pack increase invoices do not count toward the stages, nor do those of a subscription that already ended, which only join the [overdue debt](https://cnpja.com/en-us/docs/billing/invoices#debt). Invoices are under **Settings** > **Invoices**, as [Invoices and fiscal documents](https://cnpja.com/en-us/docs/billing/invoices) explains.

An order awaiting its first payment never goes into arrears: unpaid, it is cancelled, as [Order awaiting payment](https://cnpja.com/en-us/docs/billing/subscription#pending) explains.

## Stages of late payment

| Since the due date | What happens |
| --- | --- |
| Overdue | The invoice joins the [overdue debt](https://cnpja.com/en-us/docs/billing/invoices#debt), which stops a new Pro subscription and the deactivation of the organization. Pro goes on as before, and a Pix or boleto charge still accepts payment for 5 days |
| More than 5 days, on a plan or overage invoice | The overage budget is suspended: queries stop once the quota runs out, as with no budget |
| More than 5 days, on a plan invoice | Packs with **Now** are refused too, and, at the end of the current usage period, the organization goes back to Free, even in the middle of a yearly Pro |
| More than 15 days, on a plan invoice | The current usage period ends at the start of the hour, and the organization goes back to Free at once |

A late overage invoice only switches overage off: however long the delay lasts, it refuses no packs and never leads to Free, and the months, the next overage invoices and the renewal carry on as before.

The due date is the invoice's, at the end of the day, Brasília time, and it never changes: a new charge may fall due later, but the invoice stays overdue from its own date, as [Issue a new charge](https://cnpja.com/en-us/docs/billing/invoices#reissue) explains. The stages are checked every 15 minutes, so each one may come a few minutes after its deadline.

With the overage suspended, the budget stays saved and applies again as soon as the arrears end. The payment method can be changed during the arrears, and the change issues new charges for the open invoices, as [Payment and fiscal document preferences](https://cnpja.com/en-us/docs/billing/subscription#payment-preferences) explains.

## Back to Free

A late overage invoice never leads to Free. With a plan invoice more than 5 days late, the organization goes back to Free at the end of the current usage period; with more than 15, at once. At that point:

- the billing cycle ends at the end of the last usage period, and Free starts at the same instant, with the Free quota and [API request limit](https://cnpja.com/en-us/docs/api/limits-and-errors#with-key). The packs and the overage budget end;
- on yearly Pro, the open plan invoice is redone for the months already started only, the current month counted in full, and keeps its due date and the overage it charged. It also charges the overage not yet invoiced, when that falls below the minimum on the [pricing page](https://cnpja.com/en-us/pricing);
- the overage no invoice has charged yet, the last month's and, on yearly Pro, that of the months left below the minimum, goes on a final overage invoice when it reaches the minimum. Below it, outside that case, the overage is waived ([Final overage invoice](https://cnpja.com/en-us/docs/billing/cancellation#final-invoice));
- open pack increase invoices are cancelled;
- the plan and overage invoices remain due and stay in the overdue debt.

Paying the invoices later does not bring Pro back. To return to it, pay the overdue debt and subscribe again through [checkout](https://cnpja.com/en-us/docs/billing/subscribe), as a new subscription, picking the packs and the budget again. Months already paid are not refunded.

## Get out of arrears

1. In the **Overdue debt** panel, click **Pay the overdue invoice**, which opens the late plan invoice, the one that leads to Free, or, without one, the late overage invoice, even with an older debt from an ended Pro, or open **Settings** > **Invoices** and click the overdue invoice.
2. Pay the charge it shows, as [Pay with Pix or boleto](https://cnpja.com/en-us/docs/billing/subscription#pay) explains. A Pix or boleto charge that has already expired no longer accepts payment: issue a new one, as [Issue a new charge](https://cnpja.com/en-us/docs/billing/invoices#reissue) explains.
3. By card, new automatic attempts only happen in the first 5 days after the first charge, so once overage is off none is left. Save a card as the default, or make another one the default, and the invoice is charged on it at once, or issue a new charge by card, as [New card attempts](https://cnpja.com/en-us/docs/billing/payment-methods#card-retries) and [Issue a new charge](https://cnpja.com/en-us/docs/billing/invoices#reissue) explain.

Once no plan or overage invoice is more than 5 days late, the overage budget applies again, and packs with **Now** are accepted again once no plan invoice is. An invoice still overdue, even within the 5 days, stays in the overdue debt until it is paid.

> **Tip:** Pix is confirmed as soon as it is paid, and a boleto only when the payment clears: the same day if paid in the morning, otherwise the next business day. Close to the deadline of a stage, prefer Pix.

## Where it appears in the app

On the **Subscription** page, the plan status changes to **Invoice overdue** and, after more than 5 days, to **Past due**, on a plan or overage invoice. The **Overdue debt** panel shows the overdue amount, the oldest overdue invoice and, on a line of stages, the dates of **Overdue** and **Overage off** and, only while a plan invoice is late, of **Back to Free**, approximate because the stages are checked every 15 minutes. The same panel shows on **Invoices**, **Payment methods** and, for the Owner, on **General**, above **Irreversible actions**. An overdue invoice's detail says what the delay switches off and when: on an overage invoice, only overage; on a plan invoice, packs with **Now** too and the date of the return to Free. The **Dashboard** opens with a notice for Owners, Administrators and Bookkeepers. After more than 5 days of arrears, other members also see that overage is off, in the **Dashboard** notice, which tells them whom to ask for the payment, on **Usage** and in the organization selector, but not the date of a return to Free, which only the **Subscription** page shows. With no overage, queries stop once the quota runs out, as [Quota used up](https://cnpja.com/en-us/docs/billing/quota-exhausted) explains. By e-mail, the charge overdue, the subscription past due and the return to Free approaching are notified as set in the organization's [notifications](https://cnpja.com/en-us/docs/organizations/notifications).

## In the API

With the budget suspended by the arrears, a request past the quota gets `402` with `CACHED_QUERY_QUOTA_EXCEEDED` or `LIVE_QUERY_QUOTA_EXCEEDED`, as in an organization with no budget, and not `OVERAGE_BUDGET_EXCEEDED`, as [Quota used up](https://cnpja.com/en-us/docs/billing/quota-exhausted#api) explains. Invoices and payments are not in the public API: arrears are settled in the app.

The contractual consequences of late payment are in the [Terms of Use](https://cnpja.com/en-us/legal/terms#late-payment). The [Terms of Use](https://cnpja.com/en-us/legal/terms#agreement) prevail over this page.
