Portugal (PT-CIUS): Additional Document Reference
For Portugal (PT-CIUS) Documents, you must attach a QR code as an additional document reference.
Elements
Use the following sub-elements of the AdditionalDocumentReference element to model the details:
| Name (Path) | Cardinality | Description |
|---|---|---|
Additional Document Reference (Invoice/AdditionalDocumentReference) | 0..n | A group of elements providing information about additional supporting documents substantiating the claims made in the invoice. |
Additional Document Reference ID (Invoice/AdditionalDocumentReference/ID) | 1..1 | Identifier of the document entry registration process (ATCUD).. |
Additional Document Reference ID Scheme (Invoice/AdditionalDocumentReference/ID @schemeID) | 1..1 | The scheme to which the ID belongs. Specify ANG. |
Additional Document Reference Description (Invoice/AdditionalDocumentReference/DocumentDescription) | 0..1 | Specify QR_CODE. |
Attached Document (Invoice/AdditionalDocumentReference/Attachment/ EmbeddedDocumentBinaryObject) | 0..1 | The attached document in binary format (QR Code in base64). |
Attached Document Mime Code (Invoice/AdditionalDocumentReference/Attachment/ EmbeddedDocumentBinaryObject @mimeCode) | 1..1 | Specify text/plain |
Attached Document Filename (Invoice/AdditionalDocumentReference/Attachment/ EmbeddedDocumentBinaryObject @filename) | 1..1 | Specify the file's name. |
Restrictions
For Portugal (PT-CIUS) documents, you must attach a QR code.
Example
<!-- Code omitted for clarity -->
<cac:AdditionalDocumentReference>
<cbc:ID schemeID="ANG">12345678-241231231231</cbc:ID>
<cbc:DocumentDescription>QR_CODE</cbc:DocumentDescription>
<cac:Attachment>
<cbc:EmbeddedDocumentBinaryObject mimeCode="text/plain" filename="file_name">JVBERi0xLjMNC...</cbc:EmbeddedDocumentBinaryObject>
</cac:Attachment>
</cac:AdditionalDocumentReference>
<!-- Code omitted for clarity -->
</ubl:Invoice>
Updated 14 days ago
