Approve or reject a received e-CF
Records the organization's commercial approval of a received e-CF, which a workflow signs as an ACECF and sends to the DGII and, in test and production, to the sender's receptor. The approval is final. Its commercialApproval.status starts pending, and received-ecf.commercial-approval-sent or -failed reports how it ends.
apiKeyAuthorizationBearer <token>An API key of the organization the request acts for, created in the dashboard and sent as "Authorization: Bearer ".
id*stringThe ID of the received e-CF
uuid"7c3e9a1f-2b4d-4e6a-8f0c-1d2e3f4a5b6c"The decision
application/json- body
{ "decision": "approved"}decision*"approved"Estado 1, e-CF aceptado
"approved"The received e-CF with the decision pending
application/json- response
An e-CF that another taxpayer sent to the receptor of the organization's issuer
id*stringuuid"7c3e9a1f-2b4d-4e6a-8f0c-1d2e3f4a5b6c"environment*stringThe DGII environment the issuer was in when the e-CF arrived
"production""test""certification""production"sender*RNCEmisor and RazonSocialEmisor of the taxpayer that issued the e-CF
type*stringTipoeCF
"31""31""32""33""34""41""43""44""45""46""47"encf*stringeNCF
"E310000000123"issuedOn*stringFechaEmision
date"2026-10-19"total*MontoTotal in DOP cents
signerSubject*stringThe subject of the certificate that signed the e-CF, which names a person and not the taxpayer
"C=DO, CN=ANA PEREZ, serialNumber=IDCDO-00112345678"dgiiVerification*stringWhether the DGII's consultaestado confirms these bytes: pending while the receptor asks, verified when the DGII holds the e-CF with this sender, buyer, date, total and security code, rejected when it rejected the e-CF or holds another one under this e-NCF, not-found after 72 hours without the DGII holding it, or not-available in certification, which lacks the service, and when the receptor could not ask. Only a verified arrival counts as the e-CF.
"pending""verified""rejected""not-found""not-available"commercialApproval*commercialApprovalDueOn*stringThe 15th of the month after issuedOn, the deadline of Norma General 07-18 that Decreto 587-24 Art. 17 Párr. V makes the limit for a commercial approval. Information only.
date"2026-11-15"receivedAt*stringdate-time"2026-10-19T16:45:18.000Z"curl -X POST 'https://api.rapidopagos.com/received-ecf/7c3e9a1f-2b4d-4e6a-8f0c-1d2e3f4a5b6c/commercial-approval' \ -H 'Content-Type: application/json' \ -d '{ "decision": "approved"}'{ "id": "7c3e9a1f-2b4d-4e6a-8f0c-1d2e3f4a5b6c", "environment": "production", "sender": { "rnc": "string", "name": "string" }, "type": "31", "encf": "E310000000123", "issuedOn": "2026-10-19", "total": { "amount": 0, "currency": "DOP" }, "signerSubject": "C=DO, CN=ANA PEREZ, serialNumber=IDCDO-00112345678", "dgiiVerification": "pending", "commercialApproval": { "decision": "approved", "reason": "string", "status": "pending", "messages": [ { "code": "string", "message": "string" } ] }, "commercialApprovalDueOn": "2026-11-15", "receivedAt": "2026-10-19T16:45:18.000Z"}Download a received e-CF GET
Returns the signed XML of the received e-CF byte for byte, as the sender posted it, named {RNCEmisor}{eNCF}.xml.
Download the printed representation of an e-CF GET
Renders the printed representation (Representación Impresa) of a signed e-CF as a PDF named {RNCEmisor}{eNCF}.pdf, in Spanish, as Informe Técnico e-CF §18 lays it out: the issuer, the type in words, the e-NCF, the buyer, the lines, the totals, and the QR of stampUrl with the security code and the signing time. A type 32 under RD$250,000 also prints the URL where the buyer consults it, and an e-CF that is still signed prints the contingency legend.