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.
Common searches around this code
These phrases mirror what an integrator searches for: code, syntax, rule, business field and correction.
Test your file with this error in mind
Upload the invoice involved: the report will say whether this code appears, where it appears in the document, and whether Factlint can only report it or also fix it.
To automate this check in an ERP flow, call the validation API and link every returned code to its public page.
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
/AFRelationship /Source
/AFRelationship /Alternative
POST /v1/fixThis defect is among those the API rewrites itself: the corrected document comes back in the response. See the endpoint