Record an e-NCF range
Records a range of e-NCF numbers that the DGII authorized, in the issuer's current environment. Its first e-CF takes firstNumber.
apiKeyAuthorizationBearer <token>An API key of the organization the request acts for, created in the dashboard and sent as "Authorization: Bearer ".
The range the DGII authorized
application/json- body
type*stringThe e-CF type the DGII authorized the range for: 31 tax credit invoice, 32 consumer invoice, 33 debit note, 34 credit note, 41 purchases, 43 minor expenses, 44 special regimes, 45 government, 46 exports, 47 payments abroad
"31""31""32""33""34""41""43""44""45""46""47"firstNumber*integerThe first number of the range, without the E and the type
1 <= value <= 99999999991lastNumber*integerThe last number of the range
1 <= value <= 99999999991000expiresOn?|FechaVencimientoSecuencia, the last day the DGII lets the range issue. Types 32 and 34 take none, and every other type requires it.
datenull"2027-12-31"The recorded range
application/json- response
A range of e-NCF numbers that the DGII authorized for one e-CF type
id*stringuuid"8a3d5f1c-2e7b-4c9a-b6d0-4f1e8a2c7b53"type*string"31""31""32""33""34""41""43""44""45""46""47"environment*stringThe DGII environment of the range, the issuer environment when the range was recorded
"test""test""certification""production"firstNumber*integer1lastNumber*integerThe last number the DGII authorized. A cancellation never changes it.
1000nextNumber*integerThe number the next e-CF of the range takes
1remaining*integerHow many numbers no e-CF has taken below cancelledFromNumber, or through lastNumber
1000expiresOn*|date"2027-12-31"cancelledFromNumber*|The first number of the cancelled tail, or null
nullstatus*stringactive while numbers remain and expiresOn has not passed in Santo Domingo, exhausted when every number below a cancelled tail or through lastNumber is taken, expired after expiresOn, cancelled when the range is cancelled from its first number
"active""exhausted""expired""cancelled"createdAt*stringdate-time"2026-10-19T16:45:18.000Z"curl -X POST 'https://api.rapidopagos.com/ecf-sequence' \ -H 'Content-Type: application/json' \ -d '{ "type": "31", "firstNumber": 1, "lastNumber": 1000, "expiresOn": "2027-12-31"}'{ "id": "8a3d5f1c-2e7b-4c9a-b6d0-4f1e8a2c7b53", "type": "31", "environment": "test", "firstNumber": 1, "lastNumber": 1000, "nextNumber": 1, "remaining": 1000, "expiresOn": "2027-12-31", "cancelledFromNumber": null, "status": "active", "createdAt": "2026-10-19T16:45:18.000Z"}