Context
MY
/ubl:Invoice/cac:AdditionalDocumentReference
VRBL-Invoice-MY-1p0 - Additional Document Reference Group
Malaysia |
VRBL-Invoice-MY-1p0
| Context ID | INV0213 |
| Usage | O* |
Description
Group for additional document reference details.
In MyInvois Malaysia it is possible to provide additional optional document references.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| M | cbc:ID |
Additional Document Reference ID
An identifier for the referenced document. |
1..1 |
| M | cbc:DocumentType |
Additional Document Reference Document Type
The type of document being referenced, expressed as text. |
0..n |
| M | cbc:DocumentDescription |
Additional Document Reference Document Description
Text describing the referenced document. |
0..n |
Details
vrbl-invoice-my-1p0
Following references can be provided:
- Reference Number of Customs Form No.1, 9, etc.
- Reference Number of Customs Form No.2 (K2)
- Free Trade Agreement (FTA) information
Use the following codes to indicate the specific document reference.
| Reference | cbc:ID |
cbc:DocumentType |
cbc:DocumentDescription |
|---|---|---|---|
| Customs Form No.1, 9, etc. (CustomsForm) | Reference Number | VRBL:MY:CustomsImportForm |
not used |
| Customs Form No.2 (K2) | Reference Number | VRBL:MY:K2 |
not used |
| Free Trade Agreement (FTA) information | VRBL:MY:FTA |
VRBL:MY:FreeTradeAgreement |
Free text description |
Example:
<Invoice>
<!-- Code omitted for clarity -->
<cac:AdditionalDocumentReference>
<cbc:ID>E12345678912</cbc:ID>
<cbc:DocumentType>VRBL:MY:CustomsImportForm</cbc:DocumentType>
</cac:AdditionalDocumentReference>
<cac:AdditionalDocumentReference>
<cbc:ID>E12345678912</cbc:ID>
<cbc:DocumentType>VRBL:MY:K2</cbc:DocumentType>
</cac:AdditionalDocumentReference>
<cac:AdditionalDocumentReference>
<cbc:ID>VRBL:MY:FTA</cbc:ID>
<cbc:DocumentType>VRBL:MY:FreeTradeAgreement</cbc:DocumentType>
<cbc:DocumentDescription>Sample Description</cbc:DocumentDescription>
</cac:AdditionalDocumentReference>
<!-- Code omitted for clarity -->
</Invoice>
Example: MY_invoice_01_foreign_currency.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:AdditionalDocumentReference>
<cbc:ID>VRBL:MY:FTA</cbc:ID>
<cbc:DocumentType>VRBL:MY:FreeTradeAgreement</cbc:DocumentType>
<cbc:DocumentDescription>FTA1234567</cbc:DocumentDescription>
</cac:AdditionalDocumentReference>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-MY-1p0-21 | When the Additional Document Reference Group is used as Free Trade Agreement, the Additional Document Reference Group expects a maximum of one Additional Document Reference Document Description. |
| VRBL-INV-CORE-85 | The Additional Document Reference Group expects a maximum of one Additional Document Reference Document Type. |
| VRBL-INV-CORE-86 | The Additional Document Reference Group expects a maximum of one Additional Document Reference Document Description. |