← Back to the documentation

How electronic invoicing works

Both sides of an e-CF in Softlink: when you issue one and when a supplier invoices you.

Two roles, one system

Issuer

You invoice a customer. Your system (or Softlink's ERP) sends the invoice to Softlink, which signs it with your certificate and delivers it to DGII.

Receiver

A supplier invoices you. Their system delivers the invoice to your Softlink mailbox, which verifies it, stores it for you and replies with an acknowledgement.

Key point: DGII does not forward the invoice to the buyer. The issuer sends it to two places — to DGII to validate it and to the buyer so they have it (and can use the ITBIS as tax credit or approve/reject it).

1. Issuing an invoice

Your system / ERP
Softlink API
Signed with your certificate
DGII validates
Accepted + QR
  1. 1

    Authenticate

    POST /autenticacion with your username, API key (as password) and your company's RNC. You get a Bearer token.

  2. 2

    Send the document

    POST /facturas/enviar with the e-CF data. Softlink assigns the e-NCF, builds the XML, signs it and sends it to DGII.

  3. 3

    Consumer invoices under RD$250,000

    They aren't sent in full: Softlink sends their Summary (RFCE) to DGII's summaries service and keeps the full XML, as the rules require.

  4. 4

    Status and printed representation

    Check the status (Accepted, Conditionally accepted, Rejected) and download the PDF with DGII's verification QR.

2. Receiving a supplier's invoice

Supplier's system
Gatekeeper: seed
Signed with their certificate
Token
Your mailbox + receipt
  1. 1

    The supplier looks up your address

    Every company declares its receiver URLs to DGII; DGII publishes them in a directory by RNC. That's how they know where to deliver your invoice.

  2. 2

    They identify themselves (gatekeeper)

    They request a seed (GET …/fe/autenticacion/api/semilla), sign it with their digital certificate and send it back (POST …/fe/autenticacion/api/validacioncertificado). A valid signature gets a 1-hour token.

  3. 3

    They deliver the invoice (mailbox)

    POST …/fe/recepcion/api/ecf with the XML. Softlink verifies the signature, routes it to your company by the buyer RNC and replies with a signed acknowledgement (ARECF).

  4. 4

    You review it in the ERP

    Under Purchases → Received invoices you see it, approve or reject it commercially, and can create the vendor invoice from its data.

3. Commercial approval

  1. 1

    Your customer approves or rejects your invoice

    Their system sends the commercial approval (ACECF) to …/fe/aprobacioncomercial/api/ecf. Softlink applies it to your invoice; if rejected, DGII requires voiding it with a Credit Note.

  2. 2

    You approve or reject a supplier's invoice

    From the ERP. Softlink records your decision and must communicate it to the supplier and DGII with a signed ACECF.

Your receiver URLs

They're the same for all your companies: each document is routed by the RNC it carries. Declare them at DGII (certification: step 7; production: step 12).

Authentication — seed

GEThttps://api.softlink.com.do/api/fe/autenticacion/api/semilla

Authentication — certificate validation

POSThttps://api.softlink.com.do/api/fe/autenticacion/api/validacioncertificado

e-CF reception

POSThttps://api.softlink.com.do/api/fe/recepcion/api/ecf

Commercial approval

POSThttps://api.softlink.com.do/api/fe/aprobacioncomercial/api/ecf

Current status

See the full API reference (Swagger) →