Repayment of long and medium-term foreign loans
The S0012 purpose code is for repaying the principal of a foreign loan, such as an external commercial borrowing (ECB), with an original maturity of more than one year. Check when it applies, the LRN and tax points for this outward remittance.
Quick summary
| Field | Details |
|---|---|
| Code | S0012 |
| Category | Capital account |
| Applicable For | Indian companies, LLPs and other eligible borrowers with ECB or long-term foreign loans |
| Transaction Direction | Outward |
| Primary Use | Paying back principal on a foreign loan whose original maturity was more than one year, such as an ECB. |
What is Purpose Code S0012?
The S0012 purpose code is used when an Indian borrower repays the principal of a foreign loan with an original maturity of more than one year. The RBI description is "repayment of long and medium term loans with original maturity above one year received from non-residents". It is a capital account transaction. Most such loans are external commercial borrowings (ECB), which are foreign loans raised by Indian entities under RBI rules. Each ECB has a Loan Registration Number (LRN), and banks match every repayment to it. RBI updated the ECB framework in 2026, so check current terms with your bank. "Original maturity" means the full tenure when the loan was taken, not the time left. A 3-year loan in its last month is still S0012. Interest on the same loan goes under S1403.
When to use S0012 Purpose Code?
This Purpose Code should be used only where the transaction fits its defined regulatory scope. Here's when you should and shouldn't use this code:
You should use this code when:
- ECB instalments - Scheduled principal payments on a foreign currency term loan from an overseas bank.
- Bullet repayment - Paying back the full principal at the end of a 3 or 5-year ECB.
- Prepayment - Paying off an ECB early, where the loan terms and RBI rules allow it.
- Loans from a foreign parent registered as ECB - Repaying an intercompany loan raised through the ECB route.
- Long-term trade credit - Repaying supplier's or buyer's credit with an original maturity above one year.
Do not use this code when:
- The loan's original maturity was one year or less (use S0013 instead).
- You are paying interest or fees on the loan (use S1403 instead).
- You are returning debt-type FDI to a foreign direct investor (use S0007 instead).
- A bank is repaying its own overseas borrowings (use S0015 instead).
Importance of Purpose Codes
RBI purpose codes are mandatory under FEMA to classify the nature of cross-border transactions entering or leaving India. They allow banks and regulators to accurately track foreign exchange flows and apply the correct regulatory, tax, and reporting treatment.
For individuals, businesses and institutions, correct purpose code usage:
- Ensures transactions are classified correctly under FEMA.
- Enables accurate reporting to the RBI and other regulators.
- Reduces delays caused by compliance checks or misclassification.
- Supports clean audit trails and tax reconciliation.
Bottom-line:
Using the correct purpose code helps ensure smooth processing, regulatory compliance, and faster credit of funds.
How to apply Purpose Code S0012?
- Select "S0012 – Repayment of long and medium-term loans" on the outward remittance request.
- Quote the LRN and attach the loan agreement and repayment schedule.
- File Form 145 (earlier Form 15CA) in the not-chargeable part, as principal is not income; split out interest for TDS.
- The bank checks the LRN records and remits the repayment.
Additional Notes:
- Pay principal and interest as separate lines or remittances, as they use different codes and tax rules.
- Your bank reports ECB repayments to RBI under the ECB reporting rules. Make sure your own filings match.
- Hedging costs or break fees on prepayment may need a separate check by your bank.
Documents required for S0012 Purpose Code
| Document | Purpose |
|---|---|
| Loan agreement | Shows the lender, amount and tenure |
| LRN details | Links the payment to the registered ECB |
| Repayment schedule / lender demand | Shows the amount now due |
| Form 145 (earlier 15CA) | Reports the outward remittance for tax |
| Board resolution (for prepayment) | Approves early repayment |
| PAN and KYC of the borrower | Identifies the remitter |
Common mistakes to avoid
- Using a generic or incorrect purpose code instead of the exact RBI-prescribed purpose code can lead to misclassification of the transaction under FEMA and trigger additional compliance checks by the bank.
- Mismatch between purpose code, invoice, and remittance narration may place the transaction on hold until clarification is provided.
- Submitting unclear or incomplete supporting documents that do not clearly describe the nature of the transaction often result in delays, as banks rely on documentation to validate FEMA compliance.
- Missing mandatory PAN or incomplete KYC documentation can prevent banks from releasing funds until verification is completed.
- Using service-related purpose codes for non-service transactions like capital receipts, investments, gifts, or refunds can result in incorrect regulatory treatment and potential reporting issues.
- Assuming small or recurring transactions do not require accuracy and repeated misclassification can attract regulatory scrutiny over time.
How Xflow supports compliant inward remittances
Cross-border payments require accurate purpose code selection and complete compliance documentation. Xflow helps businesses and individuals receive international payments while staying aligned with RBI and FEMA requirements.
With Xflow, you can:
- Select the correct purpose code with clarity
- Organize and maintain supporting documents
- Reduce compliance back-and-forth with banks
- Support FEMA compliant inward remittances
Frequently asked questions
If you use an incorrect Purpose Code for your transactions, you might face cancellations or delays in your payments. Along with that, there are several compliance issues as well that may lead to penalties.
To select the right purpose, consult the purpose code list provided by RBI and make sure that you match your transaction type with the most relevant code. Additionally, to ensure that there are no errors, you can seek professional advice from a reliable banking partner or financial advisor.
In cases you’ve used the wrong Purpose Code for your international transaction, it’s important to act quickly. You must consult your bank or payment service provider as soon as possible to request a correction.
Eligibility depends on the specific transaction type defined by the RBI. Certain codes apply to individuals, others to businesses, and some may apply to both.