====== Método EnviarFactura() ======
[[manual_de_integracion_obj|{{ :60577.png?30x30}}]]
Url: [[http://demointws.thefactoryhka.com.ec/ApiRest/Service.svc/EnviarFactura]] Método: POST
Request Json Body:
{
"RUC": "String content",
"Token": "String content",
"Documento": {
"CPCliente": "String content",
"CampoAdicional": [
{
"Nombre": "String content",
"Valor": "String content"
}
],
"CorreoNegociable": "String content",
"CorreoNotificar": "String content",
"Detalles": [
{
"Cantidad": "String content",
"Descripcion": "String content",
"Descuento": "String content",
"Impuestos": [
{
"BaseImponible": "String content",
"Codigo": "String content",
"CodigoPorRet": "String content",
"Valor": "String content",
"Tarifa": "String content"
}
],
"PrecioTotalSinImpuesto": "String content",
"PrecioUnitario": "String content",
"CodigoAuxiliar": "String content",
"CodigoPrincipal": "String content",
"DetAdicional": [
{
"Nombre": "String content",
"Valor": "String content"
}
],
"PrecioSinSubsidio": "String content",
"UnidadMedida": "String content"
}
],
"DirCliente": "String content",
"InfoFactura": {
"CodDocReembolso": "String content",
"ComercioExterior": "String content",
"Compensaciones": [
{
"Codigo": "String content",
"Tarifa": "String content",
"Valor": "String content"
}
],
"ContribuyenteEspecial": "String content",
"DirEstablecimiento": "String content",
"DireccionComprador": "String content",
"FechaEmision": "String content",
"FleteInternacional": "String content",
"GastosAduaneros": "String content",
"GastosTransporteOtros": "String content",
"GuiaRemision": "String content",
"IdentificacionComprador": "String content",
"ImporteTotal": "String content",
"IncoTermFactura": "String content",
"IncoTermTotalSinImpuestos": "String content",
"LugarIncoTerm": "String content",
"Moneda": "String content",
"ObligadoContabilidad": "String content",
"Pagos": [
{
"FormaPago": "String content",
"Plazo": "String content",
"Total": "String content",
"UnidadTiempo": "String content"
}
],
"PaisAdquisicion": "String content",
"PaisDestino": "String content",
"PaisOrigen": "String content",
"Placa": "String content",
"Propina": "String content",
"PuertoDestino": "String content",
"PuertoEmbarque": "String content",
"RazonSocialComprador": "String content",
"SeguroInternacional": "String content",
"TipoIdentificacionComprador": "String content",
"TotalBaseImponibleReembolso": "String content",
"TotalComprobantesReembolso": "String content",
"TotalConImpuestos": [
{
"BaseImponible": "String content",
"Codigo": "String content",
"CodigoPorcentaje": "String content",
"DescuentoAdicional": "String content",
"Tarifa": "String content",
"Valor": "String content",
"ValorDevolucionIva": "String content"
}
],
"TotalDescuento": "String content",
"TotalImpuestoReembolso": "String content",
"TotalSinImpuestos": "String content",
"TotalSubsidio": "String content",
"ValorRetIva": "String content",
"ValorRetRenta": "String content"
},
"InfoSustitutivaGuiaRemision": {
"Destinos": [
{
"CodEstabDestino": "String content",
"DocAduaneroUnico": "String content",
"MotivoTraslado": "String content",
"Ruta": "String content"
}
],
"DirDestinatario": "String content",
"DirPartida": "String content",
"FechaFinTransporte": "String content",
"FechaIniTransporte": "String content",
"Placa": "String content",
"RazonSocialTransportista": "String content",
"RucTransportista": "String content",
"TipoIdentificacionTransportista": "String content"
},
"InfoTributaria": {
"AgenteRetencion": "String content",
"CodigoNumerico": "String content",
"DirMatriz": "String content",
"Estab": "String content",
"NombreComercial": "String content",
"PtoEmi": "String content",
"RazonSocial": "String content",
"RegimenMicroempresas": "String content",
"Secuencial": "String content"
},
"MaquinaFiscal": {
"marca": "String content",
"modelo": "String content",
"serie": "String content"
},
"Negociable": {
"Correo": "String content"
},
"Notificar": "String content",
"OtrosRubrosTerceros": [
{
"Concepto": "String content",
"Total": "String content"
}
],
"Reembolsos": [
{
"CodDocReembolso": "String content",
"CodPaisPagoProveedorReembolso": "String content",
"CompensacionesReembolso": [
{
"Codigo": "String content",
"Tarifa": "String content",
"Valor": "String content"
}
],
"DetalleImpuestos": [
{
"BaseImponible": "String content",
"Codigo": "String content",
"CodigoPorRet": "String content",
"Valor": "String content",
"Tarifa": "String content"
}
],
"EstabDocReembolso": "String content",
"FechaEmisionDocReembolso": "String content",
"IdentificacionProveedorReembolso": "String content",
"NumeroautorizacionDocReemb": "String content",
"PtoEmiDocReembolso": "String content",
"SecuencialDocReembolso": "String content",
"TipoIdentificacionProveedorReembolso": "String content",
"TipoProveedorReembolso": "String content"
}
],
"Retenciones": [
{
"Codigo": "String content",
"CodigoPorcentaje": "String content",
"Tarifa": "String content",
"Valor": "String content"
}
],
"TelefonoCliente": "String content",
"Version": "String content"
}
}
Response Json:
{
"Archivo":"String content",
"Codigo":"String content",
"Mensaje":"String content",
"Procesado":true
}
El campo "Archivo" esta en formato BASE-64
----
[[manual_de_integracion_obj|{{:60577.png?30x30 }}]]