cac:DigitalDocumentMetadata
Element information
Namespace: urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2
Schema document: common/UBL-CommonAggregateComponents-2.2.xsd
Type: cac:DocumentMetadataType
Properties: Global, Qualified
Content
- Sequence [1..1]
- cbc:ID [0..1]An identifier for the document.
- cbc:FormatID [1..1]An identifier for the document format (e.g. standard business vocabularies).
- cbc:VersionID [1..1]An identifier for a precise version of a document format.
- cbc:SchemaURI [0..1]The Uniform Resource Identifier (URI) of a schema definition for the business document (e.g. a namespace URI for XML schemas, a message ID for non-xml legacy documents).
- cbc:DocumentTypeCode [0..1]The type of document, expressed as a code.
Attributes
None
Used in
- Type cac:DigitalServiceType (Elements cac:DigitalService, cac:ReceivingDigitalService, cac:SendingDigitalService)
Sample instance
<cac:DigitalDocumentMetadata> <cbc:FormatID>UBL</cbc:FormatID> <cbc:VersionID>2.2</cbc:VersionID> <cbc:SchemaURI>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</cbc:SchemaURI> <cbc:DocumentTypeCode listAgencyID="6" listID="UN/ECE 1001">380</cbc:DocumentTypeCode> </cac:DigitalDocumentMetadata>