API_2_04
Click here for a complete list of operations.
FacturaProveedorLinea_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_04.asmx HTTP/1.1 Host: services.mytravelagency.app Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "Giav.Core.Business/FacturaProveedorLinea_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> <FacturaProveedorLinea_SEARCH xmlns="Giav.Core.Business"> <apikey>string</apikey> <idsFacturaProveedor> <int>int</int> <int>int</int> </idsFacturaProveedor> <idsReserva> <int>int</int> <int>int</int> </idsReserva> <idsExpediente> <int>int</int> <int>int</int> </idsExpediente> <recepciondeCosteTotal>NoAplicar or Si or No</recepciondeCosteTotal> <tipoFacturaProveedor>Factura or Prepago</tipoFacturaProveedor> <fechaHoraModificacionDesde>string</fechaHoraModificacionDesde> <fechaHoraModificacionHasta>string</fechaHoraModificacionHasta> <pageSize>int</pageSize> <pageIndex>int</pageIndex> </FacturaProveedorLinea_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> <FacturaProveedorLinea_SEARCHResponse xmlns="Giav.Core.Business"> <FacturaProveedorLinea_SEARCHResult> <WsFacturaProveedorLinea> <Id>int</Id> <IdFacturaProveedor>int</IdFacturaProveedor> <IdReserva>int</IdReserva> <IdfpCompensadoraPrepagos>int</IdfpCompensadoraPrepagos> <IdLineaFactura>int</IdLineaFactura> <CosteRecepcionado>double</CosteRecepcionado> <PorcentajeIva>double</PorcentajeIva> <TipoIva>G or R or E or I or S or N</TipoIva> <RecepciondeCosteTotal>boolean</RecepciondeCosteTotal> <IdRegimenFacturaVenta>TravelAgentAI or General or Especial or Dac or Proforma</IdRegimenFacturaVenta> <ProvisionCompensacion>double</ProvisionCompensacion> <PrepagoCompensado>boolean</PrepagoCompensado> <DatosExternos> <IdExpediente xmlns="Giav.Core.Business.FacturaProveedorLinea">int</IdExpediente> <TipoReserva xmlns="Giav.Core.Business.FacturaProveedorLinea">BS or AV or HT or RC or BU or BC or CI or CR or DE or OT or RT or SG or TR or PQ or PZ</TipoReserva> <IdSubtipoOtros xmlns="Giav.Core.Business.FacturaProveedorLinea">Aparcamientos or Comisiones or CrucerosFluviales or EntradasEspectáculosYMonumentos or EntradasMuseosBibliotecasYGaleríasArte or Excursiones or GuíasTurísticos or Traslados or Visados or Suplidos or Otros</IdSubtipoOtros> <IdDestinoReserva xmlns="Giav.Core.Business.FacturaProveedorLinea">Nacional or CanCeuMel or UniónEuropea or RestoMundo</IdDestinoReserva> <Localizador xmlns="Giav.Core.Business.FacturaProveedorLinea">string</Localizador> <Concepto xmlns="Giav.Core.Business.FacturaProveedorLinea">string</Concepto> <CostePrevisto xmlns="Giav.Core.Business.FacturaProveedorLinea">double</CostePrevisto> <PvpRecomendado xmlns="Giav.Core.Business.FacturaProveedorLinea">double</PvpRecomendado> <TotalCostesRecepcionados xmlns="Giav.Core.Business.FacturaProveedorLinea">double</TotalCostesRecepcionados> <ReservaFacturadoImporte xmlns="Giav.Core.Business.FacturaProveedorLinea">double</ReservaFacturadoImporte> <ReservaFacturado xmlns="Giav.Core.Business.FacturaProveedorLinea">boolean</ReservaFacturado> <ReservaCobrado xmlns="Giav.Core.Business.FacturaProveedorLinea">boolean</ReservaCobrado> <FechaServicio xmlns="Giav.Core.Business.FacturaProveedorLinea">dateTime</FechaServicio> <FechaEmisionoPago xmlns="Giav.Core.Business.FacturaProveedorLinea">dateTime</FechaEmisionoPago> <FechaRegistroFactura xmlns="Giav.Core.Business.FacturaProveedorLinea">dateTime</FechaRegistroFactura> <CodigoOficina xmlns="Giav.Core.Business.FacturaProveedorLinea">string</CodigoOficina> <CodigoExpediente xmlns="Giav.Core.Business.FacturaProveedorLinea">string</CodigoExpediente> <CodContableOficina xmlns="Giav.Core.Business.FacturaProveedorLinea">string</CodContableOficina> <IdTaxDistrict xmlns="Giav.Core.Business.FacturaProveedorLinea">XX_General or ES_PenínsulaYBaleares or ES_Canarias or ES_CeutaYMelilla</IdTaxDistrict> <CodigoServicio xmlns="Giav.Core.Business.FacturaProveedorLinea">string</CodigoServicio> <CodigoFacturaProveedor xmlns="Giav.Core.Business.FacturaProveedorLinea">string</CodigoFacturaProveedor> <NombreProveedor xmlns="Giav.Core.Business.FacturaProveedorLinea">string</NombreProveedor> <CosteEquivalente xmlns="Giav.Core.Business.FacturaProveedorLinea">double</CosteEquivalente> <CosteBaseProvisionable xmlns="Giav.Core.Business.FacturaProveedorLinea">double</CosteBaseProvisionable> <TotalPagosEquivalente xmlns="Giav.Core.Business.FacturaProveedorLinea">double</TotalPagosEquivalente> <TotalPagosEquivalenteLiquido xmlns="Giav.Core.Business.FacturaProveedorLinea">double</TotalPagosEquivalenteLiquido> <FacturaComision xmlns="Giav.Core.Business.FacturaProveedorLinea">double</FacturaComision> <FacturaComisionTipoIva xmlns="Giav.Core.Business.FacturaProveedorLinea">double</FacturaComisionTipoIva> <LineaEsprepago xmlns="Giav.Core.Business.FacturaProveedorLinea">boolean</LineaEsprepago> <EsFacturaReav xmlns="Giav.Core.Business.FacturaProveedorLinea">boolean</EsFacturaReav> </DatosExternos> <OperacionIntraComunitaria>boolean</OperacionIntraComunitaria> </WsFacturaProveedorLinea> <WsFacturaProveedorLinea> <Id>int</Id> <IdFacturaProveedor>int</IdFacturaProveedor> <IdReserva>int</IdReserva> <IdfpCompensadoraPrepagos>int</IdfpCompensadoraPrepagos> <IdLineaFactura>int</IdLineaFactura> <CosteRecepcionado>double</CosteRecepcionado> <PorcentajeIva>double</PorcentajeIva> <TipoIva>G or R or E or I or S or N</TipoIva> <RecepciondeCosteTotal>boolean</RecepciondeCosteTotal> <IdRegimenFacturaVenta>TravelAgentAI or General or Especial or Dac or Proforma</IdRegimenFacturaVenta> <ProvisionCompensacion>double</ProvisionCompensacion> <PrepagoCompensado>boolean</PrepagoCompensado> <DatosExternos> <IdExpediente xmlns="Giav.Core.Business.FacturaProveedorLinea">int</IdExpediente> <TipoReserva xmlns="Giav.Core.Business.FacturaProveedorLinea">BS or AV or HT or RC or BU or BC or CI or CR or DE or OT or RT or SG or TR or PQ or PZ</TipoReserva> <IdSubtipoOtros xmlns="Giav.Core.Business.FacturaProveedorLinea">Aparcamientos or Comisiones or CrucerosFluviales or EntradasEspectáculosYMonumentos or EntradasMuseosBibliotecasYGaleríasArte or Excursiones or GuíasTurísticos or Traslados or Visados or Suplidos or Otros</IdSubtipoOtros> <IdDestinoReserva xmlns="Giav.Core.Business.FacturaProveedorLinea">Nacional or CanCeuMel or UniónEuropea or RestoMundo</IdDestinoReserva> <Localizador xmlns="Giav.Core.Business.FacturaProveedorLinea">string</Localizador> <Concepto xmlns="Giav.Core.Business.FacturaProveedorLinea">string</Concepto> <CostePrevisto xmlns="Giav.Core.Business.FacturaProveedorLinea">double</CostePrevisto> <PvpRecomendado xmlns="Giav.Core.Business.FacturaProveedorLinea">double</PvpRecomendado> <TotalCostesRecepcionados xmlns="Giav.Core.Business.FacturaProveedorLinea">double</TotalCostesRecepcionados> <ReservaFacturadoImporte xmlns="Giav.Core.Business.FacturaProveedorLinea">double</ReservaFacturadoImporte> <ReservaFacturado xmlns="Giav.Core.Business.FacturaProveedorLinea">boolean</ReservaFacturado> <ReservaCobrado xmlns="Giav.Core.Business.FacturaProveedorLinea">boolean</ReservaCobrado> <FechaServicio xmlns="Giav.Core.Business.FacturaProveedorLinea">dateTime</FechaServicio> <FechaEmisionoPago xmlns="Giav.Core.Business.FacturaProveedorLinea">dateTime</FechaEmisionoPago> <FechaRegistroFactura xmlns="Giav.Core.Business.FacturaProveedorLinea">dateTime</FechaRegistroFactura> <CodigoOficina xmlns="Giav.Core.Business.FacturaProveedorLinea">string</CodigoOficina> <CodigoExpediente xmlns="Giav.Core.Business.FacturaProveedorLinea">string</CodigoExpediente> <CodContableOficina xmlns="Giav.Core.Business.FacturaProveedorLinea">string</CodContableOficina> <IdTaxDistrict xmlns="Giav.Core.Business.FacturaProveedorLinea">XX_General or ES_PenínsulaYBaleares or ES_Canarias or ES_CeutaYMelilla</IdTaxDistrict> <CodigoServicio xmlns="Giav.Core.Business.FacturaProveedorLinea">string</CodigoServicio> <CodigoFacturaProveedor xmlns="Giav.Core.Business.FacturaProveedorLinea">string</CodigoFacturaProveedor> <NombreProveedor xmlns="Giav.Core.Business.FacturaProveedorLinea">string</NombreProveedor> <CosteEquivalente xmlns="Giav.Core.Business.FacturaProveedorLinea">double</CosteEquivalente> <CosteBaseProvisionable xmlns="Giav.Core.Business.FacturaProveedorLinea">double</CosteBaseProvisionable> <TotalPagosEquivalente xmlns="Giav.Core.Business.FacturaProveedorLinea">double</TotalPagosEquivalente> <TotalPagosEquivalenteLiquido xmlns="Giav.Core.Business.FacturaProveedorLinea">double</TotalPagosEquivalenteLiquido> <FacturaComision xmlns="Giav.Core.Business.FacturaProveedorLinea">double</FacturaComision> <FacturaComisionTipoIva xmlns="Giav.Core.Business.FacturaProveedorLinea">double</FacturaComisionTipoIva> <LineaEsprepago xmlns="Giav.Core.Business.FacturaProveedorLinea">boolean</LineaEsprepago> <EsFacturaReav xmlns="Giav.Core.Business.FacturaProveedorLinea">boolean</EsFacturaReav> </DatosExternos> <OperacionIntraComunitaria>boolean</OperacionIntraComunitaria> </WsFacturaProveedorLinea> </FacturaProveedorLinea_SEARCHResult> </FacturaProveedorLinea_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_04.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> <FacturaProveedorLinea_SEARCH xmlns="Giav.Core.Business"> <apikey>string</apikey> <idsFacturaProveedor> <int>int</int> <int>int</int> </idsFacturaProveedor> <idsReserva> <int>int</int> <int>int</int> </idsReserva> <idsExpediente> <int>int</int> <int>int</int> </idsExpediente> <recepciondeCosteTotal>NoAplicar or Si or No</recepciondeCosteTotal> <tipoFacturaProveedor>Factura or Prepago</tipoFacturaProveedor> <fechaHoraModificacionDesde>string</fechaHoraModificacionDesde> <fechaHoraModificacionHasta>string</fechaHoraModificacionHasta> <pageSize>int</pageSize> <pageIndex>int</pageIndex> </FacturaProveedorLinea_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> <FacturaProveedorLinea_SEARCHResponse xmlns="Giav.Core.Business"> <FacturaProveedorLinea_SEARCHResult> <WsFacturaProveedorLinea> <Id>int</Id> <IdFacturaProveedor>int</IdFacturaProveedor> <IdReserva>int</IdReserva> <IdfpCompensadoraPrepagos>int</IdfpCompensadoraPrepagos> <IdLineaFactura>int</IdLineaFactura> <CosteRecepcionado>double</CosteRecepcionado> <PorcentajeIva>double</PorcentajeIva> <TipoIva>G or R or E or I or S or N</TipoIva> <RecepciondeCosteTotal>boolean</RecepciondeCosteTotal> <IdRegimenFacturaVenta>TravelAgentAI or General or Especial or Dac or Proforma</IdRegimenFacturaVenta> <ProvisionCompensacion>double</ProvisionCompensacion> <PrepagoCompensado>boolean</PrepagoCompensado> <DatosExternos> <IdExpediente xmlns="Giav.Core.Business.FacturaProveedorLinea">int</IdExpediente> <TipoReserva xmlns="Giav.Core.Business.FacturaProveedorLinea">BS or AV or HT or RC or BU or BC or CI or CR or DE or OT or RT or SG or TR or PQ or PZ</TipoReserva> <IdSubtipoOtros xmlns="Giav.Core.Business.FacturaProveedorLinea">Aparcamientos or Comisiones or CrucerosFluviales or EntradasEspectáculosYMonumentos or EntradasMuseosBibliotecasYGaleríasArte or Excursiones or GuíasTurísticos or Traslados or Visados or Suplidos or Otros</IdSubtipoOtros> <IdDestinoReserva xmlns="Giav.Core.Business.FacturaProveedorLinea">Nacional or CanCeuMel or UniónEuropea or RestoMundo</IdDestinoReserva> <Localizador xmlns="Giav.Core.Business.FacturaProveedorLinea">string</Localizador> <Concepto xmlns="Giav.Core.Business.FacturaProveedorLinea">string</Concepto> <CostePrevisto xmlns="Giav.Core.Business.FacturaProveedorLinea">double</CostePrevisto> <PvpRecomendado xmlns="Giav.Core.Business.FacturaProveedorLinea">double</PvpRecomendado> <TotalCostesRecepcionados xmlns="Giav.Core.Business.FacturaProveedorLinea">double</TotalCostesRecepcionados> <ReservaFacturadoImporte xmlns="Giav.Core.Business.FacturaProveedorLinea">double</ReservaFacturadoImporte> <ReservaFacturado xmlns="Giav.Core.Business.FacturaProveedorLinea">boolean</ReservaFacturado> <ReservaCobrado xmlns="Giav.Core.Business.FacturaProveedorLinea">boolean</ReservaCobrado> <FechaServicio xmlns="Giav.Core.Business.FacturaProveedorLinea">dateTime</FechaServicio> <FechaEmisionoPago xmlns="Giav.Core.Business.FacturaProveedorLinea">dateTime</FechaEmisionoPago> <FechaRegistroFactura xmlns="Giav.Core.Business.FacturaProveedorLinea">dateTime</FechaRegistroFactura> <CodigoOficina xmlns="Giav.Core.Business.FacturaProveedorLinea">string</CodigoOficina> <CodigoExpediente xmlns="Giav.Core.Business.FacturaProveedorLinea">string</CodigoExpediente> <CodContableOficina xmlns="Giav.Core.Business.FacturaProveedorLinea">string</CodContableOficina> <IdTaxDistrict xmlns="Giav.Core.Business.FacturaProveedorLinea">XX_General or ES_PenínsulaYBaleares or ES_Canarias or ES_CeutaYMelilla</IdTaxDistrict> <CodigoServicio xmlns="Giav.Core.Business.FacturaProveedorLinea">string</CodigoServicio> <CodigoFacturaProveedor xmlns="Giav.Core.Business.FacturaProveedorLinea">string</CodigoFacturaProveedor> <NombreProveedor xmlns="Giav.Core.Business.FacturaProveedorLinea">string</NombreProveedor> <CosteEquivalente xmlns="Giav.Core.Business.FacturaProveedorLinea">double</CosteEquivalente> <CosteBaseProvisionable xmlns="Giav.Core.Business.FacturaProveedorLinea">double</CosteBaseProvisionable> <TotalPagosEquivalente xmlns="Giav.Core.Business.FacturaProveedorLinea">double</TotalPagosEquivalente> <TotalPagosEquivalenteLiquido xmlns="Giav.Core.Business.FacturaProveedorLinea">double</TotalPagosEquivalenteLiquido> <FacturaComision xmlns="Giav.Core.Business.FacturaProveedorLinea">double</FacturaComision> <FacturaComisionTipoIva xmlns="Giav.Core.Business.FacturaProveedorLinea">double</FacturaComisionTipoIva> <LineaEsprepago xmlns="Giav.Core.Business.FacturaProveedorLinea">boolean</LineaEsprepago> <EsFacturaReav xmlns="Giav.Core.Business.FacturaProveedorLinea">boolean</EsFacturaReav> </DatosExternos> <OperacionIntraComunitaria>boolean</OperacionIntraComunitaria> </WsFacturaProveedorLinea> <WsFacturaProveedorLinea> <Id>int</Id> <IdFacturaProveedor>int</IdFacturaProveedor> <IdReserva>int</IdReserva> <IdfpCompensadoraPrepagos>int</IdfpCompensadoraPrepagos> <IdLineaFactura>int</IdLineaFactura> <CosteRecepcionado>double</CosteRecepcionado> <PorcentajeIva>double</PorcentajeIva> <TipoIva>G or R or E or I or S or N</TipoIva> <RecepciondeCosteTotal>boolean</RecepciondeCosteTotal> <IdRegimenFacturaVenta>TravelAgentAI or General or Especial or Dac or Proforma</IdRegimenFacturaVenta> <ProvisionCompensacion>double</ProvisionCompensacion> <PrepagoCompensado>boolean</PrepagoCompensado> <DatosExternos> <IdExpediente xmlns="Giav.Core.Business.FacturaProveedorLinea">int</IdExpediente> <TipoReserva xmlns="Giav.Core.Business.FacturaProveedorLinea">BS or AV or HT or RC or BU or BC or CI or CR or DE or OT or RT or SG or TR or PQ or PZ</TipoReserva> <IdSubtipoOtros xmlns="Giav.Core.Business.FacturaProveedorLinea">Aparcamientos or Comisiones or CrucerosFluviales or EntradasEspectáculosYMonumentos or EntradasMuseosBibliotecasYGaleríasArte or Excursiones or GuíasTurísticos or Traslados or Visados or Suplidos or Otros</IdSubtipoOtros> <IdDestinoReserva xmlns="Giav.Core.Business.FacturaProveedorLinea">Nacional or CanCeuMel or UniónEuropea or RestoMundo</IdDestinoReserva> <Localizador xmlns="Giav.Core.Business.FacturaProveedorLinea">string</Localizador> <Concepto xmlns="Giav.Core.Business.FacturaProveedorLinea">string</Concepto> <CostePrevisto xmlns="Giav.Core.Business.FacturaProveedorLinea">double</CostePrevisto> <PvpRecomendado xmlns="Giav.Core.Business.FacturaProveedorLinea">double</PvpRecomendado> <TotalCostesRecepcionados xmlns="Giav.Core.Business.FacturaProveedorLinea">double</TotalCostesRecepcionados> <ReservaFacturadoImporte xmlns="Giav.Core.Business.FacturaProveedorLinea">double</ReservaFacturadoImporte> <ReservaFacturado xmlns="Giav.Core.Business.FacturaProveedorLinea">boolean</ReservaFacturado> <ReservaCobrado xmlns="Giav.Core.Business.FacturaProveedorLinea">boolean</ReservaCobrado> <FechaServicio xmlns="Giav.Core.Business.FacturaProveedorLinea">dateTime</FechaServicio> <FechaEmisionoPago xmlns="Giav.Core.Business.FacturaProveedorLinea">dateTime</FechaEmisionoPago> <FechaRegistroFactura xmlns="Giav.Core.Business.FacturaProveedorLinea">dateTime</FechaRegistroFactura> <CodigoOficina xmlns="Giav.Core.Business.FacturaProveedorLinea">string</CodigoOficina> <CodigoExpediente xmlns="Giav.Core.Business.FacturaProveedorLinea">string</CodigoExpediente> <CodContableOficina xmlns="Giav.Core.Business.FacturaProveedorLinea">string</CodContableOficina> <IdTaxDistrict xmlns="Giav.Core.Business.FacturaProveedorLinea">XX_General or ES_PenínsulaYBaleares or ES_Canarias or ES_CeutaYMelilla</IdTaxDistrict> <CodigoServicio xmlns="Giav.Core.Business.FacturaProveedorLinea">string</CodigoServicio> <CodigoFacturaProveedor xmlns="Giav.Core.Business.FacturaProveedorLinea">string</CodigoFacturaProveedor> <NombreProveedor xmlns="Giav.Core.Business.FacturaProveedorLinea">string</NombreProveedor> <CosteEquivalente xmlns="Giav.Core.Business.FacturaProveedorLinea">double</CosteEquivalente> <CosteBaseProvisionable xmlns="Giav.Core.Business.FacturaProveedorLinea">double</CosteBaseProvisionable> <TotalPagosEquivalente xmlns="Giav.Core.Business.FacturaProveedorLinea">double</TotalPagosEquivalente> <TotalPagosEquivalenteLiquido xmlns="Giav.Core.Business.FacturaProveedorLinea">double</TotalPagosEquivalenteLiquido> <FacturaComision xmlns="Giav.Core.Business.FacturaProveedorLinea">double</FacturaComision> <FacturaComisionTipoIva xmlns="Giav.Core.Business.FacturaProveedorLinea">double</FacturaComisionTipoIva> <LineaEsprepago xmlns="Giav.Core.Business.FacturaProveedorLinea">boolean</LineaEsprepago> <EsFacturaReav xmlns="Giav.Core.Business.FacturaProveedorLinea">boolean</EsFacturaReav> </DatosExternos> <OperacionIntraComunitaria>boolean</OperacionIntraComunitaria> </WsFacturaProveedorLinea> </FacturaProveedorLinea_SEARCHResult> </FacturaProveedorLinea_SEARCHResponse> </soap12:Body> </soap12:Envelope>