Pix QR code with fixed amount

Create a static Pix code with the amount already set: the customer scans, checks the R$ amount and the name, and confirms. Ideal for invoices, raffles, monthly fees and single-price products.

Examples: 123.456.789-09, +55 11 91234-5678, nome@email.com or the 36-character random key.
Up to 25 characters, no accents (removed automatically).
Up to 15 characters, no accents.
Comma or dot, up to two decimals: 25,90
Letters and digits, up to 25. Empty = ***
Sets field 01 = 12; the payer's app may refuse to reuse the code.

Nothing is sent. Your Pix key never leaves this page.

What is a Pix QR code with an amount?

A Pix QR code with an amount is a static code in the BR Code standard in which field 54 (Transaction Amount) is already filled in. When the customer scans it, the app shows the amount, the recipient's name and the key for checking, and the payment goes through with one tap, without typing anything. Everything else in the code is the same as in a regular Pix QR code: key, name, city, identifier and CRC.

How to generate it

  1. Enter the Pix key, name and city as for any code.
  2. Enter the amount in reais, with a comma or dot and up to two decimal places. The field comes pre-filled with 25,90 as an example; replace it with your price.
  3. Add an identifier (txid) such as PEDIDO123 or MENSAL0426 to recognise the payment in your statement.
  4. Download the PNG or SVG or copy the Pix copia e cola (copy-and-paste) text and send it over WhatsApp.

Worked example

Key loja@exemplo.com.br, recipient Padaria Central, city Sao Paulo, amount 25,90, identifier PEDIDO123 produce the code below, 138 characters long:

00020126410014br.gov.bcb.pix0119loja@exemplo.com.br520400005303986540525.905802BR5915Padaria Central6009Sao Paulo62130509PEDIDO1236304DD87

Note the segment 540525.90: ID 54, length 05, amount 25.90 with a dot. Next comes 62130509PEDIDO123: block 62 with 13 characters, containing subfield 05 with 9 characters holding the identifier. The decoder shows this full tree for any code.

Fields of a code with an amount

IDFieldValue in a static code
00Payload Format Indicator01, always
01Point of Initiation Methodomitted or 11 (reusable); 12 = single use
26Merchant Account Informationsubfield 00 = br.gov.bcb.pix, 01 = key, 02 = optional description
52Merchant Category Code0000 when there is no category
53Transaction Currency986 = Brazilian real (ISO 4217)
54Transaction Amountoptional; decimal point, up to 2 places, e.g. 25.90
58Country CodeBR
59Merchant Namerecipient name, up to 25 ASCII characters
60Merchant Citycity, up to 15 ASCII characters
62Additional Data Fieldsubfield 05 = txid (up to 25 alphanumeric characters) or ***
63CRCCRC16-CCITT (polynomial 0x1021, initial 0xFFFF) of everything before it, including 6304

When to use a fixed amount and when to leave it open

SituationRecommendation
Shop counter, snack bar, market stallNo amount: every purchase is different and the customer enters it.
Single product, ticket, raffle, feeWith an amount: avoids typos and speeds up the queue.
Monthly fee, condo fee, schoolWith an amount and an identifier containing the month or the student.
Charge with due date, interest or late feeDynamic code issued by the bank; a static code does no date arithmetic.
Donations and tip jarsOne code with a suggested amount and another with no amount.

Limits and caveats

References

Field 54 and amount rules: Central Bank of Brazil (BCB), Manual de Padrões para Iniciação do Pix; TLV structure: EMVCo QR Code Specification (MPM).

Questions about Pix QR codes with an amount

Can the payer change the amount of a static QR code?

It depends on the app. The BR Code standard stores the amount in field 54 as a suggestion, and some apps let the payer edit the amount of a static code before confirming. If you need an amount that cannot be changed, only a dynamic code issued by your bank guarantees that.

What is the maximum amount?

The field accepts up to 13 characters with two decimal places, which means billions of reais. In practice the limit is the payer's: each bank sets limits per transaction and per period, especially at night.

Can I use cents?

Yes. Type 25,90 or 25.90; the generator accepts both comma and dot and always writes a dot with two decimals (25.90), as the standard requires. Amounts with more than two decimal places are rejected.

How do I know which customer paid?

Use the identifier field (txid) with up to 25 letters and digits, for example the order number. It appears on the receipt and in the recipient's statement at most institutions. For automatic reconciliation with due dates and interest you need a dynamic code from the bank.

Does it work for donations?

Yes. Generate one code with the suggested amount and another with no amount for anyone who wants to give a different sum. Both point to the same key.

Does a code with an amount expire?

No. Static codes have no expiry; the amount stays encoded until you generate another code. If the price changes, generate a new one and replace the image.