Skip to content
↑↓ navigate ↵ open Esc close
API documentation

Build your integration with the factura.com.do V1 API

A REST API, 28 webhook events and an honest reference of what we publish today and what we do not. Everything your team needs to connect to DGII electronic invoicing in the Dominican Republic.

  • X-Api-Key header
  • 28 webhook events
  • Per-company DGII test environment

From zero to first e-CF in three calls

  1. 01
    Get your X-Api-Key

    A workspace administrator generates the key from the app. The value is shown only once; store it in your secrets manager.

  2. 02
    POST /api/v1/consumer-invoices

    Send the document with the X-Api-Key header. The response returns DocumentId and ConsultationUrl ready for your ERP.

  3. 03
    Subscribe to the dgii.aprobado webhook

    When the DGII responds, we send you a POST with the event and payload. Your system reconciles and releases the billing flow.

Everything this section documents

Each card opens the detail page: contracts, examples in cURL and TypeScript, and honest notes on what is and is not available.

What we publish today and what we do not

This section documents what is already live under /api/v1/. We keep the other side of the table because honesty prevents surprises in production.

Not published today Live in /api/v1/
Self-serve API key issuance via a public endpoint. X-Api-Key header with configurable expiry.
Official SDK with a runtime client distributed via npm. REST with JSON: any HTTP client can call it.
HMAC verification or payload signing. 28 webhook events via manual subscription.
Automatic server-side retries for webhooks. Background DGII submission and periodic status polling.
Public test environment with a separate base URL. Per-company DGII test environment (testecf).
Version header or published formal deprecation policy. Explicit /api/v1/ versioning.
Idempotency-Key header or published rate limit. Pagination via pageNumber/pageSize/search.
Next step

Continue here