Models

Document Delivery

Properties

NameTypeRequiredDescription
idstringYesThe delivery ID. It identifies this delivery in document.delivery_status_changed webhook events. Example: "dlv_01JQZ8X0M4T7RB6K9V2NDHW3PA"
channelpeppol | emailYesHow the document was sent to this address. Example: "peppol". Values: peppol, email
addressstringYesThe Peppol address or email address the document was sent to. Example: "0208:0428643097"
statuspending | delivered | failedYespending: the channel accepted the document and has not confirmed arrival. delivered: the channel confirmed arrival; for Peppol the recipient's access point acknowledged the document, for email the recipient's mail server accepted the message. failed: the document did not arrive; for email the message bounced or was refused. See failure. Example: "delivered". Values: pending, delivered, failed
statusChangedAtstringYesWhen the delivery reached its current status
failureDelivery FailurenullYes
referencesobjectYesThe identifiers the delivery is known by on its channel: the AS4 and envelope IDs for peppol deliveries, the mail service's messageId for email deliveries

failure (One of)

Delivery Failure:

NameTypeRequiredDescription
categoryrecipient_not_found | document_not_supported | validation | transport | recipient_rejected | duplicate | otherYesWhy the delivery failed, in the same terms for every channel and access point: recipient_not_found (the address is not registered on the network, or the mailbox does not exist), document_not_supported (the recipient does not receive this document type), validation (the document was refused by a rule), transport (it could not be transmitted, or the mail server did not take the message), recipient_rejected (the recipient or their server refused it, for email a block or spam complaint), duplicate or other. Example: "validation". Values: recipient_not_found, document_not_supported, validation, transport, recipient_rejected, duplicate, other
messagestring | nullYesWhat went wrong, as the channel or access point described it
providerCodestring | nullYesThe access point's or mail service's own code for the failure, when it reported one: an access point error code, or a bounce type such as HardBounce. Example: "TXE-1005"

references properties

NameTypeRequiredDescription
peppolMessageIdstring | nullNoThe AS4 message ID of the transmission
peppolConversationIdstring | nullNoThe AS4 conversation ID of the transmission
envelopeIdstring | nullNoThe envelope ID (SBDH instance identifier) of the transmission
messageIdstring | nullNoThe mail service's message ID of the email, for email deliveries. It is the ID a bounce or delivery notification from the mail service refers to. Null when the delivery predates message tracking

Used by