meta data de esta página
Diferencias
Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anterior Revisión previa Próxima revisión | Revisión previa | ||
| 
                    restapienviar [2024/03/19 11:51] 47.128.37.3 se ha restaurado la vieja versión (2021/10/13 12:45)  | 
                
                    restapienviar [2024/04/04 17:47] (actual) scastillo se ha restaurado la vieja versión (2024/03/11 16:29)  | 
            ||
|---|---|---|---|
| Línea 3: | Línea 3: | ||
| [[manual_de_integracion_dominicana|{{ : | [[manual_de_integracion_dominicana|{{ : | ||
| - | Los datos de acceso son: \\  URL: [[https://testemision.thefactoryhka.com.do/ | + | Los datos de acceso son: \\  URL: [[https://demoemision.thefactoryhka.com.do/ | 
| **Request: | **Request: | ||
| - | <code jquery-> | + | <code jquery  | 
| { | { | ||
| - |      | + |    | 
| - | "DocumentoElectronico": { | + |  " | 
| - | "Encabezado": { | + | "encabezado": { | 
| - | "IdentificacionDocumento": { | + | "identificacionDocumento": { | 
| - | "TipoDocumento": "sample string 1", | + | "tipoDocumento": "31", | 
| - | "NCF": "sample string 2", | + | "ncf": "E310000000034", | 
| - | "FechaVencimientoSecuencia": "sample string 3", | + | "fechaVencimientoSecuencia": "31-12-2022", | 
| - | "IndicadorEnvioDiferido": "sample string 4", | + | "indicadorEnvioDiferido": "1", | 
| - | "IndicadorMontoGravado": "sample string 5", | + | "indicadorMontoGravado": "1", | 
| - |         "IndicadorNotaCredito":  | + | 				"indicadorNotaCredito":  | 
| - | "TipoIngresos": "sample string 7", | + | "tipoIngresos": "01", | 
| - | "TipoPago": "sample string 8", | + | "tipoPago": "1", | 
| - |         "FechaLimitePago":  | + | 				"fechaLimitePago":  | 
| - |         "TerminoPago":  | + | 				"terminoPago":  | 
| - | "TablaFormasPago": [ | + | "tablaFormasPago": [ | 
| - | { | + | { | 
| - |             "Forma": "sample string  | + | 						"forma": " | 
| - |             "Monto":  | + | 						"monto":  | 
| - | }, | + | } | 
| - | { | + | ], | 
| - |              | + | 				"tipoCuentaPago":  | 
| - |             " | + | 				"numeroCuentaPago":  | 
| - | } | + | 				"bancoPago":  | 
| - | ], | + | 				"fechaDesde":  | 
| - |         "TipoCuentaPago":  | + | 				"fechaHasta":  | 
| - |         "NumeroCuentaPago":  | + | }, | 
| - |         "BancoPago":  | + | "emisor": { | 
| - |         "FechaDesde":  | + | "rnc": "130960054", | 
| - |         "FechaHasta":  | + | "razonSocial": "TheFactoryHKA C.A", | 
| - | }, | + | "nombreComercial": "TheFactoryHKA C.A", | 
| - | "Emisor": { | + | "sucursal": "Sucursal", | 
| - | "RNC": "sample string 1", | + | "direccion": "Av. Los Beisbolistas esq. Ant. Carretera Duarte, Plaza Shantell, Locales B6 y B7", | 
| - | "RazonSocial": "sample string 2", | + | "municipio": "320100", | 
| - | "NombreComercial": "sample string 3", | + | "provincia": "320000", | 
| - | "Sucursal": "sample string 4", | + | "tablaTelefono": [ | 
| - | "Direccion": "sample string 5", | + | "809-472-7676", | 
| - | "Municipio": "sample string 6", | + | "809-491-1918" | 
| - | "Provincia": "sample string 7", | + | ], | 
| - | "TablaTelefono": [ | + | "correo": "thefactory@thefactoryhka.com", | 
| - | "sample string 1", | + | 				"webSite": "www.thefactoryhka.com/ | 
| - | "sample string 2" | + | 				"actividadEconomica":  | 
| - | ], | + | "codigoVendedor": "GENETRIX0000000000000000001", | 
| - | "Correo": "sample string 8", | + | "numeroFacturaInterna": "000000000000212", | 
| - | "WebSite": "sample string 9", | + | 				"numeroPedidoInterno":  | 
| - |         "ActividadEconomica":  | + | "zonaVenta": "NORTE", | 
| - | "CodigoVendedor": "sample string 11", | + | 				"rutaVenta":  | 
| - | "NumeroFacturaInterna": "sample string 12", | + | 				"informacionAdicional":  | 
| - |         "NumeroPedidoInterno":  | + | "fechaEmision": "29-03-2022" | 
| - | "ZonaVenta": "sample string 14", | + | }, | 
| - |         "RutaVenta":  | + | "comprador": { | 
| - |         "InformacionAdicional":  | + | "rnc": "101072148", | 
| - | "FechaEmision": "sample string 17" | + | 				"identificacionExtranjero":  | 
| - | }, | + | "razonSocial": "DISTRIBUIDORA DE COSMETICOS SAS (DISCOSA)", | 
| - | "Comprador": { | + | "contacto": "DISCOSA", | 
| - | "RNC": "sample string 1", | + | "correo": "prueba@yopmail.com", | 
| - |         "IdentificacionExtranjero":  | + | "envioMail": "SI", | 
| - | "RazonSocial": "sample string 3", | + | "direccion": "RD dirección", | 
| - | "Contacto": "sample string 4", | + | "municipio": "010100", | 
| - | "Correo": "sample string 5", | + | "provincia": "010000", | 
| - | "Direccion": "sample string 6", | + | "pais": "Pais", | 
| - | "Municipio": "sample string 7", | + | "fechaEntrega": "26-12-2021", | 
| - | "Provincia": "sample string 8", | + |                                 "fechaOrdenCompra":" | 
| - | "Pais": "sample string 9", | + | 				"contactoEntrega":  | 
| - | "FechaEntrega": "sample string 10", | + | 				"direccionEntrega":  | 
| - | "ContactoEntrega": "sample string 11", | + | 				"telefonoAdicional":  | 
| - |         " | + | "fechaOrden": "24-12-2021", | 
| - | "TelefonoAdicional": "sample string 13", | + | "numeroOrden": "4500352238", | 
| - |         "FechaOrden":  | + | "codigoInterno": "10633440", | 
| - |         "NumeroOrden":  | + | 				"responsablePago":  | 
| - |         "CodigoInterno":  | + | 				"informacionAdicional":  | 
| - | "ResponsablePago": "sample string 17", | + | }, | 
| - | "InformacionAdicional": "sample string 18" | + | 			"informacionesAdicionales":  | 
| - | }, | + | 				"fechaEmbarque":  | 
| - |       "InformacionesAdicionales":  | + | 				"numeroEmbarque":  | 
| - |          | + | "numeroContenedor": "8019289", | 
| - |         "NumeroEmbarque":  | + | "numeroReferencia": "1447", | 
| - |         "NumeroContenedor":  | + | 				"pesoBruto":  | 
| - |         " | + | 				"pesoNeto":  | 
| - |         "PesoBruto":  | + | 				"unidadPesoBruto":  | 
| - |         "PesoNeto":  | + | 				"unidadPesoNeto":  | 
| - |         "UnidadPesoBruto":  | + | 				"cantidadBulto":  | 
| - | "UnidadPesoNeto": "sample string 8", | + | 				"unidadBulto":  | 
| - |         "CantidadBulto":  | + | 				"volumenBulto":  | 
| - |          | + | 				"unidadVolumen":  | 
| - |         "VolumenBulto":  | + | 				"nombrePuertoEmbarque":  | 
| - |         "UnidadVolumen":  | + | 				"condicionesEntrega":  | 
| - |         "NombrePuertoEmbarque":  | + | 				"totalFob":  | 
| - |         "CondicionesEntrega":  | + | 				"seguro":  | 
| - |         "TotalFob":  | + | 				"flete":  | 
| - |         "Seguro":  | + | 				"otrosGastos":  | 
| - |         "Flete":  | + | 				"totalCif":  | 
| - |         "OtrosGastos":  | + | 				"regimenAduanero":  | 
| - |         "TotalCif":  | + | 				"nombrePuertoSalida":  | 
| - |         "RegimenAduanero":  | + | 				"nombrePuertoDesembarque":  | 
| - |         "NombrePuertoSalida":  | + | }, | 
| - |         "NombrePuertoDesembarque":  | + | 			"transporte":  | 
| - | }, | + | "totales": { | 
| - |       "Transporte":  | + | 				"montoGravadoTotal":  | 
| - |         " | + | 				"montoGravadoI1":  | 
| - |         "Documento":  | + | 				"montoGravadoI2":  | 
| - |         "Ficha":  | + | 				"montoGravadoI3":  | 
| - |         "Placa":  | + | "montoExento": "400000.00", | 
| - |         "Ruta":  | + | 				"itbiS1":  | 
| - |         "Zona":  | + | 				"itbiS2":  | 
| - |         " | + | 				"itbiS3":  | 
| - |         "Via":  | + | 				"totalITBIS":  | 
| - |         "PaisOrigen": | + | 				"totalITBIS1":  | 
| - |         " | + | 				"totalITBIS2":  | 
| - |         " | + | 				"totalITBIS3":  | 
| - |         " | + | 				"montoImpuestoAdicional":  | 
| - |         " | + | 				"impuestosAdicionales":  | 
| - |         " | + | "montoTotal": "400000.00", | 
| - | }, | + | 				"montoNoFacturable":  | 
| - |       " | + | 				"montoPeriodo":  | 
| - |         "MontoGravadoTotal":  | + | 				"saldoAnterior":  | 
| - |         "MontoGravadoI1":  | + | 				"montoAvancePago":  | 
| - |         "MontoGravadoI2":  | + | 				"valorPagar":  | 
| - |         "MontoGravadoI3":  | + | 				"totalITBISRetenido":  | 
| - |         "MontoExento":  | + | 				"totalISRRetencion":  | 
| - |          | + | 				"totalITBISPercepcion":  | 
| - |         " | + | 				"totalISRPercepcion":  | 
| - |         " | + |                   | 
| - |         " | + | 			           | 
| - |          | + | "otraMoneda": { | 
| - |         "TotalITBIS2":  | + | "tipoMoneda": "USD", | 
| - |         "TotalITBIS3":  | + | "tipoCambio": "55.00", | 
| - |         "MontoImpuestoAdicional":  | + | "montoGravadoTotal": "8.47", | 
| - |         "ImpuestosAdicionales":  | + | "montoGravado1": "8.47", | 
| - | { | + | "totalITBIS": "1.53", | 
| - |             " | + | "totalITBIS1": "1.53", | 
| - |             "TasaImpuestoAdicional":  | + | "montoTotal": "10.00" | 
| - |             "MontoImpuestoSelectivoConsumoEspecifico":  | + | |
| - |             "MontoImpuestoSelectivoConsumoAdvalorem":  | + | |
| - |             "OtrosImpuestosAdicionales":  | + | |
| - | }, | + | |
| - | { | + | |
| - |              | + | |
| - |             "TasaImpuestoAdicional":  | + | |
| - |              | + | |
| - |              | + | |
| - |             "OtrosImpuestosAdicionales":  | + | |
| - | } | + | |
| - | ], | + | |
| - |         "MontoTotal":  | + | |
| - |         "MontoNoFacturable":  | + | |
| - |         "MontoPeriodo":  | + | |
| - |         "SaldoAnterior":  | + | |
| - |         "MontoAvancePago":  | + | |
| - |         "ValorPagar":  | + | |
| - |         "TotalITBISRetenido":  | + | |
| - |         "TotalISRRetencion":  | + | |
| - |         " | + | |
| - |         " | + | |
| - | }, | + | |
| - | "OtraMoneda": { | + | |
| - | "TipoMoneda": "sample string 1", | + | |
| - |         "TipoCambio":  | + | |
| - |          | + | |
| - |          | + | |
| - |         "MontoGravado2":  | + | |
| - |          | + | |
| - |         " | + | |
| - |         " | + | |
| - |          | + | |
| - |         "TotalITBIS1":  | + | |
| - |          | + | |
| - |          | + | |
| - |         "MontoImpuestoAdicional":  | + | |
| - |          | + | |
| - | { | + | |
| - |             " | + | |
| - |             " | + | |
| - |              | + | |
| - |             " | + | |
| - |             " | + | |
| - | }, | + | |
| - | { | + | |
| - |              | + | |
| - |             " | + | |
| - |              | + | |
| - |             "MontoSelectivoConsumoAdvalorem":  | + | |
| - |              | + | |
| - | } | + | |
| - | ], | + | |
| - |          | + | |
| } | } | ||
| - |      | + | }, | 
| - | "DetallesItems": [ | + | "detallesItems": [ | 
| - | { | + | { | 
| - |         "NumeroLinea": | + | 				"numeroLinea": " | 
| - |         " | + | 				"tablaCodigos":  | 
| - | { | + | 				"indicadorFacturacion": " | 
| - |             "Tipo": "sample string  | + | 				"retencion":  | 
| - |             "Codigo":  | + | "nombre": "ASW DTU", | 
| - | }, | + | 				"indicadorBienoServicio": " | 
| - | { | + | 				"descripcion":  | 
| - |              | + | "cantidad": "10000.00", | 
| - |             " | + | "unidadMedida": "47", | 
| - | } | + | 				"cantidadReferencia":  | 
| - | ], | + | 				"unidadReferencia":  | 
| - |         " | + | 				"tablaSubcantidad":  | 
| - |         " | + | 				"gradosAlcohol":  | 
| - |           " | + | 				"precioUnitarioReferencia":  | 
| - |           " | + | 				"fechaElaboracion":  | 
| - |           " | + | 				"fechaVencimiento":  | 
| - | }, | + | 				"mineria":  | 
| - |         " | + | "precioUnitario": "40.00", | 
| - |         " | + | 				"descuentoMonto":  | 
| - |         "Descripcion":  | + | 				"tablaSubDescuento":  | 
| - |         " | + | 				"recargoMonto":  | 
| - | "UnidadMedida": "sample string 7", | + | 				"tablaSubRecargo":  | 
| - |         "CantidadReferencia":  | + | 				"tablaImpuestoAdicional":  | 
| - |          | + | |
| - |         " | + | "otraMonedaDetalle": { | 
| - | { | + | "precio": "10.00", | 
| - |             " | + | "monto": "10.00" | 
| - |              | + | }, | 
| - | }, | + | "monto": "400000.00" | 
| - | { | + | 			         | 
| - |              | + | ], | 
| - | "Codigo": "sample string 2" | + |                           | 
| - | } | + | { | 
| - | ], | + |                                   | 
| - |         " | + |                                   | 
| - |          | + |                                   | 
| - | "FechaElaboracion": "sample string 12", | + | ], | 
| - |         "FechaVencimiento":  | + |                           | 
| - |         "Mineria":  | + |                                 | 
| - | { | + | "numCuota": "01", | 
| - |             " | + | "monto": "100.00", | 
| - |             "PesoNeto":  | + | "fechaVencimiento": "12-07-2023", | 
| - |             "TipoAfiliacion":  | + | "descripcion": "Un campo en detalle mas" | 
| - |             "Liquidacion":  | + | } | 
| - | }, | + | ] | 
| - | { | + | |
| - |              | + | 		         "subtotales":  | 
| - |             "PesoNeto":  | + | 		         "descuentosORecargos":  | 
| - |             "TipoAfiliacion":  | + | 		         "informacionReferencia":  | 
| - | "Liquidacion": "sample string 4" | + | } | 
| - | } | + | |
| - | ], | + | |
| - |         " | + | |
| - |          | + | |
| - |         "TablaSubDescuento":  | + | |
| - | { | + | |
| - |             " | + | |
| - |             "Porcentaje":  | + | |
| - |             "Monto":  | + | |
| - | }, | + | |
| - | { | + | |
| - |              | + | |
| - |             "Porcentaje":  | + | |
| - |             " | + | |
| - | } | + | |
| - | ], | + | |
| - |         "RecargoMonto":  | + | |
| - |         " | + | |
| - |            | + | |
| - | "Tipo": "sample string 1", | + | |
| - |             " | + | |
| - |              | + | |
| - | }, | + | |
| - | { | + | |
| - |              | + | |
| - |             " | + | |
| - |             " | + | |
| - | } | + | |
| - | ], | + | |
| - |         " | + | |
| - | { | + | |
| - |             " | + | |
| - | }, | + | |
| - | { | + | |
| - |             " | + | |
| - | } | + | |
| - | ], | + | |
| - |         " | + | |
| - |           " | + | |
| - |           " | + | |
| - |           " | + | |
| - |           " | + | |
| - | }, | + | |
| - |         " | + | |
| - | }, | + | |
| - | { | + | |
| - |         " | + | |
| - |         " | + | |
| - | { | + | |
| - |             " | + | |
| - |             " | + | |
| - | }, | + | |
| - | { | + | |
| - |             " | + | |
| - |             " | + | |
| - | } | + | |
| - | ], | + | |
| - |         " | + | |
| - |         " | + | |
| - |           " | + | |
| - |           " | + | |
| - |           " | + | |
| - | }, | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - | { | + | |
| - |             " | + | |
| - |             " | + | |
| - | }, | + | |
| - | { | + | |
| - |             " | + | |
| - |             " | + | |
| - | } | + | |
| - | ], | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - | { | + | |
| - |             " | + | |
| - |             " | + | |
| - |             " | + | |
| - |             " | + | |
| - | }, | + | |
| - | { | + | |
| - |              | + | |
| - |              | + | |
| - |             " | + | |
| - |             " | + | |
| - | } | + | |
| - | ], | + | |
| - |         " | + | |
| - |          | + | |
| - |         " | + | |
| - | { | + | |
| - |             " | + | |
| - |             " | + | |
| - |             " | + | |
| - | }, | + | |
| - | { | + | |
| - |             " | + | |
| - |             " | + | |
| - |             " | + | |
| - |            | + | |
| - | ], | + | |
| - |         "RecargoMonto": | + | |
| - |         " | + | |
| - | { | + | |
| - | "Tipo": "sample string 1", | + | |
| - |             "Porcentaje":  | + | |
| - |              | + | |
| - | }, | + | |
| - | { | + | |
| - |             " | + | |
| - |             " | + | |
| - |             " | + | |
| - | } | + | |
| - | ], | + | |
| - | "TablaImpuestoAdicional": [ | + | |
| - | { | + | |
| - | "TipoImpuesto": "sample string 1" | + | |
| - | }, | + | |
| - | { | + | |
| - |              | + | |
| - | } | + | |
| - | ], | + | |
| - |         " | + | |
| - |           " | + | |
| - |            | + | |
| - |           "Recargo":  | + | |
| - |            | + | |
| - | }, | + | |
| - |         " | + | |
| - | } | + | |
| - | ], | + | |
| - |     " | + | |
| - | { | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |          | + | |
| - |         "Monto":  | + | |
| - |          | + | |
| - | }, | + | |
| - | { | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - | } | + | |
| - |      | + | |
| - |     " | + | |
| - | { | + | |
| - |         "NumeroLinea":  | + | |
| - |         "TipoAjuste":  | + | |
| - |         "IndicadorNorma1007":  | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - | }, | + | |
| - | { | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - |         " | + | |
| - | } | + | |
| - | ], | + | |
| - |     " | + | |
| - |       " | + | |
| - |       " | + | |
| - |       " | + | |
| - |       " | + | |
| - |       " | + | |
| - | } | + | |
| - |    | + | |
| } | } | ||
| </ | </ | ||
| Línea 463: | Línea 199: | ||
| \\  **Response: | \\  **Response: | ||
| - | < | + | < | 
| { | { | ||
| + |     " | ||
| + |     " | ||
| + |     " | ||
| + |     " | ||
| + |     " | ||
|     " |     " | ||
| - |     " | + |     " | 
| - |     " | + | |
| - |     "procesado" | + | |
| } | } | ||
| </ | </ | ||
| Línea 474: | Línea 213: | ||
| \\ | \\ | ||
| - | Donde " | ||
| - | <code -> | ||
| - | { | ||
| - |     " | ||
| - |     " | ||
| - |     " | ||
| - |     " | ||
| - | } | ||
| - | </ | ||
| \\ | \\ | ||