Rápido Pagos
Electronic invoicing

Run the e-CF data set of the DGII certification

POST
/ecf-certification/ecf-data-set

Turns each row of the data set into an e-CF with the row's ENCF and its values as they are, totals included, then signs each one and sends it to CerteCF. A type 32 under RD$250,000 goes as its RFCE. The debit and credit notes go once every other e-CF of the run is final. GET /ecf-certification/run/{id} follows the run.

Authorization

apiKey
headerAuthorizationBearer <token>

An API key of the organization the request acts for, created in the dashboard and sent as "Authorization: Bearer ".

Request Body

The data set

multipart/form-data
  1. body
file*file

The e-CF sheet of the DGII's data set saved as CSV UTF-8: one row per case, the columns named as the DGII's template names them, such as FormaPago[1] and TipoSubDescuento[1][2], and #e for an empty cell. At most 2 MB.

Formatbinary
Example"@ECF.csv"

Response Body

The run, with every case pending

application/json
  1. response

A run of the e-CF sheet of the DGII's certification data set

id*string
Formatuuid
Example"9d4b2a7e-6c1f-4e8a-b3d5-0f7c2e9a4b61"
kind*"ecf"

A run of the e-CF sheet

Value in"ecf"
status*string

running until every case is final, then completed with every case accepted or conditionally-accepted, or failed as soon as a case ends rejected or errored, since the portal then asks for a new data set

Value in"running""completed""failed"
cases*array<>

The cases of the run, by testCase

createdAt*string
Formatdate-time
Example"2026-10-20T14:05:11.000Z"
Run the e-CF data set of the DGII certification
curl -X POST 'https://api.rapidopagos.com/ecf-certification/ecf-data-set' \  -F 'file=@ECF.csv'
Example Response
{  "id": "9d4b2a7e-6c1f-4e8a-b3d5-0f7c2e9a4b61",  "kind": "ecf",  "status": "running",  "cases": [    {      "testCase": "133184176E310000000001",      "ecfId": "5f2c8e1a-9b4d-4a7e-8c3f-2d6b0e9a1c47",      "type": "31",      "encf": "E310000000001",      "status": "pending",      "statusReason": null,      "messages": []    }  ],  "createdAt": "2026-10-20T14:05:11.000Z"}