Get an e-CF
Retrieves an e-CF with its status, its totals, its stamp and the answers of the DGII.
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 e-CF
uuid"5f2c8e1a-9b4d-4a7e-8c3f-2d6b0e9a1c47"The e-CF
application/json- response
An electronic fiscal document (e-CF) that the issuer of the organization issued to the DGII
id*stringuuid"5f2c8e1a-9b4d-4a7e-8c3f-2d6b0e9a1c47"externalId*|The e-CF's ID in the merchant's system, or null
"order-12345"type*stringTipoeCF
"31""31""32""33""34""41""43""44""45""46""47"encf*stringThe e-NCF the e-CF took from its range: E, the type and 10 digits
"E310000000001"environment*stringThe DGII environment of the issuer when the e-CF was created
"test""test""certification""production"status*stringpending until the bytes are signed, signed once they are stored, submitted while the DGII holds it without a verdict, then accepted, conditionally-accepted, rejected or errored. The last four are final.
"pending""signed""submitted""accepted""conditionally-accepted""rejected""errored"statusReason*|The DGII's estado for a verdict, or why the e-CF ended errored, such as certificate-expired
issuedOn*stringFechaEmision
date"2026-10-19"buyer*RNCComprador and RazonSocialComprador, each null when absent
currency*stringThe currency of the request
"DOP""DOP""USD"totals*MontoGravadoTotal, MontoExento, TotalITBIS and MontoTotal in DOP cents, converted half up for a USD e-CF
securityCode*|CodigoSeguridad, the first 6 characters of SignatureValue, or null before signing
"Ab3+9z"signedAt*|FechaHoraFirma, or null before signing
date-timestampUrl*|The text of the QR of the printed representation, a consultatimbre URL, or consultatimbrefc for a type 32 under RD$250,000. Null before signing.
uridgii*The DGII's trackId (null for an RFCE, which gets none, and for an e-CF that the service follows through consultatrackids after a rejected resend), its messages and secuenciaUtilizada of a rejection
buyerDelivery*The delivery to an electronic buyer: pending, not-applicable without a buyer RNC or in certification, not-electronic, acknowledged, refused or failed
commercialApproval*The buyer's commercial approval, each field null until one arrives. decision is conflicting when two trusted approvals disagree, and signerSubject names the certificate that signed the approval.
createdAt*stringdate-time"2026-10-19T16:45:18.000Z"updatedAt*stringdate-time"2026-10-19T16:45:21.000Z"curl -X GET 'https://api.rapidopagos.com/ecf/5f2c8e1a-9b4d-4a7e-8c3f-2d6b0e9a1c47'{ "id": "5f2c8e1a-9b4d-4a7e-8c3f-2d6b0e9a1c47", "externalId": "order-12345", "type": "31", "encf": "E310000000001", "environment": "test", "status": "pending", "statusReason": "string", "issuedOn": "2026-10-19", "buyer": { "rnc": "string", "name": "string" }, "currency": "DOP", "totals": { "taxable": { "amount": 0, "currency": "DOP" }, "exempt": { "amount": 0, "currency": "DOP" }, "itbis": { "amount": 0, "currency": "DOP" }, "total": { "amount": 0, "currency": "DOP" } }, "securityCode": "Ab3+9z", "signedAt": "2019-08-24T14:15:22Z", "stampUrl": "http://example.com", "dgii": { "trackId": "string", "messages": [ { "code": "string", "message": "string" } ], "sequenceUsed": true }, "buyerDelivery": { "status": "pending", "reason": "string" }, "commercialApproval": { "decision": "approved", "reason": "string", "receivedAt": "2019-08-24T14:15:22Z", "signerSubject": "string" }, "createdAt": "2026-10-19T16:45:18.000Z", "updatedAt": "2026-10-19T16:45:21.000Z"}Issue an e-CF POST
Computes the e-CF's amounts from its items, takes the next e-NCF of the active range of its type and creates it pending. A workflow then signs it, sends it to the DGII and follows it to the DGII's verdict, which an ecf.accepted, ecf.rejected or ecf.errored event reports. A request with the externalId of an existing e-CF returns that e-CF.
Download the signed e-CF GET
Returns the signed XML of the e-CF byte for byte, as the DGII received it, named {RNCEmisor}{eNCF}.xml. A type 32 under RD$250,000 returns the full e-CF, which the DGII never receives.