Peppol Business Message Envelope (SBDH) v2.0.1
6
2.3.1 Binary Payloads
In order to support the transmission of binary payloads they should be transformed and packaged as
1. The binary payload must be Base64-encoded
2. The encoded payload MUST be included inside the XML element BinaryContent. The XML
namespace URI for this element MUST be http://peppol.eu/xsd/ticc/envelope/1.0.
3. The attribute mimeType MUST be set to the respective payload MIME type.
4. For text-based payloads, the optional encoding attribute MUST be used if the source encoding is
different than the encoding of the surrounding XML document. At least the “UTF-8” encoding
<?xml version="1.0" encoding="iso-8859-1"?>
<StandardBusinessDocument
xmlns="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader">
<StandardBusinessDocumentHeader>
</StandardBusinessDocumentHeader>
<BinaryContent xmlns="http://peppol.eu/xsd/ticc/envelope/1.0"
mimeType="application/vnd.etsi.asic-e+zip"
</StandardBusinessDocument>
2.3.2 Non-XML Text Payloads
For text data, there is no need of a container, as it can be placed directly as payload inside a TextContent
XML element. The XML namespace URI for this element must be
http://peppol.eu/xsd/ticc/envelope/1.0. The attribute mimeType MUST be set to the respective
• If the text payload contains XML special characters (e.g. ‘<’ or ‘>’), they MUST be escaped using
XML encoding or alternatively the data needs to be wrapped inside a CDATA element so the XML
• If a text payload is embedded inside the TextContent element, it MUST use the same character
encoding as the surrounding XML, otherwise the BinaryContent data element SHOULD be used.
<?xml version="1.0" encoding="iso-8859-1"?>
<StandardBusinessDocument
xmlns="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader">
<StandardBusinessDocumentHeader>
</StandardBusinessDocumentHeader>
<TextContent xmlns="http://peppol.eu/xsd/ticc/envelope/1.0"
mimeType="Application/EDIFACT">
UNB+UNOA:2+9930711378399:14+7798032711116:14+160927:2252+EW861380947'UNH+186453437+CONTRL
:D:96A:UN:EAN002'UCI+F6GVY+7658032710006:14+9930711378111:14+8'UCM+3HHL0+ORDERS:D:96A:UN:
EAN008+7'UNT+4+186453437'UNZ+1+EW861380947'
</StandardBusinessDocument>
2.4 Peppol Process ID and Document Type ID
The values of Process ID and Document Type ID are necessary in the SML/SMP discovery process to retrieve
the relevant service metadata. Both values should be mapped to the element located at: