> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lerian.studio/llms.txt
> Use this file to discover all available pages before exploring further.

# Pix Decode QR in Lerian Console

> Paste the payload behind a Pix QR code to read who it pays, how much, and if it can still be paid, through the Pix Indirect (BTG) plugin in Lerian Console.

The **Decode QR** page of the **Pix** section reads the payload behind a Pix QR code. It shows who the QR pays, how much, and if the QR can still be paid.

The **Pix** section appears in the Midaz Module when the **Pix Indirect (BTG)** plugin is on. See [Plugin settings](https://docs.lerian.studio/en/platform/console/plugin-settings.md).

To use the page, a user needs the `collections:post` permission.

## Accessing the Decode QR page

***

**1. Open Pix**

From the Midaz Module sidebar, expand **Pix**.

**2. Click Decode QR**

Select **Decode QR** in the submenu.

**3. Select the account**

Search for the account by its alias in the account filter. Each decode needs an account.

## Decode a QR payload

***

**1. Paste the payload**

In **QR payload**, paste the text behind the QR code.

**2. Add the payment context**

Optionally, open **Payment context (optional)** and set the **City code (IBGE)** and the **Payment date**. For a due-date charge, the payment date sets the discount or interest band. When you leave it empty, the provider uses today.

**3. Decode**

Click **Decode**.

## Decode result

***

The result starts with **Paid to**, **Amount**, and **Validity**. The other fields depend on the type of the QR:

| QR type | Other fields |
| - | - |
| Static | The description, the transaction ID (txId), and the merchant city, category, and postal code. |
| Immediate charge | The charge data, and the Pix Saque or Pix Troco values when the QR has them. |
| Due-date charge | The amount breakdown and the charge data. |
| Pix Automático recurrence | The recurrence mandate, for reading only. |

## Related pages

***

> **[QR Codes](https://docs.lerian.studio/en/interfaces/pix-btg/indirect-pix-qrcodes.md)**
>
> The QR code types of the API and the decoder behind this page.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.