/ubl:Invoice/cac:AdditionalDocumentReference[not(cac:Attachment)]

Additional Document Reference

Australia | VRBL-Invoice-AU-1p0
Context ID INV1821
Usage O
Final Format Path /ubl:Invoice/cac:AdditionalDocumentReference[cbc:DocumentTypeCode='130']

Description

A reference to an additional document associated with this document.

In Australian invoices, in the Additional Supporting Documents group, if the Document Type Code provided in the element cbc:DocumentTypeCode is equal to 130, then the attribute @schemeID of element cbc:ID is mandatory and must be chosen from the UNTDID 1153 code list.
In addition, when an attachment is transmitted by means of this group, the Attachment Mime Type provided in the attribute /cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode must have one of the following values.

Child elements
Usage Element Description Cardinality
O cbc:ID Additional Document Reference ID

An identifier for the referenced document.

1..1
O cbc:DocumentTypeCode Additional Document Type Code

The type of document being referenced, expressed as a code.

0..1
Details

vrbl-invoice-au-1p0

Following codes can be used

Code Description
application/pdf PDF Document
image/png PNG Image
image/jpeg JPEG Image
text/csv CSV File
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet Spreadsheet
application/vnd.oasis.opendocument.spreadsheet Spreadsheet

Example: AU_Invoice.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:AdditionalDocumentReference>
    <cbc:ID schemeID="SE">15622229-135</cbc:ID>
    <cbc:DocumentTypeCode>130</cbc:DocumentTypeCode>
  </cac:AdditionalDocumentReference>
  <!-- ... omitted for readability -->
</ubl:Invoice>