Rápido Pagos
Electronic invoicing

Run the commercial approval data set of the DGII certification

POST
/ecf-certification/commercial-approval-data-set

Turns each row of the ACECF sheet into a commercial approval with the row's values, MontoTotal with two decimals. It takes the sheet once every e-CF of the issuer's latest run of the e-CF sheet is accepted or conditionally accepted. 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 ACECF sheet

multipart/form-data
  1. body
file*file

The ACECF sheet of the DGII's data set saved as CSV UTF-8: one row per commercial approval, the columns named after the elements of DetalleAprobacionComercial, and #e or nothing for an empty cell. At most 2 MB.

Formatbinary
Example"@ACECF.csv"

Response Body

The run, with every approval pending

application/json
  1. response

A run of the ACECF sheet of the DGII's certification data set

id*string
Formatuuid
Example"7a1d4c9e-5b2f-4e8a-9c3d-0b6e2f8a1d54"
kind*"commercial-approval"

A run of the ACECF sheet

Value in"commercial-approval"
status*string

running until every approval is final, then completed with every approval accepted, or failed as soon as one ends rejected or errored

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

The approvals of the run, by testCase

createdAt*string
Formatdate-time
Example"2026-10-20T15:40:02.000Z"
Run the commercial approval data set of the DGII certification
curl -X POST 'https://api.rapidopagos.com/ecf-certification/commercial-approval-data-set' \  -F 'file=@ACECF.csv'
Example Response
{  "id": "7a1d4c9e-5b2f-4e8a-9c3d-0b6e2f8a1d54",  "kind": "commercial-approval",  "status": "running",  "cases": [    {      "testCase": "131880681E310000000001",      "approvalId": "3e8b1c6d-2f4a-4b9e-a7d0-6c5f1e2b8a93",      "encf": "E310000000001",      "status": "pending",      "messages": []    }  ],  "createdAt": "2026-10-20T15:40:02.000Z"}