Autofactura.verificar
This method presents two statuses: one as the status of the general response and another for each of the tickets.
- Parameters:
-
Name Description Requested clientId xs:string
Username registered for use of the WebService.
Yes password xs:string
User password.
Yes idTransaccion xs:string
It is the string that the import method returns in its idTransacción attribute.
Yes
This method receives three parameters, two of which are found in the SOAP message header.
Example of a request
Return
- The verify method returns a composite type: the attributes are described in the following table:
-
Verify attributesName Description Requested 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 idTransaccion xs:string
The transaction identifier for the ticket that was processed may not be displayed when the ticket was not processed.
No results Array of type tns:resultadoVerificar
Details of each ticket import result.
No -
tns:resultadoImportacion
Name Description Requested status xs:int
Ticket status
Yes mensaje xs:string
Ticket message
No noTicket xs:string
Ticket number
No
Example response - verify
| Code | General response status | Status per ticket |
|---|---|---|
| 200 | The process concluded without incident. | Successfully imported |
| 201 | The transaction has not yet finished processing | N/A |
| 202 | N/A | He had already been prosecuted |
| 500 | Internal error: ejb, authentication, etc. | N/A |
| 501 | Database connection error | N/A |
| 502 | Database query error | N/A |
| 601 | Authentication failure | N/A |
| 621 | Transaction ID not parsable as UUID | N/A |