AI agents can now submit a Dominican Republic e-CF (factura electrónica / comprobante fiscal electrónico) to the DGII. This remote MCP server forwards your already-signed e-CF XML to the government DGII gateway — get_seed → get_token → submit_invoice (returns a trackId) → query_status. It only wraps the DGII web services: your DGII digital certificate and the e-CF signing stay merchant-side, and this server does not generate the e-CF XML.
{
"mcpServers": {
"dominican-republic-invoice": {
"type": "http",
"url": "https://inv-do.wishpool.app/mcp",
"headers": {
"x-dgii-env": "prod"
}
}
}
}
Omit x-dgii-env to stay in the open test (TesteCF certificación) environment — no fiscal effect, no registration; prod = eCF production. DGII authentication is certificate-based: you sign the semilla and every e-CF with your own DGII-recognized digital certificate (Digifirma or another approved CA). Your certificate and private key never leave your side — this server never sees them.
get_seed fetches a semilla → you sign it merchant-side → get_token exchanges the signed semilla for a ~1h Bearer token → you build + sign your e-CF → submit_invoice forwards it and returns a trackId.trackId is your acuse de recibo (receipt) — query_status polls /ConsultaResultado until estado is Aceptado (fiscally valid), Aceptado Condicional, or Rechazado.estado, codigo, rnc, encf, mensajes[] and numbered next_steps.x-agentpay-max-amount, x-agentpay-approval-above, x-agentpay-allowed-tools — set by the human owner in client config; the agent cannot relax them. The cap applies to the grand total (MontoTotal, incl. ITBIS, in pesos DOP) when it can be read from the signed XML.Environment taken from a header (never in the body); the four DGII web services mapped one-to-one to four tools; status enums spelled out in every tool description; DGII HTTP responses passed through with numbered next_steps; every error teaches the fix (sign the semilla, base64 not raw XML, missing token, env). get_seed has no fiscal effect.
Invoices: Costa Rica Hacienda inv-cr · Saudi ZATCA inv-sa · Mexico CFDI 4.0 inv-mx · Poland KSeF inv-pl · Chile DTE inv-cl · Brazil NF-e inv-br · Peru CPE inv-pe · India GST inv-in. Local payments in 81 countries and logistics, one family, same stateless pattern: mcp.wishpool.app · logi.wishpool.app.