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

Document identifier
An identifier for the referenced document.

Example value: doc-21

1..1 cbc:DocumentTypeCode

Document type code
A code specifying the type of the document. The mime type code.

1..1 cbc:DocumentDescription

Document description
A description of the referenced document, such as: timesheet, usage report etc.

Example value: Time list

0..1 cac:Attachment

Attachment

Rules
Identifier/Error message Flag
EHF-Q-B04201
Element 'cbc:ID' MUST be provided.
fatal
EHF-Q-B04202
Element 'cbc:DocumentTypeCode' MUST be provided.
fatal
EHF-Q-B04203
Element 'cbc:DocumentDescription' MUST be provided.
fatal
EHF-Q-B04204
Document MUST NOT contain elements not part of the data model.
fatal
Description

Additional Document Reference

UBL example of additional document reference
<cac:AdditionalDocumentReference>
    <cbc:ID>1547</cbc:ID>
    <cbc:DocumentTypeCode>1122</cbc:DocumentTypeCode>
    <cbc:DocumentDescription>Specification of the english grammar book.</cbc:DocumentDescription>
    <cac:Attachment>
        <cbc:EmbeddedDocumentBinaryObject mimeCode="application/pdf" filename="grammer-3grade.pdf">QklTIE9yZGVyIEFncmVlbWVudCAtIDQyQQ==</cbc:EmbeddedDocumentBinaryObject>
    </cac:Attachment>
</cac:AdditionalDocumentReference>