Attachments can be sent on line level in the Catalogue. This can be images or additional descriptions of a product. Please note that only one product main image can be sent pr. item. It is strongly recommended to use external references in the form of URI's for attachments.

Cardinality
0..n
Namespace
cac urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2
Business terms
BG-046
Child elements
Card Name Description
1..1 cbc:ID

Attachment identifier
An identifier that can be used to reference the attached document, such as an unique identifier.

Example value: 88d15eaa-3805-42e4-825f-5e240838104d

0..1 cbc:DocumentTypeCode

Attachment description code
A functional description of the attachment, expressed as a code.

Example value: 6

0..1 cbc:DocumentType

Document type
A functional description of the attachment.

Example value: Product specification

0..1 cbc:DocumentDescription

Attachment description
A short description of the attached document

Example value: Report providing specification of products.

0..1 cac:Attachment

ATTACHMENT

Rules
Identifier/Error message Flag
EHF-PAC-B18401
Element 'cbc:ID' MUST be provided.
fatal
EHF-PAC-B18402
Document MUST NOT contain elements not part of the data model.
fatal
Description
UBL example of item specification document reference
<cac:ItemSpecificationDocumentReference>
    <cbc:ID>ie353-ior24-iedt25-pry463</cbc:ID>
    <cbc:DocumentTypeCode>4</cbc:DocumentTypeCode>
    <cbc:DocumentType>The pen contains renewable ink.</cbc:DocumentType>
    <cbc:DocumentDescription>Report providing information about the renewable inks.</cbc:DocumentDescription>
    <cac:Attachment>
        <cbc:EmbeddedDocumentBinaryObject mimeCode="image/png" filename="fisherman-spec.pdf">cmVuZXdhYmxlIGluawo=</cbc:EmbeddedDocumentBinaryObject> <!-- Codelist: MimeCode -->
        <cac:ExternalReference>
            <cbc:URI>https://xyz-pen.com/renewable-ink</cbc:URI>
        </cac:ExternalReference>
    </cac:Attachment>
</cac:ItemSpecificationDocumentReference>