Diagnose documents that do not reach Complifly, arrive with wrong values, or are refused — and identify whether the cause is one document, the mapping, the credential, or the ERP.
A document is not in Complifly, or is wrong
|
v
Does the ERP believe it sent it?
|
+-- No ----> The ERP never sent it. -> Path A (ERP side)
|
+-- Yes --> What response did the ERP receive?
|
+-- None / timeout ------> Path B
|
+-- 401 / 403 -----------> Path C (credential or scope)
|
+-- 409 duplicate -------> Path D
|
+-- 422 rejected --------> Path E (validation)
|
+-- 201 accepted --------> It IS here.
Quarantined? -> Path E
Not visible? -> registration access
Values wrong? -> Path F (mapping)
The first question is the important one, and it is frequently skipped. "The invoice is not in Complifly" and "the ERP never sent it" look identical from the Complifly side.
Unauthorised means the credential is not accepted. Forbidden means it is accepted but the supplier registration is outside its scope
Checks
For unauthorised: is the credential valid, unexpired, and are the clocks synchronised? For forbidden: which registration is the document for, and is it in scope?
Resolution
Refresh or reissue the credential, or widen the scope deliberately
Validation
The document is accepted
Escalate when
The credential is confirmed correct and in scope and is still refused
Forbidden is a credential scope problem. Checking the user's role here is a dead end and a common detour.
The document is present with wrong dates, amounts, codes or type
Root cause
Almost always the mapping template
Checks
Compare the raw payload with the mapped result, field by field
Resolution
Correct the mapping rule and re-test with real documents
Validation
The mapped payload matches the ERP's values exactly
Escalate when
The mapping is demonstrably correct and the values still differ
Wrong values are more dangerous than rejections. A rejection stops; a wrong value produces a legally incorrect registered document. Dates and amounts deserve particular scrutiny.