Reference for http://demointws.thefactoryhka.com.ec/ApiRest/Service.svc/EnviarFactura

Url: http://demointws.thefactoryhka.com.ec/ApiRest/Service.svc/EnviarFactura

HTTP Method: POST

Message direction Format Body
Request Xml Example,Schema
Request Json Example
Response Xml Example,Schema
Response Json Example

The following is an example request Xml body:

<PeticionAPIFactura xmlns="http://schemas.datacontract.org/2004/07/WSEcuadorService.Request">
  <RUC>String content</RUC>
  <Token>String content</Token>
  <Documento>
    <CPCliente xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject">String content</CPCliente>
    <CampoAdicional xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject">
      <infoAdicional xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Other">
        <Nombre xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Detail">String content</Nombre>
        <Valor xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Detail">String content</Valor>
      </infoAdicional>
      <infoAdicional xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Other">
        <Nombre xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Detail">String content</Nombre>
        <Valor xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Detail">String content</Valor>
      </infoAdicional>
    </CampoAdicional>
    <CorreoNegociable xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject">String content</CorreoNegociable>
    <CorreoNotificar xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject">String content</CorreoNotificar>
    <Detalles xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject">
      <DetalleFactura xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Detail">
        <Cantidad>String content</Cantidad>
        <Descripcion>String content</Descripcion>
        <Descuento>String content</Descuento>
        <Impuestos>
          <ImpuestoDetalle>
            <BaseImponible>String content</BaseImponible>
            <Codigo>String content</Codigo>
            <CodigoPorRet>String content</CodigoPorRet>
            <Valor>String content</Valor>
            <Tarifa>String content</Tarifa>
          </ImpuestoDetalle>
          <ImpuestoDetalle>
            <BaseImponible>String content</BaseImponible>
            <Codigo>String content</Codigo>
            <CodigoPorRet>String content</CodigoPorRet>
            <Valor>String content</Valor>
            <Tarifa>String content</Tarifa>
          </ImpuestoDetalle>
        </Impuestos>
        <PrecioTotalSinImpuesto>String content</PrecioTotalSinImpuesto>
        <PrecioUnitario>String content</PrecioUnitario>
        <CodigoAuxiliar>String content</CodigoAuxiliar>
        <CodigoPrincipal>String content</CodigoPrincipal>
        <DetAdicional>
          <!--Valid elements of type: infoAdicional-->
          <DetAdicional xmlns:d16="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Other" i:type="d16:infoAdicional" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <Nombre>String content</Nombre>
            <Valor>String content</Valor>
          </DetAdicional>
          <!--Valid elements of type: infoAdicional-->
          <DetAdicional xmlns:d16="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Other" i:type="d16:infoAdicional" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <Nombre>String content</Nombre>
            <Valor>String content</Valor>
          </DetAdicional>
        </DetAdicional>
        <PrecioSinSubsidio>String content</PrecioSinSubsidio>
        <UnidadMedida>String content</UnidadMedida>
      </DetalleFactura>
      <DetalleFactura xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Detail">
        <Cantidad>String content</Cantidad>
        <Descripcion>String content</Descripcion>
        <Descuento>String content</Descuento>
        <Impuestos>
          <ImpuestoDetalle>
            <BaseImponible>String content</BaseImponible>
            <Codigo>String content</Codigo>
            <CodigoPorRet>String content</CodigoPorRet>
            <Valor>String content</Valor>
            <Tarifa>String content</Tarifa>
          </ImpuestoDetalle>
          <ImpuestoDetalle>
            <BaseImponible>String content</BaseImponible>
            <Codigo>String content</Codigo>
            <CodigoPorRet>String content</CodigoPorRet>
            <Valor>String content</Valor>
            <Tarifa>String content</Tarifa>
          </ImpuestoDetalle>
        </Impuestos>
        <PrecioTotalSinImpuesto>String content</PrecioTotalSinImpuesto>
        <PrecioUnitario>String content</PrecioUnitario>
        <CodigoAuxiliar>String content</CodigoAuxiliar>
        <CodigoPrincipal>String content</CodigoPrincipal>
        <DetAdicional>
          <!--Valid elements of type: infoAdicional-->
          <DetAdicional xmlns:d16="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Other" i:type="d16:infoAdicional" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <Nombre>String content</Nombre>
            <Valor>String content</Valor>
          </DetAdicional>
          <!--Valid elements of type: infoAdicional-->
          <DetAdicional xmlns:d16="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Other" i:type="d16:infoAdicional" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <Nombre>String content</Nombre>
            <Valor>String content</Valor>
          </DetAdicional>
        </DetAdicional>
        <PrecioSinSubsidio>String content</PrecioSinSubsidio>
        <UnidadMedida>String content</UnidadMedida>
      </DetalleFactura>
    </Detalles>
    <DirCliente xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject">String content</DirCliente>
    <InfoFactura xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject">
      <CodDocReembolso xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</CodDocReembolso>
      <ComercioExterior xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</ComercioExterior>
      <Compensaciones xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">
        <Compensacion>
          <Codigo>String content</Codigo>
          <Tarifa>String content</Tarifa>
          <Valor>String content</Valor>
        </Compensacion>
        <Compensacion>
          <Codigo>String content</Codigo>
          <Tarifa>String content</Tarifa>
          <Valor>String content</Valor>
        </Compensacion>
      </Compensaciones>
      <ContribuyenteEspecial xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</ContribuyenteEspecial>
      <DirEstablecimiento xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</DirEstablecimiento>
      <DireccionComprador xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</DireccionComprador>
      <FechaEmision xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</FechaEmision>
      <FleteInternacional xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</FleteInternacional>
      <GastosAduaneros xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</GastosAduaneros>
      <GastosTransporteOtros xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</GastosTransporteOtros>
      <GuiaRemision xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</GuiaRemision>
      <IdentificacionComprador xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</IdentificacionComprador>
      <ImporteTotal xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</ImporteTotal>
      <IncoTermFactura xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</IncoTermFactura>
      <IncoTermTotalSinImpuestos xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</IncoTermTotalSinImpuestos>
      <LugarIncoTerm xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</LugarIncoTerm>
      <Moneda xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</Moneda>
      <ObligadoContabilidad xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</ObligadoContabilidad>
      <Pagos xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">
        <Pago>
          <FormaPago>String content</FormaPago>
          <Plazo>String content</Plazo>
          <Total>String content</Total>
          <UnidadTiempo>String content</UnidadTiempo>
        </Pago>
        <Pago>
          <FormaPago>String content</FormaPago>
          <Plazo>String content</Plazo>
          <Total>String content</Total>
          <UnidadTiempo>String content</UnidadTiempo>
        </Pago>
      </Pagos>
      <PaisAdquisicion xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</PaisAdquisicion>
      <PaisDestino xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</PaisDestino>
      <PaisOrigen xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</PaisOrigen>
      <Placa xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</Placa>
      <Propina xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</Propina>
      <PuertoDestino xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</PuertoDestino>
      <PuertoEmbarque xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</PuertoEmbarque>
      <RazonSocialComprador xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</RazonSocialComprador>
      <SeguroInternacional xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</SeguroInternacional>
      <TipoIdentificacionComprador xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</TipoIdentificacionComprador>
      <TotalBaseImponibleReembolso xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</TotalBaseImponibleReembolso>
      <TotalComprobantesReembolso xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</TotalComprobantesReembolso>
      <TotalConImpuestos xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">
        <TotalConImpuesto>
          <BaseImponible>String content</BaseImponible>
          <Codigo>String content</Codigo>
          <CodigoPorcentaje>String content</CodigoPorcentaje>
          <DescuentoAdicional>String content</DescuentoAdicional>
          <Tarifa>String content</Tarifa>
          <Valor>String content</Valor>
          <ValorDevolucionIva>String content</ValorDevolucionIva>
        </TotalConImpuesto>
        <TotalConImpuesto>
          <BaseImponible>String content</BaseImponible>
          <Codigo>String content</Codigo>
          <CodigoPorcentaje>String content</CodigoPorcentaje>
          <DescuentoAdicional>String content</DescuentoAdicional>
          <Tarifa>String content</Tarifa>
          <Valor>String content</Valor>
          <ValorDevolucionIva>String content</ValorDevolucionIva>
        </TotalConImpuesto>
      </TotalConImpuestos>
      <TotalDescuento xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</TotalDescuento>
      <TotalImpuestoReembolso xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</TotalImpuestoReembolso>
      <TotalSinImpuestos xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</TotalSinImpuestos>
      <TotalSubsidio xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</TotalSubsidio>
      <ValorRetIva xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</ValorRetIva>
      <ValorRetRenta xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</ValorRetRenta>
    </InfoFactura>
    <InfoSustitutivaGuiaRemision xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject">
      <Destinos xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Other">
        <Destino>
          <CodEstabDestino>String content</CodEstabDestino>
          <DocAduaneroUnico>String content</DocAduaneroUnico>
          <MotivoTraslado>String content</MotivoTraslado>
          <Ruta>String content</Ruta>
        </Destino>
        <Destino>
          <CodEstabDestino>String content</CodEstabDestino>
          <DocAduaneroUnico>String content</DocAduaneroUnico>
          <MotivoTraslado>String content</MotivoTraslado>
          <Ruta>String content</Ruta>
        </Destino>
      </Destinos>
      <DirDestinatario xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Other">String content</DirDestinatario>
      <DirPartida xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Other">String content</DirPartida>
      <FechaFinTransporte xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Other">String content</FechaFinTransporte>
      <FechaIniTransporte xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Other">String content</FechaIniTransporte>
      <Placa xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Other">String content</Placa>
      <RazonSocialTransportista xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Other">String content</RazonSocialTransportista>
      <RucTransportista xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Other">String content</RucTransportista>
      <TipoIdentificacionTransportista xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Other">String content</TipoIdentificacionTransportista>
    </InfoSustitutivaGuiaRemision>
    <InfoTributaria xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject">
      <AgenteRetencion xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</AgenteRetencion>
      <CodigoNumerico xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</CodigoNumerico>
      <DirMatriz xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</DirMatriz>
      <Estab xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</Estab>
      <NombreComercial xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</NombreComercial>
      <PtoEmi xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</PtoEmi>
      <RazonSocial xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</RazonSocial>
      <RegimenMicroempresas xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</RegimenMicroempresas>
      <Secuencial xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</Secuencial>
      <contribuyenteRimpe xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">String content</contribuyenteRimpe>
    </InfoTributaria>
    <MaquinaFiscal xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject">
      <marca xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Other">String content</marca>
      <modelo xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Other">String content</modelo>
      <serie xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Other">String content</serie>
    </MaquinaFiscal>
    <Negociable xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject">
      <Correo xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Other">String content</Correo>
    </Negociable>
    <Notificar xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject">String content</Notificar>
    <OtrosRubrosTerceros xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject">
      <Rubro xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Other">
        <Concepto>String content</Concepto>
        <Total>String content</Total>
      </Rubro>
      <Rubro xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Other">
        <Concepto>String content</Concepto>
        <Total>String content</Total>
      </Rubro>
    </OtrosRubrosTerceros>
    <Reembolsos xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject">
      <ReembolsoDetalle xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Other">
        <CodDocReembolso>String content</CodDocReembolso>
        <CodPaisPagoProveedorReembolso>String content</CodPaisPagoProveedorReembolso>
        <CompensacionesReembolso>
          <Compensacion xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">
            <Codigo>String content</Codigo>
            <Tarifa>String content</Tarifa>
            <Valor>String content</Valor>
          </Compensacion>
          <Compensacion xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">
            <Codigo>String content</Codigo>
            <Tarifa>String content</Tarifa>
            <Valor>String content</Valor>
          </Compensacion>
        </CompensacionesReembolso>
        <DetalleImpuestos>
          <ImpuestoDetalle xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Detail">
            <BaseImponible>String content</BaseImponible>
            <Codigo>String content</Codigo>
            <CodigoPorRet>String content</CodigoPorRet>
            <Valor>String content</Valor>
            <Tarifa>String content</Tarifa>
          </ImpuestoDetalle>
          <ImpuestoDetalle xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Detail">
            <BaseImponible>String content</BaseImponible>
            <Codigo>String content</Codigo>
            <CodigoPorRet>String content</CodigoPorRet>
            <Valor>String content</Valor>
            <Tarifa>String content</Tarifa>
          </ImpuestoDetalle>
        </DetalleImpuestos>
        <EstabDocReembolso>String content</EstabDocReembolso>
        <FechaEmisionDocReembolso>String content</FechaEmisionDocReembolso>
        <IdentificacionProveedorReembolso>String content</IdentificacionProveedorReembolso>
        <NumeroautorizacionDocReemb>String content</NumeroautorizacionDocReemb>
        <PtoEmiDocReembolso>String content</PtoEmiDocReembolso>
        <SecuencialDocReembolso>String content</SecuencialDocReembolso>
        <TipoIdentificacionProveedorReembolso>String content</TipoIdentificacionProveedorReembolso>
        <TipoProveedorReembolso>String content</TipoProveedorReembolso>
      </ReembolsoDetalle>
      <ReembolsoDetalle xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Other">
        <CodDocReembolso>String content</CodDocReembolso>
        <CodPaisPagoProveedorReembolso>String content</CodPaisPagoProveedorReembolso>
        <CompensacionesReembolso>
          <Compensacion xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">
            <Codigo>String content</Codigo>
            <Tarifa>String content</Tarifa>
            <Valor>String content</Valor>
          </Compensacion>
          <Compensacion xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body">
            <Codigo>String content</Codigo>
            <Tarifa>String content</Tarifa>
            <Valor>String content</Valor>
          </Compensacion>
        </CompensacionesReembolso>
        <DetalleImpuestos>
          <ImpuestoDetalle xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Detail">
            <BaseImponible>String content</BaseImponible>
            <Codigo>String content</Codigo>
            <CodigoPorRet>String content</CodigoPorRet>
            <Valor>String content</Valor>
            <Tarifa>String content</Tarifa>
          </ImpuestoDetalle>
          <ImpuestoDetalle xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Detail">
            <BaseImponible>String content</BaseImponible>
            <Codigo>String content</Codigo>
            <CodigoPorRet>String content</CodigoPorRet>
            <Valor>String content</Valor>
            <Tarifa>String content</Tarifa>
          </ImpuestoDetalle>
        </DetalleImpuestos>
        <EstabDocReembolso>String content</EstabDocReembolso>
        <FechaEmisionDocReembolso>String content</FechaEmisionDocReembolso>
        <IdentificacionProveedorReembolso>String content</IdentificacionProveedorReembolso>
        <NumeroautorizacionDocReemb>String content</NumeroautorizacionDocReemb>
        <PtoEmiDocReembolso>String content</PtoEmiDocReembolso>
        <SecuencialDocReembolso>String content</SecuencialDocReembolso>
        <TipoIdentificacionProveedorReembolso>String content</TipoIdentificacionProveedorReembolso>
        <TipoProveedorReembolso>String content</TipoProveedorReembolso>
      </ReembolsoDetalle>
    </Reembolsos>
    <Retenciones xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject">
      <Retencion xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Other">
        <Codigo>String content</Codigo>
        <CodigoPorcentaje>String content</CodigoPorcentaje>
        <Tarifa>String content</Tarifa>
        <Valor>String content</Valor>
      </Retencion>
      <Retencion xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Other">
        <Codigo>String content</Codigo>
        <CodigoPorcentaje>String content</CodigoPorcentaje>
        <Tarifa>String content</Tarifa>
        <Valor>String content</Valor>
      </Retencion>
    </Retenciones>
    <TelefonoCliente xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject">String content</TelefonoCliente>
    <Version xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject">String content</Version>
  </Documento>
</PeticionAPIFactura>

The following is an example 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",
			"contribuyenteRimpe":"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"
	}
}

The following is an example response Xml body:

<RepuestaPeticion xmlns="http://schemas.datacontract.org/2004/07/WSEcuadorService.Response">
  <Archivo xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject">String content</Archivo>
  <Codigo xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject">String content</Codigo>
  <Mensaje xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject">String content</Mensaje>
  <Procesado xmlns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject">true</Procesado>
</RepuestaPeticion>

The following is an example response Json body:

{
	"Archivo":"String content",
	"Codigo":"String content",
	"Mensaje":"String content",
	"Procesado":true
}

The following is the request Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/WSEcuadorService.Request" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/WSEcuadorService.Request" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject" />
  <xs:complexType name="PeticionAPIFactura">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:PeticionAPI">
        <xs:sequence>
          <xs:element minOccurs="0" name="Documento" nillable="true" xmlns:q1="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject" type="q1:Factura" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="PeticionAPIFactura" nillable="true" type="tns:PeticionAPIFactura" />
  <xs:complexType name="PeticionAPI">
    <xs:sequence>
      <xs:element minOccurs="0" name="RUC" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Token" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="PeticionAPI" nillable="true" type="tns:PeticionAPI" />
</xs:schema>

Additional request Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Other" />
  <xs:import namespace="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Detail" />
  <xs:import namespace="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body" />
  <xs:import namespace="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Other" />
  <xs:complexType name="Factura">
    <xs:sequence>
      <xs:element minOccurs="0" name="CPCliente" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CampoAdicional" nillable="true" xmlns:q1="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Other" type="q1:ArrayOfinfoAdicional" />
      <xs:element minOccurs="0" name="CorreoNegociable" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CorreoNotificar" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Detalles" nillable="true" xmlns:q2="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Detail" type="q2:ArrayOfDetalleFactura" />
      <xs:element minOccurs="0" name="DirCliente" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="InfoFactura" nillable="true" xmlns:q3="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body" type="q3:InfoFactura" />
      <xs:element minOccurs="0" name="InfoSustitutivaGuiaRemision" nillable="true" xmlns:q4="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Other" type="q4:InfoSustitutivaGuiaRemision" />
      <xs:element minOccurs="0" name="InfoTributaria" nillable="true" xmlns:q5="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body" type="q5:InfoTributaria" />
      <xs:element minOccurs="0" name="MaquinaFiscal" nillable="true" xmlns:q6="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Other" type="q6:MaquinaFiscal" />
      <xs:element minOccurs="0" name="Negociable" nillable="true" xmlns:q7="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Other" type="q7:TipoNegociable" />
      <xs:element minOccurs="0" name="Notificar" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="OtrosRubrosTerceros" nillable="true" xmlns:q8="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Other" type="q8:ArrayOfRubro" />
      <xs:element minOccurs="0" name="Reembolsos" nillable="true" xmlns:q9="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Other" type="q9:ArrayOfReembolsoDetalle" />
      <xs:element minOccurs="0" name="Retenciones" nillable="true" xmlns:q10="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Other" type="q10:ArrayOfRetencion" />
      <xs:element minOccurs="0" name="TelefonoCliente" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Version" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Factura" nillable="true" type="tns:Factura" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Other" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Other" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Detail" />
  <xs:complexType name="ArrayOfinfoAdicional">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="infoAdicional" nillable="true" type="tns:infoAdicional" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfinfoAdicional" nillable="true" type="tns:ArrayOfinfoAdicional" />
  <xs:complexType name="infoAdicional">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Detail" base="q1:DetAdicional">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="infoAdicional" nillable="true" type="tns:infoAdicional" />
  <xs:complexType name="MaquinaFiscal">
    <xs:sequence>
      <xs:element minOccurs="0" name="marca" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="modelo" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="serie" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="MaquinaFiscal" nillable="true" type="tns:MaquinaFiscal" />
  <xs:complexType name="TipoNegociable">
    <xs:sequence>
      <xs:element minOccurs="0" name="Correo" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="TipoNegociable" nillable="true" type="tns:TipoNegociable" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Detail" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Detail" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="DetAdicional">
    <xs:sequence>
      <xs:element minOccurs="0" name="Nombre" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Valor" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DetAdicional" nillable="true" type="tns:DetAdicional" />
  <xs:complexType name="ArrayOfDetalleFactura">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="DetalleFactura" nillable="true" type="tns:DetalleFactura" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfDetalleFactura" nillable="true" type="tns:ArrayOfDetalleFactura" />
  <xs:complexType name="DetalleFactura">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:DetalleBase">
        <xs:sequence>
          <xs:element minOccurs="0" name="CodigoAuxiliar" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CodigoPrincipal" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DetAdicional" nillable="true" type="tns:ArrayOfDetAdicional" />
          <xs:element minOccurs="0" name="PrecioSinSubsidio" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="UnidadMedida" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="DetalleFactura" nillable="true" type="tns:DetalleFactura" />
  <xs:complexType name="DetalleBase">
    <xs:sequence>
      <xs:element minOccurs="0" name="Cantidad" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Descripcion" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Descuento" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Impuestos" nillable="true" type="tns:ArrayOfImpuestoDetalle" />
      <xs:element minOccurs="0" name="PrecioTotalSinImpuesto" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PrecioUnitario" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DetalleBase" nillable="true" type="tns:DetalleBase" />
  <xs:complexType name="ArrayOfImpuestoDetalle">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ImpuestoDetalle" nillable="true" type="tns:ImpuestoDetalle" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfImpuestoDetalle" nillable="true" type="tns:ArrayOfImpuestoDetalle" />
  <xs:complexType name="ImpuestoDetalle">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ImpuestoDetalleBase">
        <xs:sequence>
          <xs:element minOccurs="0" name="Tarifa" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ImpuestoDetalle" nillable="true" type="tns:ImpuestoDetalle" />
  <xs:complexType name="ImpuestoDetalleBase">
    <xs:sequence>
      <xs:element minOccurs="0" name="BaseImponible" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Codigo" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CodigoPorRet" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Valor" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ImpuestoDetalleBase" nillable="true" type="tns:ImpuestoDetalleBase" />
  <xs:complexType name="ArrayOfDetAdicional">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="DetAdicional" nillable="true" type="tns:DetAdicional" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfDetAdicional" nillable="true" type="tns:ArrayOfDetAdicional" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="InfoFactura">
    <xs:sequence>
      <xs:element minOccurs="0" name="CodDocReembolso" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ComercioExterior" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Compensaciones" nillable="true" type="tns:ArrayOfCompensacion" />
      <xs:element minOccurs="0" name="ContribuyenteEspecial" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DirEstablecimiento" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DireccionComprador" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="FechaEmision" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="FleteInternacional" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GastosAduaneros" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GastosTransporteOtros" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GuiaRemision" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IdentificacionComprador" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ImporteTotal" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IncoTermFactura" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IncoTermTotalSinImpuestos" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LugarIncoTerm" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Moneda" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ObligadoContabilidad" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Pagos" nillable="true" type="tns:ArrayOfPago" />
      <xs:element minOccurs="0" name="PaisAdquisicion" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PaisDestino" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PaisOrigen" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Placa" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Propina" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PuertoDestino" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PuertoEmbarque" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RazonSocialComprador" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SeguroInternacional" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TipoIdentificacionComprador" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TotalBaseImponibleReembolso" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TotalComprobantesReembolso" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TotalConImpuestos" nillable="true" type="tns:ArrayOfTotalConImpuesto" />
      <xs:element minOccurs="0" name="TotalDescuento" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TotalImpuestoReembolso" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TotalSinImpuestos" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TotalSubsidio" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ValorRetIva" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ValorRetRenta" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="InfoFactura" nillable="true" type="tns:InfoFactura" />
  <xs:complexType name="ArrayOfCompensacion">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Compensacion" nillable="true" type="tns:Compensacion" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfCompensacion" nillable="true" type="tns:ArrayOfCompensacion" />
  <xs:complexType name="Compensacion">
    <xs:sequence>
      <xs:element minOccurs="0" name="Codigo" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Tarifa" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Valor" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Compensacion" nillable="true" type="tns:Compensacion" />
  <xs:complexType name="ArrayOfPago">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Pago" nillable="true" type="tns:Pago" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfPago" nillable="true" type="tns:ArrayOfPago" />
  <xs:complexType name="Pago">
    <xs:sequence>
      <xs:element minOccurs="0" name="FormaPago" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Plazo" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Total" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UnidadTiempo" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Pago" nillable="true" type="tns:Pago" />
  <xs:complexType name="ArrayOfTotalConImpuesto">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="TotalConImpuesto" nillable="true" type="tns:TotalConImpuesto" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfTotalConImpuesto" nillable="true" type="tns:ArrayOfTotalConImpuesto" />
  <xs:complexType name="TotalConImpuesto">
    <xs:sequence>
      <xs:element minOccurs="0" name="BaseImponible" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Codigo" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CodigoPorcentaje" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DescuentoAdicional" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Tarifa" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Valor" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ValorDevolucionIva" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="TotalConImpuesto" nillable="true" type="tns:TotalConImpuesto" />
  <xs:complexType name="InfoTributaria">
    <xs:sequence>
      <xs:element minOccurs="0" name="AgenteRetencion" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CodigoNumerico" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DirMatriz" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Estab" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NombreComercial" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PtoEmi" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RazonSocial" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RegimenMicroempresas" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Secuencial" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="contribuyenteRimpe" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="InfoTributaria" nillable="true" type="tns:InfoTributaria" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Other" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Other" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body" />
  <xs:import namespace="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Detail" />
  <xs:complexType name="InfoSustitutivaGuiaRemision">
    <xs:sequence>
      <xs:element minOccurs="0" name="Destinos" nillable="true" type="tns:ArrayOfDestino" />
      <xs:element minOccurs="0" name="DirDestinatario" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DirPartida" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="FechaFinTransporte" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="FechaIniTransporte" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Placa" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RazonSocialTransportista" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RucTransportista" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TipoIdentificacionTransportista" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="InfoSustitutivaGuiaRemision" nillable="true" type="tns:InfoSustitutivaGuiaRemision" />
  <xs:complexType name="ArrayOfDestino">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Destino" nillable="true" type="tns:Destino" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfDestino" nillable="true" type="tns:ArrayOfDestino" />
  <xs:complexType name="Destino">
    <xs:sequence>
      <xs:element minOccurs="0" name="CodEstabDestino" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DocAduaneroUnico" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="MotivoTraslado" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Ruta" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Destino" nillable="true" type="tns:Destino" />
  <xs:complexType name="ArrayOfRubro">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Rubro" nillable="true" type="tns:Rubro" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfRubro" nillable="true" type="tns:ArrayOfRubro" />
  <xs:complexType name="Rubro">
    <xs:sequence>
      <xs:element minOccurs="0" name="Concepto" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Total" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Rubro" nillable="true" type="tns:Rubro" />
  <xs:complexType name="ArrayOfReembolsoDetalle">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ReembolsoDetalle" nillable="true" type="tns:ReembolsoDetalle" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfReembolsoDetalle" nillable="true" type="tns:ArrayOfReembolsoDetalle" />
  <xs:complexType name="ReembolsoDetalle">
    <xs:sequence>
      <xs:element minOccurs="0" name="CodDocReembolso" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CodPaisPagoProveedorReembolso" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CompensacionesReembolso" nillable="true" xmlns:q1="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Body" type="q1:ArrayOfCompensacion" />
      <xs:element minOccurs="0" name="DetalleImpuestos" nillable="true" xmlns:q2="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject.Common.Detail" type="q2:ArrayOfImpuestoDetalle" />
      <xs:element minOccurs="0" name="EstabDocReembolso" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="FechaEmisionDocReembolso" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IdentificacionProveedorReembolso" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NumeroautorizacionDocReemb" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PtoEmiDocReembolso" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SecuencialDocReembolso" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TipoIdentificacionProveedorReembolso" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TipoProveedorReembolso" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ReembolsoDetalle" nillable="true" type="tns:ReembolsoDetalle" />
  <xs:complexType name="ArrayOfRetencion">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Retencion" nillable="true" type="tns:Retencion" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfRetencion" nillable="true" type="tns:ArrayOfRetencion" />
  <xs:complexType name="Retencion">
    <xs:sequence>
      <xs:element minOccurs="0" name="Codigo" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CodigoPorcentaje" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Tarifa" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Valor" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Retencion" nillable="true" type="tns:Retencion" />
</xs:schema>

<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
  <tns:element name="schema">
    <tns:complexType />
  </tns:element>
</tns:schema>

The following is the response Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/WSEcuadorService.Response" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/WSEcuadorService.Response" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject" />
  <xs:complexType name="RepuestaPeticion">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject" base="q1:Respuesta">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="RepuestaPeticion" nillable="true" type="tns:RepuestaPeticion" />
</xs:schema>

Additional response Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/EcuadorLibraryObject" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="Respuesta">
    <xs:sequence>
      <xs:element minOccurs="0" name="Archivo" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Codigo" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Mensaje" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Procesado" type="xs:boolean" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Respuesta" nillable="true" type="tns:Respuesta" />
</xs:schema>

<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
  <tns:element name="schema">
    <tns:complexType />
  </tns:element>
</tns:schema>