/ubl:Invoice/cac:BillingReference/cac:InvoiceDocumentReference

Invoice Document Reference Group

Context ID INV0168
Cardinality 0..1
Usage M

Description

A reference to an invoice.

A group of business terms providing information on the referenced invoice.

In MyInvois it is mandatory to provide a reference to the original invoice and the LHDNM Unique Identifier Number of the original invoice. This UUID was received back from the portal when the original invoice was uploaded and accepted.

Child elements

Cardinality Usage Description Element
1..1 M Invoice Document Reference ID
An identifier for the referenced document.
cbc:ID
0..1 M Invoice Document Reference UUID
A universally unique identifier for this document reference.
cbc:UUID

Details

vrbl-invoice-my-1p0

Used in the following invoice types:

Document Type MY Code UNCL1001
Credit Note VRBL:MY:02 381
Debit Note VRBL:MY:03 383
Refund Note VRBL:MY:04
Self-Billing Credit Note VRBL:MY:12 261
Self-Billing Debit Note VRBL:MY:13 527
Self-Billing Refund Note VRBL:MY:04

Note: In exceptional cases, where no preceding invoice reference number or UUID is available, it is possible to use the value NA (not applicable).

Example:

<Invoice>
    <!-- Code omitted for clarity -->
    <cac:BillingReference>
        <cac:InvoiceDocumentReference >
            <cbc:ID>INV12345</cbc:ID>
            <cbc:UUID>SDCJ2PPVF9HX4XAFZ091W3EJ19</cbc:UUID>
        </cac:InvoiceDocumentReference>
    </cac:BillingReference>
    <!-- Code omitted for clarity -->
</Invoice>