AttachedDocument
This element MUST be conveyed as the root element in any instance document based on this Schema expression
Element information
Namespace: urn:oasis:names:specification:ubl:schema:xsd:AttachedDocument-2
Schema document: maindoc/UBL-AttachedDocument-2.0.xsd
Type: AttachedDocumentType
Properties: Global, Qualified
Content
- Sequence [1..1]
- ext:UBLExtensions [0..1] A container for all extensions present in the document.
- cbc:UBLVersionID [0..1] The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance.
- cbc:CustomizationID [0..1] Identifies a user-defined customization of UBL for a specific use.
- cbc:ProfileID [0..1] Identifies a user-defined profile of the customization of UBL being used.
- cbc:ID [1..1] An identifier for the Attached Document; this ID is used as a reference by the UBL 'parent' document.
- cbc:UUID [0..1] A universally unique identifier for an instance of this ABIE.
- cbc:IssueDate [1..1] A date denoting when the Attached Document was issued.
- cbc:IssueTime [0..1] A time denoting when the Attached Document was issued.
- cbc:Note [0..*] Contains any free-form text pertinent to the entire document or to the document message itself. This element may contain notes or any other similar information that is not contained explicitly in another structure.
- cbc:DocumentTypeCode [0..1] Qualifies the type of document using a code set.
- cbc:DocumentType [0..1] Qualifies types of document as text.
- cbc:ParentDocumentID [1..1] Identifies the parent document.
- cbc:ParentDocumentTypeCode [0..1] Identifies the type of parent document.
- cac:Signature [0..*] Associates the Attached Document with zero or more signatures.
- cac:SenderParty [1..1] An association to the Party sending this document.
- cac:ReceiverParty [1..1] An association to the Party receiving this document.
- cac:Attachment [1..1] An attachment containing the document content.
Attributes
None
Sample instance
<AttachedDocument> <ext:UBLExtensions> <ext:UBLExtension> <cbc:ID>normalizedString</cbc:ID> <cbc:Name>string</cbc:Name> <ext:ExtensionAgencyID>normalizedString</ext:ExtensionAgencyID> <ext:ExtensionAgencyName>string</ext:ExtensionAgencyName> <ext:ExtensionVersionID>normalizedString</ext:ExtensionVersionID> <ext:ExtensionAgencyURI>normalizedString</ext:ExtensionAgencyURI> <ext:ExtensionURI>normalizedString</ext:ExtensionURI> <ext:ExtensionReasonCode>normalizedString</ext:ExtensionReasonCode> <ext:ExtensionReason>string</ext:ExtensionReason> <ext:ExtensionContent> <!--any element--> </ext:ExtensionContent> </ext:UBLExtension> </ext:UBLExtensions> <cbc:UBLVersionID>normalizedString</cbc:UBLVersionID> <cbc:CustomizationID>normalizedString</cbc:CustomizationID> <cbc:ProfileID>normalizedString</cbc:ProfileID> <cbc:ID>normalizedString</cbc:ID> <cbc:UUID>normalizedString</cbc:UUID> <cbc:IssueDate>2000-01-01</cbc:IssueDate> <cbc:IssueTime>12:00:00</cbc:IssueTime> <cbc:Note>string</cbc:Note> <cbc:DocumentTypeCode>normalizedString</cbc:DocumentTypeCode> <cbc:DocumentType>string</cbc:DocumentType> <cbc:ParentDocumentID>normalizedString</cbc:ParentDocumentID> <cbc:ParentDocumentTypeCode>normalizedString</cbc:ParentDocumentTypeCode> <cac:Signature> <cbc:ID>normalizedString</cbc:ID> <cbc:Note>string</cbc:Note> <cbc:ValidationDate>2000-01-01</cbc:ValidationDate> <cbc:ValidationTime>12:00:00</cbc:ValidationTime> <cbc:ValidatorID>normalizedString</cbc:ValidatorID> <cbc:CanonicalizationMethod>string</cbc:CanonicalizationMethod> <cbc:SignatureMethod>string</cbc:SignatureMethod> <cac:SignatoryParty> <cbc:MarkCareIndicator>true</cbc:MarkCareIndicator> <cbc:MarkAttentionIndicator>true</cbc:MarkAttentionIndicator> <cbc:WebsiteURI>normalizedString</cbc:WebsiteURI> <cbc:LogoReferenceID>normalizedString</cbc:LogoReferenceID> <cbc:EndpointID>normalizedString</cbc:EndpointID> <cac:PartyIdentification>... </cac:PartyIdentification> <cac:PartyName>... </cac:PartyName> <cac:Language>... </cac:Language> <cac:PostalAddress>... </cac:PostalAddress> <cac:PhysicalLocation>... </cac:PhysicalLocation> <cac:PartyTaxScheme>... </cac:PartyTaxScheme> <cac:PartyLegalEntity>... </cac:PartyLegalEntity> <cac:Contact>... </cac:Contact> <cac:Person>... </cac:Person> <cac:AgentParty>... </cac:AgentParty> </cac:SignatoryParty> <cac:DigitalSignatureAttachment> <cbc:EmbeddedDocumentBinaryObject mimeCode="application/CSTAdata+xml">GpM7</cbc:EmbeddedDocumentBinaryObject> <cac:ExternalReference>... </cac:ExternalReference> </cac:DigitalSignatureAttachment> <cac:OriginalDocumentReference> <cbc:ID>normalizedString</cbc:ID> <cbc:CopyIndicator>true</cbc:CopyIndicator> <cbc:UUID>normalizedString</cbc:UUID> <cbc:IssueDate>2000-01-01</cbc:IssueDate> <cbc:DocumentTypeCode>normalizedString</cbc:DocumentTypeCode> <cbc:DocumentType>string</cbc:DocumentType> <cbc:XPath>string</cbc:XPath> <cac:Attachment>... </cac:Attachment> </cac:OriginalDocumentReference> </cac:Signature> <cac:SenderParty> <cbc:MarkCareIndicator>true</cbc:MarkCareIndicator> <cbc:MarkAttentionIndicator>true</cbc:MarkAttentionIndicator> <cbc:WebsiteURI>normalizedString</cbc:WebsiteURI> <cbc:LogoReferenceID>normalizedString</cbc:LogoReferenceID> <cbc:EndpointID>normalizedString</cbc:EndpointID> <cac:PartyIdentification> <cbc:ID>normalizedString</cbc:ID> </cac:PartyIdentification> <cac:PartyName> <cbc:Name>string</cbc:Name> </cac:PartyName> <cac:Language> <cbc:ID>normalizedString</cbc:ID> <cbc:Name>string</cbc:Name> <cbc:LocaleCode>normalizedString</cbc:LocaleCode> </cac:Language> <cac:PostalAddress> <cbc:ID>normalizedString</cbc:ID> <cbc:AddressTypeCode>normalizedString</cbc:AddressTypeCode> <cbc:AddressFormatCode>normalizedString</cbc:AddressFormatCode> <cbc:Postbox>string</cbc:Postbox> <cbc:Floor>string</cbc:Floor> <cbc:Room>string</cbc:Room> <cbc:StreetName>string</cbc:StreetName> <cbc:AdditionalStreetName>string</cbc:AdditionalStreetName> <cbc:BlockName>string</cbc:BlockName> <cbc:BuildingName>string</cbc:BuildingName> <cbc:BuildingNumber>string</cbc:BuildingNumber> <cbc:InhouseMail>string</cbc:InhouseMail> <cbc:Department>string</cbc:Department> <cbc:MarkAttention>string</cbc:MarkAttention> <cbc:MarkCare>string</cbc:MarkCare> <cbc:PlotIdentification>string</cbc:PlotIdentification> <cbc:CitySubdivisionName>string</cbc:CitySubdivisionName> <cbc:CityName>string</cbc:CityName> <cbc:PostalZone>string</cbc:PostalZone> <cbc:CountrySubentity>string</cbc:CountrySubentity> <cbc:CountrySubentityCode>normalizedString</cbc:CountrySubentityCode> <cbc:Region>string</cbc:Region> <cbc:District>string</cbc:District> <cbc:TimezoneOffset>string</cbc:TimezoneOffset> <cac:AddressLine>... </cac:AddressLine> <cac:Country>... </cac:Country> <cac:LocationCoordinate>... </cac:LocationCoordinate> </cac:PostalAddress> <cac:PhysicalLocation> <cbc:ID>normalizedString</cbc:ID> <cbc:Description>string</cbc:Description> <cbc:Conditions>string</cbc:Conditions> <cbc:CountrySubentity>string</cbc:CountrySubentity> <cbc:CountrySubentityCode>normalizedString</cbc:CountrySubentityCode> <cac:ValidityPeriod>... </cac:ValidityPeriod> <cac:Address>... </cac:Address> </cac:PhysicalLocation> <cac:PartyTaxScheme> <cbc:RegistrationName>string</cbc:RegistrationName> <cbc:CompanyID>normalizedString</cbc:CompanyID> <cbc:TaxLevelCode>normalizedString</cbc:TaxLevelCode> <cbc:ExemptionReasonCode>normalizedString</cbc:ExemptionReasonCode> <cbc:ExemptionReason>string</cbc:ExemptionReason> <cac:RegistrationAddress>... </cac:RegistrationAddress> <cac:TaxScheme>... </cac:TaxScheme> </cac:PartyTaxScheme> <cac:PartyLegalEntity> <cbc:RegistrationName>string</cbc:RegistrationName> <cbc:CompanyID>normalizedString</cbc:CompanyID> <cac:RegistrationAddress>... </cac:RegistrationAddress> <cac:CorporateRegistrationScheme>... </cac:CorporateRegistrationScheme> </cac:PartyLegalEntity> <cac:Contact> <cbc:ID>normalizedString</cbc:ID> <cbc:Name>string</cbc:Name> <cbc:Telephone>string</cbc:Telephone> <cbc:Telefax>string</cbc:Telefax> <cbc:ElectronicMail>string</cbc:ElectronicMail> <cbc:Note>string</cbc:Note> <cac:OtherCommunication>... </cac:OtherCommunication> </cac:Contact> <cac:Person> <cbc:FirstName>string</cbc:FirstName> <cbc:FamilyName>string</cbc:FamilyName> <cbc:Title>string</cbc:Title> <cbc:MiddleName>string</cbc:MiddleName> <cbc:NameSuffix>string</cbc:NameSuffix> <cbc:JobTitle>string</cbc:JobTitle> <cbc:OrganizationDepartment>string</cbc:OrganizationDepartment> </cac:Person> <cac:AgentParty> <cbc:MarkCareIndicator>true</cbc:MarkCareIndicator> <cbc:MarkAttentionIndicator>true</cbc:MarkAttentionIndicator> <cbc:WebsiteURI>normalizedString</cbc:WebsiteURI> <cbc:LogoReferenceID>normalizedString</cbc:LogoReferenceID> <cbc:EndpointID>normalizedString</cbc:EndpointID> <cac:PartyIdentification>... </cac:PartyIdentification> <cac:PartyName>... </cac:PartyName> <cac:Language>... </cac:Language> <cac:PostalAddress>... </cac:PostalAddress> <cac:PhysicalLocation>... </cac:PhysicalLocation> <cac:PartyTaxScheme>... </cac:PartyTaxScheme> <cac:PartyLegalEntity>... </cac:PartyLegalEntity> <cac:Contact>... </cac:Contact> <cac:Person>... </cac:Person> <cac:AgentParty>... </cac:AgentParty> </cac:AgentParty> </cac:SenderParty> <cac:ReceiverParty> <cbc:MarkCareIndicator>true</cbc:MarkCareIndicator> <cbc:MarkAttentionIndicator>true</cbc:MarkAttentionIndicator> <cbc:WebsiteURI>normalizedString</cbc:WebsiteURI> <cbc:LogoReferenceID>normalizedString</cbc:LogoReferenceID> <cbc:EndpointID>normalizedString</cbc:EndpointID> <cac:PartyIdentification> <cbc:ID>normalizedString</cbc:ID> </cac:PartyIdentification> <cac:PartyName> <cbc:Name>string</cbc:Name> </cac:PartyName> <cac:Language> <cbc:ID>normalizedString</cbc:ID> <cbc:Name>string</cbc:Name> <cbc:LocaleCode>normalizedString</cbc:LocaleCode> </cac:Language> <cac:PostalAddress> <cbc:ID>normalizedString</cbc:ID> <cbc:AddressTypeCode>normalizedString</cbc:AddressTypeCode> <cbc:AddressFormatCode>normalizedString</cbc:AddressFormatCode> <cbc:Postbox>string</cbc:Postbox> <cbc:Floor>string</cbc:Floor> <cbc:Room>string</cbc:Room> <cbc:StreetName>string</cbc:StreetName> <cbc:AdditionalStreetName>string</cbc:AdditionalStreetName> <cbc:BlockName>string</cbc:BlockName> <cbc:BuildingName>string</cbc:BuildingName> <cbc:BuildingNumber>string</cbc:BuildingNumber> <cbc:InhouseMail>string</cbc:InhouseMail> <cbc:Department>string</cbc:Department> <cbc:MarkAttention>string</cbc:MarkAttention> <cbc:MarkCare>string</cbc:MarkCare> <cbc:PlotIdentification>string</cbc:PlotIdentification> <cbc:CitySubdivisionName>string</cbc:CitySubdivisionName> <cbc:CityName>string</cbc:CityName> <cbc:PostalZone>string</cbc:PostalZone> <cbc:CountrySubentity>string</cbc:CountrySubentity> <cbc:CountrySubentityCode>normalizedString</cbc:CountrySubentityCode> <cbc:Region>string</cbc:Region> <cbc:District>string</cbc:District> <cbc:TimezoneOffset>string</cbc:TimezoneOffset> <cac:AddressLine>... </cac:AddressLine> <cac:Country>... </cac:Country> <cac:LocationCoordinate>... </cac:LocationCoordinate> </cac:PostalAddress> <cac:PhysicalLocation> <cbc:ID>normalizedString</cbc:ID> <cbc:Description>string</cbc:Description> <cbc:Conditions>string</cbc:Conditions> <cbc:CountrySubentity>string</cbc:CountrySubentity> <cbc:CountrySubentityCode>normalizedString</cbc:CountrySubentityCode> <cac:ValidityPeriod>... </cac:ValidityPeriod> <cac:Address>... </cac:Address> </cac:PhysicalLocation> <cac:PartyTaxScheme> <cbc:RegistrationName>string</cbc:RegistrationName> <cbc:CompanyID>normalizedString</cbc:CompanyID> <cbc:TaxLevelCode>normalizedString</cbc:TaxLevelCode> <cbc:ExemptionReasonCode>normalizedString</cbc:ExemptionReasonCode> <cbc:ExemptionReason>string</cbc:ExemptionReason> <cac:RegistrationAddress>... </cac:RegistrationAddress> <cac:TaxScheme>... </cac:TaxScheme> </cac:PartyTaxScheme> <cac:PartyLegalEntity> <cbc:RegistrationName>string</cbc:RegistrationName> <cbc:CompanyID>normalizedString</cbc:CompanyID> <cac:RegistrationAddress>... </cac:RegistrationAddress> <cac:CorporateRegistrationScheme>... </cac:CorporateRegistrationScheme> </cac:PartyLegalEntity> <cac:Contact> <cbc:ID>normalizedString</cbc:ID> <cbc:Name>string</cbc:Name> <cbc:Telephone>string</cbc:Telephone> <cbc:Telefax>string</cbc:Telefax> <cbc:ElectronicMail>string</cbc:ElectronicMail> <cbc:Note>string</cbc:Note> <cac:OtherCommunication>... </cac:OtherCommunication> </cac:Contact> <cac:Person> <cbc:FirstName>string</cbc:FirstName> <cbc:FamilyName>string</cbc:FamilyName> <cbc:Title>string</cbc:Title> <cbc:MiddleName>string</cbc:MiddleName> <cbc:NameSuffix>string</cbc:NameSuffix> <cbc:JobTitle>string</cbc:JobTitle> <cbc:OrganizationDepartment>string</cbc:OrganizationDepartment> </cac:Person> <cac:AgentParty> <cbc:MarkCareIndicator>true</cbc:MarkCareIndicator> <cbc:MarkAttentionIndicator>true</cbc:MarkAttentionIndicator> <cbc:WebsiteURI>normalizedString</cbc:WebsiteURI> <cbc:LogoReferenceID>normalizedString</cbc:LogoReferenceID> <cbc:EndpointID>normalizedString</cbc:EndpointID> <cac:PartyIdentification>... </cac:PartyIdentification> <cac:PartyName>... </cac:PartyName> <cac:Language>... </cac:Language> <cac:PostalAddress>... </cac:PostalAddress> <cac:PhysicalLocation>... </cac:PhysicalLocation> <cac:PartyTaxScheme>... </cac:PartyTaxScheme> <cac:PartyLegalEntity>... </cac:PartyLegalEntity> <cac:Contact>... </cac:Contact> <cac:Person>... </cac:Person> <cac:AgentParty>... </cac:AgentParty> </cac:AgentParty> </cac:ReceiverParty> <cac:Attachment> <cbc:EmbeddedDocumentBinaryObject mimeCode="application/CSTAdata+xml">GpM7</cbc:EmbeddedDocumentBinaryObject> <cac:ExternalReference> <cbc:URI>normalizedString</cbc:URI> <cbc:DocumentHash>string</cbc:DocumentHash> <cbc:ExpiryDate>2000-01-01</cbc:ExpiryDate> <cbc:ExpiryTime>12:00:00</cbc:ExpiryTime> </cac:ExternalReference> </cac:Attachment> </AttachedDocument>