{
  "item": [
    {
      "id": "e6e256c2-c90f-494d-b59e-3e53febbb86a",
      "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": "3a8a8f15-59a7-41c4-993b-7e1a4fc4e501",
          "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",
                "v1",
                "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": "39b3e1b6-db03-41f7-9ef7-a96f2705f2f8",
              "name": "Token emitido.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v1",
                    "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\": \"1984-05-25T12:54:32.071Z\",\n  \"codigo\": 9314,\n  \"mensaje\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "c2d8ab83-9f59-4e8e-9695-275c7e7bd265",
              "name": "Faltan usuario, contraseña o RNC.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v1",
                    "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\": \"1984-05-25T12:54:32.071Z\",\n  \"codigo\": 9314,\n  \"mensaje\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "a105609a-23d2-450f-87f1-849a12a91a76",
              "name": "Usuario, contraseña o RNC incorrectos.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v1",
                    "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\": \"1984-05-25T12:54:32.071Z\",\n  \"codigo\": 9314,\n  \"mensaje\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "4794d471-435c-4cc8-849d-971b11b7b0eb",
              "name": "Credenciales correctas, pero la empresa no puede emitir por la API.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v1",
                    "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\": \"1984-05-25T12:54:32.071Z\",\n  \"codigo\": 9314,\n  \"mensaje\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "0d823153-471f-4eaf-8d34-f64d80480b92",
              "name": "Credencial bloqueada o demasiados intentos desde la IP.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v1",
                    "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\": \"1984-05-25T12:54:32.071Z\",\n  \"codigo\": 9314,\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": "a808fb33-6a65-4417-a89d-90a37da6334a",
      "name": "Emisión",
      "description": {
        "content": "Valida y emite comprobantes fiscales electrónicos (e-CF) ante la DGII.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "353ecfae-9cf1-425f-bb83-8675d40e5775",
          "name": "Ensayo: valida el comprobante entero y NO lo emite.",
          "request": {
            "name": "Ensayo: valida el comprobante entero y NO lo emite.",
            "description": {
              "content": "Comparte con `send` las puertas que de verdad rechazan documentos —esquema, negocio y\nXSD— y se detiene justo antes de transmitir. Por eso responde 200 aunque el comprobante\nsea inválido: el fallo es el resultado que se venía a buscar, no un error de la\npetición. Quien llama mira `valido`, no el código de estado.\n            \nFirma el comprobante —el XSD de la DGII no admite uno sin firma—, pero la firma es local: no\nescribe nada ni sale a la red, así que es seguro llamarlo tantas veces como haga falta.\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",
                "v1",
                "dgii-ecf",
                "validate",
                ":companyId"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "{{companyId}}",
                  "key": "companyId",
                  "description": "(Required) Id de tu empresa. Usa `0` para \"la empresa de mi credencial\"."
                }
              ]
            },
            "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": "7ae7b8f7-7ebd-4f88-a1c2-98136eb3d921",
              "name": "Resultado del ensayo: mira `data.valido` y `data.errores`.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v1",
                    "dgii-ecf",
                    "validate",
                    ":companyId"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "3808",
                      "key": "companyId",
                      "description": "(Required) Id de tu empresa. Usa `0` para \"la empresa de mi credencial\"."
                    }
                  ]
                },
                "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\": 3626,\n        \"indicadorMontoGravado\": 0,\n        \"indicadorServicioTodoIncluido\": 5963,\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\": 9912\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\": \"strin\",\n        \"rutaVenta\": \"string\",\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\": \"string\",\n        \"informacionAdicionalComprador\": \"string\",\n        \"identificadorExtranjero\": \"string\"\n      },\n      \"informacionesAdicionales\": {\n        \"fechaEmbarque\": \"31-10-1930\",\n        \"numeroEmbarque\": \"string\",\n        \"numeroContenedor\": \"string\",\n        \"numeroReferencia\": \"string\",\n        \"nombrePuertoEmbarque\": \"string\",\n        \"pesoBruto\": 8408.404967354913,\n        \"pesoNeto\": 2755.333408734222,\n        \"totalFob\": 4137.926825888833,\n        \"seguro\": 7916.8183154591,\n        \"flete\": 9132.681861415342,\n        \"unidadPesoBruto\": 6849,\n        \"unidadPesoNeto\": 5543,\n        \"cantidadBulto\": 8018.538057950868,\n        \"unidadBulto\": 5846,\n        \"volumenBulto\": 9826.639023868778,\n        \"unidadVolumen\": 3694\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\": 6746.85496600798,\n        \"montoGravadoI3\": 7280.61438259344,\n        \"montoExento\": 7734.018978443598,\n        \"itbiS1\": 18,\n        \"itbiS2\": 260,\n        \"itbiS3\": 1989,\n        \"totalITBIS\": 180,\n        \"totalITBIS1\": 180,\n        \"totalITBIS2\": 5256.411677082,\n        \"totalITBIS3\": 8381.645782106309,\n        \"montoImpuestoAdicional\": 4704.252713917945,\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\": 262.40153942989065,\n        \"montoPeriodo\": 706.8356129550212,\n        \"saldoAnterior\": 9924.367912967153,\n        \"montoAvancePago\": 9859.244767971242,\n        \"valorPagar\": 5372.45972150884,\n        \"totalITBISRetenido\": 3369.542239973986,\n        \"totalISRRetencion\": 1527.9222479701282,\n        \"totalITBISPercepcion\": 9262.245273273562,\n        \"totalISRPercepcion\": 5803.5008368319695\n      },\n      \"otraMoneda\": {\n        \"tipoMoneda\": \"USD\",\n        \"tipoCambio\": 59.5,\n        \"montoGravadoTotalOtraMoneda\": 8909.785603621007,\n        \"montoGravado1OtraMoneda\": 7126.864517913958,\n        \"montoGravado2OtraMoneda\": 9421.04974504548,\n        \"montoGravado3OtraMoneda\": 4435.768538112974,\n        \"montoExentoOtraMoneda\": 6383.208824828108,\n        \"totalITBISOtraMoneda\": 3627.7103057419426,\n        \"totalITBIS1OtraMoneda\": 2907.5386270502345,\n        \"totalITBIS2OtraMoneda\": 725.365394451909,\n        \"totalITBIS3OtraMoneda\": 9137.090284770955,\n        \"montoImpuestoAdicionalOtraMoneda\": 4856.139387092458,\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\": 3125.9396871042045\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\": 2892,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7459.325461676538,\n          \"unidadReferencia\": 6362,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 5680.116446322397,\n          \"recargoMonto\": 4132.697647513226,\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\": 3221.2917106365535,\n          \"precioUnitarioReferencia\": 3048.8408501945896,\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\": 193,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7810.480143622869,\n          \"unidadReferencia\": 9512,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 3709.869187296033,\n          \"recargoMonto\": 4119.118691642229,\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\": 1942.3372149283002,\n          \"precioUnitarioReferencia\": 8308.778340961948,\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\": 6755,\n          \"descripcionSubtotal\": \"string\",\n          \"orden\": 4900,\n          \"subTotalMontoGravadoTotal\": 6718.78632698973,\n          \"subTotalMontoGravadoI1\": 4500.966939088426,\n          \"subTotalMontoGravadoI2\": 521.6750548000948,\n          \"subTotalMontoGravadoI3\": 3946.4755709502188,\n          \"subTotaITBIS\": 1565.7282596405598,\n          \"subTotaITBIS1\": 2974.0280288118124,\n          \"subTotaITBIS2\": 9002.033305751382,\n          \"subTotaITBIS3\": 6156.975869374617,\n          \"subTotalImpuestoAdicional\": 7832.9730067789715,\n          \"subTotalExento\": 9348.708571309284,\n          \"montoSubTotal\": 4204.78006293081,\n          \"lineas\": 346\n        },\n        {\n          \"numeroSubTotal\": 6042,\n          \"descripcionSubtotal\": \"string\",\n          \"orden\": 4828,\n          \"subTotalMontoGravadoTotal\": 6340.400219312421,\n          \"subTotalMontoGravadoI1\": 5680.766483525918,\n          \"subTotalMontoGravadoI2\": 4143.870826921847,\n          \"subTotalMontoGravadoI3\": 5400.9580000647375,\n          \"subTotaITBIS\": 510.0906917325787,\n          \"subTotaITBIS1\": 5992.821200506184,\n          \"subTotaITBIS2\": 1117.7943976753668,\n          \"subTotaITBIS3\": 375.88420548485544,\n          \"subTotalImpuestoAdicional\": 5228.09947123672,\n          \"subTotalExento\": 2796.6341763509517,\n          \"montoSubTotal\": 6494.258506767252,\n          \"lineas\": 5853\n        }\n      ]\n    },\n    \"descuentosORecargos\": {\n      \"listaDescuentosORecargos\": [\n        {\n          \"numeroLinea\": 2322,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 4984,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 8822.322592121804,\n          \"montoDescuentooRecargo\": 97.27141058408773,\n          \"montoDescuentooRecargoOtraMoneda\": 1260.1046283583273,\n          \"indicadorFacturacionDescuentooRecargo\": 5036\n        },\n        {\n          \"numeroLinea\": 6434,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 5939,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 5698.071815350579,\n          \"montoDescuentooRecargo\": 7906.625652367156,\n          \"montoDescuentooRecargoOtraMoneda\": 5467.53680023428,\n          \"indicadorFacturacionDescuentooRecargo\": 3163\n        }\n      ]\n    },\n    \"paginacion\": {\n      \"pagina\": [\n        {\n          \"paginaNo\": 869,\n          \"noLineaDesde\": 261,\n          \"noLineaHasta\": 811,\n          \"subtotalMontoGravadoPagina\": 919.9059852112001,\n          \"subtotalMontoGravado1Pagina\": 6753.200306594152,\n          \"subtotalMontoGravado2Pagina\": 9380.240454165538,\n          \"subtotalMontoGravado3Pagina\": 1703.4794507212569,\n          \"subtotalExentoPagina\": 1276.4660269009398,\n          \"subtotalItbisPagina\": 6923.691414645606,\n          \"subtotalItbis1Pagina\": 4820.025859706026,\n          \"subtotalItbis2Pagina\": 7323.784403304723,\n          \"subtotalItbis3Pagina\": 8326.497322870016,\n          \"subtotalImpuestoAdicionalPagina\": 487.2740878387849,\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\": 7274.757437545387,\n          \"subtotalMontoNoFacturablePagina\": 7245.6543490106615\n        },\n        {\n          \"paginaNo\": 755,\n          \"noLineaDesde\": 174,\n          \"noLineaHasta\": 183,\n          \"subtotalMontoGravadoPagina\": 3943.9344871060443,\n          \"subtotalMontoGravado1Pagina\": 3365.3477947306064,\n          \"subtotalMontoGravado2Pagina\": 9709.37331603954,\n          \"subtotalMontoGravado3Pagina\": 3930.006644115158,\n          \"subtotalExentoPagina\": 9782.003487564842,\n          \"subtotalItbisPagina\": 7168.444250918158,\n          \"subtotalItbis1Pagina\": 4021.0290142888925,\n          \"subtotalItbis2Pagina\": 6740.88153072415,\n          \"subtotalItbis3Pagina\": 7021.121414594687,\n          \"subtotalImpuestoAdicionalPagina\": 9203.19026204153,\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\": 2589.785958195956,\n          \"subtotalMontoNoFacturablePagina\": 8581.234322237024\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\": 6025,\n  \"mensaje\": \"string\",\n  \"procesado\": false,\n  \"data\": {\n    \"valido\": true,\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": "12d8ec4a-30e1-416c-b7d9-cb2a5743c9b0",
              "name": "Cuerpo vacío o JSON mal formado.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v1",
                    "dgii-ecf",
                    "validate",
                    ":companyId"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "3808",
                      "key": "companyId",
                      "description": "(Required) Id de tu empresa. Usa `0` para \"la empresa de mi credencial\"."
                    }
                  ]
                },
                "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\": 3626,\n        \"indicadorMontoGravado\": 0,\n        \"indicadorServicioTodoIncluido\": 5963,\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\": 9912\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\": \"strin\",\n        \"rutaVenta\": \"string\",\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\": \"string\",\n        \"informacionAdicionalComprador\": \"string\",\n        \"identificadorExtranjero\": \"string\"\n      },\n      \"informacionesAdicionales\": {\n        \"fechaEmbarque\": \"31-10-1930\",\n        \"numeroEmbarque\": \"string\",\n        \"numeroContenedor\": \"string\",\n        \"numeroReferencia\": \"string\",\n        \"nombrePuertoEmbarque\": \"string\",\n        \"pesoBruto\": 8408.404967354913,\n        \"pesoNeto\": 2755.333408734222,\n        \"totalFob\": 4137.926825888833,\n        \"seguro\": 7916.8183154591,\n        \"flete\": 9132.681861415342,\n        \"unidadPesoBruto\": 6849,\n        \"unidadPesoNeto\": 5543,\n        \"cantidadBulto\": 8018.538057950868,\n        \"unidadBulto\": 5846,\n        \"volumenBulto\": 9826.639023868778,\n        \"unidadVolumen\": 3694\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\": 6746.85496600798,\n        \"montoGravadoI3\": 7280.61438259344,\n        \"montoExento\": 7734.018978443598,\n        \"itbiS1\": 18,\n        \"itbiS2\": 260,\n        \"itbiS3\": 1989,\n        \"totalITBIS\": 180,\n        \"totalITBIS1\": 180,\n        \"totalITBIS2\": 5256.411677082,\n        \"totalITBIS3\": 8381.645782106309,\n        \"montoImpuestoAdicional\": 4704.252713917945,\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\": 262.40153942989065,\n        \"montoPeriodo\": 706.8356129550212,\n        \"saldoAnterior\": 9924.367912967153,\n        \"montoAvancePago\": 9859.244767971242,\n        \"valorPagar\": 5372.45972150884,\n        \"totalITBISRetenido\": 3369.542239973986,\n        \"totalISRRetencion\": 1527.9222479701282,\n        \"totalITBISPercepcion\": 9262.245273273562,\n        \"totalISRPercepcion\": 5803.5008368319695\n      },\n      \"otraMoneda\": {\n        \"tipoMoneda\": \"USD\",\n        \"tipoCambio\": 59.5,\n        \"montoGravadoTotalOtraMoneda\": 8909.785603621007,\n        \"montoGravado1OtraMoneda\": 7126.864517913958,\n        \"montoGravado2OtraMoneda\": 9421.04974504548,\n        \"montoGravado3OtraMoneda\": 4435.768538112974,\n        \"montoExentoOtraMoneda\": 6383.208824828108,\n        \"totalITBISOtraMoneda\": 3627.7103057419426,\n        \"totalITBIS1OtraMoneda\": 2907.5386270502345,\n        \"totalITBIS2OtraMoneda\": 725.365394451909,\n        \"totalITBIS3OtraMoneda\": 9137.090284770955,\n        \"montoImpuestoAdicionalOtraMoneda\": 4856.139387092458,\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\": 3125.9396871042045\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\": 2892,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7459.325461676538,\n          \"unidadReferencia\": 6362,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 5680.116446322397,\n          \"recargoMonto\": 4132.697647513226,\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\": 3221.2917106365535,\n          \"precioUnitarioReferencia\": 3048.8408501945896,\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\": 193,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7810.480143622869,\n          \"unidadReferencia\": 9512,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 3709.869187296033,\n          \"recargoMonto\": 4119.118691642229,\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\": 1942.3372149283002,\n          \"precioUnitarioReferencia\": 8308.778340961948,\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\": 6755,\n          \"descripcionSubtotal\": \"string\",\n          \"orden\": 4900,\n          \"subTotalMontoGravadoTotal\": 6718.78632698973,\n          \"subTotalMontoGravadoI1\": 4500.966939088426,\n          \"subTotalMontoGravadoI2\": 521.6750548000948,\n          \"subTotalMontoGravadoI3\": 3946.4755709502188,\n          \"subTotaITBIS\": 1565.7282596405598,\n          \"subTotaITBIS1\": 2974.0280288118124,\n          \"subTotaITBIS2\": 9002.033305751382,\n          \"subTotaITBIS3\": 6156.975869374617,\n          \"subTotalImpuestoAdicional\": 7832.9730067789715,\n          \"subTotalExento\": 9348.708571309284,\n          \"montoSubTotal\": 4204.78006293081,\n          \"lineas\": 346\n        },\n        {\n          \"numeroSubTotal\": 6042,\n          \"descripcionSubtotal\": \"string\",\n          \"orden\": 4828,\n          \"subTotalMontoGravadoTotal\": 6340.400219312421,\n          \"subTotalMontoGravadoI1\": 5680.766483525918,\n          \"subTotalMontoGravadoI2\": 4143.870826921847,\n          \"subTotalMontoGravadoI3\": 5400.9580000647375,\n          \"subTotaITBIS\": 510.0906917325787,\n          \"subTotaITBIS1\": 5992.821200506184,\n          \"subTotaITBIS2\": 1117.7943976753668,\n          \"subTotaITBIS3\": 375.88420548485544,\n          \"subTotalImpuestoAdicional\": 5228.09947123672,\n          \"subTotalExento\": 2796.6341763509517,\n          \"montoSubTotal\": 6494.258506767252,\n          \"lineas\": 5853\n        }\n      ]\n    },\n    \"descuentosORecargos\": {\n      \"listaDescuentosORecargos\": [\n        {\n          \"numeroLinea\": 2322,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 4984,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 8822.322592121804,\n          \"montoDescuentooRecargo\": 97.27141058408773,\n          \"montoDescuentooRecargoOtraMoneda\": 1260.1046283583273,\n          \"indicadorFacturacionDescuentooRecargo\": 5036\n        },\n        {\n          \"numeroLinea\": 6434,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 5939,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 5698.071815350579,\n          \"montoDescuentooRecargo\": 7906.625652367156,\n          \"montoDescuentooRecargoOtraMoneda\": 5467.53680023428,\n          \"indicadorFacturacionDescuentooRecargo\": 3163\n        }\n      ]\n    },\n    \"paginacion\": {\n      \"pagina\": [\n        {\n          \"paginaNo\": 869,\n          \"noLineaDesde\": 261,\n          \"noLineaHasta\": 811,\n          \"subtotalMontoGravadoPagina\": 919.9059852112001,\n          \"subtotalMontoGravado1Pagina\": 6753.200306594152,\n          \"subtotalMontoGravado2Pagina\": 9380.240454165538,\n          \"subtotalMontoGravado3Pagina\": 1703.4794507212569,\n          \"subtotalExentoPagina\": 1276.4660269009398,\n          \"subtotalItbisPagina\": 6923.691414645606,\n          \"subtotalItbis1Pagina\": 4820.025859706026,\n          \"subtotalItbis2Pagina\": 7323.784403304723,\n          \"subtotalItbis3Pagina\": 8326.497322870016,\n          \"subtotalImpuestoAdicionalPagina\": 487.2740878387849,\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\": 7274.757437545387,\n          \"subtotalMontoNoFacturablePagina\": 7245.6543490106615\n        },\n        {\n          \"paginaNo\": 755,\n          \"noLineaDesde\": 174,\n          \"noLineaHasta\": 183,\n          \"subtotalMontoGravadoPagina\": 3943.9344871060443,\n          \"subtotalMontoGravado1Pagina\": 3365.3477947306064,\n          \"subtotalMontoGravado2Pagina\": 9709.37331603954,\n          \"subtotalMontoGravado3Pagina\": 3930.006644115158,\n          \"subtotalExentoPagina\": 9782.003487564842,\n          \"subtotalItbisPagina\": 7168.444250918158,\n          \"subtotalItbis1Pagina\": 4021.0290142888925,\n          \"subtotalItbis2Pagina\": 6740.88153072415,\n          \"subtotalItbis3Pagina\": 7021.121414594687,\n          \"subtotalImpuestoAdicionalPagina\": 9203.19026204153,\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\": 2589.785958195956,\n          \"subtotalMontoNoFacturablePagina\": 8581.234322237024\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\": 6621,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "a2ede72e-1a46-46b4-bc1e-7640582b322e",
              "name": "Token inválido, o el `RNCEmisor` del comprobante no es el de tu credencial.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v1",
                    "dgii-ecf",
                    "validate",
                    ":companyId"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "3808",
                      "key": "companyId",
                      "description": "(Required) Id de tu empresa. Usa `0` para \"la empresa de mi credencial\"."
                    }
                  ]
                },
                "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\": 3626,\n        \"indicadorMontoGravado\": 0,\n        \"indicadorServicioTodoIncluido\": 5963,\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\": 9912\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\": \"strin\",\n        \"rutaVenta\": \"string\",\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\": \"string\",\n        \"informacionAdicionalComprador\": \"string\",\n        \"identificadorExtranjero\": \"string\"\n      },\n      \"informacionesAdicionales\": {\n        \"fechaEmbarque\": \"31-10-1930\",\n        \"numeroEmbarque\": \"string\",\n        \"numeroContenedor\": \"string\",\n        \"numeroReferencia\": \"string\",\n        \"nombrePuertoEmbarque\": \"string\",\n        \"pesoBruto\": 8408.404967354913,\n        \"pesoNeto\": 2755.333408734222,\n        \"totalFob\": 4137.926825888833,\n        \"seguro\": 7916.8183154591,\n        \"flete\": 9132.681861415342,\n        \"unidadPesoBruto\": 6849,\n        \"unidadPesoNeto\": 5543,\n        \"cantidadBulto\": 8018.538057950868,\n        \"unidadBulto\": 5846,\n        \"volumenBulto\": 9826.639023868778,\n        \"unidadVolumen\": 3694\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\": 6746.85496600798,\n        \"montoGravadoI3\": 7280.61438259344,\n        \"montoExento\": 7734.018978443598,\n        \"itbiS1\": 18,\n        \"itbiS2\": 260,\n        \"itbiS3\": 1989,\n        \"totalITBIS\": 180,\n        \"totalITBIS1\": 180,\n        \"totalITBIS2\": 5256.411677082,\n        \"totalITBIS3\": 8381.645782106309,\n        \"montoImpuestoAdicional\": 4704.252713917945,\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\": 262.40153942989065,\n        \"montoPeriodo\": 706.8356129550212,\n        \"saldoAnterior\": 9924.367912967153,\n        \"montoAvancePago\": 9859.244767971242,\n        \"valorPagar\": 5372.45972150884,\n        \"totalITBISRetenido\": 3369.542239973986,\n        \"totalISRRetencion\": 1527.9222479701282,\n        \"totalITBISPercepcion\": 9262.245273273562,\n        \"totalISRPercepcion\": 5803.5008368319695\n      },\n      \"otraMoneda\": {\n        \"tipoMoneda\": \"USD\",\n        \"tipoCambio\": 59.5,\n        \"montoGravadoTotalOtraMoneda\": 8909.785603621007,\n        \"montoGravado1OtraMoneda\": 7126.864517913958,\n        \"montoGravado2OtraMoneda\": 9421.04974504548,\n        \"montoGravado3OtraMoneda\": 4435.768538112974,\n        \"montoExentoOtraMoneda\": 6383.208824828108,\n        \"totalITBISOtraMoneda\": 3627.7103057419426,\n        \"totalITBIS1OtraMoneda\": 2907.5386270502345,\n        \"totalITBIS2OtraMoneda\": 725.365394451909,\n        \"totalITBIS3OtraMoneda\": 9137.090284770955,\n        \"montoImpuestoAdicionalOtraMoneda\": 4856.139387092458,\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\": 3125.9396871042045\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\": 2892,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7459.325461676538,\n          \"unidadReferencia\": 6362,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 5680.116446322397,\n          \"recargoMonto\": 4132.697647513226,\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\": 3221.2917106365535,\n          \"precioUnitarioReferencia\": 3048.8408501945896,\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\": 193,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7810.480143622869,\n          \"unidadReferencia\": 9512,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 3709.869187296033,\n          \"recargoMonto\": 4119.118691642229,\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\": 1942.3372149283002,\n          \"precioUnitarioReferencia\": 8308.778340961948,\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\": 6755,\n          \"descripcionSubtotal\": \"string\",\n          \"orden\": 4900,\n          \"subTotalMontoGravadoTotal\": 6718.78632698973,\n          \"subTotalMontoGravadoI1\": 4500.966939088426,\n          \"subTotalMontoGravadoI2\": 521.6750548000948,\n          \"subTotalMontoGravadoI3\": 3946.4755709502188,\n          \"subTotaITBIS\": 1565.7282596405598,\n          \"subTotaITBIS1\": 2974.0280288118124,\n          \"subTotaITBIS2\": 9002.033305751382,\n          \"subTotaITBIS3\": 6156.975869374617,\n          \"subTotalImpuestoAdicional\": 7832.9730067789715,\n          \"subTotalExento\": 9348.708571309284,\n          \"montoSubTotal\": 4204.78006293081,\n          \"lineas\": 346\n        },\n        {\n          \"numeroSubTotal\": 6042,\n          \"descripcionSubtotal\": \"string\",\n          \"orden\": 4828,\n          \"subTotalMontoGravadoTotal\": 6340.400219312421,\n          \"subTotalMontoGravadoI1\": 5680.766483525918,\n          \"subTotalMontoGravadoI2\": 4143.870826921847,\n          \"subTotalMontoGravadoI3\": 5400.9580000647375,\n          \"subTotaITBIS\": 510.0906917325787,\n          \"subTotaITBIS1\": 5992.821200506184,\n          \"subTotaITBIS2\": 1117.7943976753668,\n          \"subTotaITBIS3\": 375.88420548485544,\n          \"subTotalImpuestoAdicional\": 5228.09947123672,\n          \"subTotalExento\": 2796.6341763509517,\n          \"montoSubTotal\": 6494.258506767252,\n          \"lineas\": 5853\n        }\n      ]\n    },\n    \"descuentosORecargos\": {\n      \"listaDescuentosORecargos\": [\n        {\n          \"numeroLinea\": 2322,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 4984,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 8822.322592121804,\n          \"montoDescuentooRecargo\": 97.27141058408773,\n          \"montoDescuentooRecargoOtraMoneda\": 1260.1046283583273,\n          \"indicadorFacturacionDescuentooRecargo\": 5036\n        },\n        {\n          \"numeroLinea\": 6434,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 5939,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 5698.071815350579,\n          \"montoDescuentooRecargo\": 7906.625652367156,\n          \"montoDescuentooRecargoOtraMoneda\": 5467.53680023428,\n          \"indicadorFacturacionDescuentooRecargo\": 3163\n        }\n      ]\n    },\n    \"paginacion\": {\n      \"pagina\": [\n        {\n          \"paginaNo\": 869,\n          \"noLineaDesde\": 261,\n          \"noLineaHasta\": 811,\n          \"subtotalMontoGravadoPagina\": 919.9059852112001,\n          \"subtotalMontoGravado1Pagina\": 6753.200306594152,\n          \"subtotalMontoGravado2Pagina\": 9380.240454165538,\n          \"subtotalMontoGravado3Pagina\": 1703.4794507212569,\n          \"subtotalExentoPagina\": 1276.4660269009398,\n          \"subtotalItbisPagina\": 6923.691414645606,\n          \"subtotalItbis1Pagina\": 4820.025859706026,\n          \"subtotalItbis2Pagina\": 7323.784403304723,\n          \"subtotalItbis3Pagina\": 8326.497322870016,\n          \"subtotalImpuestoAdicionalPagina\": 487.2740878387849,\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\": 7274.757437545387,\n          \"subtotalMontoNoFacturablePagina\": 7245.6543490106615\n        },\n        {\n          \"paginaNo\": 755,\n          \"noLineaDesde\": 174,\n          \"noLineaHasta\": 183,\n          \"subtotalMontoGravadoPagina\": 3943.9344871060443,\n          \"subtotalMontoGravado1Pagina\": 3365.3477947306064,\n          \"subtotalMontoGravado2Pagina\": 9709.37331603954,\n          \"subtotalMontoGravado3Pagina\": 3930.006644115158,\n          \"subtotalExentoPagina\": 9782.003487564842,\n          \"subtotalItbisPagina\": 7168.444250918158,\n          \"subtotalItbis1Pagina\": 4021.0290142888925,\n          \"subtotalItbis2Pagina\": 6740.88153072415,\n          \"subtotalItbis3Pagina\": 7021.121414594687,\n          \"subtotalImpuestoAdicionalPagina\": 9203.19026204153,\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\": 2589.785958195956,\n          \"subtotalMontoNoFacturablePagina\": 8581.234322237024\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\": 6621,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "9b431ea8-5665-4a9b-a2f8-a67bf4077c8e",
              "name": "El `companyId` no es el de tu credencial.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v1",
                    "dgii-ecf",
                    "validate",
                    ":companyId"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "3808",
                      "key": "companyId",
                      "description": "(Required) Id de tu empresa. Usa `0` para \"la empresa de mi credencial\"."
                    }
                  ]
                },
                "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\": 3626,\n        \"indicadorMontoGravado\": 0,\n        \"indicadorServicioTodoIncluido\": 5963,\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\": 9912\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\": \"strin\",\n        \"rutaVenta\": \"string\",\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\": \"string\",\n        \"informacionAdicionalComprador\": \"string\",\n        \"identificadorExtranjero\": \"string\"\n      },\n      \"informacionesAdicionales\": {\n        \"fechaEmbarque\": \"31-10-1930\",\n        \"numeroEmbarque\": \"string\",\n        \"numeroContenedor\": \"string\",\n        \"numeroReferencia\": \"string\",\n        \"nombrePuertoEmbarque\": \"string\",\n        \"pesoBruto\": 8408.404967354913,\n        \"pesoNeto\": 2755.333408734222,\n        \"totalFob\": 4137.926825888833,\n        \"seguro\": 7916.8183154591,\n        \"flete\": 9132.681861415342,\n        \"unidadPesoBruto\": 6849,\n        \"unidadPesoNeto\": 5543,\n        \"cantidadBulto\": 8018.538057950868,\n        \"unidadBulto\": 5846,\n        \"volumenBulto\": 9826.639023868778,\n        \"unidadVolumen\": 3694\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\": 6746.85496600798,\n        \"montoGravadoI3\": 7280.61438259344,\n        \"montoExento\": 7734.018978443598,\n        \"itbiS1\": 18,\n        \"itbiS2\": 260,\n        \"itbiS3\": 1989,\n        \"totalITBIS\": 180,\n        \"totalITBIS1\": 180,\n        \"totalITBIS2\": 5256.411677082,\n        \"totalITBIS3\": 8381.645782106309,\n        \"montoImpuestoAdicional\": 4704.252713917945,\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\": 262.40153942989065,\n        \"montoPeriodo\": 706.8356129550212,\n        \"saldoAnterior\": 9924.367912967153,\n        \"montoAvancePago\": 9859.244767971242,\n        \"valorPagar\": 5372.45972150884,\n        \"totalITBISRetenido\": 3369.542239973986,\n        \"totalISRRetencion\": 1527.9222479701282,\n        \"totalITBISPercepcion\": 9262.245273273562,\n        \"totalISRPercepcion\": 5803.5008368319695\n      },\n      \"otraMoneda\": {\n        \"tipoMoneda\": \"USD\",\n        \"tipoCambio\": 59.5,\n        \"montoGravadoTotalOtraMoneda\": 8909.785603621007,\n        \"montoGravado1OtraMoneda\": 7126.864517913958,\n        \"montoGravado2OtraMoneda\": 9421.04974504548,\n        \"montoGravado3OtraMoneda\": 4435.768538112974,\n        \"montoExentoOtraMoneda\": 6383.208824828108,\n        \"totalITBISOtraMoneda\": 3627.7103057419426,\n        \"totalITBIS1OtraMoneda\": 2907.5386270502345,\n        \"totalITBIS2OtraMoneda\": 725.365394451909,\n        \"totalITBIS3OtraMoneda\": 9137.090284770955,\n        \"montoImpuestoAdicionalOtraMoneda\": 4856.139387092458,\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\": 3125.9396871042045\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\": 2892,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7459.325461676538,\n          \"unidadReferencia\": 6362,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 5680.116446322397,\n          \"recargoMonto\": 4132.697647513226,\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\": 3221.2917106365535,\n          \"precioUnitarioReferencia\": 3048.8408501945896,\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\": 193,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7810.480143622869,\n          \"unidadReferencia\": 9512,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 3709.869187296033,\n          \"recargoMonto\": 4119.118691642229,\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\": 1942.3372149283002,\n          \"precioUnitarioReferencia\": 8308.778340961948,\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\": 6755,\n          \"descripcionSubtotal\": \"string\",\n          \"orden\": 4900,\n          \"subTotalMontoGravadoTotal\": 6718.78632698973,\n          \"subTotalMontoGravadoI1\": 4500.966939088426,\n          \"subTotalMontoGravadoI2\": 521.6750548000948,\n          \"subTotalMontoGravadoI3\": 3946.4755709502188,\n          \"subTotaITBIS\": 1565.7282596405598,\n          \"subTotaITBIS1\": 2974.0280288118124,\n          \"subTotaITBIS2\": 9002.033305751382,\n          \"subTotaITBIS3\": 6156.975869374617,\n          \"subTotalImpuestoAdicional\": 7832.9730067789715,\n          \"subTotalExento\": 9348.708571309284,\n          \"montoSubTotal\": 4204.78006293081,\n          \"lineas\": 346\n        },\n        {\n          \"numeroSubTotal\": 6042,\n          \"descripcionSubtotal\": \"string\",\n          \"orden\": 4828,\n          \"subTotalMontoGravadoTotal\": 6340.400219312421,\n          \"subTotalMontoGravadoI1\": 5680.766483525918,\n          \"subTotalMontoGravadoI2\": 4143.870826921847,\n          \"subTotalMontoGravadoI3\": 5400.9580000647375,\n          \"subTotaITBIS\": 510.0906917325787,\n          \"subTotaITBIS1\": 5992.821200506184,\n          \"subTotaITBIS2\": 1117.7943976753668,\n          \"subTotaITBIS3\": 375.88420548485544,\n          \"subTotalImpuestoAdicional\": 5228.09947123672,\n          \"subTotalExento\": 2796.6341763509517,\n          \"montoSubTotal\": 6494.258506767252,\n          \"lineas\": 5853\n        }\n      ]\n    },\n    \"descuentosORecargos\": {\n      \"listaDescuentosORecargos\": [\n        {\n          \"numeroLinea\": 2322,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 4984,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 8822.322592121804,\n          \"montoDescuentooRecargo\": 97.27141058408773,\n          \"montoDescuentooRecargoOtraMoneda\": 1260.1046283583273,\n          \"indicadorFacturacionDescuentooRecargo\": 5036\n        },\n        {\n          \"numeroLinea\": 6434,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 5939,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 5698.071815350579,\n          \"montoDescuentooRecargo\": 7906.625652367156,\n          \"montoDescuentooRecargoOtraMoneda\": 5467.53680023428,\n          \"indicadorFacturacionDescuentooRecargo\": 3163\n        }\n      ]\n    },\n    \"paginacion\": {\n      \"pagina\": [\n        {\n          \"paginaNo\": 869,\n          \"noLineaDesde\": 261,\n          \"noLineaHasta\": 811,\n          \"subtotalMontoGravadoPagina\": 919.9059852112001,\n          \"subtotalMontoGravado1Pagina\": 6753.200306594152,\n          \"subtotalMontoGravado2Pagina\": 9380.240454165538,\n          \"subtotalMontoGravado3Pagina\": 1703.4794507212569,\n          \"subtotalExentoPagina\": 1276.4660269009398,\n          \"subtotalItbisPagina\": 6923.691414645606,\n          \"subtotalItbis1Pagina\": 4820.025859706026,\n          \"subtotalItbis2Pagina\": 7323.784403304723,\n          \"subtotalItbis3Pagina\": 8326.497322870016,\n          \"subtotalImpuestoAdicionalPagina\": 487.2740878387849,\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\": 7274.757437545387,\n          \"subtotalMontoNoFacturablePagina\": 7245.6543490106615\n        },\n        {\n          \"paginaNo\": 755,\n          \"noLineaDesde\": 174,\n          \"noLineaHasta\": 183,\n          \"subtotalMontoGravadoPagina\": 3943.9344871060443,\n          \"subtotalMontoGravado1Pagina\": 3365.3477947306064,\n          \"subtotalMontoGravado2Pagina\": 9709.37331603954,\n          \"subtotalMontoGravado3Pagina\": 3930.006644115158,\n          \"subtotalExentoPagina\": 9782.003487564842,\n          \"subtotalItbisPagina\": 7168.444250918158,\n          \"subtotalItbis1Pagina\": 4021.0290142888925,\n          \"subtotalItbis2Pagina\": 6740.88153072415,\n          \"subtotalItbis3Pagina\": 7021.121414594687,\n          \"subtotalImpuestoAdicionalPagina\": 9203.19026204153,\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\": 2589.785958195956,\n          \"subtotalMontoNoFacturablePagina\": 8581.234322237024\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": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 6621,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "a276a64c-8f3c-4c04-a87d-0d06e7cf2360",
          "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`. Si es\nseguro reintentar tras un timeout de red.\n            \n**Estado final**: la DGII puede tardar en dar el estado. Si `data.accepted` llega como\nnull, consulta `document-status` más tarde. Con `waitForFinal` la petición espera\nhasta ese tiempo a que llegue 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ó; consulta su estado antes de reintentar.\n- 402: la licencia no permite emitir (sin plan, suspendida o cuota agotada).",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "api",
                "v1",
                "dgii-ecf",
                "send",
                ":companyId"
              ],
              "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": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "{{companyId}}",
                  "key": "companyId",
                  "description": "(Required) Id de tu empresa. Usa `0` para \"la empresa de mi credencial\"."
                }
              ]
            },
            "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": "c1edfae4-a0da-4f56-bfed-ce0d79c67a77",
              "name": "Enviado. Revisa `data.accepted` y `data.status`.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v1",
                    "dgii-ecf",
                    "send",
                    ":companyId"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "waitForFinal",
                      "value": "string"
                    }
                  ],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "3808",
                      "key": "companyId",
                      "description": "(Required) Id de tu empresa. Usa `0` para \"la empresa de mi credencial\"."
                    }
                  ]
                },
                "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\": 3626,\n        \"indicadorMontoGravado\": 0,\n        \"indicadorServicioTodoIncluido\": 5963,\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\": 9912\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\": \"strin\",\n        \"rutaVenta\": \"string\",\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\": \"string\",\n        \"informacionAdicionalComprador\": \"string\",\n        \"identificadorExtranjero\": \"string\"\n      },\n      \"informacionesAdicionales\": {\n        \"fechaEmbarque\": \"31-10-1930\",\n        \"numeroEmbarque\": \"string\",\n        \"numeroContenedor\": \"string\",\n        \"numeroReferencia\": \"string\",\n        \"nombrePuertoEmbarque\": \"string\",\n        \"pesoBruto\": 8408.404967354913,\n        \"pesoNeto\": 2755.333408734222,\n        \"totalFob\": 4137.926825888833,\n        \"seguro\": 7916.8183154591,\n        \"flete\": 9132.681861415342,\n        \"unidadPesoBruto\": 6849,\n        \"unidadPesoNeto\": 5543,\n        \"cantidadBulto\": 8018.538057950868,\n        \"unidadBulto\": 5846,\n        \"volumenBulto\": 9826.639023868778,\n        \"unidadVolumen\": 3694\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\": 6746.85496600798,\n        \"montoGravadoI3\": 7280.61438259344,\n        \"montoExento\": 7734.018978443598,\n        \"itbiS1\": 18,\n        \"itbiS2\": 260,\n        \"itbiS3\": 1989,\n        \"totalITBIS\": 180,\n        \"totalITBIS1\": 180,\n        \"totalITBIS2\": 5256.411677082,\n        \"totalITBIS3\": 8381.645782106309,\n        \"montoImpuestoAdicional\": 4704.252713917945,\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\": 262.40153942989065,\n        \"montoPeriodo\": 706.8356129550212,\n        \"saldoAnterior\": 9924.367912967153,\n        \"montoAvancePago\": 9859.244767971242,\n        \"valorPagar\": 5372.45972150884,\n        \"totalITBISRetenido\": 3369.542239973986,\n        \"totalISRRetencion\": 1527.9222479701282,\n        \"totalITBISPercepcion\": 9262.245273273562,\n        \"totalISRPercepcion\": 5803.5008368319695\n      },\n      \"otraMoneda\": {\n        \"tipoMoneda\": \"USD\",\n        \"tipoCambio\": 59.5,\n        \"montoGravadoTotalOtraMoneda\": 8909.785603621007,\n        \"montoGravado1OtraMoneda\": 7126.864517913958,\n        \"montoGravado2OtraMoneda\": 9421.04974504548,\n        \"montoGravado3OtraMoneda\": 4435.768538112974,\n        \"montoExentoOtraMoneda\": 6383.208824828108,\n        \"totalITBISOtraMoneda\": 3627.7103057419426,\n        \"totalITBIS1OtraMoneda\": 2907.5386270502345,\n        \"totalITBIS2OtraMoneda\": 725.365394451909,\n        \"totalITBIS3OtraMoneda\": 9137.090284770955,\n        \"montoImpuestoAdicionalOtraMoneda\": 4856.139387092458,\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\": 3125.9396871042045\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\": 2892,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7459.325461676538,\n          \"unidadReferencia\": 6362,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 5680.116446322397,\n          \"recargoMonto\": 4132.697647513226,\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\": 3221.2917106365535,\n          \"precioUnitarioReferencia\": 3048.8408501945896,\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\": 193,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7810.480143622869,\n          \"unidadReferencia\": 9512,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 3709.869187296033,\n          \"recargoMonto\": 4119.118691642229,\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\": 1942.3372149283002,\n          \"precioUnitarioReferencia\": 8308.778340961948,\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\": 6755,\n          \"descripcionSubtotal\": \"string\",\n          \"orden\": 4900,\n          \"subTotalMontoGravadoTotal\": 6718.78632698973,\n          \"subTotalMontoGravadoI1\": 4500.966939088426,\n          \"subTotalMontoGravadoI2\": 521.6750548000948,\n          \"subTotalMontoGravadoI3\": 3946.4755709502188,\n          \"subTotaITBIS\": 1565.7282596405598,\n          \"subTotaITBIS1\": 2974.0280288118124,\n          \"subTotaITBIS2\": 9002.033305751382,\n          \"subTotaITBIS3\": 6156.975869374617,\n          \"subTotalImpuestoAdicional\": 7832.9730067789715,\n          \"subTotalExento\": 9348.708571309284,\n          \"montoSubTotal\": 4204.78006293081,\n          \"lineas\": 346\n        },\n        {\n          \"numeroSubTotal\": 6042,\n          \"descripcionSubtotal\": \"string\",\n          \"orden\": 4828,\n          \"subTotalMontoGravadoTotal\": 6340.400219312421,\n          \"subTotalMontoGravadoI1\": 5680.766483525918,\n          \"subTotalMontoGravadoI2\": 4143.870826921847,\n          \"subTotalMontoGravadoI3\": 5400.9580000647375,\n          \"subTotaITBIS\": 510.0906917325787,\n          \"subTotaITBIS1\": 5992.821200506184,\n          \"subTotaITBIS2\": 1117.7943976753668,\n          \"subTotaITBIS3\": 375.88420548485544,\n          \"subTotalImpuestoAdicional\": 5228.09947123672,\n          \"subTotalExento\": 2796.6341763509517,\n          \"montoSubTotal\": 6494.258506767252,\n          \"lineas\": 5853\n        }\n      ]\n    },\n    \"descuentosORecargos\": {\n      \"listaDescuentosORecargos\": [\n        {\n          \"numeroLinea\": 2322,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 4984,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 8822.322592121804,\n          \"montoDescuentooRecargo\": 97.27141058408773,\n          \"montoDescuentooRecargoOtraMoneda\": 1260.1046283583273,\n          \"indicadorFacturacionDescuentooRecargo\": 5036\n        },\n        {\n          \"numeroLinea\": 6434,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 5939,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 5698.071815350579,\n          \"montoDescuentooRecargo\": 7906.625652367156,\n          \"montoDescuentooRecargoOtraMoneda\": 5467.53680023428,\n          \"indicadorFacturacionDescuentooRecargo\": 3163\n        }\n      ]\n    },\n    \"paginacion\": {\n      \"pagina\": [\n        {\n          \"paginaNo\": 869,\n          \"noLineaDesde\": 261,\n          \"noLineaHasta\": 811,\n          \"subtotalMontoGravadoPagina\": 919.9059852112001,\n          \"subtotalMontoGravado1Pagina\": 6753.200306594152,\n          \"subtotalMontoGravado2Pagina\": 9380.240454165538,\n          \"subtotalMontoGravado3Pagina\": 1703.4794507212569,\n          \"subtotalExentoPagina\": 1276.4660269009398,\n          \"subtotalItbisPagina\": 6923.691414645606,\n          \"subtotalItbis1Pagina\": 4820.025859706026,\n          \"subtotalItbis2Pagina\": 7323.784403304723,\n          \"subtotalItbis3Pagina\": 8326.497322870016,\n          \"subtotalImpuestoAdicionalPagina\": 487.2740878387849,\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\": 7274.757437545387,\n          \"subtotalMontoNoFacturablePagina\": 7245.6543490106615\n        },\n        {\n          \"paginaNo\": 755,\n          \"noLineaDesde\": 174,\n          \"noLineaHasta\": 183,\n          \"subtotalMontoGravadoPagina\": 3943.9344871060443,\n          \"subtotalMontoGravado1Pagina\": 3365.3477947306064,\n          \"subtotalMontoGravado2Pagina\": 9709.37331603954,\n          \"subtotalMontoGravado3Pagina\": 3930.006644115158,\n          \"subtotalExentoPagina\": 9782.003487564842,\n          \"subtotalItbisPagina\": 7168.444250918158,\n          \"subtotalItbis1Pagina\": 4021.0290142888925,\n          \"subtotalItbis2Pagina\": 6740.88153072415,\n          \"subtotalItbis3Pagina\": 7021.121414594687,\n          \"subtotalImpuestoAdicionalPagina\": 9203.19026204153,\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\": 2589.785958195956,\n          \"subtotalMontoNoFacturablePagina\": 8581.234322237024\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\": 700,\n  \"mensaje\": \"string\",\n  \"procesado\": false,\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\",\n    \"xmlBase64\": \"string\",\n    \"sequenceUsed\": false,\n    \"alreadyProcessed\": false,\n    \"submissionId\": 6229,\n    \"voucherId\": 6056,\n    \"trackId\": \"string\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "51d6dcc2-12ee-4d03-9c11-b1d6173f51d8",
              "name": "Comprobante inválido o rechazado antes de enviarse.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v1",
                    "dgii-ecf",
                    "send",
                    ":companyId"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "waitForFinal",
                      "value": "string"
                    }
                  ],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "3808",
                      "key": "companyId",
                      "description": "(Required) Id de tu empresa. Usa `0` para \"la empresa de mi credencial\"."
                    }
                  ]
                },
                "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\": 3626,\n        \"indicadorMontoGravado\": 0,\n        \"indicadorServicioTodoIncluido\": 5963,\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\": 9912\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\": \"strin\",\n        \"rutaVenta\": \"string\",\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\": \"string\",\n        \"informacionAdicionalComprador\": \"string\",\n        \"identificadorExtranjero\": \"string\"\n      },\n      \"informacionesAdicionales\": {\n        \"fechaEmbarque\": \"31-10-1930\",\n        \"numeroEmbarque\": \"string\",\n        \"numeroContenedor\": \"string\",\n        \"numeroReferencia\": \"string\",\n        \"nombrePuertoEmbarque\": \"string\",\n        \"pesoBruto\": 8408.404967354913,\n        \"pesoNeto\": 2755.333408734222,\n        \"totalFob\": 4137.926825888833,\n        \"seguro\": 7916.8183154591,\n        \"flete\": 9132.681861415342,\n        \"unidadPesoBruto\": 6849,\n        \"unidadPesoNeto\": 5543,\n        \"cantidadBulto\": 8018.538057950868,\n        \"unidadBulto\": 5846,\n        \"volumenBulto\": 9826.639023868778,\n        \"unidadVolumen\": 3694\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\": 6746.85496600798,\n        \"montoGravadoI3\": 7280.61438259344,\n        \"montoExento\": 7734.018978443598,\n        \"itbiS1\": 18,\n        \"itbiS2\": 260,\n        \"itbiS3\": 1989,\n        \"totalITBIS\": 180,\n        \"totalITBIS1\": 180,\n        \"totalITBIS2\": 5256.411677082,\n        \"totalITBIS3\": 8381.645782106309,\n        \"montoImpuestoAdicional\": 4704.252713917945,\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\": 262.40153942989065,\n        \"montoPeriodo\": 706.8356129550212,\n        \"saldoAnterior\": 9924.367912967153,\n        \"montoAvancePago\": 9859.244767971242,\n        \"valorPagar\": 5372.45972150884,\n        \"totalITBISRetenido\": 3369.542239973986,\n        \"totalISRRetencion\": 1527.9222479701282,\n        \"totalITBISPercepcion\": 9262.245273273562,\n        \"totalISRPercepcion\": 5803.5008368319695\n      },\n      \"otraMoneda\": {\n        \"tipoMoneda\": \"USD\",\n        \"tipoCambio\": 59.5,\n        \"montoGravadoTotalOtraMoneda\": 8909.785603621007,\n        \"montoGravado1OtraMoneda\": 7126.864517913958,\n        \"montoGravado2OtraMoneda\": 9421.04974504548,\n        \"montoGravado3OtraMoneda\": 4435.768538112974,\n        \"montoExentoOtraMoneda\": 6383.208824828108,\n        \"totalITBISOtraMoneda\": 3627.7103057419426,\n        \"totalITBIS1OtraMoneda\": 2907.5386270502345,\n        \"totalITBIS2OtraMoneda\": 725.365394451909,\n        \"totalITBIS3OtraMoneda\": 9137.090284770955,\n        \"montoImpuestoAdicionalOtraMoneda\": 4856.139387092458,\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\": 3125.9396871042045\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\": 2892,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7459.325461676538,\n          \"unidadReferencia\": 6362,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 5680.116446322397,\n          \"recargoMonto\": 4132.697647513226,\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\": 3221.2917106365535,\n          \"precioUnitarioReferencia\": 3048.8408501945896,\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\": 193,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7810.480143622869,\n          \"unidadReferencia\": 9512,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 3709.869187296033,\n          \"recargoMonto\": 4119.118691642229,\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\": 1942.3372149283002,\n          \"precioUnitarioReferencia\": 8308.778340961948,\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\": 6755,\n          \"descripcionSubtotal\": \"string\",\n          \"orden\": 4900,\n          \"subTotalMontoGravadoTotal\": 6718.78632698973,\n          \"subTotalMontoGravadoI1\": 4500.966939088426,\n          \"subTotalMontoGravadoI2\": 521.6750548000948,\n          \"subTotalMontoGravadoI3\": 3946.4755709502188,\n          \"subTotaITBIS\": 1565.7282596405598,\n          \"subTotaITBIS1\": 2974.0280288118124,\n          \"subTotaITBIS2\": 9002.033305751382,\n          \"subTotaITBIS3\": 6156.975869374617,\n          \"subTotalImpuestoAdicional\": 7832.9730067789715,\n          \"subTotalExento\": 9348.708571309284,\n          \"montoSubTotal\": 4204.78006293081,\n          \"lineas\": 346\n        },\n        {\n          \"numeroSubTotal\": 6042,\n          \"descripcionSubtotal\": \"string\",\n          \"orden\": 4828,\n          \"subTotalMontoGravadoTotal\": 6340.400219312421,\n          \"subTotalMontoGravadoI1\": 5680.766483525918,\n          \"subTotalMontoGravadoI2\": 4143.870826921847,\n          \"subTotalMontoGravadoI3\": 5400.9580000647375,\n          \"subTotaITBIS\": 510.0906917325787,\n          \"subTotaITBIS1\": 5992.821200506184,\n          \"subTotaITBIS2\": 1117.7943976753668,\n          \"subTotaITBIS3\": 375.88420548485544,\n          \"subTotalImpuestoAdicional\": 5228.09947123672,\n          \"subTotalExento\": 2796.6341763509517,\n          \"montoSubTotal\": 6494.258506767252,\n          \"lineas\": 5853\n        }\n      ]\n    },\n    \"descuentosORecargos\": {\n      \"listaDescuentosORecargos\": [\n        {\n          \"numeroLinea\": 2322,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 4984,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 8822.322592121804,\n          \"montoDescuentooRecargo\": 97.27141058408773,\n          \"montoDescuentooRecargoOtraMoneda\": 1260.1046283583273,\n          \"indicadorFacturacionDescuentooRecargo\": 5036\n        },\n        {\n          \"numeroLinea\": 6434,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 5939,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 5698.071815350579,\n          \"montoDescuentooRecargo\": 7906.625652367156,\n          \"montoDescuentooRecargoOtraMoneda\": 5467.53680023428,\n          \"indicadorFacturacionDescuentooRecargo\": 3163\n        }\n      ]\n    },\n    \"paginacion\": {\n      \"pagina\": [\n        {\n          \"paginaNo\": 869,\n          \"noLineaDesde\": 261,\n          \"noLineaHasta\": 811,\n          \"subtotalMontoGravadoPagina\": 919.9059852112001,\n          \"subtotalMontoGravado1Pagina\": 6753.200306594152,\n          \"subtotalMontoGravado2Pagina\": 9380.240454165538,\n          \"subtotalMontoGravado3Pagina\": 1703.4794507212569,\n          \"subtotalExentoPagina\": 1276.4660269009398,\n          \"subtotalItbisPagina\": 6923.691414645606,\n          \"subtotalItbis1Pagina\": 4820.025859706026,\n          \"subtotalItbis2Pagina\": 7323.784403304723,\n          \"subtotalItbis3Pagina\": 8326.497322870016,\n          \"subtotalImpuestoAdicionalPagina\": 487.2740878387849,\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\": 7274.757437545387,\n          \"subtotalMontoNoFacturablePagina\": 7245.6543490106615\n        },\n        {\n          \"paginaNo\": 755,\n          \"noLineaDesde\": 174,\n          \"noLineaHasta\": 183,\n          \"subtotalMontoGravadoPagina\": 3943.9344871060443,\n          \"subtotalMontoGravado1Pagina\": 3365.3477947306064,\n          \"subtotalMontoGravado2Pagina\": 9709.37331603954,\n          \"subtotalMontoGravado3Pagina\": 3930.006644115158,\n          \"subtotalExentoPagina\": 9782.003487564842,\n          \"subtotalItbisPagina\": 7168.444250918158,\n          \"subtotalItbis1Pagina\": 4021.0290142888925,\n          \"subtotalItbis2Pagina\": 6740.88153072415,\n          \"subtotalItbis3Pagina\": 7021.121414594687,\n          \"subtotalImpuestoAdicionalPagina\": 9203.19026204153,\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\": 2589.785958195956,\n          \"subtotalMontoNoFacturablePagina\": 8581.234322237024\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\": 2938,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\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\",\n      \"xmlBase64\": \"string\",\n      \"sequenceUsed\": false,\n      \"alreadyProcessed\": false,\n      \"submissionId\": 5885,\n      \"voucherId\": 2887,\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": "79921d5c-7eab-49d1-8a5b-c709a8eb108d",
              "name": "Token inválido, o el `RNCEmisor` del comprobante no es el de tu credencial.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v1",
                    "dgii-ecf",
                    "send",
                    ":companyId"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "waitForFinal",
                      "value": "string"
                    }
                  ],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "3808",
                      "key": "companyId",
                      "description": "(Required) Id de tu empresa. Usa `0` para \"la empresa de mi credencial\"."
                    }
                  ]
                },
                "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\": 3626,\n        \"indicadorMontoGravado\": 0,\n        \"indicadorServicioTodoIncluido\": 5963,\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\": 9912\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\": \"strin\",\n        \"rutaVenta\": \"string\",\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\": \"string\",\n        \"informacionAdicionalComprador\": \"string\",\n        \"identificadorExtranjero\": \"string\"\n      },\n      \"informacionesAdicionales\": {\n        \"fechaEmbarque\": \"31-10-1930\",\n        \"numeroEmbarque\": \"string\",\n        \"numeroContenedor\": \"string\",\n        \"numeroReferencia\": \"string\",\n        \"nombrePuertoEmbarque\": \"string\",\n        \"pesoBruto\": 8408.404967354913,\n        \"pesoNeto\": 2755.333408734222,\n        \"totalFob\": 4137.926825888833,\n        \"seguro\": 7916.8183154591,\n        \"flete\": 9132.681861415342,\n        \"unidadPesoBruto\": 6849,\n        \"unidadPesoNeto\": 5543,\n        \"cantidadBulto\": 8018.538057950868,\n        \"unidadBulto\": 5846,\n        \"volumenBulto\": 9826.639023868778,\n        \"unidadVolumen\": 3694\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\": 6746.85496600798,\n        \"montoGravadoI3\": 7280.61438259344,\n        \"montoExento\": 7734.018978443598,\n        \"itbiS1\": 18,\n        \"itbiS2\": 260,\n        \"itbiS3\": 1989,\n        \"totalITBIS\": 180,\n        \"totalITBIS1\": 180,\n        \"totalITBIS2\": 5256.411677082,\n        \"totalITBIS3\": 8381.645782106309,\n        \"montoImpuestoAdicional\": 4704.252713917945,\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\": 262.40153942989065,\n        \"montoPeriodo\": 706.8356129550212,\n        \"saldoAnterior\": 9924.367912967153,\n        \"montoAvancePago\": 9859.244767971242,\n        \"valorPagar\": 5372.45972150884,\n        \"totalITBISRetenido\": 3369.542239973986,\n        \"totalISRRetencion\": 1527.9222479701282,\n        \"totalITBISPercepcion\": 9262.245273273562,\n        \"totalISRPercepcion\": 5803.5008368319695\n      },\n      \"otraMoneda\": {\n        \"tipoMoneda\": \"USD\",\n        \"tipoCambio\": 59.5,\n        \"montoGravadoTotalOtraMoneda\": 8909.785603621007,\n        \"montoGravado1OtraMoneda\": 7126.864517913958,\n        \"montoGravado2OtraMoneda\": 9421.04974504548,\n        \"montoGravado3OtraMoneda\": 4435.768538112974,\n        \"montoExentoOtraMoneda\": 6383.208824828108,\n        \"totalITBISOtraMoneda\": 3627.7103057419426,\n        \"totalITBIS1OtraMoneda\": 2907.5386270502345,\n        \"totalITBIS2OtraMoneda\": 725.365394451909,\n        \"totalITBIS3OtraMoneda\": 9137.090284770955,\n        \"montoImpuestoAdicionalOtraMoneda\": 4856.139387092458,\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\": 3125.9396871042045\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\": 2892,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7459.325461676538,\n          \"unidadReferencia\": 6362,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 5680.116446322397,\n          \"recargoMonto\": 4132.697647513226,\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\": 3221.2917106365535,\n          \"precioUnitarioReferencia\": 3048.8408501945896,\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\": 193,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7810.480143622869,\n          \"unidadReferencia\": 9512,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 3709.869187296033,\n          \"recargoMonto\": 4119.118691642229,\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\": 1942.3372149283002,\n          \"precioUnitarioReferencia\": 8308.778340961948,\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\": 6755,\n          \"descripcionSubtotal\": \"string\",\n          \"orden\": 4900,\n          \"subTotalMontoGravadoTotal\": 6718.78632698973,\n          \"subTotalMontoGravadoI1\": 4500.966939088426,\n          \"subTotalMontoGravadoI2\": 521.6750548000948,\n          \"subTotalMontoGravadoI3\": 3946.4755709502188,\n          \"subTotaITBIS\": 1565.7282596405598,\n          \"subTotaITBIS1\": 2974.0280288118124,\n          \"subTotaITBIS2\": 9002.033305751382,\n          \"subTotaITBIS3\": 6156.975869374617,\n          \"subTotalImpuestoAdicional\": 7832.9730067789715,\n          \"subTotalExento\": 9348.708571309284,\n          \"montoSubTotal\": 4204.78006293081,\n          \"lineas\": 346\n        },\n        {\n          \"numeroSubTotal\": 6042,\n          \"descripcionSubtotal\": \"string\",\n          \"orden\": 4828,\n          \"subTotalMontoGravadoTotal\": 6340.400219312421,\n          \"subTotalMontoGravadoI1\": 5680.766483525918,\n          \"subTotalMontoGravadoI2\": 4143.870826921847,\n          \"subTotalMontoGravadoI3\": 5400.9580000647375,\n          \"subTotaITBIS\": 510.0906917325787,\n          \"subTotaITBIS1\": 5992.821200506184,\n          \"subTotaITBIS2\": 1117.7943976753668,\n          \"subTotaITBIS3\": 375.88420548485544,\n          \"subTotalImpuestoAdicional\": 5228.09947123672,\n          \"subTotalExento\": 2796.6341763509517,\n          \"montoSubTotal\": 6494.258506767252,\n          \"lineas\": 5853\n        }\n      ]\n    },\n    \"descuentosORecargos\": {\n      \"listaDescuentosORecargos\": [\n        {\n          \"numeroLinea\": 2322,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 4984,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 8822.322592121804,\n          \"montoDescuentooRecargo\": 97.27141058408773,\n          \"montoDescuentooRecargoOtraMoneda\": 1260.1046283583273,\n          \"indicadorFacturacionDescuentooRecargo\": 5036\n        },\n        {\n          \"numeroLinea\": 6434,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 5939,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 5698.071815350579,\n          \"montoDescuentooRecargo\": 7906.625652367156,\n          \"montoDescuentooRecargoOtraMoneda\": 5467.53680023428,\n          \"indicadorFacturacionDescuentooRecargo\": 3163\n        }\n      ]\n    },\n    \"paginacion\": {\n      \"pagina\": [\n        {\n          \"paginaNo\": 869,\n          \"noLineaDesde\": 261,\n          \"noLineaHasta\": 811,\n          \"subtotalMontoGravadoPagina\": 919.9059852112001,\n          \"subtotalMontoGravado1Pagina\": 6753.200306594152,\n          \"subtotalMontoGravado2Pagina\": 9380.240454165538,\n          \"subtotalMontoGravado3Pagina\": 1703.4794507212569,\n          \"subtotalExentoPagina\": 1276.4660269009398,\n          \"subtotalItbisPagina\": 6923.691414645606,\n          \"subtotalItbis1Pagina\": 4820.025859706026,\n          \"subtotalItbis2Pagina\": 7323.784403304723,\n          \"subtotalItbis3Pagina\": 8326.497322870016,\n          \"subtotalImpuestoAdicionalPagina\": 487.2740878387849,\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\": 7274.757437545387,\n          \"subtotalMontoNoFacturablePagina\": 7245.6543490106615\n        },\n        {\n          \"paginaNo\": 755,\n          \"noLineaDesde\": 174,\n          \"noLineaHasta\": 183,\n          \"subtotalMontoGravadoPagina\": 3943.9344871060443,\n          \"subtotalMontoGravado1Pagina\": 3365.3477947306064,\n          \"subtotalMontoGravado2Pagina\": 9709.37331603954,\n          \"subtotalMontoGravado3Pagina\": 3930.006644115158,\n          \"subtotalExentoPagina\": 9782.003487564842,\n          \"subtotalItbisPagina\": 7168.444250918158,\n          \"subtotalItbis1Pagina\": 4021.0290142888925,\n          \"subtotalItbis2Pagina\": 6740.88153072415,\n          \"subtotalItbis3Pagina\": 7021.121414594687,\n          \"subtotalImpuestoAdicionalPagina\": 9203.19026204153,\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\": 2589.785958195956,\n          \"subtotalMontoNoFacturablePagina\": 8581.234322237024\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\": 6621,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "a5429163-5a1c-4ff2-b078-8b2988979ecd",
              "name": "La licencia de la empresa no permite emitir.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v1",
                    "dgii-ecf",
                    "send",
                    ":companyId"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "waitForFinal",
                      "value": "string"
                    }
                  ],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "3808",
                      "key": "companyId",
                      "description": "(Required) Id de tu empresa. Usa `0` para \"la empresa de mi credencial\"."
                    }
                  ]
                },
                "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\": 3626,\n        \"indicadorMontoGravado\": 0,\n        \"indicadorServicioTodoIncluido\": 5963,\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\": 9912\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\": \"strin\",\n        \"rutaVenta\": \"string\",\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\": \"string\",\n        \"informacionAdicionalComprador\": \"string\",\n        \"identificadorExtranjero\": \"string\"\n      },\n      \"informacionesAdicionales\": {\n        \"fechaEmbarque\": \"31-10-1930\",\n        \"numeroEmbarque\": \"string\",\n        \"numeroContenedor\": \"string\",\n        \"numeroReferencia\": \"string\",\n        \"nombrePuertoEmbarque\": \"string\",\n        \"pesoBruto\": 8408.404967354913,\n        \"pesoNeto\": 2755.333408734222,\n        \"totalFob\": 4137.926825888833,\n        \"seguro\": 7916.8183154591,\n        \"flete\": 9132.681861415342,\n        \"unidadPesoBruto\": 6849,\n        \"unidadPesoNeto\": 5543,\n        \"cantidadBulto\": 8018.538057950868,\n        \"unidadBulto\": 5846,\n        \"volumenBulto\": 9826.639023868778,\n        \"unidadVolumen\": 3694\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\": 6746.85496600798,\n        \"montoGravadoI3\": 7280.61438259344,\n        \"montoExento\": 7734.018978443598,\n        \"itbiS1\": 18,\n        \"itbiS2\": 260,\n        \"itbiS3\": 1989,\n        \"totalITBIS\": 180,\n        \"totalITBIS1\": 180,\n        \"totalITBIS2\": 5256.411677082,\n        \"totalITBIS3\": 8381.645782106309,\n        \"montoImpuestoAdicional\": 4704.252713917945,\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\": 262.40153942989065,\n        \"montoPeriodo\": 706.8356129550212,\n        \"saldoAnterior\": 9924.367912967153,\n        \"montoAvancePago\": 9859.244767971242,\n        \"valorPagar\": 5372.45972150884,\n        \"totalITBISRetenido\": 3369.542239973986,\n        \"totalISRRetencion\": 1527.9222479701282,\n        \"totalITBISPercepcion\": 9262.245273273562,\n        \"totalISRPercepcion\": 5803.5008368319695\n      },\n      \"otraMoneda\": {\n        \"tipoMoneda\": \"USD\",\n        \"tipoCambio\": 59.5,\n        \"montoGravadoTotalOtraMoneda\": 8909.785603621007,\n        \"montoGravado1OtraMoneda\": 7126.864517913958,\n        \"montoGravado2OtraMoneda\": 9421.04974504548,\n        \"montoGravado3OtraMoneda\": 4435.768538112974,\n        \"montoExentoOtraMoneda\": 6383.208824828108,\n        \"totalITBISOtraMoneda\": 3627.7103057419426,\n        \"totalITBIS1OtraMoneda\": 2907.5386270502345,\n        \"totalITBIS2OtraMoneda\": 725.365394451909,\n        \"totalITBIS3OtraMoneda\": 9137.090284770955,\n        \"montoImpuestoAdicionalOtraMoneda\": 4856.139387092458,\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\": 3125.9396871042045\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\": 2892,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7459.325461676538,\n          \"unidadReferencia\": 6362,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 5680.116446322397,\n          \"recargoMonto\": 4132.697647513226,\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\": 3221.2917106365535,\n          \"precioUnitarioReferencia\": 3048.8408501945896,\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\": 193,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7810.480143622869,\n          \"unidadReferencia\": 9512,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 3709.869187296033,\n          \"recargoMonto\": 4119.118691642229,\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\": 1942.3372149283002,\n          \"precioUnitarioReferencia\": 8308.778340961948,\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\": 6755,\n          \"descripcionSubtotal\": \"string\",\n          \"orden\": 4900,\n          \"subTotalMontoGravadoTotal\": 6718.78632698973,\n          \"subTotalMontoGravadoI1\": 4500.966939088426,\n          \"subTotalMontoGravadoI2\": 521.6750548000948,\n          \"subTotalMontoGravadoI3\": 3946.4755709502188,\n          \"subTotaITBIS\": 1565.7282596405598,\n          \"subTotaITBIS1\": 2974.0280288118124,\n          \"subTotaITBIS2\": 9002.033305751382,\n          \"subTotaITBIS3\": 6156.975869374617,\n          \"subTotalImpuestoAdicional\": 7832.9730067789715,\n          \"subTotalExento\": 9348.708571309284,\n          \"montoSubTotal\": 4204.78006293081,\n          \"lineas\": 346\n        },\n        {\n          \"numeroSubTotal\": 6042,\n          \"descripcionSubtotal\": \"string\",\n          \"orden\": 4828,\n          \"subTotalMontoGravadoTotal\": 6340.400219312421,\n          \"subTotalMontoGravadoI1\": 5680.766483525918,\n          \"subTotalMontoGravadoI2\": 4143.870826921847,\n          \"subTotalMontoGravadoI3\": 5400.9580000647375,\n          \"subTotaITBIS\": 510.0906917325787,\n          \"subTotaITBIS1\": 5992.821200506184,\n          \"subTotaITBIS2\": 1117.7943976753668,\n          \"subTotaITBIS3\": 375.88420548485544,\n          \"subTotalImpuestoAdicional\": 5228.09947123672,\n          \"subTotalExento\": 2796.6341763509517,\n          \"montoSubTotal\": 6494.258506767252,\n          \"lineas\": 5853\n        }\n      ]\n    },\n    \"descuentosORecargos\": {\n      \"listaDescuentosORecargos\": [\n        {\n          \"numeroLinea\": 2322,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 4984,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 8822.322592121804,\n          \"montoDescuentooRecargo\": 97.27141058408773,\n          \"montoDescuentooRecargoOtraMoneda\": 1260.1046283583273,\n          \"indicadorFacturacionDescuentooRecargo\": 5036\n        },\n        {\n          \"numeroLinea\": 6434,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 5939,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 5698.071815350579,\n          \"montoDescuentooRecargo\": 7906.625652367156,\n          \"montoDescuentooRecargoOtraMoneda\": 5467.53680023428,\n          \"indicadorFacturacionDescuentooRecargo\": 3163\n        }\n      ]\n    },\n    \"paginacion\": {\n      \"pagina\": [\n        {\n          \"paginaNo\": 869,\n          \"noLineaDesde\": 261,\n          \"noLineaHasta\": 811,\n          \"subtotalMontoGravadoPagina\": 919.9059852112001,\n          \"subtotalMontoGravado1Pagina\": 6753.200306594152,\n          \"subtotalMontoGravado2Pagina\": 9380.240454165538,\n          \"subtotalMontoGravado3Pagina\": 1703.4794507212569,\n          \"subtotalExentoPagina\": 1276.4660269009398,\n          \"subtotalItbisPagina\": 6923.691414645606,\n          \"subtotalItbis1Pagina\": 4820.025859706026,\n          \"subtotalItbis2Pagina\": 7323.784403304723,\n          \"subtotalItbis3Pagina\": 8326.497322870016,\n          \"subtotalImpuestoAdicionalPagina\": 487.2740878387849,\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\": 7274.757437545387,\n          \"subtotalMontoNoFacturablePagina\": 7245.6543490106615\n        },\n        {\n          \"paginaNo\": 755,\n          \"noLineaDesde\": 174,\n          \"noLineaHasta\": 183,\n          \"subtotalMontoGravadoPagina\": 3943.9344871060443,\n          \"subtotalMontoGravado1Pagina\": 3365.3477947306064,\n          \"subtotalMontoGravado2Pagina\": 9709.37331603954,\n          \"subtotalMontoGravado3Pagina\": 3930.006644115158,\n          \"subtotalExentoPagina\": 9782.003487564842,\n          \"subtotalItbisPagina\": 7168.444250918158,\n          \"subtotalItbis1Pagina\": 4021.0290142888925,\n          \"subtotalItbis2Pagina\": 6740.88153072415,\n          \"subtotalItbis3Pagina\": 7021.121414594687,\n          \"subtotalImpuestoAdicionalPagina\": 9203.19026204153,\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\": 2589.785958195956,\n          \"subtotalMontoNoFacturablePagina\": 8581.234322237024\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\": 7824,\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\",\n      \"xmlBase64\": \"string\",\n      \"sequenceUsed\": true,\n      \"alreadyProcessed\": false,\n      \"submissionId\": 6129,\n      \"voucherId\": 4619,\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": "dc2fe606-2174-4c3a-82de-5111898df4f5",
              "name": "El `companyId` no es el de tu credencial.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v1",
                    "dgii-ecf",
                    "send",
                    ":companyId"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "waitForFinal",
                      "value": "string"
                    }
                  ],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "3808",
                      "key": "companyId",
                      "description": "(Required) Id de tu empresa. Usa `0` para \"la empresa de mi credencial\"."
                    }
                  ]
                },
                "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\": 3626,\n        \"indicadorMontoGravado\": 0,\n        \"indicadorServicioTodoIncluido\": 5963,\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\": 9912\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\": \"strin\",\n        \"rutaVenta\": \"string\",\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\": \"string\",\n        \"informacionAdicionalComprador\": \"string\",\n        \"identificadorExtranjero\": \"string\"\n      },\n      \"informacionesAdicionales\": {\n        \"fechaEmbarque\": \"31-10-1930\",\n        \"numeroEmbarque\": \"string\",\n        \"numeroContenedor\": \"string\",\n        \"numeroReferencia\": \"string\",\n        \"nombrePuertoEmbarque\": \"string\",\n        \"pesoBruto\": 8408.404967354913,\n        \"pesoNeto\": 2755.333408734222,\n        \"totalFob\": 4137.926825888833,\n        \"seguro\": 7916.8183154591,\n        \"flete\": 9132.681861415342,\n        \"unidadPesoBruto\": 6849,\n        \"unidadPesoNeto\": 5543,\n        \"cantidadBulto\": 8018.538057950868,\n        \"unidadBulto\": 5846,\n        \"volumenBulto\": 9826.639023868778,\n        \"unidadVolumen\": 3694\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\": 6746.85496600798,\n        \"montoGravadoI3\": 7280.61438259344,\n        \"montoExento\": 7734.018978443598,\n        \"itbiS1\": 18,\n        \"itbiS2\": 260,\n        \"itbiS3\": 1989,\n        \"totalITBIS\": 180,\n        \"totalITBIS1\": 180,\n        \"totalITBIS2\": 5256.411677082,\n        \"totalITBIS3\": 8381.645782106309,\n        \"montoImpuestoAdicional\": 4704.252713917945,\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\": 262.40153942989065,\n        \"montoPeriodo\": 706.8356129550212,\n        \"saldoAnterior\": 9924.367912967153,\n        \"montoAvancePago\": 9859.244767971242,\n        \"valorPagar\": 5372.45972150884,\n        \"totalITBISRetenido\": 3369.542239973986,\n        \"totalISRRetencion\": 1527.9222479701282,\n        \"totalITBISPercepcion\": 9262.245273273562,\n        \"totalISRPercepcion\": 5803.5008368319695\n      },\n      \"otraMoneda\": {\n        \"tipoMoneda\": \"USD\",\n        \"tipoCambio\": 59.5,\n        \"montoGravadoTotalOtraMoneda\": 8909.785603621007,\n        \"montoGravado1OtraMoneda\": 7126.864517913958,\n        \"montoGravado2OtraMoneda\": 9421.04974504548,\n        \"montoGravado3OtraMoneda\": 4435.768538112974,\n        \"montoExentoOtraMoneda\": 6383.208824828108,\n        \"totalITBISOtraMoneda\": 3627.7103057419426,\n        \"totalITBIS1OtraMoneda\": 2907.5386270502345,\n        \"totalITBIS2OtraMoneda\": 725.365394451909,\n        \"totalITBIS3OtraMoneda\": 9137.090284770955,\n        \"montoImpuestoAdicionalOtraMoneda\": 4856.139387092458,\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\": 3125.9396871042045\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\": 2892,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7459.325461676538,\n          \"unidadReferencia\": 6362,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 5680.116446322397,\n          \"recargoMonto\": 4132.697647513226,\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\": 3221.2917106365535,\n          \"precioUnitarioReferencia\": 3048.8408501945896,\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\": 193,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7810.480143622869,\n          \"unidadReferencia\": 9512,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 3709.869187296033,\n          \"recargoMonto\": 4119.118691642229,\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\": 1942.3372149283002,\n          \"precioUnitarioReferencia\": 8308.778340961948,\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\": 6755,\n          \"descripcionSubtotal\": \"string\",\n          \"orden\": 4900,\n          \"subTotalMontoGravadoTotal\": 6718.78632698973,\n          \"subTotalMontoGravadoI1\": 4500.966939088426,\n          \"subTotalMontoGravadoI2\": 521.6750548000948,\n          \"subTotalMontoGravadoI3\": 3946.4755709502188,\n          \"subTotaITBIS\": 1565.7282596405598,\n          \"subTotaITBIS1\": 2974.0280288118124,\n          \"subTotaITBIS2\": 9002.033305751382,\n          \"subTotaITBIS3\": 6156.975869374617,\n          \"subTotalImpuestoAdicional\": 7832.9730067789715,\n          \"subTotalExento\": 9348.708571309284,\n          \"montoSubTotal\": 4204.78006293081,\n          \"lineas\": 346\n        },\n        {\n          \"numeroSubTotal\": 6042,\n          \"descripcionSubtotal\": \"string\",\n          \"orden\": 4828,\n          \"subTotalMontoGravadoTotal\": 6340.400219312421,\n          \"subTotalMontoGravadoI1\": 5680.766483525918,\n          \"subTotalMontoGravadoI2\": 4143.870826921847,\n          \"subTotalMontoGravadoI3\": 5400.9580000647375,\n          \"subTotaITBIS\": 510.0906917325787,\n          \"subTotaITBIS1\": 5992.821200506184,\n          \"subTotaITBIS2\": 1117.7943976753668,\n          \"subTotaITBIS3\": 375.88420548485544,\n          \"subTotalImpuestoAdicional\": 5228.09947123672,\n          \"subTotalExento\": 2796.6341763509517,\n          \"montoSubTotal\": 6494.258506767252,\n          \"lineas\": 5853\n        }\n      ]\n    },\n    \"descuentosORecargos\": {\n      \"listaDescuentosORecargos\": [\n        {\n          \"numeroLinea\": 2322,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 4984,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 8822.322592121804,\n          \"montoDescuentooRecargo\": 97.27141058408773,\n          \"montoDescuentooRecargoOtraMoneda\": 1260.1046283583273,\n          \"indicadorFacturacionDescuentooRecargo\": 5036\n        },\n        {\n          \"numeroLinea\": 6434,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 5939,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 5698.071815350579,\n          \"montoDescuentooRecargo\": 7906.625652367156,\n          \"montoDescuentooRecargoOtraMoneda\": 5467.53680023428,\n          \"indicadorFacturacionDescuentooRecargo\": 3163\n        }\n      ]\n    },\n    \"paginacion\": {\n      \"pagina\": [\n        {\n          \"paginaNo\": 869,\n          \"noLineaDesde\": 261,\n          \"noLineaHasta\": 811,\n          \"subtotalMontoGravadoPagina\": 919.9059852112001,\n          \"subtotalMontoGravado1Pagina\": 6753.200306594152,\n          \"subtotalMontoGravado2Pagina\": 9380.240454165538,\n          \"subtotalMontoGravado3Pagina\": 1703.4794507212569,\n          \"subtotalExentoPagina\": 1276.4660269009398,\n          \"subtotalItbisPagina\": 6923.691414645606,\n          \"subtotalItbis1Pagina\": 4820.025859706026,\n          \"subtotalItbis2Pagina\": 7323.784403304723,\n          \"subtotalItbis3Pagina\": 8326.497322870016,\n          \"subtotalImpuestoAdicionalPagina\": 487.2740878387849,\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\": 7274.757437545387,\n          \"subtotalMontoNoFacturablePagina\": 7245.6543490106615\n        },\n        {\n          \"paginaNo\": 755,\n          \"noLineaDesde\": 174,\n          \"noLineaHasta\": 183,\n          \"subtotalMontoGravadoPagina\": 3943.9344871060443,\n          \"subtotalMontoGravado1Pagina\": 3365.3477947306064,\n          \"subtotalMontoGravado2Pagina\": 9709.37331603954,\n          \"subtotalMontoGravado3Pagina\": 3930.006644115158,\n          \"subtotalExentoPagina\": 9782.003487564842,\n          \"subtotalItbisPagina\": 7168.444250918158,\n          \"subtotalItbis1Pagina\": 4021.0290142888925,\n          \"subtotalItbis2Pagina\": 6740.88153072415,\n          \"subtotalItbis3Pagina\": 7021.121414594687,\n          \"subtotalImpuestoAdicionalPagina\": 9203.19026204153,\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\": 2589.785958195956,\n          \"subtotalMontoNoFacturablePagina\": 8581.234322237024\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": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 6621,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "132f5be2-1688-4a5c-a79c-a873c0680759",
              "name": "Conflicto de estado del e-NCF.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v1",
                    "dgii-ecf",
                    "send",
                    ":companyId"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "waitForFinal",
                      "value": "string"
                    }
                  ],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "3808",
                      "key": "companyId",
                      "description": "(Required) Id de tu empresa. Usa `0` para \"la empresa de mi credencial\"."
                    }
                  ]
                },
                "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\": 3626,\n        \"indicadorMontoGravado\": 0,\n        \"indicadorServicioTodoIncluido\": 5963,\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\": 9912\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\": \"strin\",\n        \"rutaVenta\": \"string\",\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\": \"string\",\n        \"informacionAdicionalComprador\": \"string\",\n        \"identificadorExtranjero\": \"string\"\n      },\n      \"informacionesAdicionales\": {\n        \"fechaEmbarque\": \"31-10-1930\",\n        \"numeroEmbarque\": \"string\",\n        \"numeroContenedor\": \"string\",\n        \"numeroReferencia\": \"string\",\n        \"nombrePuertoEmbarque\": \"string\",\n        \"pesoBruto\": 8408.404967354913,\n        \"pesoNeto\": 2755.333408734222,\n        \"totalFob\": 4137.926825888833,\n        \"seguro\": 7916.8183154591,\n        \"flete\": 9132.681861415342,\n        \"unidadPesoBruto\": 6849,\n        \"unidadPesoNeto\": 5543,\n        \"cantidadBulto\": 8018.538057950868,\n        \"unidadBulto\": 5846,\n        \"volumenBulto\": 9826.639023868778,\n        \"unidadVolumen\": 3694\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\": 6746.85496600798,\n        \"montoGravadoI3\": 7280.61438259344,\n        \"montoExento\": 7734.018978443598,\n        \"itbiS1\": 18,\n        \"itbiS2\": 260,\n        \"itbiS3\": 1989,\n        \"totalITBIS\": 180,\n        \"totalITBIS1\": 180,\n        \"totalITBIS2\": 5256.411677082,\n        \"totalITBIS3\": 8381.645782106309,\n        \"montoImpuestoAdicional\": 4704.252713917945,\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\": 262.40153942989065,\n        \"montoPeriodo\": 706.8356129550212,\n        \"saldoAnterior\": 9924.367912967153,\n        \"montoAvancePago\": 9859.244767971242,\n        \"valorPagar\": 5372.45972150884,\n        \"totalITBISRetenido\": 3369.542239973986,\n        \"totalISRRetencion\": 1527.9222479701282,\n        \"totalITBISPercepcion\": 9262.245273273562,\n        \"totalISRPercepcion\": 5803.5008368319695\n      },\n      \"otraMoneda\": {\n        \"tipoMoneda\": \"USD\",\n        \"tipoCambio\": 59.5,\n        \"montoGravadoTotalOtraMoneda\": 8909.785603621007,\n        \"montoGravado1OtraMoneda\": 7126.864517913958,\n        \"montoGravado2OtraMoneda\": 9421.04974504548,\n        \"montoGravado3OtraMoneda\": 4435.768538112974,\n        \"montoExentoOtraMoneda\": 6383.208824828108,\n        \"totalITBISOtraMoneda\": 3627.7103057419426,\n        \"totalITBIS1OtraMoneda\": 2907.5386270502345,\n        \"totalITBIS2OtraMoneda\": 725.365394451909,\n        \"totalITBIS3OtraMoneda\": 9137.090284770955,\n        \"montoImpuestoAdicionalOtraMoneda\": 4856.139387092458,\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\": 3125.9396871042045\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\": 2892,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7459.325461676538,\n          \"unidadReferencia\": 6362,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 5680.116446322397,\n          \"recargoMonto\": 4132.697647513226,\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\": 3221.2917106365535,\n          \"precioUnitarioReferencia\": 3048.8408501945896,\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\": 193,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7810.480143622869,\n          \"unidadReferencia\": 9512,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 3709.869187296033,\n          \"recargoMonto\": 4119.118691642229,\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\": 1942.3372149283002,\n          \"precioUnitarioReferencia\": 8308.778340961948,\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\": 6755,\n          \"descripcionSubtotal\": \"string\",\n          \"orden\": 4900,\n          \"subTotalMontoGravadoTotal\": 6718.78632698973,\n          \"subTotalMontoGravadoI1\": 4500.966939088426,\n          \"subTotalMontoGravadoI2\": 521.6750548000948,\n          \"subTotalMontoGravadoI3\": 3946.4755709502188,\n          \"subTotaITBIS\": 1565.7282596405598,\n          \"subTotaITBIS1\": 2974.0280288118124,\n          \"subTotaITBIS2\": 9002.033305751382,\n          \"subTotaITBIS3\": 6156.975869374617,\n          \"subTotalImpuestoAdicional\": 7832.9730067789715,\n          \"subTotalExento\": 9348.708571309284,\n          \"montoSubTotal\": 4204.78006293081,\n          \"lineas\": 346\n        },\n        {\n          \"numeroSubTotal\": 6042,\n          \"descripcionSubtotal\": \"string\",\n          \"orden\": 4828,\n          \"subTotalMontoGravadoTotal\": 6340.400219312421,\n          \"subTotalMontoGravadoI1\": 5680.766483525918,\n          \"subTotalMontoGravadoI2\": 4143.870826921847,\n          \"subTotalMontoGravadoI3\": 5400.9580000647375,\n          \"subTotaITBIS\": 510.0906917325787,\n          \"subTotaITBIS1\": 5992.821200506184,\n          \"subTotaITBIS2\": 1117.7943976753668,\n          \"subTotaITBIS3\": 375.88420548485544,\n          \"subTotalImpuestoAdicional\": 5228.09947123672,\n          \"subTotalExento\": 2796.6341763509517,\n          \"montoSubTotal\": 6494.258506767252,\n          \"lineas\": 5853\n        }\n      ]\n    },\n    \"descuentosORecargos\": {\n      \"listaDescuentosORecargos\": [\n        {\n          \"numeroLinea\": 2322,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 4984,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 8822.322592121804,\n          \"montoDescuentooRecargo\": 97.27141058408773,\n          \"montoDescuentooRecargoOtraMoneda\": 1260.1046283583273,\n          \"indicadorFacturacionDescuentooRecargo\": 5036\n        },\n        {\n          \"numeroLinea\": 6434,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 5939,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 5698.071815350579,\n          \"montoDescuentooRecargo\": 7906.625652367156,\n          \"montoDescuentooRecargoOtraMoneda\": 5467.53680023428,\n          \"indicadorFacturacionDescuentooRecargo\": 3163\n        }\n      ]\n    },\n    \"paginacion\": {\n      \"pagina\": [\n        {\n          \"paginaNo\": 869,\n          \"noLineaDesde\": 261,\n          \"noLineaHasta\": 811,\n          \"subtotalMontoGravadoPagina\": 919.9059852112001,\n          \"subtotalMontoGravado1Pagina\": 6753.200306594152,\n          \"subtotalMontoGravado2Pagina\": 9380.240454165538,\n          \"subtotalMontoGravado3Pagina\": 1703.4794507212569,\n          \"subtotalExentoPagina\": 1276.4660269009398,\n          \"subtotalItbisPagina\": 6923.691414645606,\n          \"subtotalItbis1Pagina\": 4820.025859706026,\n          \"subtotalItbis2Pagina\": 7323.784403304723,\n          \"subtotalItbis3Pagina\": 8326.497322870016,\n          \"subtotalImpuestoAdicionalPagina\": 487.2740878387849,\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\": 7274.757437545387,\n          \"subtotalMontoNoFacturablePagina\": 7245.6543490106615\n        },\n        {\n          \"paginaNo\": 755,\n          \"noLineaDesde\": 174,\n          \"noLineaHasta\": 183,\n          \"subtotalMontoGravadoPagina\": 3943.9344871060443,\n          \"subtotalMontoGravado1Pagina\": 3365.3477947306064,\n          \"subtotalMontoGravado2Pagina\": 9709.37331603954,\n          \"subtotalMontoGravado3Pagina\": 3930.006644115158,\n          \"subtotalExentoPagina\": 9782.003487564842,\n          \"subtotalItbisPagina\": 7168.444250918158,\n          \"subtotalItbis1Pagina\": 4021.0290142888925,\n          \"subtotalItbis2Pagina\": 6740.88153072415,\n          \"subtotalItbis3Pagina\": 7021.121414594687,\n          \"subtotalImpuestoAdicionalPagina\": 9203.19026204153,\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\": 2589.785958195956,\n          \"subtotalMontoNoFacturablePagina\": 8581.234322237024\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\": 7824,\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\",\n      \"xmlBase64\": \"string\",\n      \"sequenceUsed\": true,\n      \"alreadyProcessed\": false,\n      \"submissionId\": 6129,\n      \"voucherId\": 4619,\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": "abbf34ee-911e-4365-b362-965afd102840",
              "name": "La DGII no respondió o la entrega quedó sin confirmar.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v1",
                    "dgii-ecf",
                    "send",
                    ":companyId"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "waitForFinal",
                      "value": "string"
                    }
                  ],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "3808",
                      "key": "companyId",
                      "description": "(Required) Id de tu empresa. Usa `0` para \"la empresa de mi credencial\"."
                    }
                  ]
                },
                "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\": 3626,\n        \"indicadorMontoGravado\": 0,\n        \"indicadorServicioTodoIncluido\": 5963,\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\": 9912\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\": \"strin\",\n        \"rutaVenta\": \"string\",\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\": \"string\",\n        \"informacionAdicionalComprador\": \"string\",\n        \"identificadorExtranjero\": \"string\"\n      },\n      \"informacionesAdicionales\": {\n        \"fechaEmbarque\": \"31-10-1930\",\n        \"numeroEmbarque\": \"string\",\n        \"numeroContenedor\": \"string\",\n        \"numeroReferencia\": \"string\",\n        \"nombrePuertoEmbarque\": \"string\",\n        \"pesoBruto\": 8408.404967354913,\n        \"pesoNeto\": 2755.333408734222,\n        \"totalFob\": 4137.926825888833,\n        \"seguro\": 7916.8183154591,\n        \"flete\": 9132.681861415342,\n        \"unidadPesoBruto\": 6849,\n        \"unidadPesoNeto\": 5543,\n        \"cantidadBulto\": 8018.538057950868,\n        \"unidadBulto\": 5846,\n        \"volumenBulto\": 9826.639023868778,\n        \"unidadVolumen\": 3694\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\": 6746.85496600798,\n        \"montoGravadoI3\": 7280.61438259344,\n        \"montoExento\": 7734.018978443598,\n        \"itbiS1\": 18,\n        \"itbiS2\": 260,\n        \"itbiS3\": 1989,\n        \"totalITBIS\": 180,\n        \"totalITBIS1\": 180,\n        \"totalITBIS2\": 5256.411677082,\n        \"totalITBIS3\": 8381.645782106309,\n        \"montoImpuestoAdicional\": 4704.252713917945,\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\": 262.40153942989065,\n        \"montoPeriodo\": 706.8356129550212,\n        \"saldoAnterior\": 9924.367912967153,\n        \"montoAvancePago\": 9859.244767971242,\n        \"valorPagar\": 5372.45972150884,\n        \"totalITBISRetenido\": 3369.542239973986,\n        \"totalISRRetencion\": 1527.9222479701282,\n        \"totalITBISPercepcion\": 9262.245273273562,\n        \"totalISRPercepcion\": 5803.5008368319695\n      },\n      \"otraMoneda\": {\n        \"tipoMoneda\": \"USD\",\n        \"tipoCambio\": 59.5,\n        \"montoGravadoTotalOtraMoneda\": 8909.785603621007,\n        \"montoGravado1OtraMoneda\": 7126.864517913958,\n        \"montoGravado2OtraMoneda\": 9421.04974504548,\n        \"montoGravado3OtraMoneda\": 4435.768538112974,\n        \"montoExentoOtraMoneda\": 6383.208824828108,\n        \"totalITBISOtraMoneda\": 3627.7103057419426,\n        \"totalITBIS1OtraMoneda\": 2907.5386270502345,\n        \"totalITBIS2OtraMoneda\": 725.365394451909,\n        \"totalITBIS3OtraMoneda\": 9137.090284770955,\n        \"montoImpuestoAdicionalOtraMoneda\": 4856.139387092458,\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\": 3125.9396871042045\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\": 2892,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7459.325461676538,\n          \"unidadReferencia\": 6362,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 5680.116446322397,\n          \"recargoMonto\": 4132.697647513226,\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\": 3221.2917106365535,\n          \"precioUnitarioReferencia\": 3048.8408501945896,\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\": 193,\n          \"indicadorBienoServicio\": 2,\n          \"cantidadReferencia\": 7810.480143622869,\n          \"unidadReferencia\": 9512,\n          \"montoItem\": 1000,\n          \"indicadorFacturacion\": 1,\n          \"descuentoMonto\": 3709.869187296033,\n          \"recargoMonto\": 4119.118691642229,\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\": 1942.3372149283002,\n          \"precioUnitarioReferencia\": 8308.778340961948,\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\": 6755,\n          \"descripcionSubtotal\": \"string\",\n          \"orden\": 4900,\n          \"subTotalMontoGravadoTotal\": 6718.78632698973,\n          \"subTotalMontoGravadoI1\": 4500.966939088426,\n          \"subTotalMontoGravadoI2\": 521.6750548000948,\n          \"subTotalMontoGravadoI3\": 3946.4755709502188,\n          \"subTotaITBIS\": 1565.7282596405598,\n          \"subTotaITBIS1\": 2974.0280288118124,\n          \"subTotaITBIS2\": 9002.033305751382,\n          \"subTotaITBIS3\": 6156.975869374617,\n          \"subTotalImpuestoAdicional\": 7832.9730067789715,\n          \"subTotalExento\": 9348.708571309284,\n          \"montoSubTotal\": 4204.78006293081,\n          \"lineas\": 346\n        },\n        {\n          \"numeroSubTotal\": 6042,\n          \"descripcionSubtotal\": \"string\",\n          \"orden\": 4828,\n          \"subTotalMontoGravadoTotal\": 6340.400219312421,\n          \"subTotalMontoGravadoI1\": 5680.766483525918,\n          \"subTotalMontoGravadoI2\": 4143.870826921847,\n          \"subTotalMontoGravadoI3\": 5400.9580000647375,\n          \"subTotaITBIS\": 510.0906917325787,\n          \"subTotaITBIS1\": 5992.821200506184,\n          \"subTotaITBIS2\": 1117.7943976753668,\n          \"subTotaITBIS3\": 375.88420548485544,\n          \"subTotalImpuestoAdicional\": 5228.09947123672,\n          \"subTotalExento\": 2796.6341763509517,\n          \"montoSubTotal\": 6494.258506767252,\n          \"lineas\": 5853\n        }\n      ]\n    },\n    \"descuentosORecargos\": {\n      \"listaDescuentosORecargos\": [\n        {\n          \"numeroLinea\": 2322,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 4984,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 8822.322592121804,\n          \"montoDescuentooRecargo\": 97.27141058408773,\n          \"montoDescuentooRecargoOtraMoneda\": 1260.1046283583273,\n          \"indicadorFacturacionDescuentooRecargo\": 5036\n        },\n        {\n          \"numeroLinea\": 6434,\n          \"tipoAjuste\": \"string\",\n          \"indicadorNorma1007\": 5939,\n          \"descripcionDescuentooRecargo\": \"string\",\n          \"tipoValor\": \"string\",\n          \"valorDescuentooRecargo\": 5698.071815350579,\n          \"montoDescuentooRecargo\": 7906.625652367156,\n          \"montoDescuentooRecargoOtraMoneda\": 5467.53680023428,\n          \"indicadorFacturacionDescuentooRecargo\": 3163\n        }\n      ]\n    },\n    \"paginacion\": {\n      \"pagina\": [\n        {\n          \"paginaNo\": 869,\n          \"noLineaDesde\": 261,\n          \"noLineaHasta\": 811,\n          \"subtotalMontoGravadoPagina\": 919.9059852112001,\n          \"subtotalMontoGravado1Pagina\": 6753.200306594152,\n          \"subtotalMontoGravado2Pagina\": 9380.240454165538,\n          \"subtotalMontoGravado3Pagina\": 1703.4794507212569,\n          \"subtotalExentoPagina\": 1276.4660269009398,\n          \"subtotalItbisPagina\": 6923.691414645606,\n          \"subtotalItbis1Pagina\": 4820.025859706026,\n          \"subtotalItbis2Pagina\": 7323.784403304723,\n          \"subtotalItbis3Pagina\": 8326.497322870016,\n          \"subtotalImpuestoAdicionalPagina\": 487.2740878387849,\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\": 7274.757437545387,\n          \"subtotalMontoNoFacturablePagina\": 7245.6543490106615\n        },\n        {\n          \"paginaNo\": 755,\n          \"noLineaDesde\": 174,\n          \"noLineaHasta\": 183,\n          \"subtotalMontoGravadoPagina\": 3943.9344871060443,\n          \"subtotalMontoGravado1Pagina\": 3365.3477947306064,\n          \"subtotalMontoGravado2Pagina\": 9709.37331603954,\n          \"subtotalMontoGravado3Pagina\": 3930.006644115158,\n          \"subtotalExentoPagina\": 9782.003487564842,\n          \"subtotalItbisPagina\": 7168.444250918158,\n          \"subtotalItbis1Pagina\": 4021.0290142888925,\n          \"subtotalItbis2Pagina\": 6740.88153072415,\n          \"subtotalItbis3Pagina\": 7021.121414594687,\n          \"subtotalImpuestoAdicionalPagina\": 9203.19026204153,\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\": 2589.785958195956,\n          \"subtotalMontoNoFacturablePagina\": 8581.234322237024\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\": 7824,\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\",\n      \"xmlBase64\": \"string\",\n      \"sequenceUsed\": true,\n      \"alreadyProcessed\": false,\n      \"submissionId\": 6129,\n      \"voucherId\": 4619,\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": "106d0408-4351-4f75-94b3-fcdc2b4ced92",
      "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": "750eaa1f-9631-4645-91ae-1007e071f3f6",
          "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": {
              "content": "El RNC debe ser el de tu credencial.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "api",
                "v1",
                "dgii-ecf",
                "consult-rnc",
                ":rnc"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "{{rnc}}",
                  "key": "rnc",
                  "description": "(Required) RNC (9 dígitos) o cédula (11 dígitos) de tu empresa."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET"
          },
          "response": [
            {
              "id": "799d14b6-8e2e-474d-957d-165dde90dda9",
              "name": "Datos del contribuyente.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v1",
                    "dgii-ecf",
                    "consult-rnc",
                    ":rnc"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "string",
                      "key": "rnc",
                      "description": "(Required) RNC (9 dígitos) o cédula (11 dígitos) de tu empresa."
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 8482,\n  \"mensaje\": \"string\",\n  \"procesado\": false,\n  \"data\": {\n    \"rnc\": \"101010101\",\n    \"companyName\": \"string\",\n    \"commercialName\": \"string\",\n    \"incorporatedDate\": \"2011-07-26T11:08:59.161Z\",\n    \"status\": \"ACTIVO\",\n    \"regimen\": \"string\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "5c8b4bc8-7b5d-4987-a88b-eae53c7c8f76",
              "name": "RNC vacío o con longitud inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v1",
                    "dgii-ecf",
                    "consult-rnc",
                    ":rnc"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "string",
                      "key": "rnc",
                      "description": "(Required) RNC (9 dígitos) o cédula (11 dígitos) de tu empresa."
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 6621,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "3ad1760b-169d-4277-91b2-613c54f7cfc7",
              "name": "Unauthorized",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v1",
                    "dgii-ecf",
                    "consult-rnc",
                    ":rnc"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "string",
                      "key": "rnc",
                      "description": "(Required) RNC (9 dígitos) o cédula (11 dígitos) de tu empresa."
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 6621,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "35bc147f-8372-4b4c-862d-59746e2f4fc0",
              "name": "El RNC no es el de tu credencial.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v1",
                    "dgii-ecf",
                    "consult-rnc",
                    ":rnc"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "string",
                      "key": "rnc",
                      "description": "(Required) RNC (9 dígitos) o cédula (11 dígitos) de tu empresa."
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 6621,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "9f7e4595-7a84-4b85-89d7-d730a60daef8",
              "name": "El RNC no está en el padrón.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v1",
                    "dgii-ecf",
                    "consult-rnc",
                    ":rnc"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "string",
                      "key": "rnc",
                      "description": "(Required) RNC (9 dígitos) o cédula (11 dígitos) de tu empresa."
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 6621,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "ee541d94-54b7-429f-97d4-535612e680da",
          "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",
                "v1",
                "dgii-ecf",
                "document-status",
                ":rnc",
                ":encf"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "{{rnc}}",
                  "key": "rnc",
                  "description": "(Required) RNC emisor (el de tu credencial)."
                },
                {
                  "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": "86281076-c43b-41c1-8db5-60730a720849",
              "name": "Estado del comprobante.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v1",
                    "dgii-ecf",
                    "document-status",
                    ":rnc",
                    ":encf"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "string",
                      "key": "rnc",
                      "description": "(Required) RNC emisor (el de tu credencial)."
                    },
                    {
                      "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\": 1030,\n  \"mensaje\": \"string\",\n  \"procesado\": false,\n  \"observaciones\": [\n    {\n      \"codigo\": 5517,\n      \"mensaje\": \"string\"\n    },\n    {\n      \"codigo\": 2747,\n      \"mensaje\": \"string\"\n    }\n  ],\n  \"codigoSeguridad\": \"string\",\n  \"fechaFirma\": \"string\",\n  \"fechaEmision\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "960c66c3-0de9-49b5-91de-9b5e9298a7b2",
              "name": "Unauthorized",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v1",
                    "dgii-ecf",
                    "document-status",
                    ":rnc",
                    ":encf"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "string",
                      "key": "rnc",
                      "description": "(Required) RNC emisor (el de tu credencial)."
                    },
                    {
                      "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\": 6621,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "4e3339d4-52e7-4ab5-8d19-451e51a94174",
              "name": "El RNC no es el de tu credencial.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v1",
                    "dgii-ecf",
                    "document-status",
                    ":rnc",
                    ":encf"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "string",
                      "key": "rnc",
                      "description": "(Required) RNC emisor (el de tu credencial)."
                    },
                    {
                      "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": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 6621,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "78a07971-49d4-4c4b-b881-5aefe163660f",
              "name": "La DGII no tiene ese comprobante.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v1",
                    "dgii-ecf",
                    "document-status",
                    ":rnc",
                    ":encf"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "string",
                      "key": "rnc",
                      "description": "(Required) RNC emisor (el de tu credencial)."
                    },
                    {
                      "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\": 6621,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "3bec7b77-b08b-40fb-b34d-fc0c5ccc0c65",
          "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",
                "v1",
                "dgii-ecf",
                "external-status",
                ":companyId"
              ],
              "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": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "{{companyId}}",
                  "key": "companyId",
                  "description": "(Required) Id de tu empresa. Usa `0` para \"la empresa de mi credencial\"."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET"
          },
          "response": [
            {
              "id": "be59b970-80ed-464c-858f-f25c99858e50",
              "name": "Estado según la DGII.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v1",
                    "dgii-ecf",
                    "external-status",
                    ":companyId"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "rncEmisor",
                      "value": "string"
                    },
                    {
                      "key": "encf",
                      "value": "string"
                    },
                    {
                      "key": "codigoSeguridad",
                      "value": "string"
                    }
                  ],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "3808",
                      "key": "companyId",
                      "description": "(Required) Id de tu empresa. Usa `0` para \"la empresa de mi credencial\"."
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 9614,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": {\n    \"codigo\": 348,\n    \"estado\": \"string\",\n    \"rncEmisor\": \"string\",\n    \"ncfElectronico\": \"string\",\n    \"montoTotal\": 8537.041955723975,\n    \"totalITBIS\": 7818.220555681192,\n    \"fechaEmision\": \"string\",\n    \"fechaFirma\": \"string\",\n    \"rncComprador\": \"string\",\n    \"codigoSeguridad\": \"string\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "88351bfa-6f82-4003-92a7-eaafdd58f619",
              "name": "Falta algún parámetro.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v1",
                    "dgii-ecf",
                    "external-status",
                    ":companyId"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "rncEmisor",
                      "value": "string"
                    },
                    {
                      "key": "encf",
                      "value": "string"
                    },
                    {
                      "key": "codigoSeguridad",
                      "value": "string"
                    }
                  ],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "3808",
                      "key": "companyId",
                      "description": "(Required) Id de tu empresa. Usa `0` para \"la empresa de mi credencial\"."
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 6621,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "0db2e162-fbcc-4538-a9a2-a239c1cf9fa7",
              "name": "Unauthorized",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v1",
                    "dgii-ecf",
                    "external-status",
                    ":companyId"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "rncEmisor",
                      "value": "string"
                    },
                    {
                      "key": "encf",
                      "value": "string"
                    },
                    {
                      "key": "codigoSeguridad",
                      "value": "string"
                    }
                  ],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "3808",
                      "key": "companyId",
                      "description": "(Required) Id de tu empresa. Usa `0` para \"la empresa de mi credencial\"."
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 6621,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "d8fa3cb1-43ba-43d1-ac78-95046ab133ee",
              "name": "Forbidden",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v1",
                    "dgii-ecf",
                    "external-status",
                    ":companyId"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "rncEmisor",
                      "value": "string"
                    },
                    {
                      "key": "encf",
                      "value": "string"
                    },
                    {
                      "key": "codigoSeguridad",
                      "value": "string"
                    }
                  ],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "3808",
                      "key": "companyId",
                      "description": "(Required) Id de tu empresa. Usa `0` para \"la empresa de mi credencial\"."
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 6621,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "bf44cf4c-a34a-4dfc-9e11-0720c9ae6fe3",
              "name": "La DGII no devolvió información.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v1",
                    "dgii-ecf",
                    "external-status",
                    ":companyId"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "rncEmisor",
                      "value": "string"
                    },
                    {
                      "key": "encf",
                      "value": "string"
                    },
                    {
                      "key": "codigoSeguridad",
                      "value": "string"
                    }
                  ],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "3808",
                      "key": "companyId",
                      "description": "(Required) Id de tu empresa. Usa `0` para \"la empresa de mi credencial\"."
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 6621,\n  \"mensaje\": \"string\",\n  \"procesado\": true,\n  \"data\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "7e8c7b36-e60c-4653-b791-756e9d4fdb74",
              "name": "La DGII no respondió; reintenta más tarde.",
              "originalRequest": {
                "url": {
                  "path": [
                    "api",
                    "v1",
                    "dgii-ecf",
                    "external-status",
                    ":companyId"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "rncEmisor",
                      "value": "string"
                    },
                    {
                      "key": "encf",
                      "value": "string"
                    },
                    {
                      "key": "codigoSeguridad",
                      "value": "string"
                    }
                  ],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "3808",
                      "key": "companyId",
                      "description": "(Required) Id de tu empresa. Usa `0` para \"la empresa de mi credencial\"."
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Gateway",
              "code": 502,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"codigo\": 6621,\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/v1/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"
    },
    {
      "key": "companyId",
      "value": "0"
    }
  ],
  "info": {
    "_postman_id": "080b67b7-4126-475e-8cb0-cef306a7f4dc",
    "name": "EmitexRD — API de Facturación Electrónica (v1)",
    "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"
      }
    ]
  }
}