Autofactura.obtenerTicketsFacturados
Receives a range of dates from which you want to get the invoiced tickets and returns a list of tickets.
- Parameters:
-
Name Description Required clientId xs:string
Username registered for the use of the WebService.
Yes password xs:string
User password.
Yes periodo tns:periodo
Start and end dates of the consultation.
Yes emisorId xs:string
The issuer identifier.
Yes -
tns:periodo
Name Description Required fechaInicial xs:date
Initial date of the inquiry of invoiced tickets.
Yes fechaFinal xs:date
Final date for querying invoiced tickets.
Yes
This method accepts 4 parameters, of which 2 are found in the header of the SOAP message.
Example of a request
Return
- This method returns a composite type: tns:ticketFacturado, the attributes are described in the following table:
-
Attributes of tns:ticketFacturadoName Description Required status xs:int
The operation status code. Response codes
Yes mensaje xs:string
The response message, a string of characters detailing the status of the operation.
Yes ticketFacturado Arreglo de tns:ticketFacturado
The query result may not be displayed if no tickets were found on the specified date.
No -
tns:ticketFacturado
Name Description Required ticketNo xs:string
Ticket number
No importe xs:decimal
Total ticket amount
No fechaTicket xs:dateTime
Ticket emission date
No folioFactura xs:long
The invoice number used to generate the ticket
No serieFactura xs:string
The series used to generate the invoice
No uuidFactura xs:string
The universal invoice identifier
No fechaFactura xs:dateTime
Invoice emission date
No
Example response- obtenerTicketsFacturados