{
  "item": [
    {
      "id": "16ed0503-039e-4295-92bd-ecd380a28e4b",
      "name": "Autenticación",
      "description": {
        "content": "Obtén el token con tu credencial de integración. Dura 120 minutos: reutilízalo.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "b4e49f57-6079-488b-9072-47350a4f4c35",
          "name": "Inicia sesión con tu credencial de integración y devuelve un token.",
          "request": {
            "name": "Inicia sesión con tu credencial de integración y devuelve un token.",
            "description": {
              "content": "El token dura 120 minutos: guárdalo y reutilízalo, y pide uno nuevo solo al vencer.\n            \nProtecciones:\n- Usuario, contraseña o RNC incorrectos responden siempre el mismo 401.\n- Tras 5 contraseñas incorrectas seguidas la credencial se bloquea 15 minutos (429 con `Retry-After`).\n- Hay un límite de intentos por IP (429 con `Retry-After`).\n            \nCon la contraseña correcta, un 403 explica qué falta: empresa inactiva, canal de emisión\ndistinto de Integración (API) o certificado digital no cargado.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "api",
                "v2",
                "Auth",
                "login"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": {
              "type": "noauth"
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"usuario\": \"{{usuario}}\",\n  \"clave\": \"{{clave}}\",\n  \"rnc\": \"{{rnc}}\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "06248a20-e7a6-4376-911f-cf2e557c4859",
              "name": "Token emitido.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "Auth",
                    "login"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"usuario\": \"erp-miempresa\",\n  \"clave\": \"string\",\n  \"rnc\": \"131000001\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"token\": \"string\",\n  \"fechaExpiracion\": \"1981-07-12T22:09:02.052Z\",\n  \"codigo\": 5463,\n  \"mensaje\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "86a1747b-3fc1-410b-b59d-6d5828f55f80",
              "name": "Faltan usuario, contraseña o RNC.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "Auth",
                    "login"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"usuario\": \"erp-miempresa\",\n  \"clave\": \"string\",\n  \"rnc\": \"131000001\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"token\": \"string\",\n  \"fechaExpiracion\": \"1981-07-12T22:09:02.052Z\",\n  \"codigo\": 5463,\n  \"mensaje\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "3e17aaa1-b964-4ada-8c5b-9e01e63364c0",
              "name": "Usuario, contraseña o RNC incorrectos.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "Auth",
                    "login"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"usuario\": \"erp-miempresa\",\n  \"clave\": \"string\",\n  \"rnc\": \"131000001\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"token\": \"string\",\n  \"fechaExpiracion\": \"1981-07-12T22:09:02.052Z\",\n  \"codigo\": 5463,\n  \"mensaje\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "26a41f7c-6473-4eb2-b490-f5f568734bd7",
              "name": "Credenciales correctas, pero la empresa no puede emitir por la API.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "Auth",
                    "login"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"usuario\": \"erp-miempresa\",\n  \"clave\": \"string\",\n  \"rnc\": \"131000001\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"token\": \"string\",\n  \"fechaExpiracion\": \"1981-07-12T22:09:02.052Z\",\n  \"codigo\": 5463,\n  \"mensaje\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "d4b7febd-d9ef-40f8-8557-e3067799b8c4",
              "name": "Credencial bloqueada o demasiados intentos desde la IP.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "Auth",
                    "login"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"usuario\": \"erp-miempresa\",\n  \"clave\": \"string\",\n  \"rnc\": \"131000001\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Too Many Requests",
              "code": 429,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"token\": \"string\",\n  \"fechaExpiracion\": \"1981-07-12T22:09:02.052Z\",\n  \"codigo\": 5463,\n  \"mensaje\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "if (pm.response.code === 200) {",
                  "  const body = pm.response.json();",
                  "  pm.environment.set('token', body.token);",
                  "  pm.environment.set('tokenExpiracion', body.fechaExpiracion);",
                  "}"
                ]
              }
            }
          ],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "4fffb71d-75ad-471d-aa0e-6c9a4830e326",
      "name": "Emisión",
      "description": {
        "content": "Valida y emite comprobantes fiscales electrónicos (e-CF) ante la DGII.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "69366bbe-b5e8-4e4d-a0df-c23efa6e9bae",
          "name": "Valida el comprobante completo y NO lo emite (ensayo).",
          "request": {
            "name": "Valida el comprobante completo y NO lo emite (ensayo).",
            "description": {
              "content": "Ejecuta las mismas validaciones que `send` (esquema, reglas de negocio y XSD de la DGII)\ny se detiene antes de transmitir. Responde 200 aunque el comprobante sea inválido: mira\n`data.valido` y `data.errores`.\n            \nNo consume el e-NCF ni cuenta para tu plan. Es la forma recomendada de probar tu integración.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "api",
                "v2",
                "dgii-ecf",
                "validate"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ECF\": {\n    \"Encabezado\": {\n      \"Version\": \"1.0\",\n      \"IdDoc\": {\n        \"TipoeCF\": 31,\n        \"eNCF\": \"E310000000001\",\n        \"FechaVencimientoSecuencia\": \"31-12-2027\",\n        \"IndicadorMontoGravado\": 0,\n        \"TipoIngreso\": \"01\",\n        \"TipoPago\": 1,\n        \"TablaFormasPago\": {\n          \"FormasDePago\": [\n            {\n              \"FormaPago\": 1,\n              \"MontoPago\": 1180\n            }\n          ]\n        }\n      },\n      \"Emisor\": {\n        \"RNCEmisor\": \"{{rnc}}\",\n        \"RazonSocialEmisor\": \"Mi Empresa SRL\",\n        \"DireccionEmisor\": \"Av. Winston Churchill 100, Santo Domingo\",\n        \"FechaEmision\": \"05-10-2026\",\n        \"NumeroFacturaInterna\": \"FAC-1001\"\n      },\n      \"Comprador\": {\n        \"RNCComprador\": \"101010101\",\n        \"RazonSocialComprador\": \"Cliente Ejemplo SRL\",\n        \"CorreoComprador\": \"facturas@cliente.com.do\"\n      },\n      \"Totales\": {\n        \"MontoGravadoTotal\": 1000,\n        \"MontoGravadoI1\": 1000,\n        \"ITBIS1\": 18,\n        \"TotalITBIS\": 180,\n        \"TotalITBIS1\": 180,\n        \"MontoTotal\": 1180\n      }\n    },\n    \"DetallesItems\": {\n      \"Item\": [\n        {\n          \"NumeroLinea\": 1,\n          \"IndicadorFacturacion\": 1,\n          \"NombreItem\": \"Servicio de consultoría\",\n          \"IndicadorBienoServicio\": 2,\n          \"CantidadItem\": 1,\n          \"PrecioUnitarioItem\": 1000,\n          \"MontoItem\": 1000\n        }\n      ]\n    }\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "65ddddc3-ca33-449a-a74f-ddd0e48f2fc6",
              "name": "Resultado del ensayo: mira `data.valido` y `data.errores`.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "dgii-ecf",
                    "validate"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"ecf\": {\n    \"encabezado\": {\n      \"version\": \"1.0\",\n      \"idDoc\": {\n        \"tipoeCF\": 31,\n        \"eNCF\": \"E310000000001\",\n        \"fechaVencimientoSecuencia\": \"31-12-2027\",\n        \"indicadorEnvioDiferido\": 2097,\n        \"indicadorMontoGravado\": 0,\n        \"indicadorServicioTodoIncluido\": 7446,\n        \"tipoIngreso\": \"01\",\n        \"tipoPago\": 1,\n        \"fechaLimitePago\": \"string\",\n        \"terminoPago\": \"string\",\n        \"tablaFormasPago\": {\n          \"formasDePago\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"tipoCuentaPago\": \"string\",\n        \"numeroCuentaPago\": \"string\",\n        \"bancoPago\": \"string\",\n        \"fechaDesde\": \"string\",\n        \"fechaHasta\": \"string\",\n        \"totalPaginas\": 2332\n      },\n      \"emisor\": {\n        \"rncEmisor\": \"131000001\",\n        \"razonSocialEmisor\": \"Mi Empresa SRL\",\n        \"nombreComercial\": \"string\",\n        \"sucursal\": \"string\",\n        \"direccionEmisor\": \"Av. Winston Churchill 100, Santo Domingo\",\n        \"municipio\": \"string\",\n        \"provincia\": \"string\",\n        \"tablaTelefonoEmisor\": {\n          \"telefonosEmisor\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"correoEmisor\": \"string\",\n        \"webSite\": \"string\",\n        \"actividadEconomica\": \"string\",\n        \"codigoVendedor\": \"string\",\n        \"numeroFacturaInterna\": \"string\",\n        \"numeroPedidoInterno\": \"string\",\n        \"zonaVenta\": \"string\",\n        \"rutaVenta\": \"strin\",\n        \"informacionAdicionalEmisor\": \"string\",\n        \"fechaEmision\": \"05-10-2026\"\n      },\n      \"comprador\": {\n        \"rncComprador\": \"101010101\",\n        \"razonSocialComprador\": \"Cliente Ejemplo SRL\",\n        \"contactoComprador\": \"string\",\n        \"correoComprador\": \"string\",\n        \"direccionComprador\": \"string\",\n        \"municipioComprador\": \"string\",\n        \"provinciaComprador\": \"string\",\n        \"fechaEntrega\": \"string\",\n        \"contactoEntrega\": \"string\",\n        \"direccionEntrega\": \"string\",\n        \"telefonoAdicional\": \"string\",\n        \"fechaOrdenCompra\": \"string\",\n        \"numeroOrdenCompra\": \"string\",\n        \"codigoInternoComprador\": \"string\",\n        \"responsablePago\": \"st\",\n        \"informacionAdicionalComprador\": \"string\",\n        \"identificadorExtranjero\": \"string\"\n      },\n      \"informacionesAdicionales\": {\n        \"fechaEmbarque\": \"19-6-1930\",\n        \"numeroEmbarque\": \"str\",\n        \"numeroContenedor\": \"string\",\n        \"numeroReferencia\": \"string\",\n        \"nombrePuertoEmbarque\": \"string\",\n        \"pesoBruto\": 7313.5288184355595,\n        \"pesoNeto\": 5931.787931964808,\n        \"totalFob\": 9031.62991202775,\n        \"seguro\": 8240.303636180068,\n        \"flete\": 8718.090797274066,\n        \"unidadPesoBruto\": 4514,\n        \"unidadPesoNeto\": 46,\n        \"cantidadBulto\": 5500.641912357534,\n        \"unidadBulto\": 7919,\n        \"volumenBulto\": 667.4534127900888,\n        \"unidadVolumen\": 5384\n      },\n      \"transporte\": {\n        \"conductor\": \"string\",\n        \"documentoTransporte\": \"string\",\n        \"ficha\": \"string\",\n        \"placa\": \"str\",\n        \"rutaTransporte\": \"string\",\n        \"zonaTransporte\": \"string\",\n        \"numeroAlbaran\": \"string\"\n      },\n      \"totales\": {\n        \"montoGravadoTotal\": 1000,\n        \"montoGravadoI1\": 1000,\n        \"montoGravadoI2\": 3217.145749385375,\n        \"montoGravadoI3\": 6251.395667312305,\n        \"montoExento\": 2479.1972987934887,\n        \"itbiS1\": 18,\n        \"itbiS2\": 8364,\n        \"itbiS3\": 5955,\n        \"totalITBIS\": 180,\n        \"totalITBIS1\": 180,\n        \"totalITBIS2\": 1057.2936542391599,\n        \"totalITBIS3\": 8379.51114670099,\n        \"montoImpuestoAdicional\": 5708.365277893617,\n        \"impuestosAdicionales\": {\n          \"listaImpuestosAdicionales\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"montoTotal\": 1180,\n        \"montoNoFacturable\": 5694.883904330155,\n        \"montoPeriodo\": 9256.137942737036,\n        \"saldoAnterior\": 5245.521695076466,\n        \"montoAvancePago\": 6232.523491643957,\n        \"valorPagar\": 9757.407031893375,\n        \"totalITBISRetenido\": 2132.4803312141794,\n        \"totalISRRetencion\": 1518.77209127808,\n        \"totalITBISPercepcion\": 5301.525492797587,\n        \"totalISRPercepcion\": 9328.461878072221\n      },\n      \"otraMoneda\": {\n        \"tipoMoneda\": \"USD\",\n        \"tipoCambio\": 59.5,\n        \"montoGravadoTotalOtraMoneda\": 3194.831848975609,\n        \"montoGravado1OtraMoneda\": 9344.281953334303,\n        \"montoGravado2OtraMoneda\": 6985.077216622736,\n        \"montoGravado3OtraMoneda\": 9923.117711171875,\n        \"montoExentoOtraMoneda\": 4764.267418904371,\n        \"totalITBISOtraMoneda\": 4450.231649210845,\n        \"totalITBIS1OtraMoneda\": 3665.217333079065,\n        \"totalITBIS2OtraMoneda\": 6701.5961451245,\n        \"totalITBIS3OtraMoneda\": 6653.249623806009,\n        \"montoImpuestoAdicionalOtraMoneda\": 6063.438499455722,\n        \"impuestosAdicionalesOtraMoneda\": {\n          \"listaImpuestosAdicionalesOtraMoneda\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"montoTotalOtraMoneda\": 841.2867510008837\n      }\n    },\n    \"detallesItems\": {\n      \"item\": [\n        {\n          \"numeroLinea\": 1,\n          \"nombreItem\": \"Servicio de consultoría\",\n          \"descripcionItem\": \"string\",\n          \"precioUnitarioItem\": 1000,\n          \"cantidadItem\": 1,\n          \"unidadMedida\": 2091,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 1943.0288213505876,\n          \"unidadReferencia\": 9814,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 7441.937753583719,\n          \"recargoMonto\": 1241.4119136172285,\n          \"retencion\": {\n            \"indicadorAgenteRetencionoPercepcion\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoITBISRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoISRRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"gradosAlcohol\": 2780.1545572320842,\n          \"precioUnitarioReferencia\": 2925.9022115272837,\n          \"fechaElaboracion\": \"string\",\n          \"fechaVencimientoItem\": \"string\",\n          \"tablaSubcantidad\": {\n            \"subcantidadItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaCodigosItem\": {\n            \"codigosItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubDescuento\": {\n            \"subDescuento\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubRecargo\": {\n            \"subRecargos\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaImpuestoAdicional\": {\n            \"impuestosAdicionales\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"otraMonedaDetalle\": {\n            \"precioOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"descuentoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"recargoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoItemOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          }\n        },\n        {\n          \"numeroLinea\": 1,\n          \"nombreItem\": \"Servicio de consultoría\",\n          \"descripcionItem\": \"string\",\n          \"precioUnitarioItem\": 1000,\n          \"cantidadItem\": 1,\n          \"unidadMedida\": 1480,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7087.03832035032,\n          \"unidadReferencia\": 842,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 9203.56661814031,\n          \"recargoMonto\": 7706.942666688249,\n          \"retencion\": {\n            \"indicadorAgenteRetencionoPercepcion\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoITBISRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoISRRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"gradosAlcohol\": 3471.842182417564,\n          \"precioUnitarioReferencia\": 596.5818074062645,\n          \"fechaElaboracion\": \"string\",\n          \"fechaVencimientoItem\": \"string\",\n          \"tablaSubcantidad\": {\n            \"subcantidadItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaCodigosItem\": {\n            \"codigosItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubDescuento\": {\n            \"subDescuento\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubRecargo\": {\n            \"subRecargos\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaImpuestoAdicional\": {\n            \"impuestosAdicionales\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"otraMonedaDetalle\": {\n            \"precioOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"descuentoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"recargoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoItemOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          }\n        }\n      ]\n    },\n    \"subtotales\": {\n      \"listaSubtotales\": [\n        {\n          \"numeroSubTotal\": 5255,\n          \"descripcionSubtotal\": \"st\",\n          \"orden\": 3669,\n          \"subTotalMontoGravadoTotal\": 6237.106019165672,\n          \"subTotalMontoGravadoI1\": 5646.363209220201,\n          \"subTotalMontoGravadoI2\": 213.81957747386383,\n          \"subTotalMontoGravadoI3\": 2352.4808520214024,\n          \"subTotaITBIS\": 816.6847581225923,\n          \"subTotaITBIS1\": 5625.0735183578645,\n          \"subTotaITBIS2\": 9283.152360437793,\n          \"subTotaITBIS3\": 4556.035947525955,\n          \"subTotalImpuestoAdicional\": 1173.6113459021847,\n          \"subTotalExento\": 3156.1488078672874,\n          \"montoSubTotal\": 1832.5447616038182,\n          \"lineas\": 3839\n        },\n        {\n          \"numeroSubTotal\": 9376,\n          \"descripcionSubtotal\": \"s\",\n          \"orden\": 9151,\n          \"subTotalMontoGravadoTotal\": 2953.725821158223,\n          \"subTotalMontoGravadoI1\": 9099.448474377683,\n          \"subTotalMontoGravadoI2\": 4933.600518117557,\n          \"subTotalMontoGravadoI3\": 7728.449920801053,\n          \"subTotaITBIS\": 8272.947135338174,\n          \"subTotaITBIS1\": 1906.4342913638266,\n          \"subTotaITBIS2\": 4690.43710666301,\n          \"subTotaITBIS3\": 7257.256862482361,\n          \"subTotalImpuestoAdicional\": 5030.239775739478,\n          \"subTotalExento\": 5869.09690565797,\n          \"montoSubTotal\": 3457.4631562558734,\n          \"lineas\": 6639\n        }\n      ]\n    },\n    \"descuentosORecargos\": {\n      \"listaDescuentosORecargos\": [\n        {\n          \"numeroLinea\": 9554,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 989,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 8140.611373519075,\n          \"montoDescuentooRecargo\": 9716.425412156259,\n          \"montoDescuentooRecargoOtraMoneda\": 5735.360151284491,\n          \"indicadorFacturacionDescuentooRecargo\": 7019\n        },\n        {\n          \"numeroLinea\": 1354,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 3433,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 8194.941990381985,\n          \"montoDescuentooRecargo\": 8738.315665095686,\n          \"montoDescuentooRecargoOtraMoneda\": 1985.7990218488708,\n          \"indicadorFacturacionDescuentooRecargo\": 4737\n        }\n      ]\n    },\n    \"paginacion\": {\n      \"pagina\": [\n        {\n          \"paginaNo\": 4,\n          \"noLineaDesde\": 477,\n          \"noLineaHasta\": 560,\n          \"subtotalMontoGravadoPagina\": 4591.691389605103,\n          \"subtotalMontoGravado1Pagina\": 6336.07581393507,\n          \"subtotalMontoGravado2Pagina\": 8506.755917653149,\n          \"subtotalMontoGravado3Pagina\": 4524.522405360874,\n          \"subtotalExentoPagina\": 4759.51641687101,\n          \"subtotalItbisPagina\": 7571.6791681026525,\n          \"subtotalItbis1Pagina\": 2694.411570619758,\n          \"subtotalItbis2Pagina\": 5038.029400583808,\n          \"subtotalItbis3Pagina\": 1184.4508192479864,\n          \"subtotalImpuestoAdicionalPagina\": 338.5958724646387,\n          \"subtotalImpuestoAdicional\": {\n            \"subtotalImpuestoSelectivoConsumoEspecificoPagina\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"subtotalOtrosImpuesto\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"montoSubtotalPagina\": 5193.680091479526,\n          \"subtotalMontoNoFacturablePagina\": 237.13127757275964\n        },\n        {\n          \"paginaNo\": 818,\n          \"noLineaDesde\": 186,\n          \"noLineaHasta\": 690,\n          \"subtotalMontoGravadoPagina\": 1215.441866676742,\n          \"subtotalMontoGravado1Pagina\": 1318.3215067396015,\n          \"subtotalMontoGravado2Pagina\": 1440.0103136123055,\n          \"subtotalMontoGravado3Pagina\": 4777.614274192296,\n          \"subtotalExentoPagina\": 1929.4762186850155,\n          \"subtotalItbisPagina\": 2297.7646891745208,\n          \"subtotalItbis1Pagina\": 4049.856739382269,\n          \"subtotalItbis2Pagina\": 4679.914083260664,\n          \"subtotalItbis3Pagina\": 1247.3034652455306,\n          \"subtotalImpuestoAdicionalPagina\": 4689.219916382944,\n          \"subtotalImpuestoAdicional\": {\n            \"subtotalImpuestoSelectivoConsumoEspecificoPagina\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"subtotalOtrosImpuesto\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"montoSubtotalPagina\": 3007.0096238022215,\n          \"subtotalMontoNoFacturablePagina\": 8237.401633773059\n        }\n      ]\n    },\n    \"informacionReferencia\": {\n      \"ncfModificado\": \"E310000000001\",\n      \"rncOtroContribuyente\": \"string\",\n      \"fechaNCFModificado\": \"01-10-2026\",\n      \"codigoModificacion\": 3,\n      \"razonModificacion\": \"Devolución parcial\"\n    },\n    \"fechaHoraFirma\": \"string\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 5250,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": {\n    \"valido\": false,\n    \"errores\": [\n      {\n        \"campo\": \"string\",\n        \"codigo\": \"string\",\n        \"mensaje\": \"string\"\n      },\n      {\n        \"campo\": \"string\",\n        \"codigo\": \"string\",\n        \"mensaje\": \"string\"\n      }\n    ],\n    \"xml\": \"string\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "650489d9-31c9-4ac4-8d4e-f9431bee0e22",
              "name": "Cuerpo vacío o JSON mal formado.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "dgii-ecf",
                    "validate"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"ecf\": {\n    \"encabezado\": {\n      \"version\": \"1.0\",\n      \"idDoc\": {\n        \"tipoeCF\": 31,\n        \"eNCF\": \"E310000000001\",\n        \"fechaVencimientoSecuencia\": \"31-12-2027\",\n        \"indicadorEnvioDiferido\": 2097,\n        \"indicadorMontoGravado\": 0,\n        \"indicadorServicioTodoIncluido\": 7446,\n        \"tipoIngreso\": \"01\",\n        \"tipoPago\": 1,\n        \"fechaLimitePago\": \"string\",\n        \"terminoPago\": \"string\",\n        \"tablaFormasPago\": {\n          \"formasDePago\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"tipoCuentaPago\": \"string\",\n        \"numeroCuentaPago\": \"string\",\n        \"bancoPago\": \"string\",\n        \"fechaDesde\": \"string\",\n        \"fechaHasta\": \"string\",\n        \"totalPaginas\": 2332\n      },\n      \"emisor\": {\n        \"rncEmisor\": \"131000001\",\n        \"razonSocialEmisor\": \"Mi Empresa SRL\",\n        \"nombreComercial\": \"string\",\n        \"sucursal\": \"string\",\n        \"direccionEmisor\": \"Av. Winston Churchill 100, Santo Domingo\",\n        \"municipio\": \"string\",\n        \"provincia\": \"string\",\n        \"tablaTelefonoEmisor\": {\n          \"telefonosEmisor\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"correoEmisor\": \"string\",\n        \"webSite\": \"string\",\n        \"actividadEconomica\": \"string\",\n        \"codigoVendedor\": \"string\",\n        \"numeroFacturaInterna\": \"string\",\n        \"numeroPedidoInterno\": \"string\",\n        \"zonaVenta\": \"string\",\n        \"rutaVenta\": \"strin\",\n        \"informacionAdicionalEmisor\": \"string\",\n        \"fechaEmision\": \"05-10-2026\"\n      },\n      \"comprador\": {\n        \"rncComprador\": \"101010101\",\n        \"razonSocialComprador\": \"Cliente Ejemplo SRL\",\n        \"contactoComprador\": \"string\",\n        \"correoComprador\": \"string\",\n        \"direccionComprador\": \"string\",\n        \"municipioComprador\": \"string\",\n        \"provinciaComprador\": \"string\",\n        \"fechaEntrega\": \"string\",\n        \"contactoEntrega\": \"string\",\n        \"direccionEntrega\": \"string\",\n        \"telefonoAdicional\": \"string\",\n        \"fechaOrdenCompra\": \"string\",\n        \"numeroOrdenCompra\": \"string\",\n        \"codigoInternoComprador\": \"string\",\n        \"responsablePago\": \"st\",\n        \"informacionAdicionalComprador\": \"string\",\n        \"identificadorExtranjero\": \"string\"\n      },\n      \"informacionesAdicionales\": {\n        \"fechaEmbarque\": \"19-6-1930\",\n        \"numeroEmbarque\": \"str\",\n        \"numeroContenedor\": \"string\",\n        \"numeroReferencia\": \"string\",\n        \"nombrePuertoEmbarque\": \"string\",\n        \"pesoBruto\": 7313.5288184355595,\n        \"pesoNeto\": 5931.787931964808,\n        \"totalFob\": 9031.62991202775,\n        \"seguro\": 8240.303636180068,\n        \"flete\": 8718.090797274066,\n        \"unidadPesoBruto\": 4514,\n        \"unidadPesoNeto\": 46,\n        \"cantidadBulto\": 5500.641912357534,\n        \"unidadBulto\": 7919,\n        \"volumenBulto\": 667.4534127900888,\n        \"unidadVolumen\": 5384\n      },\n      \"transporte\": {\n        \"conductor\": \"string\",\n        \"documentoTransporte\": \"string\",\n        \"ficha\": \"string\",\n        \"placa\": \"str\",\n        \"rutaTransporte\": \"string\",\n        \"zonaTransporte\": \"string\",\n        \"numeroAlbaran\": \"string\"\n      },\n      \"totales\": {\n        \"montoGravadoTotal\": 1000,\n        \"montoGravadoI1\": 1000,\n        \"montoGravadoI2\": 3217.145749385375,\n        \"montoGravadoI3\": 6251.395667312305,\n        \"montoExento\": 2479.1972987934887,\n        \"itbiS1\": 18,\n        \"itbiS2\": 8364,\n        \"itbiS3\": 5955,\n        \"totalITBIS\": 180,\n        \"totalITBIS1\": 180,\n        \"totalITBIS2\": 1057.2936542391599,\n        \"totalITBIS3\": 8379.51114670099,\n        \"montoImpuestoAdicional\": 5708.365277893617,\n        \"impuestosAdicionales\": {\n          \"listaImpuestosAdicionales\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"montoTotal\": 1180,\n        \"montoNoFacturable\": 5694.883904330155,\n        \"montoPeriodo\": 9256.137942737036,\n        \"saldoAnterior\": 5245.521695076466,\n        \"montoAvancePago\": 6232.523491643957,\n        \"valorPagar\": 9757.407031893375,\n        \"totalITBISRetenido\": 2132.4803312141794,\n        \"totalISRRetencion\": 1518.77209127808,\n        \"totalITBISPercepcion\": 5301.525492797587,\n        \"totalISRPercepcion\": 9328.461878072221\n      },\n      \"otraMoneda\": {\n        \"tipoMoneda\": \"USD\",\n        \"tipoCambio\": 59.5,\n        \"montoGravadoTotalOtraMoneda\": 3194.831848975609,\n        \"montoGravado1OtraMoneda\": 9344.281953334303,\n        \"montoGravado2OtraMoneda\": 6985.077216622736,\n        \"montoGravado3OtraMoneda\": 9923.117711171875,\n        \"montoExentoOtraMoneda\": 4764.267418904371,\n        \"totalITBISOtraMoneda\": 4450.231649210845,\n        \"totalITBIS1OtraMoneda\": 3665.217333079065,\n        \"totalITBIS2OtraMoneda\": 6701.5961451245,\n        \"totalITBIS3OtraMoneda\": 6653.249623806009,\n        \"montoImpuestoAdicionalOtraMoneda\": 6063.438499455722,\n        \"impuestosAdicionalesOtraMoneda\": {\n          \"listaImpuestosAdicionalesOtraMoneda\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"montoTotalOtraMoneda\": 841.2867510008837\n      }\n    },\n    \"detallesItems\": {\n      \"item\": [\n        {\n          \"numeroLinea\": 1,\n          \"nombreItem\": \"Servicio de consultoría\",\n          \"descripcionItem\": \"string\",\n          \"precioUnitarioItem\": 1000,\n          \"cantidadItem\": 1,\n          \"unidadMedida\": 2091,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 1943.0288213505876,\n          \"unidadReferencia\": 9814,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 7441.937753583719,\n          \"recargoMonto\": 1241.4119136172285,\n          \"retencion\": {\n            \"indicadorAgenteRetencionoPercepcion\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoITBISRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoISRRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"gradosAlcohol\": 2780.1545572320842,\n          \"precioUnitarioReferencia\": 2925.9022115272837,\n          \"fechaElaboracion\": \"string\",\n          \"fechaVencimientoItem\": \"string\",\n          \"tablaSubcantidad\": {\n            \"subcantidadItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaCodigosItem\": {\n            \"codigosItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubDescuento\": {\n            \"subDescuento\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubRecargo\": {\n            \"subRecargos\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaImpuestoAdicional\": {\n            \"impuestosAdicionales\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"otraMonedaDetalle\": {\n            \"precioOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"descuentoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"recargoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoItemOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          }\n        },\n        {\n          \"numeroLinea\": 1,\n          \"nombreItem\": \"Servicio de consultoría\",\n          \"descripcionItem\": \"string\",\n          \"precioUnitarioItem\": 1000,\n          \"cantidadItem\": 1,\n          \"unidadMedida\": 1480,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7087.03832035032,\n          \"unidadReferencia\": 842,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 9203.56661814031,\n          \"recargoMonto\": 7706.942666688249,\n          \"retencion\": {\n            \"indicadorAgenteRetencionoPercepcion\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoITBISRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoISRRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"gradosAlcohol\": 3471.842182417564,\n          \"precioUnitarioReferencia\": 596.5818074062645,\n          \"fechaElaboracion\": \"string\",\n          \"fechaVencimientoItem\": \"string\",\n          \"tablaSubcantidad\": {\n            \"subcantidadItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaCodigosItem\": {\n            \"codigosItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubDescuento\": {\n            \"subDescuento\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubRecargo\": {\n            \"subRecargos\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaImpuestoAdicional\": {\n            \"impuestosAdicionales\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"otraMonedaDetalle\": {\n            \"precioOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"descuentoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"recargoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoItemOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          }\n        }\n      ]\n    },\n    \"subtotales\": {\n      \"listaSubtotales\": [\n        {\n          \"numeroSubTotal\": 5255,\n          \"descripcionSubtotal\": \"st\",\n          \"orden\": 3669,\n          \"subTotalMontoGravadoTotal\": 6237.106019165672,\n          \"subTotalMontoGravadoI1\": 5646.363209220201,\n          \"subTotalMontoGravadoI2\": 213.81957747386383,\n          \"subTotalMontoGravadoI3\": 2352.4808520214024,\n          \"subTotaITBIS\": 816.6847581225923,\n          \"subTotaITBIS1\": 5625.0735183578645,\n          \"subTotaITBIS2\": 9283.152360437793,\n          \"subTotaITBIS3\": 4556.035947525955,\n          \"subTotalImpuestoAdicional\": 1173.6113459021847,\n          \"subTotalExento\": 3156.1488078672874,\n          \"montoSubTotal\": 1832.5447616038182,\n          \"lineas\": 3839\n        },\n        {\n          \"numeroSubTotal\": 9376,\n          \"descripcionSubtotal\": \"s\",\n          \"orden\": 9151,\n          \"subTotalMontoGravadoTotal\": 2953.725821158223,\n          \"subTotalMontoGravadoI1\": 9099.448474377683,\n          \"subTotalMontoGravadoI2\": 4933.600518117557,\n          \"subTotalMontoGravadoI3\": 7728.449920801053,\n          \"subTotaITBIS\": 8272.947135338174,\n          \"subTotaITBIS1\": 1906.4342913638266,\n          \"subTotaITBIS2\": 4690.43710666301,\n          \"subTotaITBIS3\": 7257.256862482361,\n          \"subTotalImpuestoAdicional\": 5030.239775739478,\n          \"subTotalExento\": 5869.09690565797,\n          \"montoSubTotal\": 3457.4631562558734,\n          \"lineas\": 6639\n        }\n      ]\n    },\n    \"descuentosORecargos\": {\n      \"listaDescuentosORecargos\": [\n        {\n          \"numeroLinea\": 9554,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 989,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 8140.611373519075,\n          \"montoDescuentooRecargo\": 9716.425412156259,\n          \"montoDescuentooRecargoOtraMoneda\": 5735.360151284491,\n          \"indicadorFacturacionDescuentooRecargo\": 7019\n        },\n        {\n          \"numeroLinea\": 1354,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 3433,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 8194.941990381985,\n          \"montoDescuentooRecargo\": 8738.315665095686,\n          \"montoDescuentooRecargoOtraMoneda\": 1985.7990218488708,\n          \"indicadorFacturacionDescuentooRecargo\": 4737\n        }\n      ]\n    },\n    \"paginacion\": {\n      \"pagina\": [\n        {\n          \"paginaNo\": 4,\n          \"noLineaDesde\": 477,\n          \"noLineaHasta\": 560,\n          \"subtotalMontoGravadoPagina\": 4591.691389605103,\n          \"subtotalMontoGravado1Pagina\": 6336.07581393507,\n          \"subtotalMontoGravado2Pagina\": 8506.755917653149,\n          \"subtotalMontoGravado3Pagina\": 4524.522405360874,\n          \"subtotalExentoPagina\": 4759.51641687101,\n          \"subtotalItbisPagina\": 7571.6791681026525,\n          \"subtotalItbis1Pagina\": 2694.411570619758,\n          \"subtotalItbis2Pagina\": 5038.029400583808,\n          \"subtotalItbis3Pagina\": 1184.4508192479864,\n          \"subtotalImpuestoAdicionalPagina\": 338.5958724646387,\n          \"subtotalImpuestoAdicional\": {\n            \"subtotalImpuestoSelectivoConsumoEspecificoPagina\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"subtotalOtrosImpuesto\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"montoSubtotalPagina\": 5193.680091479526,\n          \"subtotalMontoNoFacturablePagina\": 237.13127757275964\n        },\n        {\n          \"paginaNo\": 818,\n          \"noLineaDesde\": 186,\n          \"noLineaHasta\": 690,\n          \"subtotalMontoGravadoPagina\": 1215.441866676742,\n          \"subtotalMontoGravado1Pagina\": 1318.3215067396015,\n          \"subtotalMontoGravado2Pagina\": 1440.0103136123055,\n          \"subtotalMontoGravado3Pagina\": 4777.614274192296,\n          \"subtotalExentoPagina\": 1929.4762186850155,\n          \"subtotalItbisPagina\": 2297.7646891745208,\n          \"subtotalItbis1Pagina\": 4049.856739382269,\n          \"subtotalItbis2Pagina\": 4679.914083260664,\n          \"subtotalItbis3Pagina\": 1247.3034652455306,\n          \"subtotalImpuestoAdicionalPagina\": 4689.219916382944,\n          \"subtotalImpuestoAdicional\": {\n            \"subtotalImpuestoSelectivoConsumoEspecificoPagina\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"subtotalOtrosImpuesto\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"montoSubtotalPagina\": 3007.0096238022215,\n          \"subtotalMontoNoFacturablePagina\": 8237.401633773059\n        }\n      ]\n    },\n    \"informacionReferencia\": {\n      \"ncfModificado\": \"E310000000001\",\n      \"rncOtroContribuyente\": \"string\",\n      \"fechaNCFModificado\": \"01-10-2026\",\n      \"codigoModificacion\": 3,\n      \"razonModificacion\": \"Devolución parcial\"\n    },\n    \"fechaHoraFirma\": \"string\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 1681,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "c805c91a-1b8f-4a57-8ed9-e49949898dc0",
              "name": "Token inválido, o el `RNCEmisor` del comprobante no es el de tu credencial.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "dgii-ecf",
                    "validate"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"ecf\": {\n    \"encabezado\": {\n      \"version\": \"1.0\",\n      \"idDoc\": {\n        \"tipoeCF\": 31,\n        \"eNCF\": \"E310000000001\",\n        \"fechaVencimientoSecuencia\": \"31-12-2027\",\n        \"indicadorEnvioDiferido\": 2097,\n        \"indicadorMontoGravado\": 0,\n        \"indicadorServicioTodoIncluido\": 7446,\n        \"tipoIngreso\": \"01\",\n        \"tipoPago\": 1,\n        \"fechaLimitePago\": \"string\",\n        \"terminoPago\": \"string\",\n        \"tablaFormasPago\": {\n          \"formasDePago\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"tipoCuentaPago\": \"string\",\n        \"numeroCuentaPago\": \"string\",\n        \"bancoPago\": \"string\",\n        \"fechaDesde\": \"string\",\n        \"fechaHasta\": \"string\",\n        \"totalPaginas\": 2332\n      },\n      \"emisor\": {\n        \"rncEmisor\": \"131000001\",\n        \"razonSocialEmisor\": \"Mi Empresa SRL\",\n        \"nombreComercial\": \"string\",\n        \"sucursal\": \"string\",\n        \"direccionEmisor\": \"Av. Winston Churchill 100, Santo Domingo\",\n        \"municipio\": \"string\",\n        \"provincia\": \"string\",\n        \"tablaTelefonoEmisor\": {\n          \"telefonosEmisor\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"correoEmisor\": \"string\",\n        \"webSite\": \"string\",\n        \"actividadEconomica\": \"string\",\n        \"codigoVendedor\": \"string\",\n        \"numeroFacturaInterna\": \"string\",\n        \"numeroPedidoInterno\": \"string\",\n        \"zonaVenta\": \"string\",\n        \"rutaVenta\": \"strin\",\n        \"informacionAdicionalEmisor\": \"string\",\n        \"fechaEmision\": \"05-10-2026\"\n      },\n      \"comprador\": {\n        \"rncComprador\": \"101010101\",\n        \"razonSocialComprador\": \"Cliente Ejemplo SRL\",\n        \"contactoComprador\": \"string\",\n        \"correoComprador\": \"string\",\n        \"direccionComprador\": \"string\",\n        \"municipioComprador\": \"string\",\n        \"provinciaComprador\": \"string\",\n        \"fechaEntrega\": \"string\",\n        \"contactoEntrega\": \"string\",\n        \"direccionEntrega\": \"string\",\n        \"telefonoAdicional\": \"string\",\n        \"fechaOrdenCompra\": \"string\",\n        \"numeroOrdenCompra\": \"string\",\n        \"codigoInternoComprador\": \"string\",\n        \"responsablePago\": \"st\",\n        \"informacionAdicionalComprador\": \"string\",\n        \"identificadorExtranjero\": \"string\"\n      },\n      \"informacionesAdicionales\": {\n        \"fechaEmbarque\": \"19-6-1930\",\n        \"numeroEmbarque\": \"str\",\n        \"numeroContenedor\": \"string\",\n        \"numeroReferencia\": \"string\",\n        \"nombrePuertoEmbarque\": \"string\",\n        \"pesoBruto\": 7313.5288184355595,\n        \"pesoNeto\": 5931.787931964808,\n        \"totalFob\": 9031.62991202775,\n        \"seguro\": 8240.303636180068,\n        \"flete\": 8718.090797274066,\n        \"unidadPesoBruto\": 4514,\n        \"unidadPesoNeto\": 46,\n        \"cantidadBulto\": 5500.641912357534,\n        \"unidadBulto\": 7919,\n        \"volumenBulto\": 667.4534127900888,\n        \"unidadVolumen\": 5384\n      },\n      \"transporte\": {\n        \"conductor\": \"string\",\n        \"documentoTransporte\": \"string\",\n        \"ficha\": \"string\",\n        \"placa\": \"str\",\n        \"rutaTransporte\": \"string\",\n        \"zonaTransporte\": \"string\",\n        \"numeroAlbaran\": \"string\"\n      },\n      \"totales\": {\n        \"montoGravadoTotal\": 1000,\n        \"montoGravadoI1\": 1000,\n        \"montoGravadoI2\": 3217.145749385375,\n        \"montoGravadoI3\": 6251.395667312305,\n        \"montoExento\": 2479.1972987934887,\n        \"itbiS1\": 18,\n        \"itbiS2\": 8364,\n        \"itbiS3\": 5955,\n        \"totalITBIS\": 180,\n        \"totalITBIS1\": 180,\n        \"totalITBIS2\": 1057.2936542391599,\n        \"totalITBIS3\": 8379.51114670099,\n        \"montoImpuestoAdicional\": 5708.365277893617,\n        \"impuestosAdicionales\": {\n          \"listaImpuestosAdicionales\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"montoTotal\": 1180,\n        \"montoNoFacturable\": 5694.883904330155,\n        \"montoPeriodo\": 9256.137942737036,\n        \"saldoAnterior\": 5245.521695076466,\n        \"montoAvancePago\": 6232.523491643957,\n        \"valorPagar\": 9757.407031893375,\n        \"totalITBISRetenido\": 2132.4803312141794,\n        \"totalISRRetencion\": 1518.77209127808,\n        \"totalITBISPercepcion\": 5301.525492797587,\n        \"totalISRPercepcion\": 9328.461878072221\n      },\n      \"otraMoneda\": {\n        \"tipoMoneda\": \"USD\",\n        \"tipoCambio\": 59.5,\n        \"montoGravadoTotalOtraMoneda\": 3194.831848975609,\n        \"montoGravado1OtraMoneda\": 9344.281953334303,\n        \"montoGravado2OtraMoneda\": 6985.077216622736,\n        \"montoGravado3OtraMoneda\": 9923.117711171875,\n        \"montoExentoOtraMoneda\": 4764.267418904371,\n        \"totalITBISOtraMoneda\": 4450.231649210845,\n        \"totalITBIS1OtraMoneda\": 3665.217333079065,\n        \"totalITBIS2OtraMoneda\": 6701.5961451245,\n        \"totalITBIS3OtraMoneda\": 6653.249623806009,\n        \"montoImpuestoAdicionalOtraMoneda\": 6063.438499455722,\n        \"impuestosAdicionalesOtraMoneda\": {\n          \"listaImpuestosAdicionalesOtraMoneda\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"montoTotalOtraMoneda\": 841.2867510008837\n      }\n    },\n    \"detallesItems\": {\n      \"item\": [\n        {\n          \"numeroLinea\": 1,\n          \"nombreItem\": \"Servicio de consultoría\",\n          \"descripcionItem\": \"string\",\n          \"precioUnitarioItem\": 1000,\n          \"cantidadItem\": 1,\n          \"unidadMedida\": 2091,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 1943.0288213505876,\n          \"unidadReferencia\": 9814,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 7441.937753583719,\n          \"recargoMonto\": 1241.4119136172285,\n          \"retencion\": {\n            \"indicadorAgenteRetencionoPercepcion\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoITBISRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoISRRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"gradosAlcohol\": 2780.1545572320842,\n          \"precioUnitarioReferencia\": 2925.9022115272837,\n          \"fechaElaboracion\": \"string\",\n          \"fechaVencimientoItem\": \"string\",\n          \"tablaSubcantidad\": {\n            \"subcantidadItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaCodigosItem\": {\n            \"codigosItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubDescuento\": {\n            \"subDescuento\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubRecargo\": {\n            \"subRecargos\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaImpuestoAdicional\": {\n            \"impuestosAdicionales\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"otraMonedaDetalle\": {\n            \"precioOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"descuentoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"recargoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoItemOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          }\n        },\n        {\n          \"numeroLinea\": 1,\n          \"nombreItem\": \"Servicio de consultoría\",\n          \"descripcionItem\": \"string\",\n          \"precioUnitarioItem\": 1000,\n          \"cantidadItem\": 1,\n          \"unidadMedida\": 1480,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7087.03832035032,\n          \"unidadReferencia\": 842,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 9203.56661814031,\n          \"recargoMonto\": 7706.942666688249,\n          \"retencion\": {\n            \"indicadorAgenteRetencionoPercepcion\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoITBISRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoISRRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"gradosAlcohol\": 3471.842182417564,\n          \"precioUnitarioReferencia\": 596.5818074062645,\n          \"fechaElaboracion\": \"string\",\n          \"fechaVencimientoItem\": \"string\",\n          \"tablaSubcantidad\": {\n            \"subcantidadItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaCodigosItem\": {\n            \"codigosItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubDescuento\": {\n            \"subDescuento\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubRecargo\": {\n            \"subRecargos\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaImpuestoAdicional\": {\n            \"impuestosAdicionales\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"otraMonedaDetalle\": {\n            \"precioOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"descuentoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"recargoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoItemOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          }\n        }\n      ]\n    },\n    \"subtotales\": {\n      \"listaSubtotales\": [\n        {\n          \"numeroSubTotal\": 5255,\n          \"descripcionSubtotal\": \"st\",\n          \"orden\": 3669,\n          \"subTotalMontoGravadoTotal\": 6237.106019165672,\n          \"subTotalMontoGravadoI1\": 5646.363209220201,\n          \"subTotalMontoGravadoI2\": 213.81957747386383,\n          \"subTotalMontoGravadoI3\": 2352.4808520214024,\n          \"subTotaITBIS\": 816.6847581225923,\n          \"subTotaITBIS1\": 5625.0735183578645,\n          \"subTotaITBIS2\": 9283.152360437793,\n          \"subTotaITBIS3\": 4556.035947525955,\n          \"subTotalImpuestoAdicional\": 1173.6113459021847,\n          \"subTotalExento\": 3156.1488078672874,\n          \"montoSubTotal\": 1832.5447616038182,\n          \"lineas\": 3839\n        },\n        {\n          \"numeroSubTotal\": 9376,\n          \"descripcionSubtotal\": \"s\",\n          \"orden\": 9151,\n          \"subTotalMontoGravadoTotal\": 2953.725821158223,\n          \"subTotalMontoGravadoI1\": 9099.448474377683,\n          \"subTotalMontoGravadoI2\": 4933.600518117557,\n          \"subTotalMontoGravadoI3\": 7728.449920801053,\n          \"subTotaITBIS\": 8272.947135338174,\n          \"subTotaITBIS1\": 1906.4342913638266,\n          \"subTotaITBIS2\": 4690.43710666301,\n          \"subTotaITBIS3\": 7257.256862482361,\n          \"subTotalImpuestoAdicional\": 5030.239775739478,\n          \"subTotalExento\": 5869.09690565797,\n          \"montoSubTotal\": 3457.4631562558734,\n          \"lineas\": 6639\n        }\n      ]\n    },\n    \"descuentosORecargos\": {\n      \"listaDescuentosORecargos\": [\n        {\n          \"numeroLinea\": 9554,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 989,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 8140.611373519075,\n          \"montoDescuentooRecargo\": 9716.425412156259,\n          \"montoDescuentooRecargoOtraMoneda\": 5735.360151284491,\n          \"indicadorFacturacionDescuentooRecargo\": 7019\n        },\n        {\n          \"numeroLinea\": 1354,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 3433,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 8194.941990381985,\n          \"montoDescuentooRecargo\": 8738.315665095686,\n          \"montoDescuentooRecargoOtraMoneda\": 1985.7990218488708,\n          \"indicadorFacturacionDescuentooRecargo\": 4737\n        }\n      ]\n    },\n    \"paginacion\": {\n      \"pagina\": [\n        {\n          \"paginaNo\": 4,\n          \"noLineaDesde\": 477,\n          \"noLineaHasta\": 560,\n          \"subtotalMontoGravadoPagina\": 4591.691389605103,\n          \"subtotalMontoGravado1Pagina\": 6336.07581393507,\n          \"subtotalMontoGravado2Pagina\": 8506.755917653149,\n          \"subtotalMontoGravado3Pagina\": 4524.522405360874,\n          \"subtotalExentoPagina\": 4759.51641687101,\n          \"subtotalItbisPagina\": 7571.6791681026525,\n          \"subtotalItbis1Pagina\": 2694.411570619758,\n          \"subtotalItbis2Pagina\": 5038.029400583808,\n          \"subtotalItbis3Pagina\": 1184.4508192479864,\n          \"subtotalImpuestoAdicionalPagina\": 338.5958724646387,\n          \"subtotalImpuestoAdicional\": {\n            \"subtotalImpuestoSelectivoConsumoEspecificoPagina\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"subtotalOtrosImpuesto\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"montoSubtotalPagina\": 5193.680091479526,\n          \"subtotalMontoNoFacturablePagina\": 237.13127757275964\n        },\n        {\n          \"paginaNo\": 818,\n          \"noLineaDesde\": 186,\n          \"noLineaHasta\": 690,\n          \"subtotalMontoGravadoPagina\": 1215.441866676742,\n          \"subtotalMontoGravado1Pagina\": 1318.3215067396015,\n          \"subtotalMontoGravado2Pagina\": 1440.0103136123055,\n          \"subtotalMontoGravado3Pagina\": 4777.614274192296,\n          \"subtotalExentoPagina\": 1929.4762186850155,\n          \"subtotalItbisPagina\": 2297.7646891745208,\n          \"subtotalItbis1Pagina\": 4049.856739382269,\n          \"subtotalItbis2Pagina\": 4679.914083260664,\n          \"subtotalItbis3Pagina\": 1247.3034652455306,\n          \"subtotalImpuestoAdicionalPagina\": 4689.219916382944,\n          \"subtotalImpuestoAdicional\": {\n            \"subtotalImpuestoSelectivoConsumoEspecificoPagina\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"subtotalOtrosImpuesto\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"montoSubtotalPagina\": 3007.0096238022215,\n          \"subtotalMontoNoFacturablePagina\": 8237.401633773059\n        }\n      ]\n    },\n    \"informacionReferencia\": {\n      \"ncfModificado\": \"E310000000001\",\n      \"rncOtroContribuyente\": \"string\",\n      \"fechaNCFModificado\": \"01-10-2026\",\n      \"codigoModificacion\": 3,\n      \"razonModificacion\": \"Devolución parcial\"\n    },\n    \"fechaHoraFirma\": \"string\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 1681,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "a4aa898d-faa4-4112-802a-d6c7b0112b00",
          "name": "Firma el e-CF con el certificado de tu empresa y lo envía a la DGII.",
          "request": {
            "name": "Firma el e-CF con el certificado de tu empresa y lo envía a la DGII.",
            "description": {
              "content": "**Idempotente por e-NCF**: reenviar el mismo e-NCF con el mismo contenido no lo vuelve a\nmandar a la DGII; responde 200 con lo ya registrado y `alreadyProcessed = true`. Es\nseguro reintentar tras un timeout de red.\n            \n**Estado final**: si `data.accepted` llega como null, consulta `document-status`\nmás tarde. Con `waitForFinal` la petición espera hasta ese tiempo el estado final.\n            \n**Errores** (en `data.code`):\n- `ECF_VALIDATION` (400): el comprobante no pasó las validaciones; el detalle va en `data.errores`.\n- `ECF_IN_PROGRESS` (409): ese e-NCF ya se está enviando.\n- `ECF_ALREADY_SENT` (409): ese e-NCF ya se envió con OTRO contenido. Usa otro e-NCF.\n- `ECF_DELIVERY_UNKNOWN` (409/502): no se sabe si la DGII lo recibió. Con 502 (sin trackId) puedes reintentar con el mismo e-NCF; con 409 consulta su estado.\n- 402: la licencia no permite emitir (sin plan, suspendida o cuota agotada).\n- `ENCF_NOT_ISSUED_BY_EMITEX` (400): tu empresa usa la secuencia de Emitex y ese e-NCF no se pidió con `ecf-sequences/next`.\n            \n**Envío diferido**: si tu empresa lo tiene activo, responde 202 con `data.deferred = true` y\n`data.status = Diferido`: el comprobante está firmado y es válido para entregarse (código de\nseguridad, fecha de firma y QR incluidos) y Emitex lo envía a la DGII en segundo plano. Consulta el\nresultado después con `document-status`.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "api",
                "v2",
                "dgii-ecf",
                "send"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "waitForFinal",
                  "value": "10s",
                  "description": "Tiempo máximo de espera del estado final: `10s`, `500ms`, `1m` o `00:00:10`. Opcional."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "disabled": true,
                "description": "Identificador propio de la petición (por ejemplo, el id de la factura en tu sistema). Se guarda con el envío para conciliar.",
                "key": "X-Correlation-Id",
                "value": "FAC-1001"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ECF\": {\n    \"Encabezado\": {\n      \"Version\": \"1.0\",\n      \"IdDoc\": {\n        \"TipoeCF\": 31,\n        \"eNCF\": \"E310000000001\",\n        \"FechaVencimientoSecuencia\": \"31-12-2027\",\n        \"IndicadorMontoGravado\": 0,\n        \"TipoIngreso\": \"01\",\n        \"TipoPago\": 1,\n        \"TablaFormasPago\": {\n          \"FormasDePago\": [\n            {\n              \"FormaPago\": 1,\n              \"MontoPago\": 1180\n            }\n          ]\n        }\n      },\n      \"Emisor\": {\n        \"RNCEmisor\": \"{{rnc}}\",\n        \"RazonSocialEmisor\": \"Mi Empresa SRL\",\n        \"DireccionEmisor\": \"Av. Winston Churchill 100, Santo Domingo\",\n        \"FechaEmision\": \"05-10-2026\",\n        \"NumeroFacturaInterna\": \"FAC-1001\"\n      },\n      \"Comprador\": {\n        \"RNCComprador\": \"101010101\",\n        \"RazonSocialComprador\": \"Cliente Ejemplo SRL\",\n        \"CorreoComprador\": \"facturas@cliente.com.do\"\n      },\n      \"Totales\": {\n        \"MontoGravadoTotal\": 1000,\n        \"MontoGravadoI1\": 1000,\n        \"ITBIS1\": 18,\n        \"TotalITBIS\": 180,\n        \"TotalITBIS1\": 180,\n        \"MontoTotal\": 1180\n      }\n    },\n    \"DetallesItems\": {\n      \"Item\": [\n        {\n          \"NumeroLinea\": 1,\n          \"IndicadorFacturacion\": 1,\n          \"NombreItem\": \"Servicio de consultoría\",\n          \"IndicadorBienoServicio\": 2,\n          \"CantidadItem\": 1,\n          \"PrecioUnitarioItem\": 1000,\n          \"MontoItem\": 1000\n        }\n      ]\n    }\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "df0d445e-64e2-459c-9cab-d04ab64fbe90",
              "name": "Enviado. Revisa `data.accepted` y `data.status`.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "dgii-ecf",
                    "send"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "waitForFinal",
                      "value": "string"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "disabled": false,
                    "description": "Identificador propio de la petición (por ejemplo, el id de la factura en tu sistema). Se guarda con el envío para conciliar.",
                    "key": "X-Correlation-Id",
                    "value": "string"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"ecf\": {\n    \"encabezado\": {\n      \"version\": \"1.0\",\n      \"idDoc\": {\n        \"tipoeCF\": 31,\n        \"eNCF\": \"E310000000001\",\n        \"fechaVencimientoSecuencia\": \"31-12-2027\",\n        \"indicadorEnvioDiferido\": 2097,\n        \"indicadorMontoGravado\": 0,\n        \"indicadorServicioTodoIncluido\": 7446,\n        \"tipoIngreso\": \"01\",\n        \"tipoPago\": 1,\n        \"fechaLimitePago\": \"string\",\n        \"terminoPago\": \"string\",\n        \"tablaFormasPago\": {\n          \"formasDePago\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"tipoCuentaPago\": \"string\",\n        \"numeroCuentaPago\": \"string\",\n        \"bancoPago\": \"string\",\n        \"fechaDesde\": \"string\",\n        \"fechaHasta\": \"string\",\n        \"totalPaginas\": 2332\n      },\n      \"emisor\": {\n        \"rncEmisor\": \"131000001\",\n        \"razonSocialEmisor\": \"Mi Empresa SRL\",\n        \"nombreComercial\": \"string\",\n        \"sucursal\": \"string\",\n        \"direccionEmisor\": \"Av. Winston Churchill 100, Santo Domingo\",\n        \"municipio\": \"string\",\n        \"provincia\": \"string\",\n        \"tablaTelefonoEmisor\": {\n          \"telefonosEmisor\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"correoEmisor\": \"string\",\n        \"webSite\": \"string\",\n        \"actividadEconomica\": \"string\",\n        \"codigoVendedor\": \"string\",\n        \"numeroFacturaInterna\": \"string\",\n        \"numeroPedidoInterno\": \"string\",\n        \"zonaVenta\": \"string\",\n        \"rutaVenta\": \"strin\",\n        \"informacionAdicionalEmisor\": \"string\",\n        \"fechaEmision\": \"05-10-2026\"\n      },\n      \"comprador\": {\n        \"rncComprador\": \"101010101\",\n        \"razonSocialComprador\": \"Cliente Ejemplo SRL\",\n        \"contactoComprador\": \"string\",\n        \"correoComprador\": \"string\",\n        \"direccionComprador\": \"string\",\n        \"municipioComprador\": \"string\",\n        \"provinciaComprador\": \"string\",\n        \"fechaEntrega\": \"string\",\n        \"contactoEntrega\": \"string\",\n        \"direccionEntrega\": \"string\",\n        \"telefonoAdicional\": \"string\",\n        \"fechaOrdenCompra\": \"string\",\n        \"numeroOrdenCompra\": \"string\",\n        \"codigoInternoComprador\": \"string\",\n        \"responsablePago\": \"st\",\n        \"informacionAdicionalComprador\": \"string\",\n        \"identificadorExtranjero\": \"string\"\n      },\n      \"informacionesAdicionales\": {\n        \"fechaEmbarque\": \"19-6-1930\",\n        \"numeroEmbarque\": \"str\",\n        \"numeroContenedor\": \"string\",\n        \"numeroReferencia\": \"string\",\n        \"nombrePuertoEmbarque\": \"string\",\n        \"pesoBruto\": 7313.5288184355595,\n        \"pesoNeto\": 5931.787931964808,\n        \"totalFob\": 9031.62991202775,\n        \"seguro\": 8240.303636180068,\n        \"flete\": 8718.090797274066,\n        \"unidadPesoBruto\": 4514,\n        \"unidadPesoNeto\": 46,\n        \"cantidadBulto\": 5500.641912357534,\n        \"unidadBulto\": 7919,\n        \"volumenBulto\": 667.4534127900888,\n        \"unidadVolumen\": 5384\n      },\n      \"transporte\": {\n        \"conductor\": \"string\",\n        \"documentoTransporte\": \"string\",\n        \"ficha\": \"string\",\n        \"placa\": \"str\",\n        \"rutaTransporte\": \"string\",\n        \"zonaTransporte\": \"string\",\n        \"numeroAlbaran\": \"string\"\n      },\n      \"totales\": {\n        \"montoGravadoTotal\": 1000,\n        \"montoGravadoI1\": 1000,\n        \"montoGravadoI2\": 3217.145749385375,\n        \"montoGravadoI3\": 6251.395667312305,\n        \"montoExento\": 2479.1972987934887,\n        \"itbiS1\": 18,\n        \"itbiS2\": 8364,\n        \"itbiS3\": 5955,\n        \"totalITBIS\": 180,\n        \"totalITBIS1\": 180,\n        \"totalITBIS2\": 1057.2936542391599,\n        \"totalITBIS3\": 8379.51114670099,\n        \"montoImpuestoAdicional\": 5708.365277893617,\n        \"impuestosAdicionales\": {\n          \"listaImpuestosAdicionales\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"montoTotal\": 1180,\n        \"montoNoFacturable\": 5694.883904330155,\n        \"montoPeriodo\": 9256.137942737036,\n        \"saldoAnterior\": 5245.521695076466,\n        \"montoAvancePago\": 6232.523491643957,\n        \"valorPagar\": 9757.407031893375,\n        \"totalITBISRetenido\": 2132.4803312141794,\n        \"totalISRRetencion\": 1518.77209127808,\n        \"totalITBISPercepcion\": 5301.525492797587,\n        \"totalISRPercepcion\": 9328.461878072221\n      },\n      \"otraMoneda\": {\n        \"tipoMoneda\": \"USD\",\n        \"tipoCambio\": 59.5,\n        \"montoGravadoTotalOtraMoneda\": 3194.831848975609,\n        \"montoGravado1OtraMoneda\": 9344.281953334303,\n        \"montoGravado2OtraMoneda\": 6985.077216622736,\n        \"montoGravado3OtraMoneda\": 9923.117711171875,\n        \"montoExentoOtraMoneda\": 4764.267418904371,\n        \"totalITBISOtraMoneda\": 4450.231649210845,\n        \"totalITBIS1OtraMoneda\": 3665.217333079065,\n        \"totalITBIS2OtraMoneda\": 6701.5961451245,\n        \"totalITBIS3OtraMoneda\": 6653.249623806009,\n        \"montoImpuestoAdicionalOtraMoneda\": 6063.438499455722,\n        \"impuestosAdicionalesOtraMoneda\": {\n          \"listaImpuestosAdicionalesOtraMoneda\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"montoTotalOtraMoneda\": 841.2867510008837\n      }\n    },\n    \"detallesItems\": {\n      \"item\": [\n        {\n          \"numeroLinea\": 1,\n          \"nombreItem\": \"Servicio de consultoría\",\n          \"descripcionItem\": \"string\",\n          \"precioUnitarioItem\": 1000,\n          \"cantidadItem\": 1,\n          \"unidadMedida\": 2091,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 1943.0288213505876,\n          \"unidadReferencia\": 9814,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 7441.937753583719,\n          \"recargoMonto\": 1241.4119136172285,\n          \"retencion\": {\n            \"indicadorAgenteRetencionoPercepcion\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoITBISRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoISRRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"gradosAlcohol\": 2780.1545572320842,\n          \"precioUnitarioReferencia\": 2925.9022115272837,\n          \"fechaElaboracion\": \"string\",\n          \"fechaVencimientoItem\": \"string\",\n          \"tablaSubcantidad\": {\n            \"subcantidadItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaCodigosItem\": {\n            \"codigosItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubDescuento\": {\n            \"subDescuento\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubRecargo\": {\n            \"subRecargos\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaImpuestoAdicional\": {\n            \"impuestosAdicionales\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"otraMonedaDetalle\": {\n            \"precioOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"descuentoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"recargoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoItemOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          }\n        },\n        {\n          \"numeroLinea\": 1,\n          \"nombreItem\": \"Servicio de consultoría\",\n          \"descripcionItem\": \"string\",\n          \"precioUnitarioItem\": 1000,\n          \"cantidadItem\": 1,\n          \"unidadMedida\": 1480,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7087.03832035032,\n          \"unidadReferencia\": 842,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 9203.56661814031,\n          \"recargoMonto\": 7706.942666688249,\n          \"retencion\": {\n            \"indicadorAgenteRetencionoPercepcion\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoITBISRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoISRRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"gradosAlcohol\": 3471.842182417564,\n          \"precioUnitarioReferencia\": 596.5818074062645,\n          \"fechaElaboracion\": \"string\",\n          \"fechaVencimientoItem\": \"string\",\n          \"tablaSubcantidad\": {\n            \"subcantidadItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaCodigosItem\": {\n            \"codigosItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubDescuento\": {\n            \"subDescuento\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubRecargo\": {\n            \"subRecargos\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaImpuestoAdicional\": {\n            \"impuestosAdicionales\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"otraMonedaDetalle\": {\n            \"precioOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"descuentoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"recargoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoItemOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          }\n        }\n      ]\n    },\n    \"subtotales\": {\n      \"listaSubtotales\": [\n        {\n          \"numeroSubTotal\": 5255,\n          \"descripcionSubtotal\": \"st\",\n          \"orden\": 3669,\n          \"subTotalMontoGravadoTotal\": 6237.106019165672,\n          \"subTotalMontoGravadoI1\": 5646.363209220201,\n          \"subTotalMontoGravadoI2\": 213.81957747386383,\n          \"subTotalMontoGravadoI3\": 2352.4808520214024,\n          \"subTotaITBIS\": 816.6847581225923,\n          \"subTotaITBIS1\": 5625.0735183578645,\n          \"subTotaITBIS2\": 9283.152360437793,\n          \"subTotaITBIS3\": 4556.035947525955,\n          \"subTotalImpuestoAdicional\": 1173.6113459021847,\n          \"subTotalExento\": 3156.1488078672874,\n          \"montoSubTotal\": 1832.5447616038182,\n          \"lineas\": 3839\n        },\n        {\n          \"numeroSubTotal\": 9376,\n          \"descripcionSubtotal\": \"s\",\n          \"orden\": 9151,\n          \"subTotalMontoGravadoTotal\": 2953.725821158223,\n          \"subTotalMontoGravadoI1\": 9099.448474377683,\n          \"subTotalMontoGravadoI2\": 4933.600518117557,\n          \"subTotalMontoGravadoI3\": 7728.449920801053,\n          \"subTotaITBIS\": 8272.947135338174,\n          \"subTotaITBIS1\": 1906.4342913638266,\n          \"subTotaITBIS2\": 4690.43710666301,\n          \"subTotaITBIS3\": 7257.256862482361,\n          \"subTotalImpuestoAdicional\": 5030.239775739478,\n          \"subTotalExento\": 5869.09690565797,\n          \"montoSubTotal\": 3457.4631562558734,\n          \"lineas\": 6639\n        }\n      ]\n    },\n    \"descuentosORecargos\": {\n      \"listaDescuentosORecargos\": [\n        {\n          \"numeroLinea\": 9554,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 989,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 8140.611373519075,\n          \"montoDescuentooRecargo\": 9716.425412156259,\n          \"montoDescuentooRecargoOtraMoneda\": 5735.360151284491,\n          \"indicadorFacturacionDescuentooRecargo\": 7019\n        },\n        {\n          \"numeroLinea\": 1354,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 3433,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 8194.941990381985,\n          \"montoDescuentooRecargo\": 8738.315665095686,\n          \"montoDescuentooRecargoOtraMoneda\": 1985.7990218488708,\n          \"indicadorFacturacionDescuentooRecargo\": 4737\n        }\n      ]\n    },\n    \"paginacion\": {\n      \"pagina\": [\n        {\n          \"paginaNo\": 4,\n          \"noLineaDesde\": 477,\n          \"noLineaHasta\": 560,\n          \"subtotalMontoGravadoPagina\": 4591.691389605103,\n          \"subtotalMontoGravado1Pagina\": 6336.07581393507,\n          \"subtotalMontoGravado2Pagina\": 8506.755917653149,\n          \"subtotalMontoGravado3Pagina\": 4524.522405360874,\n          \"subtotalExentoPagina\": 4759.51641687101,\n          \"subtotalItbisPagina\": 7571.6791681026525,\n          \"subtotalItbis1Pagina\": 2694.411570619758,\n          \"subtotalItbis2Pagina\": 5038.029400583808,\n          \"subtotalItbis3Pagina\": 1184.4508192479864,\n          \"subtotalImpuestoAdicionalPagina\": 338.5958724646387,\n          \"subtotalImpuestoAdicional\": {\n            \"subtotalImpuestoSelectivoConsumoEspecificoPagina\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"subtotalOtrosImpuesto\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"montoSubtotalPagina\": 5193.680091479526,\n          \"subtotalMontoNoFacturablePagina\": 237.13127757275964\n        },\n        {\n          \"paginaNo\": 818,\n          \"noLineaDesde\": 186,\n          \"noLineaHasta\": 690,\n          \"subtotalMontoGravadoPagina\": 1215.441866676742,\n          \"subtotalMontoGravado1Pagina\": 1318.3215067396015,\n          \"subtotalMontoGravado2Pagina\": 1440.0103136123055,\n          \"subtotalMontoGravado3Pagina\": 4777.614274192296,\n          \"subtotalExentoPagina\": 1929.4762186850155,\n          \"subtotalItbisPagina\": 2297.7646891745208,\n          \"subtotalItbis1Pagina\": 4049.856739382269,\n          \"subtotalItbis2Pagina\": 4679.914083260664,\n          \"subtotalItbis3Pagina\": 1247.3034652455306,\n          \"subtotalImpuestoAdicionalPagina\": 4689.219916382944,\n          \"subtotalImpuestoAdicional\": {\n            \"subtotalImpuestoSelectivoConsumoEspecificoPagina\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"subtotalOtrosImpuesto\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"montoSubtotalPagina\": 3007.0096238022215,\n          \"subtotalMontoNoFacturablePagina\": 8237.401633773059\n        }\n      ]\n    },\n    \"informacionReferencia\": {\n      \"ncfModificado\": \"E310000000001\",\n      \"rncOtroContribuyente\": \"string\",\n      \"fechaNCFModificado\": \"01-10-2026\",\n      \"codigoModificacion\": 3,\n      \"razonModificacion\": \"Devolución parcial\"\n    },\n    \"fechaHoraFirma\": \"string\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 2039,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": {\n    \"ecf\": \"E310000000001\",\n    \"message\": \"string\",\n    \"accepted\": 1,\n    \"status\": \"Aceptado\",\n    \"securityCode\": \"A1b2C3\",\n    \"signedAt\": \"05-10-2026 14:32:10\",\n    \"issuedAt\": \"05-10-2026 14:32:12\",\n    \"qrUrl\": \"https://ecf.dgii.gov.do/ecf/ConsultaTimbre?RncEmisor=101000001&ENCF=E310000000001\",\n    \"deferred\": false,\n    \"xmlBase64\": \"string\",\n    \"sequenceUsed\": true,\n    \"alreadyProcessed\": false,\n    \"submissionId\": 5510,\n    \"voucherId\": 7883,\n    \"trackId\": \"string\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "91a6f617-1f72-4d47-a5d6-2ef25a504e4c",
              "name": "Emitido con envío diferido: se enviará a la DGII en segundo plano.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "dgii-ecf",
                    "send"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "waitForFinal",
                      "value": "string"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "disabled": false,
                    "description": "Identificador propio de la petición (por ejemplo, el id de la factura en tu sistema). Se guarda con el envío para conciliar.",
                    "key": "X-Correlation-Id",
                    "value": "string"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"ecf\": {\n    \"encabezado\": {\n      \"version\": \"1.0\",\n      \"idDoc\": {\n        \"tipoeCF\": 31,\n        \"eNCF\": \"E310000000001\",\n        \"fechaVencimientoSecuencia\": \"31-12-2027\",\n        \"indicadorEnvioDiferido\": 2097,\n        \"indicadorMontoGravado\": 0,\n        \"indicadorServicioTodoIncluido\": 7446,\n        \"tipoIngreso\": \"01\",\n        \"tipoPago\": 1,\n        \"fechaLimitePago\": \"string\",\n        \"terminoPago\": \"string\",\n        \"tablaFormasPago\": {\n          \"formasDePago\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"tipoCuentaPago\": \"string\",\n        \"numeroCuentaPago\": \"string\",\n        \"bancoPago\": \"string\",\n        \"fechaDesde\": \"string\",\n        \"fechaHasta\": \"string\",\n        \"totalPaginas\": 2332\n      },\n      \"emisor\": {\n        \"rncEmisor\": \"131000001\",\n        \"razonSocialEmisor\": \"Mi Empresa SRL\",\n        \"nombreComercial\": \"string\",\n        \"sucursal\": \"string\",\n        \"direccionEmisor\": \"Av. Winston Churchill 100, Santo Domingo\",\n        \"municipio\": \"string\",\n        \"provincia\": \"string\",\n        \"tablaTelefonoEmisor\": {\n          \"telefonosEmisor\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"correoEmisor\": \"string\",\n        \"webSite\": \"string\",\n        \"actividadEconomica\": \"string\",\n        \"codigoVendedor\": \"string\",\n        \"numeroFacturaInterna\": \"string\",\n        \"numeroPedidoInterno\": \"string\",\n        \"zonaVenta\": \"string\",\n        \"rutaVenta\": \"strin\",\n        \"informacionAdicionalEmisor\": \"string\",\n        \"fechaEmision\": \"05-10-2026\"\n      },\n      \"comprador\": {\n        \"rncComprador\": \"101010101\",\n        \"razonSocialComprador\": \"Cliente Ejemplo SRL\",\n        \"contactoComprador\": \"string\",\n        \"correoComprador\": \"string\",\n        \"direccionComprador\": \"string\",\n        \"municipioComprador\": \"string\",\n        \"provinciaComprador\": \"string\",\n        \"fechaEntrega\": \"string\",\n        \"contactoEntrega\": \"string\",\n        \"direccionEntrega\": \"string\",\n        \"telefonoAdicional\": \"string\",\n        \"fechaOrdenCompra\": \"string\",\n        \"numeroOrdenCompra\": \"string\",\n        \"codigoInternoComprador\": \"string\",\n        \"responsablePago\": \"st\",\n        \"informacionAdicionalComprador\": \"string\",\n        \"identificadorExtranjero\": \"string\"\n      },\n      \"informacionesAdicionales\": {\n        \"fechaEmbarque\": \"19-6-1930\",\n        \"numeroEmbarque\": \"str\",\n        \"numeroContenedor\": \"string\",\n        \"numeroReferencia\": \"string\",\n        \"nombrePuertoEmbarque\": \"string\",\n        \"pesoBruto\": 7313.5288184355595,\n        \"pesoNeto\": 5931.787931964808,\n        \"totalFob\": 9031.62991202775,\n        \"seguro\": 8240.303636180068,\n        \"flete\": 8718.090797274066,\n        \"unidadPesoBruto\": 4514,\n        \"unidadPesoNeto\": 46,\n        \"cantidadBulto\": 5500.641912357534,\n        \"unidadBulto\": 7919,\n        \"volumenBulto\": 667.4534127900888,\n        \"unidadVolumen\": 5384\n      },\n      \"transporte\": {\n        \"conductor\": \"string\",\n        \"documentoTransporte\": \"string\",\n        \"ficha\": \"string\",\n        \"placa\": \"str\",\n        \"rutaTransporte\": \"string\",\n        \"zonaTransporte\": \"string\",\n        \"numeroAlbaran\": \"string\"\n      },\n      \"totales\": {\n        \"montoGravadoTotal\": 1000,\n        \"montoGravadoI1\": 1000,\n        \"montoGravadoI2\": 3217.145749385375,\n        \"montoGravadoI3\": 6251.395667312305,\n        \"montoExento\": 2479.1972987934887,\n        \"itbiS1\": 18,\n        \"itbiS2\": 8364,\n        \"itbiS3\": 5955,\n        \"totalITBIS\": 180,\n        \"totalITBIS1\": 180,\n        \"totalITBIS2\": 1057.2936542391599,\n        \"totalITBIS3\": 8379.51114670099,\n        \"montoImpuestoAdicional\": 5708.365277893617,\n        \"impuestosAdicionales\": {\n          \"listaImpuestosAdicionales\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"montoTotal\": 1180,\n        \"montoNoFacturable\": 5694.883904330155,\n        \"montoPeriodo\": 9256.137942737036,\n        \"saldoAnterior\": 5245.521695076466,\n        \"montoAvancePago\": 6232.523491643957,\n        \"valorPagar\": 9757.407031893375,\n        \"totalITBISRetenido\": 2132.4803312141794,\n        \"totalISRRetencion\": 1518.77209127808,\n        \"totalITBISPercepcion\": 5301.525492797587,\n        \"totalISRPercepcion\": 9328.461878072221\n      },\n      \"otraMoneda\": {\n        \"tipoMoneda\": \"USD\",\n        \"tipoCambio\": 59.5,\n        \"montoGravadoTotalOtraMoneda\": 3194.831848975609,\n        \"montoGravado1OtraMoneda\": 9344.281953334303,\n        \"montoGravado2OtraMoneda\": 6985.077216622736,\n        \"montoGravado3OtraMoneda\": 9923.117711171875,\n        \"montoExentoOtraMoneda\": 4764.267418904371,\n        \"totalITBISOtraMoneda\": 4450.231649210845,\n        \"totalITBIS1OtraMoneda\": 3665.217333079065,\n        \"totalITBIS2OtraMoneda\": 6701.5961451245,\n        \"totalITBIS3OtraMoneda\": 6653.249623806009,\n        \"montoImpuestoAdicionalOtraMoneda\": 6063.438499455722,\n        \"impuestosAdicionalesOtraMoneda\": {\n          \"listaImpuestosAdicionalesOtraMoneda\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"montoTotalOtraMoneda\": 841.2867510008837\n      }\n    },\n    \"detallesItems\": {\n      \"item\": [\n        {\n          \"numeroLinea\": 1,\n          \"nombreItem\": \"Servicio de consultoría\",\n          \"descripcionItem\": \"string\",\n          \"precioUnitarioItem\": 1000,\n          \"cantidadItem\": 1,\n          \"unidadMedida\": 2091,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 1943.0288213505876,\n          \"unidadReferencia\": 9814,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 7441.937753583719,\n          \"recargoMonto\": 1241.4119136172285,\n          \"retencion\": {\n            \"indicadorAgenteRetencionoPercepcion\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoITBISRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoISRRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"gradosAlcohol\": 2780.1545572320842,\n          \"precioUnitarioReferencia\": 2925.9022115272837,\n          \"fechaElaboracion\": \"string\",\n          \"fechaVencimientoItem\": \"string\",\n          \"tablaSubcantidad\": {\n            \"subcantidadItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaCodigosItem\": {\n            \"codigosItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubDescuento\": {\n            \"subDescuento\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubRecargo\": {\n            \"subRecargos\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaImpuestoAdicional\": {\n            \"impuestosAdicionales\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"otraMonedaDetalle\": {\n            \"precioOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"descuentoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"recargoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoItemOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          }\n        },\n        {\n          \"numeroLinea\": 1,\n          \"nombreItem\": \"Servicio de consultoría\",\n          \"descripcionItem\": \"string\",\n          \"precioUnitarioItem\": 1000,\n          \"cantidadItem\": 1,\n          \"unidadMedida\": 1480,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7087.03832035032,\n          \"unidadReferencia\": 842,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 9203.56661814031,\n          \"recargoMonto\": 7706.942666688249,\n          \"retencion\": {\n            \"indicadorAgenteRetencionoPercepcion\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoITBISRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoISRRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"gradosAlcohol\": 3471.842182417564,\n          \"precioUnitarioReferencia\": 596.5818074062645,\n          \"fechaElaboracion\": \"string\",\n          \"fechaVencimientoItem\": \"string\",\n          \"tablaSubcantidad\": {\n            \"subcantidadItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaCodigosItem\": {\n            \"codigosItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubDescuento\": {\n            \"subDescuento\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubRecargo\": {\n            \"subRecargos\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaImpuestoAdicional\": {\n            \"impuestosAdicionales\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"otraMonedaDetalle\": {\n            \"precioOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"descuentoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"recargoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoItemOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          }\n        }\n      ]\n    },\n    \"subtotales\": {\n      \"listaSubtotales\": [\n        {\n          \"numeroSubTotal\": 5255,\n          \"descripcionSubtotal\": \"st\",\n          \"orden\": 3669,\n          \"subTotalMontoGravadoTotal\": 6237.106019165672,\n          \"subTotalMontoGravadoI1\": 5646.363209220201,\n          \"subTotalMontoGravadoI2\": 213.81957747386383,\n          \"subTotalMontoGravadoI3\": 2352.4808520214024,\n          \"subTotaITBIS\": 816.6847581225923,\n          \"subTotaITBIS1\": 5625.0735183578645,\n          \"subTotaITBIS2\": 9283.152360437793,\n          \"subTotaITBIS3\": 4556.035947525955,\n          \"subTotalImpuestoAdicional\": 1173.6113459021847,\n          \"subTotalExento\": 3156.1488078672874,\n          \"montoSubTotal\": 1832.5447616038182,\n          \"lineas\": 3839\n        },\n        {\n          \"numeroSubTotal\": 9376,\n          \"descripcionSubtotal\": \"s\",\n          \"orden\": 9151,\n          \"subTotalMontoGravadoTotal\": 2953.725821158223,\n          \"subTotalMontoGravadoI1\": 9099.448474377683,\n          \"subTotalMontoGravadoI2\": 4933.600518117557,\n          \"subTotalMontoGravadoI3\": 7728.449920801053,\n          \"subTotaITBIS\": 8272.947135338174,\n          \"subTotaITBIS1\": 1906.4342913638266,\n          \"subTotaITBIS2\": 4690.43710666301,\n          \"subTotaITBIS3\": 7257.256862482361,\n          \"subTotalImpuestoAdicional\": 5030.239775739478,\n          \"subTotalExento\": 5869.09690565797,\n          \"montoSubTotal\": 3457.4631562558734,\n          \"lineas\": 6639\n        }\n      ]\n    },\n    \"descuentosORecargos\": {\n      \"listaDescuentosORecargos\": [\n        {\n          \"numeroLinea\": 9554,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 989,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 8140.611373519075,\n          \"montoDescuentooRecargo\": 9716.425412156259,\n          \"montoDescuentooRecargoOtraMoneda\": 5735.360151284491,\n          \"indicadorFacturacionDescuentooRecargo\": 7019\n        },\n        {\n          \"numeroLinea\": 1354,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 3433,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 8194.941990381985,\n          \"montoDescuentooRecargo\": 8738.315665095686,\n          \"montoDescuentooRecargoOtraMoneda\": 1985.7990218488708,\n          \"indicadorFacturacionDescuentooRecargo\": 4737\n        }\n      ]\n    },\n    \"paginacion\": {\n      \"pagina\": [\n        {\n          \"paginaNo\": 4,\n          \"noLineaDesde\": 477,\n          \"noLineaHasta\": 560,\n          \"subtotalMontoGravadoPagina\": 4591.691389605103,\n          \"subtotalMontoGravado1Pagina\": 6336.07581393507,\n          \"subtotalMontoGravado2Pagina\": 8506.755917653149,\n          \"subtotalMontoGravado3Pagina\": 4524.522405360874,\n          \"subtotalExentoPagina\": 4759.51641687101,\n          \"subtotalItbisPagina\": 7571.6791681026525,\n          \"subtotalItbis1Pagina\": 2694.411570619758,\n          \"subtotalItbis2Pagina\": 5038.029400583808,\n          \"subtotalItbis3Pagina\": 1184.4508192479864,\n          \"subtotalImpuestoAdicionalPagina\": 338.5958724646387,\n          \"subtotalImpuestoAdicional\": {\n            \"subtotalImpuestoSelectivoConsumoEspecificoPagina\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"subtotalOtrosImpuesto\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"montoSubtotalPagina\": 5193.680091479526,\n          \"subtotalMontoNoFacturablePagina\": 237.13127757275964\n        },\n        {\n          \"paginaNo\": 818,\n          \"noLineaDesde\": 186,\n          \"noLineaHasta\": 690,\n          \"subtotalMontoGravadoPagina\": 1215.441866676742,\n          \"subtotalMontoGravado1Pagina\": 1318.3215067396015,\n          \"subtotalMontoGravado2Pagina\": 1440.0103136123055,\n          \"subtotalMontoGravado3Pagina\": 4777.614274192296,\n          \"subtotalExentoPagina\": 1929.4762186850155,\n          \"subtotalItbisPagina\": 2297.7646891745208,\n          \"subtotalItbis1Pagina\": 4049.856739382269,\n          \"subtotalItbis2Pagina\": 4679.914083260664,\n          \"subtotalItbis3Pagina\": 1247.3034652455306,\n          \"subtotalImpuestoAdicionalPagina\": 4689.219916382944,\n          \"subtotalImpuestoAdicional\": {\n            \"subtotalImpuestoSelectivoConsumoEspecificoPagina\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"subtotalOtrosImpuesto\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"montoSubtotalPagina\": 3007.0096238022215,\n          \"subtotalMontoNoFacturablePagina\": 8237.401633773059\n        }\n      ]\n    },\n    \"informacionReferencia\": {\n      \"ncfModificado\": \"E310000000001\",\n      \"rncOtroContribuyente\": \"string\",\n      \"fechaNCFModificado\": \"01-10-2026\",\n      \"codigoModificacion\": 3,\n      \"razonModificacion\": \"Devolución parcial\"\n    },\n    \"fechaHoraFirma\": \"string\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 2039,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": {\n    \"ecf\": \"E310000000001\",\n    \"message\": \"string\",\n    \"accepted\": 1,\n    \"status\": \"Aceptado\",\n    \"securityCode\": \"A1b2C3\",\n    \"signedAt\": \"05-10-2026 14:32:10\",\n    \"issuedAt\": \"05-10-2026 14:32:12\",\n    \"qrUrl\": \"https://ecf.dgii.gov.do/ecf/ConsultaTimbre?RncEmisor=101000001&ENCF=E310000000001\",\n    \"deferred\": false,\n    \"xmlBase64\": \"string\",\n    \"sequenceUsed\": true,\n    \"alreadyProcessed\": false,\n    \"submissionId\": 5510,\n    \"voucherId\": 7883,\n    \"trackId\": \"string\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "357a497c-ee7f-4f6b-a8c5-bab0ce0628a1",
              "name": "Comprobante inválido o rechazado antes de enviarse.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "dgii-ecf",
                    "send"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "waitForFinal",
                      "value": "string"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "disabled": false,
                    "description": "Identificador propio de la petición (por ejemplo, el id de la factura en tu sistema). Se guarda con el envío para conciliar.",
                    "key": "X-Correlation-Id",
                    "value": "string"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"ecf\": {\n    \"encabezado\": {\n      \"version\": \"1.0\",\n      \"idDoc\": {\n        \"tipoeCF\": 31,\n        \"eNCF\": \"E310000000001\",\n        \"fechaVencimientoSecuencia\": \"31-12-2027\",\n        \"indicadorEnvioDiferido\": 2097,\n        \"indicadorMontoGravado\": 0,\n        \"indicadorServicioTodoIncluido\": 7446,\n        \"tipoIngreso\": \"01\",\n        \"tipoPago\": 1,\n        \"fechaLimitePago\": \"string\",\n        \"terminoPago\": \"string\",\n        \"tablaFormasPago\": {\n          \"formasDePago\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"tipoCuentaPago\": \"string\",\n        \"numeroCuentaPago\": \"string\",\n        \"bancoPago\": \"string\",\n        \"fechaDesde\": \"string\",\n        \"fechaHasta\": \"string\",\n        \"totalPaginas\": 2332\n      },\n      \"emisor\": {\n        \"rncEmisor\": \"131000001\",\n        \"razonSocialEmisor\": \"Mi Empresa SRL\",\n        \"nombreComercial\": \"string\",\n        \"sucursal\": \"string\",\n        \"direccionEmisor\": \"Av. Winston Churchill 100, Santo Domingo\",\n        \"municipio\": \"string\",\n        \"provincia\": \"string\",\n        \"tablaTelefonoEmisor\": {\n          \"telefonosEmisor\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"correoEmisor\": \"string\",\n        \"webSite\": \"string\",\n        \"actividadEconomica\": \"string\",\n        \"codigoVendedor\": \"string\",\n        \"numeroFacturaInterna\": \"string\",\n        \"numeroPedidoInterno\": \"string\",\n        \"zonaVenta\": \"string\",\n        \"rutaVenta\": \"strin\",\n        \"informacionAdicionalEmisor\": \"string\",\n        \"fechaEmision\": \"05-10-2026\"\n      },\n      \"comprador\": {\n        \"rncComprador\": \"101010101\",\n        \"razonSocialComprador\": \"Cliente Ejemplo SRL\",\n        \"contactoComprador\": \"string\",\n        \"correoComprador\": \"string\",\n        \"direccionComprador\": \"string\",\n        \"municipioComprador\": \"string\",\n        \"provinciaComprador\": \"string\",\n        \"fechaEntrega\": \"string\",\n        \"contactoEntrega\": \"string\",\n        \"direccionEntrega\": \"string\",\n        \"telefonoAdicional\": \"string\",\n        \"fechaOrdenCompra\": \"string\",\n        \"numeroOrdenCompra\": \"string\",\n        \"codigoInternoComprador\": \"string\",\n        \"responsablePago\": \"st\",\n        \"informacionAdicionalComprador\": \"string\",\n        \"identificadorExtranjero\": \"string\"\n      },\n      \"informacionesAdicionales\": {\n        \"fechaEmbarque\": \"19-6-1930\",\n        \"numeroEmbarque\": \"str\",\n        \"numeroContenedor\": \"string\",\n        \"numeroReferencia\": \"string\",\n        \"nombrePuertoEmbarque\": \"string\",\n        \"pesoBruto\": 7313.5288184355595,\n        \"pesoNeto\": 5931.787931964808,\n        \"totalFob\": 9031.62991202775,\n        \"seguro\": 8240.303636180068,\n        \"flete\": 8718.090797274066,\n        \"unidadPesoBruto\": 4514,\n        \"unidadPesoNeto\": 46,\n        \"cantidadBulto\": 5500.641912357534,\n        \"unidadBulto\": 7919,\n        \"volumenBulto\": 667.4534127900888,\n        \"unidadVolumen\": 5384\n      },\n      \"transporte\": {\n        \"conductor\": \"string\",\n        \"documentoTransporte\": \"string\",\n        \"ficha\": \"string\",\n        \"placa\": \"str\",\n        \"rutaTransporte\": \"string\",\n        \"zonaTransporte\": \"string\",\n        \"numeroAlbaran\": \"string\"\n      },\n      \"totales\": {\n        \"montoGravadoTotal\": 1000,\n        \"montoGravadoI1\": 1000,\n        \"montoGravadoI2\": 3217.145749385375,\n        \"montoGravadoI3\": 6251.395667312305,\n        \"montoExento\": 2479.1972987934887,\n        \"itbiS1\": 18,\n        \"itbiS2\": 8364,\n        \"itbiS3\": 5955,\n        \"totalITBIS\": 180,\n        \"totalITBIS1\": 180,\n        \"totalITBIS2\": 1057.2936542391599,\n        \"totalITBIS3\": 8379.51114670099,\n        \"montoImpuestoAdicional\": 5708.365277893617,\n        \"impuestosAdicionales\": {\n          \"listaImpuestosAdicionales\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"montoTotal\": 1180,\n        \"montoNoFacturable\": 5694.883904330155,\n        \"montoPeriodo\": 9256.137942737036,\n        \"saldoAnterior\": 5245.521695076466,\n        \"montoAvancePago\": 6232.523491643957,\n        \"valorPagar\": 9757.407031893375,\n        \"totalITBISRetenido\": 2132.4803312141794,\n        \"totalISRRetencion\": 1518.77209127808,\n        \"totalITBISPercepcion\": 5301.525492797587,\n        \"totalISRPercepcion\": 9328.461878072221\n      },\n      \"otraMoneda\": {\n        \"tipoMoneda\": \"USD\",\n        \"tipoCambio\": 59.5,\n        \"montoGravadoTotalOtraMoneda\": 3194.831848975609,\n        \"montoGravado1OtraMoneda\": 9344.281953334303,\n        \"montoGravado2OtraMoneda\": 6985.077216622736,\n        \"montoGravado3OtraMoneda\": 9923.117711171875,\n        \"montoExentoOtraMoneda\": 4764.267418904371,\n        \"totalITBISOtraMoneda\": 4450.231649210845,\n        \"totalITBIS1OtraMoneda\": 3665.217333079065,\n        \"totalITBIS2OtraMoneda\": 6701.5961451245,\n        \"totalITBIS3OtraMoneda\": 6653.249623806009,\n        \"montoImpuestoAdicionalOtraMoneda\": 6063.438499455722,\n        \"impuestosAdicionalesOtraMoneda\": {\n          \"listaImpuestosAdicionalesOtraMoneda\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"montoTotalOtraMoneda\": 841.2867510008837\n      }\n    },\n    \"detallesItems\": {\n      \"item\": [\n        {\n          \"numeroLinea\": 1,\n          \"nombreItem\": \"Servicio de consultoría\",\n          \"descripcionItem\": \"string\",\n          \"precioUnitarioItem\": 1000,\n          \"cantidadItem\": 1,\n          \"unidadMedida\": 2091,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 1943.0288213505876,\n          \"unidadReferencia\": 9814,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 7441.937753583719,\n          \"recargoMonto\": 1241.4119136172285,\n          \"retencion\": {\n            \"indicadorAgenteRetencionoPercepcion\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoITBISRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoISRRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"gradosAlcohol\": 2780.1545572320842,\n          \"precioUnitarioReferencia\": 2925.9022115272837,\n          \"fechaElaboracion\": \"string\",\n          \"fechaVencimientoItem\": \"string\",\n          \"tablaSubcantidad\": {\n            \"subcantidadItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaCodigosItem\": {\n            \"codigosItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubDescuento\": {\n            \"subDescuento\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubRecargo\": {\n            \"subRecargos\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaImpuestoAdicional\": {\n            \"impuestosAdicionales\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"otraMonedaDetalle\": {\n            \"precioOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"descuentoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"recargoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoItemOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          }\n        },\n        {\n          \"numeroLinea\": 1,\n          \"nombreItem\": \"Servicio de consultoría\",\n          \"descripcionItem\": \"string\",\n          \"precioUnitarioItem\": 1000,\n          \"cantidadItem\": 1,\n          \"unidadMedida\": 1480,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7087.03832035032,\n          \"unidadReferencia\": 842,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 9203.56661814031,\n          \"recargoMonto\": 7706.942666688249,\n          \"retencion\": {\n            \"indicadorAgenteRetencionoPercepcion\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoITBISRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoISRRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"gradosAlcohol\": 3471.842182417564,\n          \"precioUnitarioReferencia\": 596.5818074062645,\n          \"fechaElaboracion\": \"string\",\n          \"fechaVencimientoItem\": \"string\",\n          \"tablaSubcantidad\": {\n            \"subcantidadItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaCodigosItem\": {\n            \"codigosItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubDescuento\": {\n            \"subDescuento\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubRecargo\": {\n            \"subRecargos\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaImpuestoAdicional\": {\n            \"impuestosAdicionales\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"otraMonedaDetalle\": {\n            \"precioOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"descuentoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"recargoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoItemOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          }\n        }\n      ]\n    },\n    \"subtotales\": {\n      \"listaSubtotales\": [\n        {\n          \"numeroSubTotal\": 5255,\n          \"descripcionSubtotal\": \"st\",\n          \"orden\": 3669,\n          \"subTotalMontoGravadoTotal\": 6237.106019165672,\n          \"subTotalMontoGravadoI1\": 5646.363209220201,\n          \"subTotalMontoGravadoI2\": 213.81957747386383,\n          \"subTotalMontoGravadoI3\": 2352.4808520214024,\n          \"subTotaITBIS\": 816.6847581225923,\n          \"subTotaITBIS1\": 5625.0735183578645,\n          \"subTotaITBIS2\": 9283.152360437793,\n          \"subTotaITBIS3\": 4556.035947525955,\n          \"subTotalImpuestoAdicional\": 1173.6113459021847,\n          \"subTotalExento\": 3156.1488078672874,\n          \"montoSubTotal\": 1832.5447616038182,\n          \"lineas\": 3839\n        },\n        {\n          \"numeroSubTotal\": 9376,\n          \"descripcionSubtotal\": \"s\",\n          \"orden\": 9151,\n          \"subTotalMontoGravadoTotal\": 2953.725821158223,\n          \"subTotalMontoGravadoI1\": 9099.448474377683,\n          \"subTotalMontoGravadoI2\": 4933.600518117557,\n          \"subTotalMontoGravadoI3\": 7728.449920801053,\n          \"subTotaITBIS\": 8272.947135338174,\n          \"subTotaITBIS1\": 1906.4342913638266,\n          \"subTotaITBIS2\": 4690.43710666301,\n          \"subTotaITBIS3\": 7257.256862482361,\n          \"subTotalImpuestoAdicional\": 5030.239775739478,\n          \"subTotalExento\": 5869.09690565797,\n          \"montoSubTotal\": 3457.4631562558734,\n          \"lineas\": 6639\n        }\n      ]\n    },\n    \"descuentosORecargos\": {\n      \"listaDescuentosORecargos\": [\n        {\n          \"numeroLinea\": 9554,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 989,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 8140.611373519075,\n          \"montoDescuentooRecargo\": 9716.425412156259,\n          \"montoDescuentooRecargoOtraMoneda\": 5735.360151284491,\n          \"indicadorFacturacionDescuentooRecargo\": 7019\n        },\n        {\n          \"numeroLinea\": 1354,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 3433,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 8194.941990381985,\n          \"montoDescuentooRecargo\": 8738.315665095686,\n          \"montoDescuentooRecargoOtraMoneda\": 1985.7990218488708,\n          \"indicadorFacturacionDescuentooRecargo\": 4737\n        }\n      ]\n    },\n    \"paginacion\": {\n      \"pagina\": [\n        {\n          \"paginaNo\": 4,\n          \"noLineaDesde\": 477,\n          \"noLineaHasta\": 560,\n          \"subtotalMontoGravadoPagina\": 4591.691389605103,\n          \"subtotalMontoGravado1Pagina\": 6336.07581393507,\n          \"subtotalMontoGravado2Pagina\": 8506.755917653149,\n          \"subtotalMontoGravado3Pagina\": 4524.522405360874,\n          \"subtotalExentoPagina\": 4759.51641687101,\n          \"subtotalItbisPagina\": 7571.6791681026525,\n          \"subtotalItbis1Pagina\": 2694.411570619758,\n          \"subtotalItbis2Pagina\": 5038.029400583808,\n          \"subtotalItbis3Pagina\": 1184.4508192479864,\n          \"subtotalImpuestoAdicionalPagina\": 338.5958724646387,\n          \"subtotalImpuestoAdicional\": {\n            \"subtotalImpuestoSelectivoConsumoEspecificoPagina\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"subtotalOtrosImpuesto\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"montoSubtotalPagina\": 5193.680091479526,\n          \"subtotalMontoNoFacturablePagina\": 237.13127757275964\n        },\n        {\n          \"paginaNo\": 818,\n          \"noLineaDesde\": 186,\n          \"noLineaHasta\": 690,\n          \"subtotalMontoGravadoPagina\": 1215.441866676742,\n          \"subtotalMontoGravado1Pagina\": 1318.3215067396015,\n          \"subtotalMontoGravado2Pagina\": 1440.0103136123055,\n          \"subtotalMontoGravado3Pagina\": 4777.614274192296,\n          \"subtotalExentoPagina\": 1929.4762186850155,\n          \"subtotalItbisPagina\": 2297.7646891745208,\n          \"subtotalItbis1Pagina\": 4049.856739382269,\n          \"subtotalItbis2Pagina\": 4679.914083260664,\n          \"subtotalItbis3Pagina\": 1247.3034652455306,\n          \"subtotalImpuestoAdicionalPagina\": 4689.219916382944,\n          \"subtotalImpuestoAdicional\": {\n            \"subtotalImpuestoSelectivoConsumoEspecificoPagina\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"subtotalOtrosImpuesto\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"montoSubtotalPagina\": 3007.0096238022215,\n          \"subtotalMontoNoFacturablePagina\": 8237.401633773059\n        }\n      ]\n    },\n    \"informacionReferencia\": {\n      \"ncfModificado\": \"E310000000001\",\n      \"rncOtroContribuyente\": \"string\",\n      \"fechaNCFModificado\": \"01-10-2026\",\n      \"codigoModificacion\": 3,\n      \"razonModificacion\": \"Devolución parcial\"\n    },\n    \"fechaHoraFirma\": \"string\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 8115,\n  \"mensaje\": \"string\",\n  \"procesado\": false,\n  \"data\": {\n    \"code\": \"ECF_VALIDATION\",\n    \"traceId\": \"string\",\n    \"envio\": {\n      \"ecf\": \"E310000000001\",\n      \"message\": \"string\",\n      \"accepted\": 1,\n      \"status\": \"Aceptado\",\n      \"securityCode\": \"A1b2C3\",\n      \"signedAt\": \"05-10-2026 14:32:10\",\n      \"issuedAt\": \"05-10-2026 14:32:12\",\n      \"qrUrl\": \"https://ecf.dgii.gov.do/ecf/ConsultaTimbre?RncEmisor=101000001&ENCF=E310000000001\",\n      \"deferred\": false,\n      \"xmlBase64\": \"string\",\n      \"sequenceUsed\": true,\n      \"alreadyProcessed\": true,\n      \"submissionId\": 7282,\n      \"voucherId\": 4855,\n      \"trackId\": \"string\"\n    },\n    \"errores\": [\n      {\n        \"campo\": \"string\",\n        \"codigo\": \"string\",\n        \"mensaje\": \"string\"\n      },\n      {\n        \"campo\": \"string\",\n        \"codigo\": \"string\",\n        \"mensaje\": \"string\"\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "cbe16bc4-7c93-42c2-988a-34f1492cbc2d",
              "name": "Token inválido, o el `RNCEmisor` del comprobante no es el de tu credencial.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "dgii-ecf",
                    "send"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "waitForFinal",
                      "value": "string"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "disabled": false,
                    "description": "Identificador propio de la petición (por ejemplo, el id de la factura en tu sistema). Se guarda con el envío para conciliar.",
                    "key": "X-Correlation-Id",
                    "value": "string"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"ecf\": {\n    \"encabezado\": {\n      \"version\": \"1.0\",\n      \"idDoc\": {\n        \"tipoeCF\": 31,\n        \"eNCF\": \"E310000000001\",\n        \"fechaVencimientoSecuencia\": \"31-12-2027\",\n        \"indicadorEnvioDiferido\": 2097,\n        \"indicadorMontoGravado\": 0,\n        \"indicadorServicioTodoIncluido\": 7446,\n        \"tipoIngreso\": \"01\",\n        \"tipoPago\": 1,\n        \"fechaLimitePago\": \"string\",\n        \"terminoPago\": \"string\",\n        \"tablaFormasPago\": {\n          \"formasDePago\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"tipoCuentaPago\": \"string\",\n        \"numeroCuentaPago\": \"string\",\n        \"bancoPago\": \"string\",\n        \"fechaDesde\": \"string\",\n        \"fechaHasta\": \"string\",\n        \"totalPaginas\": 2332\n      },\n      \"emisor\": {\n        \"rncEmisor\": \"131000001\",\n        \"razonSocialEmisor\": \"Mi Empresa SRL\",\n        \"nombreComercial\": \"string\",\n        \"sucursal\": \"string\",\n        \"direccionEmisor\": \"Av. Winston Churchill 100, Santo Domingo\",\n        \"municipio\": \"string\",\n        \"provincia\": \"string\",\n        \"tablaTelefonoEmisor\": {\n          \"telefonosEmisor\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"correoEmisor\": \"string\",\n        \"webSite\": \"string\",\n        \"actividadEconomica\": \"string\",\n        \"codigoVendedor\": \"string\",\n        \"numeroFacturaInterna\": \"string\",\n        \"numeroPedidoInterno\": \"string\",\n        \"zonaVenta\": \"string\",\n        \"rutaVenta\": \"strin\",\n        \"informacionAdicionalEmisor\": \"string\",\n        \"fechaEmision\": \"05-10-2026\"\n      },\n      \"comprador\": {\n        \"rncComprador\": \"101010101\",\n        \"razonSocialComprador\": \"Cliente Ejemplo SRL\",\n        \"contactoComprador\": \"string\",\n        \"correoComprador\": \"string\",\n        \"direccionComprador\": \"string\",\n        \"municipioComprador\": \"string\",\n        \"provinciaComprador\": \"string\",\n        \"fechaEntrega\": \"string\",\n        \"contactoEntrega\": \"string\",\n        \"direccionEntrega\": \"string\",\n        \"telefonoAdicional\": \"string\",\n        \"fechaOrdenCompra\": \"string\",\n        \"numeroOrdenCompra\": \"string\",\n        \"codigoInternoComprador\": \"string\",\n        \"responsablePago\": \"st\",\n        \"informacionAdicionalComprador\": \"string\",\n        \"identificadorExtranjero\": \"string\"\n      },\n      \"informacionesAdicionales\": {\n        \"fechaEmbarque\": \"19-6-1930\",\n        \"numeroEmbarque\": \"str\",\n        \"numeroContenedor\": \"string\",\n        \"numeroReferencia\": \"string\",\n        \"nombrePuertoEmbarque\": \"string\",\n        \"pesoBruto\": 7313.5288184355595,\n        \"pesoNeto\": 5931.787931964808,\n        \"totalFob\": 9031.62991202775,\n        \"seguro\": 8240.303636180068,\n        \"flete\": 8718.090797274066,\n        \"unidadPesoBruto\": 4514,\n        \"unidadPesoNeto\": 46,\n        \"cantidadBulto\": 5500.641912357534,\n        \"unidadBulto\": 7919,\n        \"volumenBulto\": 667.4534127900888,\n        \"unidadVolumen\": 5384\n      },\n      \"transporte\": {\n        \"conductor\": \"string\",\n        \"documentoTransporte\": \"string\",\n        \"ficha\": \"string\",\n        \"placa\": \"str\",\n        \"rutaTransporte\": \"string\",\n        \"zonaTransporte\": \"string\",\n        \"numeroAlbaran\": \"string\"\n      },\n      \"totales\": {\n        \"montoGravadoTotal\": 1000,\n        \"montoGravadoI1\": 1000,\n        \"montoGravadoI2\": 3217.145749385375,\n        \"montoGravadoI3\": 6251.395667312305,\n        \"montoExento\": 2479.1972987934887,\n        \"itbiS1\": 18,\n        \"itbiS2\": 8364,\n        \"itbiS3\": 5955,\n        \"totalITBIS\": 180,\n        \"totalITBIS1\": 180,\n        \"totalITBIS2\": 1057.2936542391599,\n        \"totalITBIS3\": 8379.51114670099,\n        \"montoImpuestoAdicional\": 5708.365277893617,\n        \"impuestosAdicionales\": {\n          \"listaImpuestosAdicionales\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"montoTotal\": 1180,\n        \"montoNoFacturable\": 5694.883904330155,\n        \"montoPeriodo\": 9256.137942737036,\n        \"saldoAnterior\": 5245.521695076466,\n        \"montoAvancePago\": 6232.523491643957,\n        \"valorPagar\": 9757.407031893375,\n        \"totalITBISRetenido\": 2132.4803312141794,\n        \"totalISRRetencion\": 1518.77209127808,\n        \"totalITBISPercepcion\": 5301.525492797587,\n        \"totalISRPercepcion\": 9328.461878072221\n      },\n      \"otraMoneda\": {\n        \"tipoMoneda\": \"USD\",\n        \"tipoCambio\": 59.5,\n        \"montoGravadoTotalOtraMoneda\": 3194.831848975609,\n        \"montoGravado1OtraMoneda\": 9344.281953334303,\n        \"montoGravado2OtraMoneda\": 6985.077216622736,\n        \"montoGravado3OtraMoneda\": 9923.117711171875,\n        \"montoExentoOtraMoneda\": 4764.267418904371,\n        \"totalITBISOtraMoneda\": 4450.231649210845,\n        \"totalITBIS1OtraMoneda\": 3665.217333079065,\n        \"totalITBIS2OtraMoneda\": 6701.5961451245,\n        \"totalITBIS3OtraMoneda\": 6653.249623806009,\n        \"montoImpuestoAdicionalOtraMoneda\": 6063.438499455722,\n        \"impuestosAdicionalesOtraMoneda\": {\n          \"listaImpuestosAdicionalesOtraMoneda\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"montoTotalOtraMoneda\": 841.2867510008837\n      }\n    },\n    \"detallesItems\": {\n      \"item\": [\n        {\n          \"numeroLinea\": 1,\n          \"nombreItem\": \"Servicio de consultoría\",\n          \"descripcionItem\": \"string\",\n          \"precioUnitarioItem\": 1000,\n          \"cantidadItem\": 1,\n          \"unidadMedida\": 2091,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 1943.0288213505876,\n          \"unidadReferencia\": 9814,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 7441.937753583719,\n          \"recargoMonto\": 1241.4119136172285,\n          \"retencion\": {\n            \"indicadorAgenteRetencionoPercepcion\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoITBISRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoISRRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"gradosAlcohol\": 2780.1545572320842,\n          \"precioUnitarioReferencia\": 2925.9022115272837,\n          \"fechaElaboracion\": \"string\",\n          \"fechaVencimientoItem\": \"string\",\n          \"tablaSubcantidad\": {\n            \"subcantidadItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaCodigosItem\": {\n            \"codigosItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubDescuento\": {\n            \"subDescuento\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubRecargo\": {\n            \"subRecargos\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaImpuestoAdicional\": {\n            \"impuestosAdicionales\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"otraMonedaDetalle\": {\n            \"precioOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"descuentoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"recargoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoItemOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          }\n        },\n        {\n          \"numeroLinea\": 1,\n          \"nombreItem\": \"Servicio de consultoría\",\n          \"descripcionItem\": \"string\",\n          \"precioUnitarioItem\": 1000,\n          \"cantidadItem\": 1,\n          \"unidadMedida\": 1480,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7087.03832035032,\n          \"unidadReferencia\": 842,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 9203.56661814031,\n          \"recargoMonto\": 7706.942666688249,\n          \"retencion\": {\n            \"indicadorAgenteRetencionoPercepcion\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoITBISRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoISRRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"gradosAlcohol\": 3471.842182417564,\n          \"precioUnitarioReferencia\": 596.5818074062645,\n          \"fechaElaboracion\": \"string\",\n          \"fechaVencimientoItem\": \"string\",\n          \"tablaSubcantidad\": {\n            \"subcantidadItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaCodigosItem\": {\n            \"codigosItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubDescuento\": {\n            \"subDescuento\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubRecargo\": {\n            \"subRecargos\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaImpuestoAdicional\": {\n            \"impuestosAdicionales\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"otraMonedaDetalle\": {\n            \"precioOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"descuentoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"recargoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoItemOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          }\n        }\n      ]\n    },\n    \"subtotales\": {\n      \"listaSubtotales\": [\n        {\n          \"numeroSubTotal\": 5255,\n          \"descripcionSubtotal\": \"st\",\n          \"orden\": 3669,\n          \"subTotalMontoGravadoTotal\": 6237.106019165672,\n          \"subTotalMontoGravadoI1\": 5646.363209220201,\n          \"subTotalMontoGravadoI2\": 213.81957747386383,\n          \"subTotalMontoGravadoI3\": 2352.4808520214024,\n          \"subTotaITBIS\": 816.6847581225923,\n          \"subTotaITBIS1\": 5625.0735183578645,\n          \"subTotaITBIS2\": 9283.152360437793,\n          \"subTotaITBIS3\": 4556.035947525955,\n          \"subTotalImpuestoAdicional\": 1173.6113459021847,\n          \"subTotalExento\": 3156.1488078672874,\n          \"montoSubTotal\": 1832.5447616038182,\n          \"lineas\": 3839\n        },\n        {\n          \"numeroSubTotal\": 9376,\n          \"descripcionSubtotal\": \"s\",\n          \"orden\": 9151,\n          \"subTotalMontoGravadoTotal\": 2953.725821158223,\n          \"subTotalMontoGravadoI1\": 9099.448474377683,\n          \"subTotalMontoGravadoI2\": 4933.600518117557,\n          \"subTotalMontoGravadoI3\": 7728.449920801053,\n          \"subTotaITBIS\": 8272.947135338174,\n          \"subTotaITBIS1\": 1906.4342913638266,\n          \"subTotaITBIS2\": 4690.43710666301,\n          \"subTotaITBIS3\": 7257.256862482361,\n          \"subTotalImpuestoAdicional\": 5030.239775739478,\n          \"subTotalExento\": 5869.09690565797,\n          \"montoSubTotal\": 3457.4631562558734,\n          \"lineas\": 6639\n        }\n      ]\n    },\n    \"descuentosORecargos\": {\n      \"listaDescuentosORecargos\": [\n        {\n          \"numeroLinea\": 9554,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 989,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 8140.611373519075,\n          \"montoDescuentooRecargo\": 9716.425412156259,\n          \"montoDescuentooRecargoOtraMoneda\": 5735.360151284491,\n          \"indicadorFacturacionDescuentooRecargo\": 7019\n        },\n        {\n          \"numeroLinea\": 1354,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 3433,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 8194.941990381985,\n          \"montoDescuentooRecargo\": 8738.315665095686,\n          \"montoDescuentooRecargoOtraMoneda\": 1985.7990218488708,\n          \"indicadorFacturacionDescuentooRecargo\": 4737\n        }\n      ]\n    },\n    \"paginacion\": {\n      \"pagina\": [\n        {\n          \"paginaNo\": 4,\n          \"noLineaDesde\": 477,\n          \"noLineaHasta\": 560,\n          \"subtotalMontoGravadoPagina\": 4591.691389605103,\n          \"subtotalMontoGravado1Pagina\": 6336.07581393507,\n          \"subtotalMontoGravado2Pagina\": 8506.755917653149,\n          \"subtotalMontoGravado3Pagina\": 4524.522405360874,\n          \"subtotalExentoPagina\": 4759.51641687101,\n          \"subtotalItbisPagina\": 7571.6791681026525,\n          \"subtotalItbis1Pagina\": 2694.411570619758,\n          \"subtotalItbis2Pagina\": 5038.029400583808,\n          \"subtotalItbis3Pagina\": 1184.4508192479864,\n          \"subtotalImpuestoAdicionalPagina\": 338.5958724646387,\n          \"subtotalImpuestoAdicional\": {\n            \"subtotalImpuestoSelectivoConsumoEspecificoPagina\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"subtotalOtrosImpuesto\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"montoSubtotalPagina\": 5193.680091479526,\n          \"subtotalMontoNoFacturablePagina\": 237.13127757275964\n        },\n        {\n          \"paginaNo\": 818,\n          \"noLineaDesde\": 186,\n          \"noLineaHasta\": 690,\n          \"subtotalMontoGravadoPagina\": 1215.441866676742,\n          \"subtotalMontoGravado1Pagina\": 1318.3215067396015,\n          \"subtotalMontoGravado2Pagina\": 1440.0103136123055,\n          \"subtotalMontoGravado3Pagina\": 4777.614274192296,\n          \"subtotalExentoPagina\": 1929.4762186850155,\n          \"subtotalItbisPagina\": 2297.7646891745208,\n          \"subtotalItbis1Pagina\": 4049.856739382269,\n          \"subtotalItbis2Pagina\": 4679.914083260664,\n          \"subtotalItbis3Pagina\": 1247.3034652455306,\n          \"subtotalImpuestoAdicionalPagina\": 4689.219916382944,\n          \"subtotalImpuestoAdicional\": {\n            \"subtotalImpuestoSelectivoConsumoEspecificoPagina\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"subtotalOtrosImpuesto\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"montoSubtotalPagina\": 3007.0096238022215,\n          \"subtotalMontoNoFacturablePagina\": 8237.401633773059\n        }\n      ]\n    },\n    \"informacionReferencia\": {\n      \"ncfModificado\": \"E310000000001\",\n      \"rncOtroContribuyente\": \"string\",\n      \"fechaNCFModificado\": \"01-10-2026\",\n      \"codigoModificacion\": 3,\n      \"razonModificacion\": \"Devolución parcial\"\n    },\n    \"fechaHoraFirma\": \"string\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 1681,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "36c36582-3da1-4db2-ab0c-64727c855def",
              "name": "La licencia de la empresa no permite emitir.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "dgii-ecf",
                    "send"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "waitForFinal",
                      "value": "string"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "disabled": false,
                    "description": "Identificador propio de la petición (por ejemplo, el id de la factura en tu sistema). Se guarda con el envío para conciliar.",
                    "key": "X-Correlation-Id",
                    "value": "string"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"ecf\": {\n    \"encabezado\": {\n      \"version\": \"1.0\",\n      \"idDoc\": {\n        \"tipoeCF\": 31,\n        \"eNCF\": \"E310000000001\",\n        \"fechaVencimientoSecuencia\": \"31-12-2027\",\n        \"indicadorEnvioDiferido\": 2097,\n        \"indicadorMontoGravado\": 0,\n        \"indicadorServicioTodoIncluido\": 7446,\n        \"tipoIngreso\": \"01\",\n        \"tipoPago\": 1,\n        \"fechaLimitePago\": \"string\",\n        \"terminoPago\": \"string\",\n        \"tablaFormasPago\": {\n          \"formasDePago\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"tipoCuentaPago\": \"string\",\n        \"numeroCuentaPago\": \"string\",\n        \"bancoPago\": \"string\",\n        \"fechaDesde\": \"string\",\n        \"fechaHasta\": \"string\",\n        \"totalPaginas\": 2332\n      },\n      \"emisor\": {\n        \"rncEmisor\": \"131000001\",\n        \"razonSocialEmisor\": \"Mi Empresa SRL\",\n        \"nombreComercial\": \"string\",\n        \"sucursal\": \"string\",\n        \"direccionEmisor\": \"Av. Winston Churchill 100, Santo Domingo\",\n        \"municipio\": \"string\",\n        \"provincia\": \"string\",\n        \"tablaTelefonoEmisor\": {\n          \"telefonosEmisor\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"correoEmisor\": \"string\",\n        \"webSite\": \"string\",\n        \"actividadEconomica\": \"string\",\n        \"codigoVendedor\": \"string\",\n        \"numeroFacturaInterna\": \"string\",\n        \"numeroPedidoInterno\": \"string\",\n        \"zonaVenta\": \"string\",\n        \"rutaVenta\": \"strin\",\n        \"informacionAdicionalEmisor\": \"string\",\n        \"fechaEmision\": \"05-10-2026\"\n      },\n      \"comprador\": {\n        \"rncComprador\": \"101010101\",\n        \"razonSocialComprador\": \"Cliente Ejemplo SRL\",\n        \"contactoComprador\": \"string\",\n        \"correoComprador\": \"string\",\n        \"direccionComprador\": \"string\",\n        \"municipioComprador\": \"string\",\n        \"provinciaComprador\": \"string\",\n        \"fechaEntrega\": \"string\",\n        \"contactoEntrega\": \"string\",\n        \"direccionEntrega\": \"string\",\n        \"telefonoAdicional\": \"string\",\n        \"fechaOrdenCompra\": \"string\",\n        \"numeroOrdenCompra\": \"string\",\n        \"codigoInternoComprador\": \"string\",\n        \"responsablePago\": \"st\",\n        \"informacionAdicionalComprador\": \"string\",\n        \"identificadorExtranjero\": \"string\"\n      },\n      \"informacionesAdicionales\": {\n        \"fechaEmbarque\": \"19-6-1930\",\n        \"numeroEmbarque\": \"str\",\n        \"numeroContenedor\": \"string\",\n        \"numeroReferencia\": \"string\",\n        \"nombrePuertoEmbarque\": \"string\",\n        \"pesoBruto\": 7313.5288184355595,\n        \"pesoNeto\": 5931.787931964808,\n        \"totalFob\": 9031.62991202775,\n        \"seguro\": 8240.303636180068,\n        \"flete\": 8718.090797274066,\n        \"unidadPesoBruto\": 4514,\n        \"unidadPesoNeto\": 46,\n        \"cantidadBulto\": 5500.641912357534,\n        \"unidadBulto\": 7919,\n        \"volumenBulto\": 667.4534127900888,\n        \"unidadVolumen\": 5384\n      },\n      \"transporte\": {\n        \"conductor\": \"string\",\n        \"documentoTransporte\": \"string\",\n        \"ficha\": \"string\",\n        \"placa\": \"str\",\n        \"rutaTransporte\": \"string\",\n        \"zonaTransporte\": \"string\",\n        \"numeroAlbaran\": \"string\"\n      },\n      \"totales\": {\n        \"montoGravadoTotal\": 1000,\n        \"montoGravadoI1\": 1000,\n        \"montoGravadoI2\": 3217.145749385375,\n        \"montoGravadoI3\": 6251.395667312305,\n        \"montoExento\": 2479.1972987934887,\n        \"itbiS1\": 18,\n        \"itbiS2\": 8364,\n        \"itbiS3\": 5955,\n        \"totalITBIS\": 180,\n        \"totalITBIS1\": 180,\n        \"totalITBIS2\": 1057.2936542391599,\n        \"totalITBIS3\": 8379.51114670099,\n        \"montoImpuestoAdicional\": 5708.365277893617,\n        \"impuestosAdicionales\": {\n          \"listaImpuestosAdicionales\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"montoTotal\": 1180,\n        \"montoNoFacturable\": 5694.883904330155,\n        \"montoPeriodo\": 9256.137942737036,\n        \"saldoAnterior\": 5245.521695076466,\n        \"montoAvancePago\": 6232.523491643957,\n        \"valorPagar\": 9757.407031893375,\n        \"totalITBISRetenido\": 2132.4803312141794,\n        \"totalISRRetencion\": 1518.77209127808,\n        \"totalITBISPercepcion\": 5301.525492797587,\n        \"totalISRPercepcion\": 9328.461878072221\n      },\n      \"otraMoneda\": {\n        \"tipoMoneda\": \"USD\",\n        \"tipoCambio\": 59.5,\n        \"montoGravadoTotalOtraMoneda\": 3194.831848975609,\n        \"montoGravado1OtraMoneda\": 9344.281953334303,\n        \"montoGravado2OtraMoneda\": 6985.077216622736,\n        \"montoGravado3OtraMoneda\": 9923.117711171875,\n        \"montoExentoOtraMoneda\": 4764.267418904371,\n        \"totalITBISOtraMoneda\": 4450.231649210845,\n        \"totalITBIS1OtraMoneda\": 3665.217333079065,\n        \"totalITBIS2OtraMoneda\": 6701.5961451245,\n        \"totalITBIS3OtraMoneda\": 6653.249623806009,\n        \"montoImpuestoAdicionalOtraMoneda\": 6063.438499455722,\n        \"impuestosAdicionalesOtraMoneda\": {\n          \"listaImpuestosAdicionalesOtraMoneda\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"montoTotalOtraMoneda\": 841.2867510008837\n      }\n    },\n    \"detallesItems\": {\n      \"item\": [\n        {\n          \"numeroLinea\": 1,\n          \"nombreItem\": \"Servicio de consultoría\",\n          \"descripcionItem\": \"string\",\n          \"precioUnitarioItem\": 1000,\n          \"cantidadItem\": 1,\n          \"unidadMedida\": 2091,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 1943.0288213505876,\n          \"unidadReferencia\": 9814,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 7441.937753583719,\n          \"recargoMonto\": 1241.4119136172285,\n          \"retencion\": {\n            \"indicadorAgenteRetencionoPercepcion\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoITBISRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoISRRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"gradosAlcohol\": 2780.1545572320842,\n          \"precioUnitarioReferencia\": 2925.9022115272837,\n          \"fechaElaboracion\": \"string\",\n          \"fechaVencimientoItem\": \"string\",\n          \"tablaSubcantidad\": {\n            \"subcantidadItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaCodigosItem\": {\n            \"codigosItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubDescuento\": {\n            \"subDescuento\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubRecargo\": {\n            \"subRecargos\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaImpuestoAdicional\": {\n            \"impuestosAdicionales\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"otraMonedaDetalle\": {\n            \"precioOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"descuentoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"recargoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoItemOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          }\n        },\n        {\n          \"numeroLinea\": 1,\n          \"nombreItem\": \"Servicio de consultoría\",\n          \"descripcionItem\": \"string\",\n          \"precioUnitarioItem\": 1000,\n          \"cantidadItem\": 1,\n          \"unidadMedida\": 1480,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7087.03832035032,\n          \"unidadReferencia\": 842,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 9203.56661814031,\n          \"recargoMonto\": 7706.942666688249,\n          \"retencion\": {\n            \"indicadorAgenteRetencionoPercepcion\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoITBISRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoISRRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"gradosAlcohol\": 3471.842182417564,\n          \"precioUnitarioReferencia\": 596.5818074062645,\n          \"fechaElaboracion\": \"string\",\n          \"fechaVencimientoItem\": \"string\",\n          \"tablaSubcantidad\": {\n            \"subcantidadItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaCodigosItem\": {\n            \"codigosItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubDescuento\": {\n            \"subDescuento\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubRecargo\": {\n            \"subRecargos\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaImpuestoAdicional\": {\n            \"impuestosAdicionales\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"otraMonedaDetalle\": {\n            \"precioOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"descuentoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"recargoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoItemOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          }\n        }\n      ]\n    },\n    \"subtotales\": {\n      \"listaSubtotales\": [\n        {\n          \"numeroSubTotal\": 5255,\n          \"descripcionSubtotal\": \"st\",\n          \"orden\": 3669,\n          \"subTotalMontoGravadoTotal\": 6237.106019165672,\n          \"subTotalMontoGravadoI1\": 5646.363209220201,\n          \"subTotalMontoGravadoI2\": 213.81957747386383,\n          \"subTotalMontoGravadoI3\": 2352.4808520214024,\n          \"subTotaITBIS\": 816.6847581225923,\n          \"subTotaITBIS1\": 5625.0735183578645,\n          \"subTotaITBIS2\": 9283.152360437793,\n          \"subTotaITBIS3\": 4556.035947525955,\n          \"subTotalImpuestoAdicional\": 1173.6113459021847,\n          \"subTotalExento\": 3156.1488078672874,\n          \"montoSubTotal\": 1832.5447616038182,\n          \"lineas\": 3839\n        },\n        {\n          \"numeroSubTotal\": 9376,\n          \"descripcionSubtotal\": \"s\",\n          \"orden\": 9151,\n          \"subTotalMontoGravadoTotal\": 2953.725821158223,\n          \"subTotalMontoGravadoI1\": 9099.448474377683,\n          \"subTotalMontoGravadoI2\": 4933.600518117557,\n          \"subTotalMontoGravadoI3\": 7728.449920801053,\n          \"subTotaITBIS\": 8272.947135338174,\n          \"subTotaITBIS1\": 1906.4342913638266,\n          \"subTotaITBIS2\": 4690.43710666301,\n          \"subTotaITBIS3\": 7257.256862482361,\n          \"subTotalImpuestoAdicional\": 5030.239775739478,\n          \"subTotalExento\": 5869.09690565797,\n          \"montoSubTotal\": 3457.4631562558734,\n          \"lineas\": 6639\n        }\n      ]\n    },\n    \"descuentosORecargos\": {\n      \"listaDescuentosORecargos\": [\n        {\n          \"numeroLinea\": 9554,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 989,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 8140.611373519075,\n          \"montoDescuentooRecargo\": 9716.425412156259,\n          \"montoDescuentooRecargoOtraMoneda\": 5735.360151284491,\n          \"indicadorFacturacionDescuentooRecargo\": 7019\n        },\n        {\n          \"numeroLinea\": 1354,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 3433,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 8194.941990381985,\n          \"montoDescuentooRecargo\": 8738.315665095686,\n          \"montoDescuentooRecargoOtraMoneda\": 1985.7990218488708,\n          \"indicadorFacturacionDescuentooRecargo\": 4737\n        }\n      ]\n    },\n    \"paginacion\": {\n      \"pagina\": [\n        {\n          \"paginaNo\": 4,\n          \"noLineaDesde\": 477,\n          \"noLineaHasta\": 560,\n          \"subtotalMontoGravadoPagina\": 4591.691389605103,\n          \"subtotalMontoGravado1Pagina\": 6336.07581393507,\n          \"subtotalMontoGravado2Pagina\": 8506.755917653149,\n          \"subtotalMontoGravado3Pagina\": 4524.522405360874,\n          \"subtotalExentoPagina\": 4759.51641687101,\n          \"subtotalItbisPagina\": 7571.6791681026525,\n          \"subtotalItbis1Pagina\": 2694.411570619758,\n          \"subtotalItbis2Pagina\": 5038.029400583808,\n          \"subtotalItbis3Pagina\": 1184.4508192479864,\n          \"subtotalImpuestoAdicionalPagina\": 338.5958724646387,\n          \"subtotalImpuestoAdicional\": {\n            \"subtotalImpuestoSelectivoConsumoEspecificoPagina\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"subtotalOtrosImpuesto\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"montoSubtotalPagina\": 5193.680091479526,\n          \"subtotalMontoNoFacturablePagina\": 237.13127757275964\n        },\n        {\n          \"paginaNo\": 818,\n          \"noLineaDesde\": 186,\n          \"noLineaHasta\": 690,\n          \"subtotalMontoGravadoPagina\": 1215.441866676742,\n          \"subtotalMontoGravado1Pagina\": 1318.3215067396015,\n          \"subtotalMontoGravado2Pagina\": 1440.0103136123055,\n          \"subtotalMontoGravado3Pagina\": 4777.614274192296,\n          \"subtotalExentoPagina\": 1929.4762186850155,\n          \"subtotalItbisPagina\": 2297.7646891745208,\n          \"subtotalItbis1Pagina\": 4049.856739382269,\n          \"subtotalItbis2Pagina\": 4679.914083260664,\n          \"subtotalItbis3Pagina\": 1247.3034652455306,\n          \"subtotalImpuestoAdicionalPagina\": 4689.219916382944,\n          \"subtotalImpuestoAdicional\": {\n            \"subtotalImpuestoSelectivoConsumoEspecificoPagina\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"subtotalOtrosImpuesto\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"montoSubtotalPagina\": 3007.0096238022215,\n          \"subtotalMontoNoFacturablePagina\": 8237.401633773059\n        }\n      ]\n    },\n    \"informacionReferencia\": {\n      \"ncfModificado\": \"E310000000001\",\n      \"rncOtroContribuyente\": \"string\",\n      \"fechaNCFModificado\": \"01-10-2026\",\n      \"codigoModificacion\": 3,\n      \"razonModificacion\": \"Devolución parcial\"\n    },\n    \"fechaHoraFirma\": \"string\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Payment Required",
              "code": 402,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 2659,\n  \"mensaje\": \"string\",\n  \"procesado\": false,\n  \"data\": {\n    \"code\": \"ECF_VALIDATION\",\n    \"traceId\": \"string\",\n    \"envio\": {\n      \"ecf\": \"E310000000001\",\n      \"message\": \"string\",\n      \"accepted\": 1,\n      \"status\": \"Aceptado\",\n      \"securityCode\": \"A1b2C3\",\n      \"signedAt\": \"05-10-2026 14:32:10\",\n      \"issuedAt\": \"05-10-2026 14:32:12\",\n      \"qrUrl\": \"https://ecf.dgii.gov.do/ecf/ConsultaTimbre?RncEmisor=101000001&ENCF=E310000000001\",\n      \"deferred\": false,\n      \"xmlBase64\": \"string\",\n      \"sequenceUsed\": false,\n      \"alreadyProcessed\": true,\n      \"submissionId\": 6082,\n      \"voucherId\": 365,\n      \"trackId\": \"string\"\n    },\n    \"errores\": [\n      {\n        \"campo\": \"string\",\n        \"codigo\": \"string\",\n        \"mensaje\": \"string\"\n      },\n      {\n        \"campo\": \"string\",\n        \"codigo\": \"string\",\n        \"mensaje\": \"string\"\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "0a6199ac-7c39-45b1-95ff-9c9f4e4de1d0",
              "name": "Conflicto de estado del e-NCF.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "dgii-ecf",
                    "send"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "waitForFinal",
                      "value": "string"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "disabled": false,
                    "description": "Identificador propio de la petición (por ejemplo, el id de la factura en tu sistema). Se guarda con el envío para conciliar.",
                    "key": "X-Correlation-Id",
                    "value": "string"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"ecf\": {\n    \"encabezado\": {\n      \"version\": \"1.0\",\n      \"idDoc\": {\n        \"tipoeCF\": 31,\n        \"eNCF\": \"E310000000001\",\n        \"fechaVencimientoSecuencia\": \"31-12-2027\",\n        \"indicadorEnvioDiferido\": 2097,\n        \"indicadorMontoGravado\": 0,\n        \"indicadorServicioTodoIncluido\": 7446,\n        \"tipoIngreso\": \"01\",\n        \"tipoPago\": 1,\n        \"fechaLimitePago\": \"string\",\n        \"terminoPago\": \"string\",\n        \"tablaFormasPago\": {\n          \"formasDePago\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"tipoCuentaPago\": \"string\",\n        \"numeroCuentaPago\": \"string\",\n        \"bancoPago\": \"string\",\n        \"fechaDesde\": \"string\",\n        \"fechaHasta\": \"string\",\n        \"totalPaginas\": 2332\n      },\n      \"emisor\": {\n        \"rncEmisor\": \"131000001\",\n        \"razonSocialEmisor\": \"Mi Empresa SRL\",\n        \"nombreComercial\": \"string\",\n        \"sucursal\": \"string\",\n        \"direccionEmisor\": \"Av. Winston Churchill 100, Santo Domingo\",\n        \"municipio\": \"string\",\n        \"provincia\": \"string\",\n        \"tablaTelefonoEmisor\": {\n          \"telefonosEmisor\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"correoEmisor\": \"string\",\n        \"webSite\": \"string\",\n        \"actividadEconomica\": \"string\",\n        \"codigoVendedor\": \"string\",\n        \"numeroFacturaInterna\": \"string\",\n        \"numeroPedidoInterno\": \"string\",\n        \"zonaVenta\": \"string\",\n        \"rutaVenta\": \"strin\",\n        \"informacionAdicionalEmisor\": \"string\",\n        \"fechaEmision\": \"05-10-2026\"\n      },\n      \"comprador\": {\n        \"rncComprador\": \"101010101\",\n        \"razonSocialComprador\": \"Cliente Ejemplo SRL\",\n        \"contactoComprador\": \"string\",\n        \"correoComprador\": \"string\",\n        \"direccionComprador\": \"string\",\n        \"municipioComprador\": \"string\",\n        \"provinciaComprador\": \"string\",\n        \"fechaEntrega\": \"string\",\n        \"contactoEntrega\": \"string\",\n        \"direccionEntrega\": \"string\",\n        \"telefonoAdicional\": \"string\",\n        \"fechaOrdenCompra\": \"string\",\n        \"numeroOrdenCompra\": \"string\",\n        \"codigoInternoComprador\": \"string\",\n        \"responsablePago\": \"st\",\n        \"informacionAdicionalComprador\": \"string\",\n        \"identificadorExtranjero\": \"string\"\n      },\n      \"informacionesAdicionales\": {\n        \"fechaEmbarque\": \"19-6-1930\",\n        \"numeroEmbarque\": \"str\",\n        \"numeroContenedor\": \"string\",\n        \"numeroReferencia\": \"string\",\n        \"nombrePuertoEmbarque\": \"string\",\n        \"pesoBruto\": 7313.5288184355595,\n        \"pesoNeto\": 5931.787931964808,\n        \"totalFob\": 9031.62991202775,\n        \"seguro\": 8240.303636180068,\n        \"flete\": 8718.090797274066,\n        \"unidadPesoBruto\": 4514,\n        \"unidadPesoNeto\": 46,\n        \"cantidadBulto\": 5500.641912357534,\n        \"unidadBulto\": 7919,\n        \"volumenBulto\": 667.4534127900888,\n        \"unidadVolumen\": 5384\n      },\n      \"transporte\": {\n        \"conductor\": \"string\",\n        \"documentoTransporte\": \"string\",\n        \"ficha\": \"string\",\n        \"placa\": \"str\",\n        \"rutaTransporte\": \"string\",\n        \"zonaTransporte\": \"string\",\n        \"numeroAlbaran\": \"string\"\n      },\n      \"totales\": {\n        \"montoGravadoTotal\": 1000,\n        \"montoGravadoI1\": 1000,\n        \"montoGravadoI2\": 3217.145749385375,\n        \"montoGravadoI3\": 6251.395667312305,\n        \"montoExento\": 2479.1972987934887,\n        \"itbiS1\": 18,\n        \"itbiS2\": 8364,\n        \"itbiS3\": 5955,\n        \"totalITBIS\": 180,\n        \"totalITBIS1\": 180,\n        \"totalITBIS2\": 1057.2936542391599,\n        \"totalITBIS3\": 8379.51114670099,\n        \"montoImpuestoAdicional\": 5708.365277893617,\n        \"impuestosAdicionales\": {\n          \"listaImpuestosAdicionales\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"montoTotal\": 1180,\n        \"montoNoFacturable\": 5694.883904330155,\n        \"montoPeriodo\": 9256.137942737036,\n        \"saldoAnterior\": 5245.521695076466,\n        \"montoAvancePago\": 6232.523491643957,\n        \"valorPagar\": 9757.407031893375,\n        \"totalITBISRetenido\": 2132.4803312141794,\n        \"totalISRRetencion\": 1518.77209127808,\n        \"totalITBISPercepcion\": 5301.525492797587,\n        \"totalISRPercepcion\": 9328.461878072221\n      },\n      \"otraMoneda\": {\n        \"tipoMoneda\": \"USD\",\n        \"tipoCambio\": 59.5,\n        \"montoGravadoTotalOtraMoneda\": 3194.831848975609,\n        \"montoGravado1OtraMoneda\": 9344.281953334303,\n        \"montoGravado2OtraMoneda\": 6985.077216622736,\n        \"montoGravado3OtraMoneda\": 9923.117711171875,\n        \"montoExentoOtraMoneda\": 4764.267418904371,\n        \"totalITBISOtraMoneda\": 4450.231649210845,\n        \"totalITBIS1OtraMoneda\": 3665.217333079065,\n        \"totalITBIS2OtraMoneda\": 6701.5961451245,\n        \"totalITBIS3OtraMoneda\": 6653.249623806009,\n        \"montoImpuestoAdicionalOtraMoneda\": 6063.438499455722,\n        \"impuestosAdicionalesOtraMoneda\": {\n          \"listaImpuestosAdicionalesOtraMoneda\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"montoTotalOtraMoneda\": 841.2867510008837\n      }\n    },\n    \"detallesItems\": {\n      \"item\": [\n        {\n          \"numeroLinea\": 1,\n          \"nombreItem\": \"Servicio de consultoría\",\n          \"descripcionItem\": \"string\",\n          \"precioUnitarioItem\": 1000,\n          \"cantidadItem\": 1,\n          \"unidadMedida\": 2091,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 1943.0288213505876,\n          \"unidadReferencia\": 9814,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 7441.937753583719,\n          \"recargoMonto\": 1241.4119136172285,\n          \"retencion\": {\n            \"indicadorAgenteRetencionoPercepcion\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoITBISRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoISRRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"gradosAlcohol\": 2780.1545572320842,\n          \"precioUnitarioReferencia\": 2925.9022115272837,\n          \"fechaElaboracion\": \"string\",\n          \"fechaVencimientoItem\": \"string\",\n          \"tablaSubcantidad\": {\n            \"subcantidadItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaCodigosItem\": {\n            \"codigosItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubDescuento\": {\n            \"subDescuento\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubRecargo\": {\n            \"subRecargos\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaImpuestoAdicional\": {\n            \"impuestosAdicionales\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"otraMonedaDetalle\": {\n            \"precioOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"descuentoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"recargoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoItemOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          }\n        },\n        {\n          \"numeroLinea\": 1,\n          \"nombreItem\": \"Servicio de consultoría\",\n          \"descripcionItem\": \"string\",\n          \"precioUnitarioItem\": 1000,\n          \"cantidadItem\": 1,\n          \"unidadMedida\": 1480,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7087.03832035032,\n          \"unidadReferencia\": 842,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 9203.56661814031,\n          \"recargoMonto\": 7706.942666688249,\n          \"retencion\": {\n            \"indicadorAgenteRetencionoPercepcion\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoITBISRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoISRRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"gradosAlcohol\": 3471.842182417564,\n          \"precioUnitarioReferencia\": 596.5818074062645,\n          \"fechaElaboracion\": \"string\",\n          \"fechaVencimientoItem\": \"string\",\n          \"tablaSubcantidad\": {\n            \"subcantidadItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaCodigosItem\": {\n            \"codigosItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubDescuento\": {\n            \"subDescuento\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubRecargo\": {\n            \"subRecargos\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaImpuestoAdicional\": {\n            \"impuestosAdicionales\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"otraMonedaDetalle\": {\n            \"precioOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"descuentoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"recargoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoItemOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          }\n        }\n      ]\n    },\n    \"subtotales\": {\n      \"listaSubtotales\": [\n        {\n          \"numeroSubTotal\": 5255,\n          \"descripcionSubtotal\": \"st\",\n          \"orden\": 3669,\n          \"subTotalMontoGravadoTotal\": 6237.106019165672,\n          \"subTotalMontoGravadoI1\": 5646.363209220201,\n          \"subTotalMontoGravadoI2\": 213.81957747386383,\n          \"subTotalMontoGravadoI3\": 2352.4808520214024,\n          \"subTotaITBIS\": 816.6847581225923,\n          \"subTotaITBIS1\": 5625.0735183578645,\n          \"subTotaITBIS2\": 9283.152360437793,\n          \"subTotaITBIS3\": 4556.035947525955,\n          \"subTotalImpuestoAdicional\": 1173.6113459021847,\n          \"subTotalExento\": 3156.1488078672874,\n          \"montoSubTotal\": 1832.5447616038182,\n          \"lineas\": 3839\n        },\n        {\n          \"numeroSubTotal\": 9376,\n          \"descripcionSubtotal\": \"s\",\n          \"orden\": 9151,\n          \"subTotalMontoGravadoTotal\": 2953.725821158223,\n          \"subTotalMontoGravadoI1\": 9099.448474377683,\n          \"subTotalMontoGravadoI2\": 4933.600518117557,\n          \"subTotalMontoGravadoI3\": 7728.449920801053,\n          \"subTotaITBIS\": 8272.947135338174,\n          \"subTotaITBIS1\": 1906.4342913638266,\n          \"subTotaITBIS2\": 4690.43710666301,\n          \"subTotaITBIS3\": 7257.256862482361,\n          \"subTotalImpuestoAdicional\": 5030.239775739478,\n          \"subTotalExento\": 5869.09690565797,\n          \"montoSubTotal\": 3457.4631562558734,\n          \"lineas\": 6639\n        }\n      ]\n    },\n    \"descuentosORecargos\": {\n      \"listaDescuentosORecargos\": [\n        {\n          \"numeroLinea\": 9554,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 989,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 8140.611373519075,\n          \"montoDescuentooRecargo\": 9716.425412156259,\n          \"montoDescuentooRecargoOtraMoneda\": 5735.360151284491,\n          \"indicadorFacturacionDescuentooRecargo\": 7019\n        },\n        {\n          \"numeroLinea\": 1354,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 3433,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 8194.941990381985,\n          \"montoDescuentooRecargo\": 8738.315665095686,\n          \"montoDescuentooRecargoOtraMoneda\": 1985.7990218488708,\n          \"indicadorFacturacionDescuentooRecargo\": 4737\n        }\n      ]\n    },\n    \"paginacion\": {\n      \"pagina\": [\n        {\n          \"paginaNo\": 4,\n          \"noLineaDesde\": 477,\n          \"noLineaHasta\": 560,\n          \"subtotalMontoGravadoPagina\": 4591.691389605103,\n          \"subtotalMontoGravado1Pagina\": 6336.07581393507,\n          \"subtotalMontoGravado2Pagina\": 8506.755917653149,\n          \"subtotalMontoGravado3Pagina\": 4524.522405360874,\n          \"subtotalExentoPagina\": 4759.51641687101,\n          \"subtotalItbisPagina\": 7571.6791681026525,\n          \"subtotalItbis1Pagina\": 2694.411570619758,\n          \"subtotalItbis2Pagina\": 5038.029400583808,\n          \"subtotalItbis3Pagina\": 1184.4508192479864,\n          \"subtotalImpuestoAdicionalPagina\": 338.5958724646387,\n          \"subtotalImpuestoAdicional\": {\n            \"subtotalImpuestoSelectivoConsumoEspecificoPagina\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"subtotalOtrosImpuesto\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"montoSubtotalPagina\": 5193.680091479526,\n          \"subtotalMontoNoFacturablePagina\": 237.13127757275964\n        },\n        {\n          \"paginaNo\": 818,\n          \"noLineaDesde\": 186,\n          \"noLineaHasta\": 690,\n          \"subtotalMontoGravadoPagina\": 1215.441866676742,\n          \"subtotalMontoGravado1Pagina\": 1318.3215067396015,\n          \"subtotalMontoGravado2Pagina\": 1440.0103136123055,\n          \"subtotalMontoGravado3Pagina\": 4777.614274192296,\n          \"subtotalExentoPagina\": 1929.4762186850155,\n          \"subtotalItbisPagina\": 2297.7646891745208,\n          \"subtotalItbis1Pagina\": 4049.856739382269,\n          \"subtotalItbis2Pagina\": 4679.914083260664,\n          \"subtotalItbis3Pagina\": 1247.3034652455306,\n          \"subtotalImpuestoAdicionalPagina\": 4689.219916382944,\n          \"subtotalImpuestoAdicional\": {\n            \"subtotalImpuestoSelectivoConsumoEspecificoPagina\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"subtotalOtrosImpuesto\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"montoSubtotalPagina\": 3007.0096238022215,\n          \"subtotalMontoNoFacturablePagina\": 8237.401633773059\n        }\n      ]\n    },\n    \"informacionReferencia\": {\n      \"ncfModificado\": \"E310000000001\",\n      \"rncOtroContribuyente\": \"string\",\n      \"fechaNCFModificado\": \"01-10-2026\",\n      \"codigoModificacion\": 3,\n      \"razonModificacion\": \"Devolución parcial\"\n    },\n    \"fechaHoraFirma\": \"string\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Conflict",
              "code": 409,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 2659,\n  \"mensaje\": \"string\",\n  \"procesado\": false,\n  \"data\": {\n    \"code\": \"ECF_VALIDATION\",\n    \"traceId\": \"string\",\n    \"envio\": {\n      \"ecf\": \"E310000000001\",\n      \"message\": \"string\",\n      \"accepted\": 1,\n      \"status\": \"Aceptado\",\n      \"securityCode\": \"A1b2C3\",\n      \"signedAt\": \"05-10-2026 14:32:10\",\n      \"issuedAt\": \"05-10-2026 14:32:12\",\n      \"qrUrl\": \"https://ecf.dgii.gov.do/ecf/ConsultaTimbre?RncEmisor=101000001&ENCF=E310000000001\",\n      \"deferred\": false,\n      \"xmlBase64\": \"string\",\n      \"sequenceUsed\": false,\n      \"alreadyProcessed\": true,\n      \"submissionId\": 6082,\n      \"voucherId\": 365,\n      \"trackId\": \"string\"\n    },\n    \"errores\": [\n      {\n        \"campo\": \"string\",\n        \"codigo\": \"string\",\n        \"mensaje\": \"string\"\n      },\n      {\n        \"campo\": \"string\",\n        \"codigo\": \"string\",\n        \"mensaje\": \"string\"\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "b13bbe22-9a60-477e-8406-8249546b16b5",
              "name": "La DGII no respondió o la entrega quedó sin confirmar.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "dgii-ecf",
                    "send"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "waitForFinal",
                      "value": "string"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "disabled": false,
                    "description": "Identificador propio de la petición (por ejemplo, el id de la factura en tu sistema). Se guarda con el envío para conciliar.",
                    "key": "X-Correlation-Id",
                    "value": "string"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"ecf\": {\n    \"encabezado\": {\n      \"version\": \"1.0\",\n      \"idDoc\": {\n        \"tipoeCF\": 31,\n        \"eNCF\": \"E310000000001\",\n        \"fechaVencimientoSecuencia\": \"31-12-2027\",\n        \"indicadorEnvioDiferido\": 2097,\n        \"indicadorMontoGravado\": 0,\n        \"indicadorServicioTodoIncluido\": 7446,\n        \"tipoIngreso\": \"01\",\n        \"tipoPago\": 1,\n        \"fechaLimitePago\": \"string\",\n        \"terminoPago\": \"string\",\n        \"tablaFormasPago\": {\n          \"formasDePago\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"tipoCuentaPago\": \"string\",\n        \"numeroCuentaPago\": \"string\",\n        \"bancoPago\": \"string\",\n        \"fechaDesde\": \"string\",\n        \"fechaHasta\": \"string\",\n        \"totalPaginas\": 2332\n      },\n      \"emisor\": {\n        \"rncEmisor\": \"131000001\",\n        \"razonSocialEmisor\": \"Mi Empresa SRL\",\n        \"nombreComercial\": \"string\",\n        \"sucursal\": \"string\",\n        \"direccionEmisor\": \"Av. Winston Churchill 100, Santo Domingo\",\n        \"municipio\": \"string\",\n        \"provincia\": \"string\",\n        \"tablaTelefonoEmisor\": {\n          \"telefonosEmisor\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"correoEmisor\": \"string\",\n        \"webSite\": \"string\",\n        \"actividadEconomica\": \"string\",\n        \"codigoVendedor\": \"string\",\n        \"numeroFacturaInterna\": \"string\",\n        \"numeroPedidoInterno\": \"string\",\n        \"zonaVenta\": \"string\",\n        \"rutaVenta\": \"strin\",\n        \"informacionAdicionalEmisor\": \"string\",\n        \"fechaEmision\": \"05-10-2026\"\n      },\n      \"comprador\": {\n        \"rncComprador\": \"101010101\",\n        \"razonSocialComprador\": \"Cliente Ejemplo SRL\",\n        \"contactoComprador\": \"string\",\n        \"correoComprador\": \"string\",\n        \"direccionComprador\": \"string\",\n        \"municipioComprador\": \"string\",\n        \"provinciaComprador\": \"string\",\n        \"fechaEntrega\": \"string\",\n        \"contactoEntrega\": \"string\",\n        \"direccionEntrega\": \"string\",\n        \"telefonoAdicional\": \"string\",\n        \"fechaOrdenCompra\": \"string\",\n        \"numeroOrdenCompra\": \"string\",\n        \"codigoInternoComprador\": \"string\",\n        \"responsablePago\": \"st\",\n        \"informacionAdicionalComprador\": \"string\",\n        \"identificadorExtranjero\": \"string\"\n      },\n      \"informacionesAdicionales\": {\n        \"fechaEmbarque\": \"19-6-1930\",\n        \"numeroEmbarque\": \"str\",\n        \"numeroContenedor\": \"string\",\n        \"numeroReferencia\": \"string\",\n        \"nombrePuertoEmbarque\": \"string\",\n        \"pesoBruto\": 7313.5288184355595,\n        \"pesoNeto\": 5931.787931964808,\n        \"totalFob\": 9031.62991202775,\n        \"seguro\": 8240.303636180068,\n        \"flete\": 8718.090797274066,\n        \"unidadPesoBruto\": 4514,\n        \"unidadPesoNeto\": 46,\n        \"cantidadBulto\": 5500.641912357534,\n        \"unidadBulto\": 7919,\n        \"volumenBulto\": 667.4534127900888,\n        \"unidadVolumen\": 5384\n      },\n      \"transporte\": {\n        \"conductor\": \"string\",\n        \"documentoTransporte\": \"string\",\n        \"ficha\": \"string\",\n        \"placa\": \"str\",\n        \"rutaTransporte\": \"string\",\n        \"zonaTransporte\": \"string\",\n        \"numeroAlbaran\": \"string\"\n      },\n      \"totales\": {\n        \"montoGravadoTotal\": 1000,\n        \"montoGravadoI1\": 1000,\n        \"montoGravadoI2\": 3217.145749385375,\n        \"montoGravadoI3\": 6251.395667312305,\n        \"montoExento\": 2479.1972987934887,\n        \"itbiS1\": 18,\n        \"itbiS2\": 8364,\n        \"itbiS3\": 5955,\n        \"totalITBIS\": 180,\n        \"totalITBIS1\": 180,\n        \"totalITBIS2\": 1057.2936542391599,\n        \"totalITBIS3\": 8379.51114670099,\n        \"montoImpuestoAdicional\": 5708.365277893617,\n        \"impuestosAdicionales\": {\n          \"listaImpuestosAdicionales\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"montoTotal\": 1180,\n        \"montoNoFacturable\": 5694.883904330155,\n        \"montoPeriodo\": 9256.137942737036,\n        \"saldoAnterior\": 5245.521695076466,\n        \"montoAvancePago\": 6232.523491643957,\n        \"valorPagar\": 9757.407031893375,\n        \"totalITBISRetenido\": 2132.4803312141794,\n        \"totalISRRetencion\": 1518.77209127808,\n        \"totalITBISPercepcion\": 5301.525492797587,\n        \"totalISRPercepcion\": 9328.461878072221\n      },\n      \"otraMoneda\": {\n        \"tipoMoneda\": \"USD\",\n        \"tipoCambio\": 59.5,\n        \"montoGravadoTotalOtraMoneda\": 3194.831848975609,\n        \"montoGravado1OtraMoneda\": 9344.281953334303,\n        \"montoGravado2OtraMoneda\": 6985.077216622736,\n        \"montoGravado3OtraMoneda\": 9923.117711171875,\n        \"montoExentoOtraMoneda\": 4764.267418904371,\n        \"totalITBISOtraMoneda\": 4450.231649210845,\n        \"totalITBIS1OtraMoneda\": 3665.217333079065,\n        \"totalITBIS2OtraMoneda\": 6701.5961451245,\n        \"totalITBIS3OtraMoneda\": 6653.249623806009,\n        \"montoImpuestoAdicionalOtraMoneda\": 6063.438499455722,\n        \"impuestosAdicionalesOtraMoneda\": {\n          \"listaImpuestosAdicionalesOtraMoneda\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ]\n        },\n        \"montoTotalOtraMoneda\": 841.2867510008837\n      }\n    },\n    \"detallesItems\": {\n      \"item\": [\n        {\n          \"numeroLinea\": 1,\n          \"nombreItem\": \"Servicio de consultoría\",\n          \"descripcionItem\": \"string\",\n          \"precioUnitarioItem\": 1000,\n          \"cantidadItem\": 1,\n          \"unidadMedida\": 2091,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 1943.0288213505876,\n          \"unidadReferencia\": 9814,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 7441.937753583719,\n          \"recargoMonto\": 1241.4119136172285,\n          \"retencion\": {\n            \"indicadorAgenteRetencionoPercepcion\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoITBISRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoISRRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"gradosAlcohol\": 2780.1545572320842,\n          \"precioUnitarioReferencia\": 2925.9022115272837,\n          \"fechaElaboracion\": \"string\",\n          \"fechaVencimientoItem\": \"string\",\n          \"tablaSubcantidad\": {\n            \"subcantidadItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaCodigosItem\": {\n            \"codigosItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubDescuento\": {\n            \"subDescuento\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubRecargo\": {\n            \"subRecargos\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaImpuestoAdicional\": {\n            \"impuestosAdicionales\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"otraMonedaDetalle\": {\n            \"precioOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"descuentoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"recargoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoItemOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          }\n        },\n        {\n          \"numeroLinea\": 1,\n          \"nombreItem\": \"Servicio de consultoría\",\n          \"descripcionItem\": \"string\",\n          \"precioUnitarioItem\": 1000,\n          \"cantidadItem\": 1,\n          \"unidadMedida\": 1480,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7087.03832035032,\n          \"unidadReferencia\": 842,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 9203.56661814031,\n          \"recargoMonto\": 7706.942666688249,\n          \"retencion\": {\n            \"indicadorAgenteRetencionoPercepcion\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoITBISRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoISRRetenido\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"gradosAlcohol\": 3471.842182417564,\n          \"precioUnitarioReferencia\": 596.5818074062645,\n          \"fechaElaboracion\": \"string\",\n          \"fechaVencimientoItem\": \"string\",\n          \"tablaSubcantidad\": {\n            \"subcantidadItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaCodigosItem\": {\n            \"codigosItems\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubDescuento\": {\n            \"subDescuento\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaSubRecargo\": {\n            \"subRecargos\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"tablaImpuestoAdicional\": {\n            \"impuestosAdicionales\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"otraMonedaDetalle\": {\n            \"precioOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"descuentoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"recargoOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"montoItemOtraMoneda\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          }\n        }\n      ]\n    },\n    \"subtotales\": {\n      \"listaSubtotales\": [\n        {\n          \"numeroSubTotal\": 5255,\n          \"descripcionSubtotal\": \"st\",\n          \"orden\": 3669,\n          \"subTotalMontoGravadoTotal\": 6237.106019165672,\n          \"subTotalMontoGravadoI1\": 5646.363209220201,\n          \"subTotalMontoGravadoI2\": 213.81957747386383,\n          \"subTotalMontoGravadoI3\": 2352.4808520214024,\n          \"subTotaITBIS\": 816.6847581225923,\n          \"subTotaITBIS1\": 5625.0735183578645,\n          \"subTotaITBIS2\": 9283.152360437793,\n          \"subTotaITBIS3\": 4556.035947525955,\n          \"subTotalImpuestoAdicional\": 1173.6113459021847,\n          \"subTotalExento\": 3156.1488078672874,\n          \"montoSubTotal\": 1832.5447616038182,\n          \"lineas\": 3839\n        },\n        {\n          \"numeroSubTotal\": 9376,\n          \"descripcionSubtotal\": \"s\",\n          \"orden\": 9151,\n          \"subTotalMontoGravadoTotal\": 2953.725821158223,\n          \"subTotalMontoGravadoI1\": 9099.448474377683,\n          \"subTotalMontoGravadoI2\": 4933.600518117557,\n          \"subTotalMontoGravadoI3\": 7728.449920801053,\n          \"subTotaITBIS\": 8272.947135338174,\n          \"subTotaITBIS1\": 1906.4342913638266,\n          \"subTotaITBIS2\": 4690.43710666301,\n          \"subTotaITBIS3\": 7257.256862482361,\n          \"subTotalImpuestoAdicional\": 5030.239775739478,\n          \"subTotalExento\": 5869.09690565797,\n          \"montoSubTotal\": 3457.4631562558734,\n          \"lineas\": 6639\n        }\n      ]\n    },\n    \"descuentosORecargos\": {\n      \"listaDescuentosORecargos\": [\n        {\n          \"numeroLinea\": 9554,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 989,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 8140.611373519075,\n          \"montoDescuentooRecargo\": 9716.425412156259,\n          \"montoDescuentooRecargoOtraMoneda\": 5735.360151284491,\n          \"indicadorFacturacionDescuentooRecargo\": 7019\n        },\n        {\n          \"numeroLinea\": 1354,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 3433,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 8194.941990381985,\n          \"montoDescuentooRecargo\": 8738.315665095686,\n          \"montoDescuentooRecargoOtraMoneda\": 1985.7990218488708,\n          \"indicadorFacturacionDescuentooRecargo\": 4737\n        }\n      ]\n    },\n    \"paginacion\": {\n      \"pagina\": [\n        {\n          \"paginaNo\": 4,\n          \"noLineaDesde\": 477,\n          \"noLineaHasta\": 560,\n          \"subtotalMontoGravadoPagina\": 4591.691389605103,\n          \"subtotalMontoGravado1Pagina\": 6336.07581393507,\n          \"subtotalMontoGravado2Pagina\": 8506.755917653149,\n          \"subtotalMontoGravado3Pagina\": 4524.522405360874,\n          \"subtotalExentoPagina\": 4759.51641687101,\n          \"subtotalItbisPagina\": 7571.6791681026525,\n          \"subtotalItbis1Pagina\": 2694.411570619758,\n          \"subtotalItbis2Pagina\": 5038.029400583808,\n          \"subtotalItbis3Pagina\": 1184.4508192479864,\n          \"subtotalImpuestoAdicionalPagina\": 338.5958724646387,\n          \"subtotalImpuestoAdicional\": {\n            \"subtotalImpuestoSelectivoConsumoEspecificoPagina\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"subtotalOtrosImpuesto\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"montoSubtotalPagina\": 5193.680091479526,\n          \"subtotalMontoNoFacturablePagina\": 237.13127757275964\n        },\n        {\n          \"paginaNo\": 818,\n          \"noLineaDesde\": 186,\n          \"noLineaHasta\": 690,\n          \"subtotalMontoGravadoPagina\": 1215.441866676742,\n          \"subtotalMontoGravado1Pagina\": 1318.3215067396015,\n          \"subtotalMontoGravado2Pagina\": 1440.0103136123055,\n          \"subtotalMontoGravado3Pagina\": 4777.614274192296,\n          \"subtotalExentoPagina\": 1929.4762186850155,\n          \"subtotalItbisPagina\": 2297.7646891745208,\n          \"subtotalItbis1Pagina\": 4049.856739382269,\n          \"subtotalItbis2Pagina\": 4679.914083260664,\n          \"subtotalItbis3Pagina\": 1247.3034652455306,\n          \"subtotalImpuestoAdicionalPagina\": 4689.219916382944,\n          \"subtotalImpuestoAdicional\": {\n            \"subtotalImpuestoSelectivoConsumoEspecificoPagina\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"subtotalOtrosImpuesto\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"montoSubtotalPagina\": 3007.0096238022215,\n          \"subtotalMontoNoFacturablePagina\": 8237.401633773059\n        }\n      ]\n    },\n    \"informacionReferencia\": {\n      \"ncfModificado\": \"E310000000001\",\n      \"rncOtroContribuyente\": \"string\",\n      \"fechaNCFModificado\": \"01-10-2026\",\n      \"codigoModificacion\": 3,\n      \"razonModificacion\": \"Devolución parcial\"\n    },\n    \"fechaHoraFirma\": \"string\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Gateway",
              "code": 502,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 2659,\n  \"mensaje\": \"string\",\n  \"procesado\": false,\n  \"data\": {\n    \"code\": \"ECF_VALIDATION\",\n    \"traceId\": \"string\",\n    \"envio\": {\n      \"ecf\": \"E310000000001\",\n      \"message\": \"string\",\n      \"accepted\": 1,\n      \"status\": \"Aceptado\",\n      \"securityCode\": \"A1b2C3\",\n      \"signedAt\": \"05-10-2026 14:32:10\",\n      \"issuedAt\": \"05-10-2026 14:32:12\",\n      \"qrUrl\": \"https://ecf.dgii.gov.do/ecf/ConsultaTimbre?RncEmisor=101000001&ENCF=E310000000001\",\n      \"deferred\": false,\n      \"xmlBase64\": \"string\",\n      \"sequenceUsed\": false,\n      \"alreadyProcessed\": true,\n      \"submissionId\": 6082,\n      \"voucherId\": 365,\n      \"trackId\": \"string\"\n    },\n    \"errores\": [\n      {\n        \"campo\": \"string\",\n        \"codigo\": \"string\",\n        \"mensaje\": \"string\"\n      },\n      {\n        \"campo\": \"string\",\n        \"codigo\": \"string\",\n        \"mensaje\": \"string\"\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "8bf4e137-7163-43c9-bfcc-5dc81054813b",
      "name": "Secuencias",
      "description": {
        "content": "Pide a Emitex el siguiente e-NCF cuando tu sistema no lleva su propia numeración.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "693d938a-cfab-4117-a3c3-6ed8e6d5e2a6",
          "name": "Reserva el siguiente e-NCF de un tipo de comprobante.",
          "request": {
            "name": "Reserva el siguiente e-NCF de un tipo de comprobante.",
            "description": {
              "content": "Solo para empresas cuyo origen de secuencia es Emitex. Úsalo en\n`Encabezado.IdDoc.eNCF` y, salvo en e-CF 32 y 34, pon `sequenceExpiresOn` en\n`FechaVencimientoSecuencia`.\n            \nCon `externalReference` la reserva es idempotente: repetir la petición con la misma\nreferencia y el mismo tipo devuelve el mismo e-NCF. Un número reservado que no se envía\nqueda como hueco en la numeración: consulta los pendientes con `GET ecf-sequences/unused`.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "api",
                "v2",
                "ecf-sequences",
                "next"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ecfType\": 31,\n  \"externalReference\": \"POS-000123\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "cb8c1e2e-2b4c-44c3-a2a7-45765cff2321",
              "name": "e-NCF reservado (o el ya reservado para esa referencia).",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "ecf-sequences",
                    "next"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"ecfType\": 31,\n  \"externalReference\": \"POS-000123\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 6853,\n  \"mensaje\": \"string\",\n  \"procesado\": false,\n  \"data\": {\n    \"encf\": \"E310000000123\",\n    \"ecfType\": 31,\n    \"sequenceExpiresOn\": \"31-12-2027\",\n    \"externalReference\": \"POS-000123\",\n    \"reservedAt\": \"2026-08-05T08:17:33.695Z\",\n    \"reused\": false\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "4e2896d8-e58c-4abb-bcc4-71933c4d19ed",
              "name": "Tipo de e-CF o referencia inválidos.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "ecf-sequences",
                    "next"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"ecfType\": 31,\n  \"externalReference\": \"POS-000123\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 3416,\n  \"mensaje\": \"string\",\n  \"procesado\": false,\n  \"data\": {\n    \"code\": \"SEQUENCE_NOT_AVAILABLE\",\n    \"reason\": \"AGOTADA\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "181f48ac-a4ee-4e99-b23e-72916f2b1599",
              "name": "Unauthorized",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "ecf-sequences",
                    "next"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"ecfType\": 31,\n  \"externalReference\": \"POS-000123\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 1681,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "5b977619-5339-49b3-a5dd-9321c75aafed",
              "name": "La empresa no usa la secuencia de Emitex, está en certificación o no quedan números.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "ecf-sequences",
                    "next"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"ecfType\": 31,\n  \"externalReference\": \"POS-000123\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Conflict",
              "code": 409,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 3416,\n  \"mensaje\": \"string\",\n  \"procesado\": false,\n  \"data\": {\n    \"code\": \"SEQUENCE_NOT_AVAILABLE\",\n    \"reason\": \"AGOTADA\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "9dfabed4-2679-44e2-9155-11b0c0b36c2e",
          "name": "Estado de la secuencia de cada tipo de e-CF: próximo número, disponibles y vencimiento.",
          "request": {
            "name": "Estado de la secuencia de cada tipo de e-CF: próximo número, disponibles y vencimiento.",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "ecf-sequences"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET"
          },
          "response": [
            {
              "id": "74266032-56e4-4caf-80ac-771f2c6db56d",
              "name": "Un elemento por tipo de e-CF con autorizaciones.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "ecf-sequences"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 7411,\n  \"mensaje\": \"string\",\n  \"procesado\": false,\n  \"data\": [\n    {\n      \"ecfType\": 31,\n      \"nextSequence\": 124,\n      \"available\": 9877,\n      \"expiresOn\": \"string\",\n      \"status\": \"Vigente\"\n    },\n    {\n      \"ecfType\": 31,\n      \"nextSequence\": 124,\n      \"available\": 9877,\n      \"expiresOn\": \"string\",\n      \"status\": \"Vigente\"\n    }\n  ]\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "89cb93b8-1590-4bfb-9f97-92ab3618a147",
              "name": "Unauthorized",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "ecf-sequences"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 1681,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "b93fc68a-23ac-4580-96a8-9acfdf066a41",
              "name": "La empresa no usa la secuencia de Emitex o está en certificación.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "ecf-sequences"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Conflict",
              "code": 409,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 3416,\n  \"mensaje\": \"string\",\n  \"procesado\": false,\n  \"data\": {\n    \"code\": \"SEQUENCE_NOT_AVAILABLE\",\n    \"reason\": \"AGOTADA\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "8c5cd7f3-9bfe-4bb6-a665-54dae8323327",
          "name": "e-NCF reservados que todavía no se han enviado.",
          "request": {
            "name": "e-NCF reservados que todavía no se han enviado.",
            "description": {
              "content": "Un e-NCF reservado y nunca enviado es un hueco en la numeración. Úsalo para conciliar con\ntu sistema: envíalo si el documento existe o repórtalo para su anulación.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "api",
                "v2",
                "ecf-sequences",
                "unused"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": false,
                  "key": "olderThanHours",
                  "value": "24",
                  "description": "Solo los reservados hace más de estas horas (por defecto 24)."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET"
          },
          "response": [
            {
              "id": "cf00be62-96af-4dc2-a165-183b0e7a7d1a",
              "name": "Reservas sin usar, las más antiguas primero (máximo 500).",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "ecf-sequences",
                    "unused"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "olderThanHours",
                      "value": "24"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 8680,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": [\n    {\n      \"encf\": \"E310000000120\",\n      \"ecfType\": 31,\n      \"externalReference\": \"string\",\n      \"reservedAt\": \"1987-10-06T22:01:10.677Z\"\n    },\n    {\n      \"encf\": \"E310000000120\",\n      \"ecfType\": 31,\n      \"externalReference\": \"string\",\n      \"reservedAt\": \"2006-05-07T16:50:07.920Z\"\n    }\n  ]\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "8587bfed-537e-44fe-bd89-7bc1099723d4",
              "name": "Unauthorized",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "ecf-sequences",
                    "unused"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "olderThanHours",
                      "value": "24"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 1681,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "92d93f2a-db27-4379-b35b-f36770512b3f",
              "name": "La empresa no usa la secuencia de Emitex o está en certificación.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "ecf-sequences",
                    "unused"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "olderThanHours",
                      "value": "24"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Conflict",
              "code": 409,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 3416,\n  \"mensaje\": \"string\",\n  \"procesado\": false,\n  \"data\": {\n    \"code\": \"SEQUENCE_NOT_AVAILABLE\",\n    \"reason\": \"AGOTADA\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "f7d2eb83-1452-43c7-9b65-53c67ddaece0",
          "name": "Anula ante la DGII e-NCF que nunca se usaron.",
          "request": {
            "name": "Anula ante la DGII e-NCF que nunca se usaron.",
            "description": {
              "content": "Solo para secuencias **sin usar**: huecos, reservas que no se enviaron y restos de rangos. Un\ncomprobante emitido se anula con una nota de crédito (E34) o de débito (E33). Se rechaza\ncualquier e-NCF ligado a un documento, en cualquier estado.\n            \nLa solicitud es idempotente por `externalReference`. No hay reintento: si queda\n`Rechazada` o `Error`, el rango queda libre y se envía otra solicitud con una\nreferencia nueva; si queda `Desconocida`, el rango sigue bloqueado y se resuelve con soporte.\nLímite: 20 solicitudes por hora y empresa.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "api",
                "v2",
                "ecf-sequences",
                "annulments"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"externalReference\": \"ANUL-2026-0001\",\n  \"reason\": \"Números reservados que no se usaron\",\n  \"ranges\": [\n    {\n      \"from\": \"E320000000101\",\n      \"to\": \"E320000000105\"\n    },\n    {\n      \"from\": \"E320000000101\",\n      \"to\": \"E320000000105\"\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "aa98596a-0ba1-4479-bdda-72fec4f35e54",
              "name": "Solicitud procesada; `data.status` dice el resultado de la DGII.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "ecf-sequences",
                    "annulments"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"externalReference\": \"ANUL-2026-0001\",\n  \"reason\": \"Números reservados que no se usaron\",\n  \"ranges\": [\n    {\n      \"from\": \"E320000000101\",\n      \"to\": \"E320000000105\"\n    },\n    {\n      \"from\": \"E320000000101\",\n      \"to\": \"E320000000105\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 50,\n  \"mensaje\": \"string\",\n  \"procesado\": false,\n  \"data\": {\n    \"id\": 12,\n    \"externalReference\": \"ANUL-2026-0001\",\n    \"status\": \"Aceptada\",\n    \"reason\": \"string\",\n    \"total\": 5,\n    \"lines\": [\n      {\n        \"ecfType\": 32,\n        \"count\": 5,\n        \"ranges\": [\n          {\n            \"from\": \"E320000000101\",\n            \"to\": \"E320000000105\"\n          },\n          {\n            \"from\": \"E320000000101\",\n            \"to\": \"E320000000105\"\n          }\n        ]\n      },\n      {\n        \"ecfType\": 32,\n        \"count\": 5,\n        \"ranges\": [\n          {\n            \"from\": \"E320000000101\",\n            \"to\": \"E320000000105\"\n          },\n          {\n            \"from\": \"E320000000101\",\n            \"to\": \"E320000000105\"\n          }\n        ]\n      }\n    ],\n    \"dgiiCode\": \"15\",\n    \"dgiiResponse\": \"string\",\n    \"createdAt\": \"2026-09-04T07:20:46.840Z\",\n    \"respondedAt\": \"1964-12-05T23:15:04.925Z\",\n    \"reused\": false,\n    \"guidance\": \"string\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "40537542-123f-4f87-be02-8d3daec3f836",
              "name": "Rango inválido, rango por encima del próximo e-NCF o fuera de una autorización.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "ecf-sequences",
                    "annulments"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"externalReference\": \"ANUL-2026-0001\",\n  \"reason\": \"Números reservados que no se usaron\",\n  \"ranges\": [\n    {\n      \"from\": \"E320000000101\",\n      \"to\": \"E320000000105\"\n    },\n    {\n      \"from\": \"E320000000101\",\n      \"to\": \"E320000000105\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 3416,\n  \"mensaje\": \"string\",\n  \"procesado\": false,\n  \"data\": {\n    \"code\": \"SEQUENCE_NOT_AVAILABLE\",\n    \"reason\": \"AGOTADA\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "ff6528cb-a8b9-4179-ade7-4e2c0f32de39",
              "name": "Unauthorized",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "ecf-sequences",
                    "annulments"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"externalReference\": \"ANUL-2026-0001\",\n  \"reason\": \"Números reservados que no se usaron\",\n  \"ranges\": [\n    {\n      \"from\": \"E320000000101\",\n      \"to\": \"E320000000105\"\n    },\n    {\n      \"from\": \"E320000000101\",\n      \"to\": \"E320000000105\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 1681,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "76e326f3-aa4d-498f-ad27-6ce8483b385f",
              "name": "e-NCF en uso, en otra anulación, referencia repetida con otros rangos o ambiente de certificación.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "ecf-sequences",
                    "annulments"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"externalReference\": \"ANUL-2026-0001\",\n  \"reason\": \"Números reservados que no se usaron\",\n  \"ranges\": [\n    {\n      \"from\": \"E320000000101\",\n      \"to\": \"E320000000105\"\n    },\n    {\n      \"from\": \"E320000000101\",\n      \"to\": \"E320000000105\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Conflict",
              "code": 409,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 3416,\n  \"mensaje\": \"string\",\n  \"procesado\": false,\n  \"data\": {\n    \"code\": \"SEQUENCE_NOT_AVAILABLE\",\n    \"reason\": \"AGOTADA\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "0d6037e9-ddb6-473a-afc7-4bbf847bf891",
              "name": "Límite de solicitudes por hora alcanzado.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "ecf-sequences",
                    "annulments"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"externalReference\": \"ANUL-2026-0001\",\n  \"reason\": \"Números reservados que no se usaron\",\n  \"ranges\": [\n    {\n      \"from\": \"E320000000101\",\n      \"to\": \"E320000000105\"\n    },\n    {\n      \"from\": \"E320000000101\",\n      \"to\": \"E320000000105\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Too Many Requests",
              "code": 429,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 1681,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "9d61e762-3052-4c65-8771-1729e0b01fe6",
          "name": "Consulta una solicitud de anulación.",
          "request": {
            "name": "Consulta una solicitud de anulación.",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "ecf-sequences",
                "annulments",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "2702",
                  "key": "id",
                  "description": "(Required) "
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET"
          },
          "response": [
            {
              "id": "5d5f789a-17c9-4e76-9413-09121b54e622",
              "name": "La solicitud con el resultado de la DGII.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "ecf-sequences",
                    "annulments",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "2702",
                      "key": "id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 3457,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": {\n    \"id\": 12,\n    \"externalReference\": \"ANUL-2026-0001\",\n    \"status\": \"Aceptada\",\n    \"reason\": \"string\",\n    \"total\": 5,\n    \"lines\": [\n      {\n        \"ecfType\": 32,\n        \"count\": 5,\n        \"ranges\": [\n          {\n            \"from\": \"E320000000101\",\n            \"to\": \"E320000000105\"\n          },\n          {\n            \"from\": \"E320000000101\",\n            \"to\": \"E320000000105\"\n          }\n        ]\n      },\n      {\n        \"ecfType\": 32,\n        \"count\": 5,\n        \"ranges\": [\n          {\n            \"from\": \"E320000000101\",\n            \"to\": \"E320000000105\"\n          },\n          {\n            \"from\": \"E320000000101\",\n            \"to\": \"E320000000105\"\n          }\n        ]\n      }\n    ],\n    \"dgiiCode\": \"15\",\n    \"dgiiResponse\": \"string\",\n    \"createdAt\": \"1960-05-22T13:07:42.938Z\",\n    \"respondedAt\": \"1988-09-27T20:32:50.263Z\",\n    \"reused\": false,\n    \"guidance\": \"string\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "1962c6ce-a0c4-49d9-a2ec-bb85bf0a7734",
              "name": "Unauthorized",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "ecf-sequences",
                    "annulments",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "2702",
                      "key": "id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 1681,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "6a67c8ca-3404-4500-afbd-06455e3da5f3",
              "name": "No existe en la empresa del token.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "ecf-sequences",
                    "annulments",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "2702",
                      "key": "id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 1681,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "8c3eda12-0704-4ab8-8e6b-95419a37288f",
          "name": "Secuencias sugeridas para anular (solo con la secuencia de Emitex).",
          "request": {
            "name": "Secuencias sugeridas para anular (solo con la secuencia de Emitex).",
            "description": {
              "content": "Huecos por debajo del próximo e-NCF, reservas de la API de más de 24 horas sin usar y lo que\nquedó sin usar en autorizaciones vencidas (la DGII exige anularlo).",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "api",
                "v2",
                "ecf-sequences",
                "annulments",
                "candidates"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET"
          },
          "response": [
            {
              "id": "d679e4ac-289e-4311-acf5-2e1277e479cb",
              "name": "Candidatos, por tipo y número.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "ecf-sequences",
                    "annulments",
                    "candidates"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 1583,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": [\n    {\n      \"category\": \"RESERVA_API_SIN_USAR\",\n      \"ecfType\": 32,\n      \"from\": \"E320000000056\",\n      \"to\": \"E320000000056\",\n      \"count\": 1,\n      \"externalReference\": \"string\"\n    },\n    {\n      \"category\": \"RESERVA_API_SIN_USAR\",\n      \"ecfType\": 32,\n      \"from\": \"E320000000056\",\n      \"to\": \"E320000000056\",\n      \"count\": 1,\n      \"externalReference\": \"string\"\n    }\n  ]\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "f0e20779-c74f-434f-942a-e65c751ba85f",
              "name": "Unauthorized",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "ecf-sequences",
                    "annulments",
                    "candidates"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 1681,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "ed622688-2431-4423-b6c2-24e284f644e7",
              "name": "La empresa lleva su propia numeración o está en certificación.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "ecf-sequences",
                    "annulments",
                    "candidates"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Conflict",
              "code": 409,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 3416,\n  \"mensaje\": \"string\",\n  \"procesado\": false,\n  \"data\": {\n    \"code\": \"SEQUENCE_NOT_AVAILABLE\",\n    \"reason\": \"AGOTADA\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "8be06c4f-f7ea-4e31-9744-e5954b44b140",
      "name": "Consultas",
      "description": {
        "content": "Consulta el estado de tus comprobantes, los que te emitieron y los datos de tu empresa en el padrón.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "2c63861f-f72d-4926-aa8e-c1f773869003",
          "name": "Consulta en la DGII el estado de un e-CF que emitiste.",
          "request": {
            "name": "Consulta en la DGII el estado de un e-CF que emitiste.",
            "description": {
              "content": "Úsalo cuando el envío respondió sin estado final (`accepted = null`, \"En Proceso\").\nConsulta con un intervalo razonable (por ejemplo, cada 30 segundos), no en un bucle continuo.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "api",
                "v2",
                "dgii-ecf",
                "document-status",
                ":encf"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "E310000000001",
                  "key": "encf",
                  "description": "(Required) e-NCF del comprobante, por ejemplo `E310000000001`."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET"
          },
          "response": [
            {
              "id": "68dfd7a7-cbe4-4e41-a7a4-4c1159efeb92",
              "name": "Estado del comprobante.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "dgii-ecf",
                    "document-status",
                    ":encf"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "string",
                      "key": "encf",
                      "description": "(Required) e-NCF del comprobante, por ejemplo `E310000000001`."
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 7797,\n  \"mensaje\": \"string\",\n  \"procesado\": false,\n  \"observaciones\": [\n    {\n      \"codigo\": 1506,\n      \"mensaje\": \"string\"\n    },\n    {\n      \"codigo\": 9789,\n      \"mensaje\": \"string\"\n    }\n  ],\n  \"codigoSeguridad\": \"string\",\n  \"fechaFirma\": \"string\",\n  \"fechaEmision\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "42606386-a90a-4a28-9534-dfe47b59d470",
              "name": "Unauthorized",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "dgii-ecf",
                    "document-status",
                    ":encf"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "string",
                      "key": "encf",
                      "description": "(Required) e-NCF del comprobante, por ejemplo `E310000000001`."
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 1681,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "a3481e7c-502e-461a-800b-204e39d5b60e",
              "name": "La DGII no tiene ese comprobante.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "dgii-ecf",
                    "document-status",
                    ":encf"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "string",
                      "key": "encf",
                      "description": "(Required) e-NCF del comprobante, por ejemplo `E310000000001`."
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 1681,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "8a1f0530-077b-4268-888c-b48ec0da4c09",
          "name": "Estado ante la DGII de un e-CF que un TERCERO emitió a tu empresa (servicio Consulta Estado).",
          "request": {
            "name": "Estado ante la DGII de un e-CF que un TERCERO emitió a tu empresa (servicio Consulta Estado).",
            "description": {
              "content": "El RNC comprador es el de tu credencial: una empresa solo consulta lo que le emitieron a ella.\nSirve para comprobar que una factura de proveedor existe y fue aceptada antes de registrarla.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "api",
                "v2",
                "dgii-ecf",
                "external-status"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": false,
                  "key": "rncEmisor",
                  "value": "101010101",
                  "description": "RNC del proveedor que emitió el comprobante."
                },
                {
                  "disabled": false,
                  "key": "encf",
                  "value": "E310000000001",
                  "description": "e-NCF del comprobante recibido."
                },
                {
                  "disabled": false,
                  "key": "codigoSeguridad",
                  "value": "A1b2C3",
                  "description": "Código de seguridad impreso en el comprobante (6 caracteres)."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET"
          },
          "response": [
            {
              "id": "e2d15e1b-5014-40f1-a25a-f3633d9efa52",
              "name": "Estado según la DGII.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "dgii-ecf",
                    "external-status"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "rncEmisor",
                      "value": "string"
                    },
                    {
                      "key": "encf",
                      "value": "string"
                    },
                    {
                      "key": "codigoSeguridad",
                      "value": "string"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 6791,\n  \"mensaje\": \"string\",\n  \"procesado\": false,\n  \"data\": {\n    \"codigo\": 6105,\n    \"estado\": \"string\",\n    \"rncEmisor\": \"string\",\n    \"ncfElectronico\": \"string\",\n    \"montoTotal\": 1918.3242063069983,\n    \"totalITBIS\": 9823.947620271027,\n    \"fechaEmision\": \"string\",\n    \"fechaFirma\": \"string\",\n    \"rncComprador\": \"string\",\n    \"codigoSeguridad\": \"string\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "2838779d-b424-4e69-b3fa-28aa4ae05db1",
              "name": "Falta algún parámetro.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "dgii-ecf",
                    "external-status"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "rncEmisor",
                      "value": "string"
                    },
                    {
                      "key": "encf",
                      "value": "string"
                    },
                    {
                      "key": "codigoSeguridad",
                      "value": "string"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 1681,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "d81039a9-944c-426b-a7c0-882ede1b5700",
              "name": "Unauthorized",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "dgii-ecf",
                    "external-status"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "rncEmisor",
                      "value": "string"
                    },
                    {
                      "key": "encf",
                      "value": "string"
                    },
                    {
                      "key": "codigoSeguridad",
                      "value": "string"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 1681,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "f701dcf1-bcfe-4f70-b8e6-3068f6558d44",
              "name": "La DGII no devolvió información.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "dgii-ecf",
                    "external-status"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "rncEmisor",
                      "value": "string"
                    },
                    {
                      "key": "encf",
                      "value": "string"
                    },
                    {
                      "key": "codigoSeguridad",
                      "value": "string"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 1681,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "82ca47ad-1fa8-42de-a2db-135064cd5e91",
              "name": "La DGII no respondió; reintenta más tarde.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "dgii-ecf",
                    "external-status"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "rncEmisor",
                      "value": "string"
                    },
                    {
                      "key": "encf",
                      "value": "string"
                    },
                    {
                      "key": "codigoSeguridad",
                      "value": "string"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Gateway",
              "code": 502,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 1681,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "bdfb8047-8170-4db1-ad5e-f7a37d4b2c82",
          "name": "Consulta los datos de tu empresa en el padrón de contribuyentes de la DGII.",
          "request": {
            "name": "Consulta los datos de tu empresa en el padrón de contribuyentes de la DGII.",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "dgii-ecf",
                "consult-rnc"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET"
          },
          "response": [
            {
              "id": "8194ad1a-769f-4736-85a7-c357035568a2",
              "name": "Datos del contribuyente.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "dgii-ecf",
                    "consult-rnc"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 66,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": {\n    \"rnc\": \"101010101\",\n    \"companyName\": \"string\",\n    \"commercialName\": \"string\",\n    \"incorporatedDate\": \"1986-11-22T08:21:04.866Z\",\n    \"status\": \"ACTIVO\",\n    \"regimen\": \"string\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "e5ce5caf-6c66-4226-868b-52670c0eb6a4",
              "name": "Unauthorized",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "dgii-ecf",
                    "consult-rnc"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 1681,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "f55827f9-6916-4444-8e09-c77e2d067ca4",
              "name": "El RNC no está en el padrón.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v2",
                    "dgii-ecf",
                    "consult-rnc"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 1681,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    }
  ],
  "event": [
    {
      "listen": "prerequest",
      "script": {
        "type": "text/javascript",
        "exec": [
          "if (pm.request.url.getPath().toLowerCase().endsWith('/auth/login')) return;",
          "const token = pm.environment.get('token');",
          "const exp = Date.parse(pm.environment.get('tokenExpiracion') || '');",
          "if (token && exp && exp - Date.now() > 60 * 1000) return;",
          "pm.sendRequest({",
          "  url: pm.variables.replaceIn('{{baseUrl}}') + '/api/v2/Auth/login',",
          "  method: 'POST',",
          "  header: { 'Content-Type': 'application/json' },",
          "  body: { mode: 'raw', raw: JSON.stringify({",
          "    usuario: pm.environment.get('usuario'),",
          "    clave: pm.environment.get('clave'),",
          "    rnc: pm.environment.get('rnc') }) }",
          "}, (err, res) => {",
          "  if (err) { console.error(err); return; }",
          "  const body = res.json();",
          "  if (res.code !== 200) { console.error('Login rechazado', res.code, body.mensaje); return; }",
          "  pm.environment.set('token', body.token);",
          "  pm.environment.set('tokenExpiracion', body.fechaExpiracion);",
          "});"
        ]
      }
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://sender.emitexrd.com"
    }
  ],
  "info": {
    "_postman_id": "3fe03cd0-8be8-43ff-8098-219325421456",
    "name": "EmitexRD — API de Facturación Electrónica (v2)",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "description": "Colección generada desde el contrato OpenAPI publicado en https://developers.emitexrd.com.\n\nCompleta en el entorno: usuario, clave y rnc de tu credencial de integración. El token se obtiene y renueva solo (script de la colección)."
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{token}}",
        "type": "string"
      }
    ]
  }
}