Skip to Content
v1.5Official documentation for the LX CloudPos API · stable in production
v1.5 (current)Endpoint referenceQuery a receiver message

Query a receiver message

GET /api/v1/mensajes-receptor/{clave}

Queries the receiver message issued on a supplier’s invoice. The clave is the one for the supplier’s document, not one of the tenant’s own keys.

Authentication and permissions

AttributeValue
SchemeAPI key (X-Api-Key)
Required scopemensajes:read
Rate limit120 req/min per API key

Example

curl https://api.pos.lxsyscr.com/api/v1/mensajes-receptor/50601012600310161019800100024010058611013200000000 \ -H "X-Api-Key: $LXS_API_KEY"

Responses

200 OK

Same body returned by POST /mensajes-receptor:

{ "clave": "50601012600310161019800100024010058611013200000000", "consecutivo": 148, "numeroConsecutivo": "00100001050000000148", "cedulaEmisor": "3101610198", "nombreEmisor": "PROVEEDOR EJEMPLO S.A.", "montoTotal": 11300.00, "estado": "Aceptado" }

404 Not Found

{ "error": "No existe un mensaje receptor para la clave '5060101...'." }