What is a purpose code?

A purpose code is a short code a bank uses to record why a cross-border payment was made, such as payment for exported goods or for software services. Central banks in countries such as India and Brazil require one for each foreign exchange payment, and a missing or wrong code can hold the payment. Example: the Reserve Bank of India purpose code P0102 means realization of export bills for goods, so an Indian supplier of textiles receiving a dollar payment from a US buyer has it classified under P0102.

By Helm Editorial TeamPublished 29 October 2026Last reviewed 29 October 2026
Key takeaways
  • Indian banks report an RBI purpose code for each inward payment, such as P0102 for export of goods and P0802 for software consultancy and implementation.
  • Under Resolution BCB 277, Brazilian foreign exchange clients classify the purpose of each operation with the Central Bank's codes, with one list up to US$50,000 and a more detailed list above.
  • Since February 2026, an international payment with stablecoins handled by a Brazilian provider is also a foreign exchange operation with a purpose code.
  • The purpose on the payment should match the invoice and contract, because the beneficiary's bank checks it against them.

How purpose codes work

Countries that track or control foreign exchange want to know why money enters or leaves. Banks collect a purpose code for each cross-border payment and report it to the central bank. The code sits beside the beneficiary's details and the payment reference, and the beneficiary's bank may ask the payer or the beneficiary for it when the payment arrives.

Code (India)What it covers
P0102Realization of export bills for goods
P0802Software consultancy and implementation
P0807Off-site software exports
P1006Business and management consultancy and public relations services

Source: Wise, INR purpose codes, listing Reserve Bank of India purpose codes. As published on 29 October 2026.

Brazil uses a similar system. Under Article 4 of Resolution BCB 277, the client is responsible for classifying the purpose of each foreign exchange operation using the Central Bank's purpose codes. One code list applies up to US$50,000 and a more detailed list applies above that amount.

The codes differ by country, but the logic is the same everywhere: the code describes the underlying trade, so it should follow from the contract and invoice. A payment for goods and a payment for services carry different codes.

Where a business meets a purpose code

A foreign buyer meets purpose codes when its supplier in India, Brazil or another country with these rules asks what the payment is for, or when a payout provider asks the buyer to pick a purpose before it pays out locally. An exporter meets them every time it is paid: Indian banks report an RBI purpose code for each inward payment, and a wrong code can mean a query or a delay.

Purpose codes now reach stablecoins too. In Brazil, since 2 February 2026, an international payment or transfer with stablecoins handled by a provider is a foreign exchange operation, with a purpose code, counterparty details and reporting to the Central Bank. Our guide to paying suppliers in India shows where the code fits in a payment.

Common mistakes with purpose codes

  • Choosing a vague purpose. "Payment" or "transfer" does not let the bank pick a code. State the trade: "payment for goods, invoice 2026-118" or "software development services".
  • A purpose that does not match the invoice. A goods code on a services invoice invites questions from the beneficiary's bank.
  • Changing the purpose between payments. The same contract should carry the same purpose on each payment.
  • Ignoring the code on receipts. An exporter should check the code its bank recorded, because it affects reporting and, in India, the records an exporter keeps.

The purpose code travels with the payment reference and the details of the beneficiary. In India it sits beside the IFSC for rupee payouts; in Brazil it is part of the exchange contract before any Pix payout.

When Helm reviews a payment, questions are answered in writing within one business day by a named account manager, so you can supply the purpose and documents a beneficiary's bank expects.

Open a Helm account

USD, EUR and GBP accounts in your company's name, with a named account manager.

Open account

Questions

What is a purpose code?

A code a bank uses to record why a cross-border payment was made, such as payment for exported goods or software services. Countries such as India and Brazil require one for foreign exchange payments.

What is purpose code P0102?

In the Reserve Bank of India's list, P0102 covers realization of export bills for goods. It is the usual code when an Indian exporter receives payment for goods.

Who chooses the purpose code?

It depends on the country. In Brazil, Resolution BCB 277 makes the client responsible for classifying the purpose of each foreign exchange operation. In India, the receiving bank reports the code based on the purpose of the payment.

What happens if the purpose code is wrong?

The beneficiary's bank may query the payment, delay the credit or ask for documents. A code that does not match the invoice is the most common cause.

Do stablecoin payments need purpose codes?

In Brazil, yes: since 2 February 2026, an international payment with stablecoins handled by a provider is a foreign exchange operation with a purpose code and reporting to the Central Bank.

References

  1. Wise: INR purpose codes
  2. Banco Central do Brasil: Resolução BCB nº 277, de 31 de dezembro de 2022 (foreign exchange market)
  3. Banco Central do Brasil: Resolução BCB nº 521, de 10 de novembro de 2025 (virtual asset services in the foreign exchange market)
  4. Reserve Bank of India: Master Direction, foreign currency accounts by a person resident in India
HelmHelm is a business account for companies that trade internationally: USD, EUR and GBP accounts, international payments, collections and currency exchange, with a named account manager. Questions: [email protected].

This guide is general information for businesses, not financial, legal or tax advice. Rules, fees and timings were checked against the sources listed on the review date and may change.