Skip to content

Constants - FacturX Relationships

The Relationship attribute specifies the relationship between the PDF document and the embedded XML invoice and must be one of the following

Constant Description
C_drPDFFacturX_Rel_Associated Use this value when the attachment is related to the document and should be kept with it, but the attachment is not source data, supplementary information, or an alternative representation.
C_drPDFFacturX_Rel_Data Use this value when the attached file provides machine-readable data that supports the document but is not itself the source document or a complete alternative representation.
C_drPDFFacturX_Rel_Source Use this value when the attached file is the editable document that was converted into the PDF.
C_drPDFFacturX_Rel_Supplement Use this value for supporting documents that complement the PDF but are not required to understand the main document.
C_drPDFFacturX_Rel_Alternative For Factur-X and ZUGFeRD invoices, this is the recommended value for the embedded XML invoice because the XML and PDF contain the same business information in different formats.
C_drPDFFacturX_Rel_FormData Use this value when the attachment stores form field values or data submitted through a PDF form.