auviaGateway
Reference

SMPP delivery receipt format: fields and stat values

A delivery receipt (DLR) tells the sender what happened to a message. This is the receipt text defined in SMPP 3.4, field by field, and how Auvia Gateway writes and reads it.

SMPP 3.4 Appendix B8 stat valuesUpdated 26 October 2026
Example

A receipt as the customer receives it

deliver_sm · short_message
id:01M5T6BDECJR8XHX3Y5N2J1Y59 sub:001 dlvrd:001 submit date:261025224945 done date:261025224946 stat:DELIVRD err:000 text:
Fields

What each part of the receipt means

FieldMeaning
idMessage ID assigned when the message was accepted; the same ID returned in submit_sm_resp.
subNumber of messages originally submitted. Auvia writes 001.
dlvrdNumber of messages delivered: 001 when stat is DELIVRD, otherwise 000.
submit dateWhen the message was submitted. The specification uses YYMMDDhhmm; Auvia adds seconds (YYMMDDhhmmss).
done dateWhen the message reached its final state, in the same format.
statFinal state, one of the values in the next table.
errNetwork or supplier error code, three digits; 000 when there is none.
textThe first characters of the original message. Auvia leaves it empty.
stat values

The final states a message can have

statMeaning
DELIVRDDelivered to the handset.
EXPIREDThe validity period ended before delivery.
UNDELIVThe message could not be delivered.
REJECTDThe message was rejected.
DELETEDThe message was deleted before delivery.
ACCEPTDThe message was accepted, for example on behalf of the subscriber.
UNKNOWNThe state is not known.
ENROUTEIntermediate state: the message is on its way (defined by the specification, rarely sent).
FAQ

Delivery receipt questions

How is a delivery receipt sent in SMPP?
As a deliver_sm (or data_sm) from the SMSC to the ESME with esm_class marking it as a delivery receipt. The short_message carries the receipt text described on this page.
What does dlvrd mean in a DLR?
The number of messages delivered. Auvia writes one receipt per message, and per part for multipart messages, so dlvrd is 001 only when stat is DELIVRD and 000 otherwise.
Does Auvia accept receipts in other formats?
Yes. Supplier receipts are parsed in the standard format and in shortened variants, such as receipts that only carry id, done date and stat.
What happens if the customer is not connected when the receipt arrives?
Receipts to customers are retried with increasing delays, up to 8 attempts over about 6 hours, then closed instead of piling up.
Talk to us

Let’s talk about your traffic.

Tell us your business type, the protocols towards customers and suppliers, cloud or on-premise, and the capabilities you care about. Our team comes back with a demo on the console or a technical evaluation on your scenario.