An attachment is in the invoiced-object reference · UBL-CR-666
- Severity · Error
- Applies to · UBL
- Editorial review pending
Document type code 130 identifies the object being invoiced. The export puts an attachment in that same cac:AdditionalDocumentReference block.
As of
Who can correct it?
The invoicing software provider can correct the export.
How to fix it
- Keep the object identifier and code 130 together.
- If the information needs to travel with the invoice, map an attachment to its own supporting-document reference.
Rule text and source
Paraphrase · An additional document reference with cbc:DocumentTypeCode 130 cannot also contain cac:Attachment.
Message to the sender
Hello,
rule UBL-CR-666 was triggered when checking electronic invoice {invoiceNumber}. The reference identifying the invoiced object also includes cac:Attachment. Could you check the export and send us a corrected file?
Kind regardsExample
The reference with code 130 contains both the object identifier and cac:Attachment. The correction puts cac:Attachment in the supporting-document reference, separate from the object identifier.
Rule versions
CEN · EN 16931 (KoSIT) 1.3.16
CEN · EN 16931 1.3.17