/ubl:Invoice/cac:AdditionalDocumentReference/cac:Attachment/cac:ExternalReference

Attachment External Reference Group

New Zealand | VRBL-Invoice-NZ-1p0
Context ID INV0224
Usage O

Description

A group conatining the URL (Uniform Resource Locator) that identifies where the external document is located.

Child elements
Usage Element Description Cardinality
M cbc:URI Attachment External Reference URI

The Uniform Resource Identifier (URI) that identifies the external object as an Internet resource.

0..1
Details

Example: NZ_Invoice.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:AdditionalDocumentReference>
    <!-- ... omitted for readability -->
    <cac:Attachment>
      <cac:ExternalReference>
        <cbc:URI>https://github.com/A-NZ-PEPPOL/A-NZ-PEPPOL-BIS-3.0</cbc:URI>
      </cac:ExternalReference>
    </cac:Attachment>
  </cac:AdditionalDocumentReference>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-CORE-93 The Attachment External Reference URI must exist within the Attachment External Reference Group.