Service


Click here for a complete list of operations.

ExistsTicket

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 /Service.asmx HTTP/1.1
Host: v1.dsconsulting.mx
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/ExistsTicket"

<?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>
    <ExistsTicket xmlns="http://tempuri.org/">
      <Encabezado>
        <Ident>long</Ident>
        <Emisor>string</Emisor>
        <Ticket>string</Ticket>
        <TicketRel>string</TicketRel>
        <Sucursal>string</Sucursal>
        <SucursalRel>string</SucursalRel>
        <Fecha>dateTime</Fecha>
        <FechaRel>dateTime</FechaRel>
        <SubTotal>decimal</SubTotal>
        <Descuento>decimal</Descuento>
        <TotImp>decimal</TotImp>
        <Tasa>decimal</Tasa>
        <Total>decimal</Total>
        <Propina>decimal</Propina>
        <FPago>string</FPago>
        <Version>string</Version>
        <MetodoPago>string</MetodoPago>
        <FormaPago>string</FormaPago>
        <NumeroIdentificacion>string</NumeroIdentificacion>
        <SerieFolioFiscalOriginal>string</SerieFolioFiscalOriginal>
        <FolioFiscalOriginal>string</FolioFiscalOriginal>
        <MontoFolioFiscalOriginal>decimal</MontoFolioFiscalOriginal>
        <FechaFolioFiscalOriginal>string</FechaFolioFiscalOriginal>
        <IdTipoDocumento>int</IdTipoDocumento>
        <NumRegistroAnterior>string</NumRegistroAnterior>
        <Impuestos>
          <Impuestos>
            <Tipo>string</Tipo>
            <Tasa>decimal</Tasa>
            <Categoria>Trasladado or Retenido</Categoria>
            <Monto>decimal</Monto>
            <Base>decimal</Base>
          </Impuestos>
          <Impuestos>
            <Tipo>string</Tipo>
            <Tasa>decimal</Tasa>
            <Categoria>Trasladado or Retenido</Categoria>
            <Monto>decimal</Monto>
            <Base>decimal</Base>
          </Impuestos>
        </Impuestos>
        <ImpuestosLocales>
          <Impuestos>
            <Tipo>string</Tipo>
            <Tasa>decimal</Tasa>
            <Categoria>Trasladado or Retenido</Categoria>
            <Monto>decimal</Monto>
            <Base>decimal</Base>
          </Impuestos>
          <Impuestos>
            <Tipo>string</Tipo>
            <Tasa>decimal</Tasa>
            <Categoria>Trasladado or Retenido</Categoria>
            <Monto>decimal</Monto>
            <Base>decimal</Base>
          </Impuestos>
        </ImpuestosLocales>
        <Moneda>string</Moneda>
        <TipoCambio>decimal</TipoCambio>
        <Tua>decimal</Tua>
        <IdentificadorGlobal>string</IdentificadorGlobal>
        <TotalCargos>decimal</TotalCargos>
        <Blocked>string</Blocked>
        <ValidateDocType>boolean</ValidateDocType>
        <UUID>guid</UUID>
        <RFC>string</RFC>
        <Items>
          <Partida>
            <Descr>string</Descr>
            <Cant>decimal</Cant>
            <PreUnit>decimal</PreUnit>
            <Monto>decimal</Monto>
            <Tipo>string</Tipo>
            <UniMed>string</UniMed>
            <SKU>string</SKU>
            <Impuestos xsi:nil="true" />
            <Aduanas xsi:nil="true" />
            <ClaveProdServ>string</ClaveProdServ>
            <ClaveUnidad>string</ClaveUnidad>
            <Descuento>decimal</Descuento>
            <NumeroPedimento>string</NumeroPedimento>
            <InternalIdentifier>string</InternalIdentifier>
            <ObjImpuesto>string</ObjImpuesto>
          </Partida>
          <Partida>
            <Descr>string</Descr>
            <Cant>decimal</Cant>
            <PreUnit>decimal</PreUnit>
            <Monto>decimal</Monto>
            <Tipo>string</Tipo>
            <UniMed>string</UniMed>
            <SKU>string</SKU>
            <Impuestos xsi:nil="true" />
            <Aduanas xsi:nil="true" />
            <ClaveProdServ>string</ClaveProdServ>
            <ClaveUnidad>string</ClaveUnidad>
            <Descuento>decimal</Descuento>
            <NumeroPedimento>string</NumeroPedimento>
            <InternalIdentifier>string</InternalIdentifier>
            <ObjImpuesto>string</ObjImpuesto>
          </Partida>
        </Items>
        <Pers>
          <Personalizados>
            <Posicion>int</Posicion>
            <Descripción>string</Descripción>
          </Personalizados>
          <Personalizados>
            <Posicion>int</Posicion>
            <Descripción>string</Descripción>
          </Personalizados>
        </Pers>
        <Otros>
          <OtrosCargos>
            <Codigo>string</Codigo>
            <Monto>decimal</Monto>
          </OtrosCargos>
          <OtrosCargos>
            <Codigo>string</Codigo>
            <Monto>decimal</Monto>
          </OtrosCargos>
        </Otros>
        <Marca>string</Marca>
        <TicketCompleto>boolean</TicketCompleto>
        <TipoSpool>string</TipoSpool>
        <ComplementoDetallista>string</ComplementoDetallista>
        <CFDISerie>string</CFDISerie>
        <CFDIFolio>int</CFDIFolio>
        <Exportacion>string</Exportacion>
        <Personalizados>
          <Custom>
            <Location>int</Location>
            <Label>string</Label>
            <Value>string</Value>
          </Custom>
          <Custom>
            <Location>int</Location>
            <Label>string</Label>
            <Value>string</Value>
          </Custom>
        </Personalizados>
      </Encabezado>
      <Suc_Id>int</Suc_Id>
      <Sus_Id>int</Sus_Id>
    </ExistsTicket>
  </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>
    <ExistsTicketResponse xmlns="http://tempuri.org/">
      <ExistsTicketResult>boolean</ExistsTicketResult>
    </ExistsTicketResponse>
  </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 /Service.asmx HTTP/1.1
Host: v1.dsconsulting.mx
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>
    <ExistsTicket xmlns="http://tempuri.org/">
      <Encabezado>
        <Ident>long</Ident>
        <Emisor>string</Emisor>
        <Ticket>string</Ticket>
        <TicketRel>string</TicketRel>
        <Sucursal>string</Sucursal>
        <SucursalRel>string</SucursalRel>
        <Fecha>dateTime</Fecha>
        <FechaRel>dateTime</FechaRel>
        <SubTotal>decimal</SubTotal>
        <Descuento>decimal</Descuento>
        <TotImp>decimal</TotImp>
        <Tasa>decimal</Tasa>
        <Total>decimal</Total>
        <Propina>decimal</Propina>
        <FPago>string</FPago>
        <Version>string</Version>
        <MetodoPago>string</MetodoPago>
        <FormaPago>string</FormaPago>
        <NumeroIdentificacion>string</NumeroIdentificacion>
        <SerieFolioFiscalOriginal>string</SerieFolioFiscalOriginal>
        <FolioFiscalOriginal>string</FolioFiscalOriginal>
        <MontoFolioFiscalOriginal>decimal</MontoFolioFiscalOriginal>
        <FechaFolioFiscalOriginal>string</FechaFolioFiscalOriginal>
        <IdTipoDocumento>int</IdTipoDocumento>
        <NumRegistroAnterior>string</NumRegistroAnterior>
        <Impuestos>
          <Impuestos>
            <Tipo>string</Tipo>
            <Tasa>decimal</Tasa>
            <Categoria>Trasladado or Retenido</Categoria>
            <Monto>decimal</Monto>
            <Base>decimal</Base>
          </Impuestos>
          <Impuestos>
            <Tipo>string</Tipo>
            <Tasa>decimal</Tasa>
            <Categoria>Trasladado or Retenido</Categoria>
            <Monto>decimal</Monto>
            <Base>decimal</Base>
          </Impuestos>
        </Impuestos>
        <ImpuestosLocales>
          <Impuestos>
            <Tipo>string</Tipo>
            <Tasa>decimal</Tasa>
            <Categoria>Trasladado or Retenido</Categoria>
            <Monto>decimal</Monto>
            <Base>decimal</Base>
          </Impuestos>
          <Impuestos>
            <Tipo>string</Tipo>
            <Tasa>decimal</Tasa>
            <Categoria>Trasladado or Retenido</Categoria>
            <Monto>decimal</Monto>
            <Base>decimal</Base>
          </Impuestos>
        </ImpuestosLocales>
        <Moneda>string</Moneda>
        <TipoCambio>decimal</TipoCambio>
        <Tua>decimal</Tua>
        <IdentificadorGlobal>string</IdentificadorGlobal>
        <TotalCargos>decimal</TotalCargos>
        <Blocked>string</Blocked>
        <ValidateDocType>boolean</ValidateDocType>
        <UUID>guid</UUID>
        <RFC>string</RFC>
        <Items>
          <Partida>
            <Descr>string</Descr>
            <Cant>decimal</Cant>
            <PreUnit>decimal</PreUnit>
            <Monto>decimal</Monto>
            <Tipo>string</Tipo>
            <UniMed>string</UniMed>
            <SKU>string</SKU>
            <Impuestos xsi:nil="true" />
            <Aduanas xsi:nil="true" />
            <ClaveProdServ>string</ClaveProdServ>
            <ClaveUnidad>string</ClaveUnidad>
            <Descuento>decimal</Descuento>
            <NumeroPedimento>string</NumeroPedimento>
            <InternalIdentifier>string</InternalIdentifier>
            <ObjImpuesto>string</ObjImpuesto>
          </Partida>
          <Partida>
            <Descr>string</Descr>
            <Cant>decimal</Cant>
            <PreUnit>decimal</PreUnit>
            <Monto>decimal</Monto>
            <Tipo>string</Tipo>
            <UniMed>string</UniMed>
            <SKU>string</SKU>
            <Impuestos xsi:nil="true" />
            <Aduanas xsi:nil="true" />
            <ClaveProdServ>string</ClaveProdServ>
            <ClaveUnidad>string</ClaveUnidad>
            <Descuento>decimal</Descuento>
            <NumeroPedimento>string</NumeroPedimento>
            <InternalIdentifier>string</InternalIdentifier>
            <ObjImpuesto>string</ObjImpuesto>
          </Partida>
        </Items>
        <Pers>
          <Personalizados>
            <Posicion>int</Posicion>
            <Descripción>string</Descripción>
          </Personalizados>
          <Personalizados>
            <Posicion>int</Posicion>
            <Descripción>string</Descripción>
          </Personalizados>
        </Pers>
        <Otros>
          <OtrosCargos>
            <Codigo>string</Codigo>
            <Monto>decimal</Monto>
          </OtrosCargos>
          <OtrosCargos>
            <Codigo>string</Codigo>
            <Monto>decimal</Monto>
          </OtrosCargos>
        </Otros>
        <Marca>string</Marca>
        <TicketCompleto>boolean</TicketCompleto>
        <TipoSpool>string</TipoSpool>
        <ComplementoDetallista>string</ComplementoDetallista>
        <CFDISerie>string</CFDISerie>
        <CFDIFolio>int</CFDIFolio>
        <Exportacion>string</Exportacion>
        <Personalizados>
          <Custom>
            <Location>int</Location>
            <Label>string</Label>
            <Value>string</Value>
          </Custom>
          <Custom>
            <Location>int</Location>
            <Label>string</Label>
            <Value>string</Value>
          </Custom>
        </Personalizados>
      </Encabezado>
      <Suc_Id>int</Suc_Id>
      <Sus_Id>int</Sus_Id>
    </ExistsTicket>
  </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>
    <ExistsTicketResponse xmlns="http://tempuri.org/">
      <ExistsTicketResult>boolean</ExistsTicketResult>
    </ExistsTicketResponse>
  </soap12:Body>
</soap12:Envelope>