The Spanish version is the authoritative reference. View in Spanish
π©π΄ Dominican Republic
This sheet assumes you know the xPOS-Core communication protocol. Here we only document what is specific to the Dominican Republic.
Summaryβ
| Aspect | Value |
|---|---|
country code | do |
| Tax authority | DGII |
| Pattern | A β XML with XSD |
Supported inputType | json, xml, xdoc, txt |
| Extra endpoint | β |
| Output | Signed tax XML |
XSLT mappingβ
| XSLT | Use |
|---|---|
input_to_dte_do.xslt | json and xml inputs β XML <root> β Gosocket XML. |
other_to_dte_do.xslt | txt input β Gosocket XML. Does not go through input_to_dte. |
xdoc_to_dte_do.xslt | xdoc input β Gosocket XML. Does not go through input_to_dte. |
dte_to_fiscal_do.xslt | Gosocket XML β DGII tax DTE. |
custom_response_do.xslt | Generates custom_response when applicable. |
Document types (typeDoc)β
WebSocket example uses
typeDoc=31.
Dominican Republic-specific response fieldsβ
The Dominican Republic returns the entire core + full tax echo (statusCode/Description/Message) + applicationResponse + timeGeneration. It does not return timeValidation.
countryIdentificationCode in the Dominican Republic is the e-NCF (Electronic Tax Receipt Number).
WebSocket exampleβ
Illustrative values. The structure is real; the data are examples.
{
"env": "sbx",
"operation": "consolidate",
"typeDoc": 31,
"country": "do",
"inputType": "xml",
"origin": "<issuer taxId>",
"document": { /* DTE Republica Dominicana */ }
}Particular notesβ
- Publishes in Inbox-Gosocket.