Back to the error catalogue
AF-RELATIONSHIP
auto

The attachment relationship is incorrect

`AFRelationship` must be `Data` for the MINIMUM and BASIC WL profiles, and `Alternative` for the full profiles.

This defect is fixed automatically. Test your invoice to find out whether it is affected, then apply the correction with the Pipeline Pro plan.

Why this error happens

Many PDF libraries write `Source` by default when attaching the XML. The value is purely structural, but its inconsistency with the profile makes the container fail validation.

How to fix it

The expected value follows from the profile. Factlint corrects it inside the PDF/A-3 envelope without touching the content of the XML.

XML correction example

BEFORE (invalid)
/AFRelationship /Source
AFTER (compliant)
/AFRelationship /Alternative