# GSTR-1: Reconciliation with Portal

When your GSTIN generates e-invoices, the GST Portal fills part of its GSTR-1 from them: the invoices and notes reported
to the e-invoice system are already on the portal before you upload anything. **Reconciliation with Portal** compares
your sales register with what is on the portal, and then pushes only the documents that differ.

Use it whenever GSTR-1 on the portal already has data, from e-invoices or from an earlier upload.

## Turn It On

In the **Summary** of [Prepare GSTR-1](/octa/docs/app/sales/gstr1/prepare), turn on the **Reconciliation with
Portal** switch. It stays on in this browser, for every company, until you turn it off.

> **Warning:** While Reconciliation with Portal is **off**, Push and JSON send **all** your documents. Documents already on the GST
> Portal are overwritten, and documents that are only on the portal stay there.

## Reconcile

1. Click **Pull** to read this period's GSTR-1 from the GST Portal (OTP mode).
2. Click **Reconcile**. The Robot compares each document of your sales register with the portal's copy.
3. When it is done, the Summary shows how many documents have each status, and what Push will do with them:

| Status                | Meaning                                           | When you push                    |
| --------------------- | ------------------------------------------------- | -------------------------------- |
| **Matching**          | The same in the sales register and on the portal  | Not uploaded                     |
| **Almost Matching**   | A small difference, within the thresholds you set | Not uploaded                     |
| **Mismatch**          | In the sales register but different on the portal | The portal's copy is overwritten |
| **Missing in Portal** | In the sales register but not on the portal       | Added to the portal              |
| **Missing in Books**  | On the portal but not in the sales register       | Deleted from the portal          |

The thresholds for Almost Matching are set in the module's
[Configuration](/octa/docs/app/sales/setup/configuration#gstr-1-prepare-reconciliation).

{/* SCREENSHOT: sales/gstr1-portal-reco: the Reconciliation with Portal panel with the five status tiles */}

## Review the Differences

**RECO** lists each document with the portal's copy above your register's, its status, what Push will do and the
tax difference. Filter it by **Reco Status** and document type.

For each document you can:

- view the portal's copy, or compare the two side by side;
- **edit** your register's document, if your books are wrong;
- **add** the portal's document to your register, if it is missing from your books.

After correcting the register, click **Reconcile** again. **Reco Report** downloads every document with its status to
Excel.

> **Warning:** Check every **Missing in Books** document before you push: Push deletes them from the GST Portal. Add them to your
> register first if they are genuine sales.

## Push

Push and JSON now include only the documents that differ, with what will happen to each listed in the confirmation.
Summary sections such as B2C and HSN are always replaced with your register's.

Octa refuses to push if the sales register or the portal data has changed since the last reconciliation: reconcile
again first.