API_2_02


Click here for a complete list of operations.

FacturaProveedor_SEARCH

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /webservices/api_2_02.asmx HTTP/1.1
Host: services.mytravelagency.app
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "Giav.Core.Business/FacturaProveedor_SEARCH"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <FacturaProveedor_SEARCH xmlns="Giav.Core.Business">
      <apikey>string</apikey>
      <idsFacturaProveedor>
        <int>int</int>
        <int>int</int>
      </idsFacturaProveedor>
      <filtroCodigo>string</filtroCodigo>
      <filtroCodigoAutofactura>string</filtroCodigoAutofactura>
      <filtroidsExpediente>
        <int>int</int>
        <int>int</int>
      </filtroidsExpediente>
      <filtroIDsOficina>
        <int>int</int>
        <int>int</int>
      </filtroIDsOficina>
      <filtroidsReserva>
        <int>int</int>
        <int>int</int>
      </filtroidsReserva>
      <filtroCodExpedienteDesde>string</filtroCodExpedienteDesde>
      <filtroCodExpedienteHasta>string</filtroCodExpedienteHasta>
      <filtroIdsProveedor>
        <int>int</int>
        <int>int</int>
      </filtroIdsProveedor>
      <filtroFechaEmisionDesde>string</filtroFechaEmisionDesde>
      <filtroFechaEmisionHasta>string</filtroFechaEmisionHasta>
      <filtroFechaRegistroDesde>string</filtroFechaRegistroDesde>
      <filtroFechaRegistroHasta>string</filtroFechaRegistroHasta>
      <filtroFechaModificacionDesde>string</filtroFechaModificacionDesde>
      <filtroFechaModificacionHasta>string</filtroFechaModificacionHasta>
      <filtroImporteDesde>double</filtroImporteDesde>
      <filtroImporteHasta>double</filtroImporteHasta>
      <filtroImportePtePagoDesde>double</filtroImportePtePagoDesde>
      <filtroImportePtePagoHasta>double</filtroImportePtePagoHasta>
      <filtroTipoFactura>NoAplicar or Factura or Prepago or PrepagoCompensado or PrepagoPdtCompensar or FacturaNoLiquidable</filtroTipoFactura>
      <filtroTraspasado>NoAplicar or Si or No</filtroTraspasado>
      <filtroIdsTraspaso>
        <int>int</int>
        <int>int</int>
      </filtroIdsTraspaso>
      <filtroLiquidada>NoAplicar or Si or No</filtroLiquidada>
      <filtroIdsLiquidacion>
        <int>int</int>
        <int>int</int>
      </filtroIdsLiquidacion>
      <filtrosIdTicketsSettlement>
        <int>int</int>
        <int>int</int>
      </filtrosIdTicketsSettlement>
      <mostrarSoloConPtePago>boolean</mostrarSoloConPtePago>
      <mostrarSoloConMarcaNoTraspasar>boolean</mostrarSoloConMarcaNoTraspasar>
      <busquedaCodigoExacta>boolean</busquedaCodigoExacta>
      <filtroIdsEntitiesStages>
        <int>int</int>
        <int>int</int>
      </filtroIdsEntitiesStages>
      <pageSize>int</pageSize>
      <pageNumber>int</pageNumber>
    </FacturaProveedor_SEARCH>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <FacturaProveedor_SEARCHResponse xmlns="Giav.Core.Business">
      <FacturaProveedor_SEARCHResult>
        <WsFacturaProveedor>
          <Id>int</Id>
          <IdProveedor>int</IdProveedor>
          <IdUsuarioCreacion>int</IdUsuarioCreacion>
          <IdUsuarioModificacion>int</IdUsuarioModificacion>
          <IdTraspaso>int</IdTraspaso>
          <IdLiquidacion>int</IdLiquidacion>
          <EsPrepago>boolean</EsPrepago>
          <PrepagoCompensado>boolean</PrepagoCompensado>
          <Codigo>string</Codigo>
          <CodigoAutofacturaComision>string</CodigoAutofacturaComision>
          <FechaEmision>dateTime</FechaEmision>
          <FechaRegistro>dateTime</FechaRegistro>
          <FechaCreacion>dateTime</FechaCreacion>
          <FechaModificacion>dateTime</FechaModificacion>
          <Comentarios>string</Comentarios>
          <Comision>double</Comision>
          <RetencionIrpf>double</RetencionIrpf>
          <PagoACuentaIrpf>double</PagoACuentaIrpf>
          <PorcentajeIva>double</PorcentajeIva>
          <NoTraspasar>boolean</NoTraspasar>
          <FacturaReav>boolean</FacturaReav>
          <AutoFacturaComision>boolean</AutoFacturaComision>
          <DatosExternos>
            <TotalCostesrecepcionados xmlns="Giav.Core.Business.FacturaProveedor">double</TotalCostesrecepcionados>
            <ProveedorNombre xmlns="Giav.Core.Business.FacturaProveedor">string</ProveedorNombre>
            <ProveedorAlias xmlns="Giav.Core.Business.FacturaProveedor">string</ProveedorAlias>
            <DocumentoProveedor xmlns="Giav.Core.Business.FacturaProveedor">string</DocumentoProveedor>
            <TotalPagos xmlns="Giav.Core.Business.FacturaProveedor">double</TotalPagos>
            <IdEmpresa xmlns="Giav.Core.Business.FacturaProveedor">int</IdEmpresa>
            <CodProveedor xmlns="Giav.Core.Business.FacturaProveedor">string</CodProveedor>
            <Proveedor_SedeFiscal_IdTaxDistrict xmlns="Giav.Core.Business.FacturaProveedor">XX_General or ES_PenínsulaYBaleares or ES_Canarias or ES_CeutaYMelilla</Proveedor_SedeFiscal_IdTaxDistrict>
          </DatosExternos>
          <IdEntityStage>int</IdEntityStage>
          <ComisionOperacionIntracomunitaria>boolean</ComisionOperacionIntracomunitaria>
          <CustomDataValues>
            <CustomDataItem xsi:nil="true" />
            <CustomDataItem xsi:nil="true" />
          </CustomDataValues>
        </WsFacturaProveedor>
        <WsFacturaProveedor>
          <Id>int</Id>
          <IdProveedor>int</IdProveedor>
          <IdUsuarioCreacion>int</IdUsuarioCreacion>
          <IdUsuarioModificacion>int</IdUsuarioModificacion>
          <IdTraspaso>int</IdTraspaso>
          <IdLiquidacion>int</IdLiquidacion>
          <EsPrepago>boolean</EsPrepago>
          <PrepagoCompensado>boolean</PrepagoCompensado>
          <Codigo>string</Codigo>
          <CodigoAutofacturaComision>string</CodigoAutofacturaComision>
          <FechaEmision>dateTime</FechaEmision>
          <FechaRegistro>dateTime</FechaRegistro>
          <FechaCreacion>dateTime</FechaCreacion>
          <FechaModificacion>dateTime</FechaModificacion>
          <Comentarios>string</Comentarios>
          <Comision>double</Comision>
          <RetencionIrpf>double</RetencionIrpf>
          <PagoACuentaIrpf>double</PagoACuentaIrpf>
          <PorcentajeIva>double</PorcentajeIva>
          <NoTraspasar>boolean</NoTraspasar>
          <FacturaReav>boolean</FacturaReav>
          <AutoFacturaComision>boolean</AutoFacturaComision>
          <DatosExternos>
            <TotalCostesrecepcionados xmlns="Giav.Core.Business.FacturaProveedor">double</TotalCostesrecepcionados>
            <ProveedorNombre xmlns="Giav.Core.Business.FacturaProveedor">string</ProveedorNombre>
            <ProveedorAlias xmlns="Giav.Core.Business.FacturaProveedor">string</ProveedorAlias>
            <DocumentoProveedor xmlns="Giav.Core.Business.FacturaProveedor">string</DocumentoProveedor>
            <TotalPagos xmlns="Giav.Core.Business.FacturaProveedor">double</TotalPagos>
            <IdEmpresa xmlns="Giav.Core.Business.FacturaProveedor">int</IdEmpresa>
            <CodProveedor xmlns="Giav.Core.Business.FacturaProveedor">string</CodProveedor>
            <Proveedor_SedeFiscal_IdTaxDistrict xmlns="Giav.Core.Business.FacturaProveedor">XX_General or ES_PenínsulaYBaleares or ES_Canarias or ES_CeutaYMelilla</Proveedor_SedeFiscal_IdTaxDistrict>
          </DatosExternos>
          <IdEntityStage>int</IdEntityStage>
          <ComisionOperacionIntracomunitaria>boolean</ComisionOperacionIntracomunitaria>
          <CustomDataValues>
            <CustomDataItem xsi:nil="true" />
            <CustomDataItem xsi:nil="true" />
          </CustomDataValues>
        </WsFacturaProveedor>
      </FacturaProveedor_SEARCHResult>
    </FacturaProveedor_SEARCHResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /webservices/api_2_02.asmx HTTP/1.1
Host: services.mytravelagency.app
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <FacturaProveedor_SEARCH xmlns="Giav.Core.Business">
      <apikey>string</apikey>
      <idsFacturaProveedor>
        <int>int</int>
        <int>int</int>
      </idsFacturaProveedor>
      <filtroCodigo>string</filtroCodigo>
      <filtroCodigoAutofactura>string</filtroCodigoAutofactura>
      <filtroidsExpediente>
        <int>int</int>
        <int>int</int>
      </filtroidsExpediente>
      <filtroIDsOficina>
        <int>int</int>
        <int>int</int>
      </filtroIDsOficina>
      <filtroidsReserva>
        <int>int</int>
        <int>int</int>
      </filtroidsReserva>
      <filtroCodExpedienteDesde>string</filtroCodExpedienteDesde>
      <filtroCodExpedienteHasta>string</filtroCodExpedienteHasta>
      <filtroIdsProveedor>
        <int>int</int>
        <int>int</int>
      </filtroIdsProveedor>
      <filtroFechaEmisionDesde>string</filtroFechaEmisionDesde>
      <filtroFechaEmisionHasta>string</filtroFechaEmisionHasta>
      <filtroFechaRegistroDesde>string</filtroFechaRegistroDesde>
      <filtroFechaRegistroHasta>string</filtroFechaRegistroHasta>
      <filtroFechaModificacionDesde>string</filtroFechaModificacionDesde>
      <filtroFechaModificacionHasta>string</filtroFechaModificacionHasta>
      <filtroImporteDesde>double</filtroImporteDesde>
      <filtroImporteHasta>double</filtroImporteHasta>
      <filtroImportePtePagoDesde>double</filtroImportePtePagoDesde>
      <filtroImportePtePagoHasta>double</filtroImportePtePagoHasta>
      <filtroTipoFactura>NoAplicar or Factura or Prepago or PrepagoCompensado or PrepagoPdtCompensar or FacturaNoLiquidable</filtroTipoFactura>
      <filtroTraspasado>NoAplicar or Si or No</filtroTraspasado>
      <filtroIdsTraspaso>
        <int>int</int>
        <int>int</int>
      </filtroIdsTraspaso>
      <filtroLiquidada>NoAplicar or Si or No</filtroLiquidada>
      <filtroIdsLiquidacion>
        <int>int</int>
        <int>int</int>
      </filtroIdsLiquidacion>
      <filtrosIdTicketsSettlement>
        <int>int</int>
        <int>int</int>
      </filtrosIdTicketsSettlement>
      <mostrarSoloConPtePago>boolean</mostrarSoloConPtePago>
      <mostrarSoloConMarcaNoTraspasar>boolean</mostrarSoloConMarcaNoTraspasar>
      <busquedaCodigoExacta>boolean</busquedaCodigoExacta>
      <filtroIdsEntitiesStages>
        <int>int</int>
        <int>int</int>
      </filtroIdsEntitiesStages>
      <pageSize>int</pageSize>
      <pageNumber>int</pageNumber>
    </FacturaProveedor_SEARCH>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <FacturaProveedor_SEARCHResponse xmlns="Giav.Core.Business">
      <FacturaProveedor_SEARCHResult>
        <WsFacturaProveedor>
          <Id>int</Id>
          <IdProveedor>int</IdProveedor>
          <IdUsuarioCreacion>int</IdUsuarioCreacion>
          <IdUsuarioModificacion>int</IdUsuarioModificacion>
          <IdTraspaso>int</IdTraspaso>
          <IdLiquidacion>int</IdLiquidacion>
          <EsPrepago>boolean</EsPrepago>
          <PrepagoCompensado>boolean</PrepagoCompensado>
          <Codigo>string</Codigo>
          <CodigoAutofacturaComision>string</CodigoAutofacturaComision>
          <FechaEmision>dateTime</FechaEmision>
          <FechaRegistro>dateTime</FechaRegistro>
          <FechaCreacion>dateTime</FechaCreacion>
          <FechaModificacion>dateTime</FechaModificacion>
          <Comentarios>string</Comentarios>
          <Comision>double</Comision>
          <RetencionIrpf>double</RetencionIrpf>
          <PagoACuentaIrpf>double</PagoACuentaIrpf>
          <PorcentajeIva>double</PorcentajeIva>
          <NoTraspasar>boolean</NoTraspasar>
          <FacturaReav>boolean</FacturaReav>
          <AutoFacturaComision>boolean</AutoFacturaComision>
          <DatosExternos>
            <TotalCostesrecepcionados xmlns="Giav.Core.Business.FacturaProveedor">double</TotalCostesrecepcionados>
            <ProveedorNombre xmlns="Giav.Core.Business.FacturaProveedor">string</ProveedorNombre>
            <ProveedorAlias xmlns="Giav.Core.Business.FacturaProveedor">string</ProveedorAlias>
            <DocumentoProveedor xmlns="Giav.Core.Business.FacturaProveedor">string</DocumentoProveedor>
            <TotalPagos xmlns="Giav.Core.Business.FacturaProveedor">double</TotalPagos>
            <IdEmpresa xmlns="Giav.Core.Business.FacturaProveedor">int</IdEmpresa>
            <CodProveedor xmlns="Giav.Core.Business.FacturaProveedor">string</CodProveedor>
            <Proveedor_SedeFiscal_IdTaxDistrict xmlns="Giav.Core.Business.FacturaProveedor">XX_General or ES_PenínsulaYBaleares or ES_Canarias or ES_CeutaYMelilla</Proveedor_SedeFiscal_IdTaxDistrict>
          </DatosExternos>
          <IdEntityStage>int</IdEntityStage>
          <ComisionOperacionIntracomunitaria>boolean</ComisionOperacionIntracomunitaria>
          <CustomDataValues>
            <CustomDataItem xsi:nil="true" />
            <CustomDataItem xsi:nil="true" />
          </CustomDataValues>
        </WsFacturaProveedor>
        <WsFacturaProveedor>
          <Id>int</Id>
          <IdProveedor>int</IdProveedor>
          <IdUsuarioCreacion>int</IdUsuarioCreacion>
          <IdUsuarioModificacion>int</IdUsuarioModificacion>
          <IdTraspaso>int</IdTraspaso>
          <IdLiquidacion>int</IdLiquidacion>
          <EsPrepago>boolean</EsPrepago>
          <PrepagoCompensado>boolean</PrepagoCompensado>
          <Codigo>string</Codigo>
          <CodigoAutofacturaComision>string</CodigoAutofacturaComision>
          <FechaEmision>dateTime</FechaEmision>
          <FechaRegistro>dateTime</FechaRegistro>
          <FechaCreacion>dateTime</FechaCreacion>
          <FechaModificacion>dateTime</FechaModificacion>
          <Comentarios>string</Comentarios>
          <Comision>double</Comision>
          <RetencionIrpf>double</RetencionIrpf>
          <PagoACuentaIrpf>double</PagoACuentaIrpf>
          <PorcentajeIva>double</PorcentajeIva>
          <NoTraspasar>boolean</NoTraspasar>
          <FacturaReav>boolean</FacturaReav>
          <AutoFacturaComision>boolean</AutoFacturaComision>
          <DatosExternos>
            <TotalCostesrecepcionados xmlns="Giav.Core.Business.FacturaProveedor">double</TotalCostesrecepcionados>
            <ProveedorNombre xmlns="Giav.Core.Business.FacturaProveedor">string</ProveedorNombre>
            <ProveedorAlias xmlns="Giav.Core.Business.FacturaProveedor">string</ProveedorAlias>
            <DocumentoProveedor xmlns="Giav.Core.Business.FacturaProveedor">string</DocumentoProveedor>
            <TotalPagos xmlns="Giav.Core.Business.FacturaProveedor">double</TotalPagos>
            <IdEmpresa xmlns="Giav.Core.Business.FacturaProveedor">int</IdEmpresa>
            <CodProveedor xmlns="Giav.Core.Business.FacturaProveedor">string</CodProveedor>
            <Proveedor_SedeFiscal_IdTaxDistrict xmlns="Giav.Core.Business.FacturaProveedor">XX_General or ES_PenínsulaYBaleares or ES_Canarias or ES_CeutaYMelilla</Proveedor_SedeFiscal_IdTaxDistrict>
          </DatosExternos>
          <IdEntityStage>int</IdEntityStage>
          <ComisionOperacionIntracomunitaria>boolean</ComisionOperacionIntracomunitaria>
          <CustomDataValues>
            <CustomDataItem xsi:nil="true" />
            <CustomDataItem xsi:nil="true" />
          </CustomDataValues>
        </WsFacturaProveedor>
      </FacturaProveedor_SEARCHResult>
    </FacturaProveedor_SEARCHResponse>
  </soap12:Body>
</soap12:Envelope>