# RBI purpose codes: the five characters that classify every payment

By CA Prachi Goel · Updated 2026-11-13 · Source: https://fxlayerhq.com/insights/rbi-purpose-codes

Expert opinion · Banking

**Short answer.** RBI purpose codes classify every foreign exchange payment: codes starting with S are for money going out of India and codes starting with P for money coming in. Goods use S0101 to S0104 and P0101 to P0103, merchanting the pair S0108 and P0108, and services a code for the work, such as P0807 for off-site software exports and P0802 for software consultancy. The code decides the forms and which open items the payment settles.

## Key points

- Codes starting with S are for payments out of India; codes starting with P are for receipts.
- Imports of goods use S0101 to S0104; exports of goods use P0101 to P0103.
- Merchanting trade uses the pair S0108 and P0108.
- The wrong code can leave an IDPMS or EDPMS entry open and change the tax papers required.
- A freelancer uses the code for the work done: P0807 off-site software and websites (P0802 for software consultancy and implementation), P1006 consulting, P1101 video, P1107 teaching, P1099 when nothing closer fits.
- Some codes, such as salary (P1401) or family maintenance (P1301), are reported only: they settle no invoice or customs document.

## How the codes are built

RBI's purpose codes have five characters: a letter and four digits. S marks a payment from India and P a receipt into India. The first two digits group the purpose, so 01 covers trade in goods, 08 computer and information services and 10 other business services, and the last two digits narrow it down.

Every code, with the bank form it needs, its income-tax nature and GST, is in the [RBI purpose code directory](https://fxlayerhq.com/purpose-codes).

## Codes for goods

For imports, [S0101](https://fxlayerhq.com/purpose-codes/s0101) is an [advance payment](https://fxlayerhq.com/insights/advance-import-payments) and [S0102](https://fxlayerhq.com/purpose-codes/s0102) a payment against an invoice, with related codes for other import situations. These are on the specified list for tax purposes, so no [Form 145](https://fxlayerhq.com/insights/form-145-and-form-146) is needed. For exports, [P0101](https://fxlayerhq.com/purpose-codes/p0101) covers bills negotiated, purchased or discounted, [P0102](https://fxlayerhq.com/purpose-codes/p0102) bills sent on collection and [P0103](https://fxlayerhq.com/purpose-codes/p0103) an advance against an export contract. The bank uses these codes to settle entries in [IDPMS](https://fxlayerhq.com/insights/what-is-idpms) and [EDPMS](https://fxlayerhq.com/insights/what-is-edpms).

## Codes for services

Service payments carry codes that describe the service: [S0802](https://fxlayerhq.com/purpose-codes/s0802) for software consultancy and implementation, including SaaS subscriptions, [S0803](https://fxlayerhq.com/purpose-codes/s0803) for data processing and hosting, [S0902](https://fxlayerhq.com/purpose-codes/s0902) for royalties and licence fees and S1006 for business and management consultancy, among many others. These usually need Form A2 and the tax analysis behind Form 145, because most are not on the specified list.

## Why the code matters

- It decides whether the payment is reported in IDPMS or EDPMS and which entries it can settle.
- It decides whether Form 145 and Form 146 are required.
- It feeds RBI's balance-of-payments statistics, so banks are careful about corrections.
- Changing a code after the payment needs a request to the bank and often supporting documents.

FxLayer only lets a remittance settle the records its purpose code allows, so an advance cannot be matched to a Bill of Entry by mistake and a merchanting payment cannot close an ordinary import.

This page is the explainer. The list itself, every code with its form and its tax note, is the [directory of every code](https://fxlayerhq.com/purpose-codes). Search it in the [purpose code finder](https://fxlayerhq.com/tools/purpose-code-finder). The same codes are applied in [merchanting trade](https://fxlayerhq.com/insights/merchanting-trade-transactions), when you [generate an eBRC](https://fxlayerhq.com/insights/generate-ebrc-on-dgft), and on the [EDPMS caution list](https://fxlayerhq.com/insights/edpms-caution-list) when an export stays unpaid. Confirm the code with your AD bank.

## Codes for freelancers and service exporters

A freelancer or a small services firm paid by a client abroad uses the code that describes the work. Off-site software, apps and websites delivered from India are P0807; software consultancy and implementation are P0802; hosting and data work P0803; consulting P1006; advertising and digital marketing P1007; video editing, animation and audio P1101; teaching and tutoring P1107; accounting and bookkeeping P1005; engineering P1014. Fees for using your work, such as stock photos, music or a licensed design, are royalties under P0902.

RBI has no code of its own for design or writing. They go as P1099, other services, unless the design is part of an off-site software or website export (P0807) or of software consultancy and implementation (P0802). A payment that reaches you through a payment platform carries the same code as one paid straight into your bank. If your [first payments from abroad](https://fxlayerhq.com/insights/freelancers-paid-from-abroad) are coming in, the code is one of four things to get right.

## Codes that settle nothing

Some codes describe money that is not for goods or services at all: salary from a foreign employer (P1401), family maintenance and savings sent by a relative abroad (P1301), personal gifts (P1302), refunds of tax (P1306) and investment flows such as foreign direct investment. They are reported to RBI under the code, but they link to no invoice and no customs document. Do not use them for payments for your work: a client's payment booked as a gift or as salary misstates your income and may need correcting with the bank later.

## Questions

**Where do I find the full list of purpose codes?**

RBI publishes the list for reporting foreign exchange transactions: 137 receipt codes and 142 payment codes, one of them kept only for old records. Your AD bank's remittance form lists them too. FxLayer carries the whole list in plain words and finds the code from a description of the work.

**I was paid for design work. Which code do I use?**

RBI has no design code. Use P1099, other services, P0807 when the design is part of an off-site software or website export, or P0802 for software consultancy and implementation. Product design for manufacturing goes as engineering, P1014.

**Can one remittance carry two purpose codes?**

No. Each remittance carries one code. If one invoice covers goods and services, pay them separately or follow your bank's guidance.

## Sources

- [RBI Notification No. FEMA 23(R)/2026-RB of 13 January 2026: Foreign Exchange Management (Export and Import of Goods and Services) Regulations, 2026](https://www.rbi.org.in/Scripts/BS_FemaNotifications.aspx?Id=13277)

This article is general information on Indian foreign exchange and tax rules as they stood on the date shown. It is not legal or tax advice. Rules and limits change; confirm the current position with your AD bank, the current RBI regulations and directions or your adviser before acting.
