cac:Attachment
Element information
Namespace: urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2
Schema document: common/UBL-CommonAggregateComponents-2.0.xsd
Type: cac:AttachmentType
Properties: Global, Qualified
Content
- Sequence [1..1]
- cbc:EmbeddedDocumentBinaryObject [0..1] Contains an embedded document as a BLOB (binary large object).
- cac:ExternalReference [0..1] An attached document, externally referred to, referred to in the MIME location, or embedded.
Attributes
None
Used in
- Type AttachedDocumentType (Element AttachedDocument)
- Type cac:DocumentReferenceType (Elements cac:AdditionalDocumentReference, cac:CatalogueDocumentReference, cac:ContractDocumentReference, cac:CreditNoteDocumentReference, cac:DebitNoteDocumentReference, cac:DespatchDocumentReference, cac:DocumentReference, cac:InvoiceDocumentReference, cac:ItemSpecificationDocumentReference, cac:OrderDocumentReference, cac:OriginalDocumentReference, cac:OriginatorDocumentReference, cac:QuotationDocumentReference, cac:ReceiptDocumentReference, cac:ReminderDocumentReference, cac:RequestForQuotationDocumentReference, cac:SelfBilledCreditNoteDocumentReference, cac:SelfBilledInvoiceDocumentReference, cac:StatementDocumentReference, cac:SupportingDocumentReference)
Sample instance
<cac:Attachment> <cbc:EmbeddedDocumentBinaryObject mimeCode="application/CSTAdata+xml">UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi</cbc:EmbeddedDocumentBinaryObject> <cac:ExternalReference> <cbc:URI>normalizedString</cbc:URI> <cbc:DocumentHash>String</cbc:DocumentHash> <cbc:ExpiryDate>1967-08-13</cbc:ExpiryDate> <cbc:ExpiryTime>14:20:00.0Z</cbc:ExpiryTime> </cac:ExternalReference> </cac:Attachment>