Skip to main content
This guide walks the full lifecycle once: create an exporter, connect their DGFT account, pull their remittances, submit them for generation, and track the request.

Before you begin

  1. An API key. Create your account in the eBRC API console to request one; for help, email amin@eximfiles.io. Use your dev_ key to walk this guide. The calls are identical in live mode.
  2. The exporter’s DGFT portal credentials.
The API is free for general use, so you can complete this whole guide without any billing setup. See Pricing.
Set BASE_URL to https://api.ebrc.in/api/v1. It is the same for test and live: your key’s prefix decides which mode you are in. See Base URL and Modes.
Services are enabled after 24 hours of customer validation.

Steps to generate an eBRC

1

Create a platform customer

Create the exporter entity you will generate for. See Create Customer.
The response’s data.id is the platformCustomerId used in every later call. The client is created with isActive: false and cannot file until the next step succeeds.
2

Validate DGFT credentials

Connect the exporter’s DGFT account. See Validate Customer. This endpoint is limited to 4 calls per minute.
3

Fetch IRMs

Pull the exporter’s inward remittances. See Fetch IRM List.
4

Submit IRMs for generation

Map each IRM to its invoice and submit. See Submit IRMs for eBRC Generation and the field reference. Dates are DDMMYYYY strings; the message-level uploadType is a string code and the item-level one is a number: 101 Direct Export, 102 Softex, 103 Service Non IT, 104 Deemed.
Keep the returned requestId. If validation fails, the exact messages are listed under common validation errors.
5

Check request status

Poll with your request ID. See Get Request Status.
Available in both modes. In live mode, a generation request is typically acknowledged within about 2 hours.
Once processed, fetch details or download the certificate PDF.

Going live

Nothing in the flow above changes. Replace your dev_ key with your prod_ key and the same calls, against the same base URL, file for real. Test and live data are isolated, so create your exporters again with the live key before filing for them. See Base URL and Modes.

Prefer Excel?

Skip the JSON payload: download the pre-filled template, fill it, and upload it back. Validation errors come back per row.

Need help?

Contact support

Email amin@eximfiles.io and quote the requestId from your API response.