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, issued per environment. Create your account in the eBRC API console to request one; for help, email amin@eximfiles.io.
  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 your environment’s base URL, for example https://ebrcapi.eximfiles.io/api/v1 for production. See Environments and Base URLs.
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.
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 Production and Sandbox. In Production, a generation request is typically acknowledged within about 2 hours.
Once processed, fetch details or download the certificate PDF.

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.