Migrate Proof of Address Verification to Document Trust
French proofs of address can now be analyzed with Document Trust, using the proof_of_address type and country_code=FR. Your current integration of /verifications/proofs_of_address keeps working: migrate when it suits you.
Why migrate
- Tolerant name matching: you no longer need to send the holder name exactly as printed. Case, accents and punctuation are handled, and close matches are reported as
close. See Name Matching rules. - Second holder: when the document has two holders (a couple on an invoice, a joint income tax notice), the name you send is compared with both.
- Tolerant address matching: case, accents, punctuation,
CEDEXand district forms are ignored, AFNOR street abbreviations (BD,MAL…) givecloseinstead of a failure. - Detailed checks: for
full_nameandaddress, you get the value read on the document, the value you sent, and amatch_level. - Exact document detected:
document_classification.document_varianttells you whether the file is an energy invoice, a water invoice, a phone invoice, a supplier certificate, or an income, property or housing tax notice. - Optional fraud detection with
analysis_type[fraud_level](standardoradvanced), and a risk label. - Larger files: up to 25 MB and 10 pages.
- One API for every country: the same request covers Italian and German proofs of address.
Before you start
Document Trust requires a change of your contract and add-on. Contact your account manager to switch.
Endpoints and webhook
| Proof of Address Verification [deprecated] | Document Trust | |
|---|---|---|
| Create | POST /verifications/proofs_of_address | POST /document_analyses with type=proof_of_address and country_code=FR |
| Retrieve | GET /verifications/proofs_of_address/{id} | GET /document_analyses/{id} |
| List | GET /verifications/proofs_of_address | GET /document_analyses?type[eq]=proof_of_address |
| Webhook | verification.proof_of_address.done | document_analysis.done |
Verifications you created with /verifications/proofs_of_address stay available on the same endpoints.
Request
| Proof of Address Verification [deprecated] | Document Trust |
|---|---|
| — | type=proof_of_address (required) |
| — | country_code=FR (required with extraction) |
file (PDF, PNG, JPG, JPEG — 10 MB) | file (PDF, PNG, JPG, JPEG — 25 MB, 10 pages max; PDF only with fraud_level=standard) |
natural_person[first_name] | checks[first_name] |
natural_person[last_name] | checks[last_name] |
natural_person[address_line1] | checks[address][line1] |
natural_person[address_line2] | checks[address][line2] |
natural_person[postal_code] | checks[address][postal_code] (5 digits) |
natural_person[city] | checks[address][city] |
workspace_id, workflow_session_id, previous_attempt_id | Unchanged |
| — | analysis_type[fraud_level] (optional): standard or advanced |
checks[first_name] and checks[last_name] go together. checks[address][line1], checks[address][postal_code] and checks[address][city] go together.
Use
fraud_level=standardto keep the 2D-Doc check. Proof of Address Verification always read the 2D-Doc. Document Trust reads it only withstandard: the name and address are then compared with the signed 2D-Doc data, and a tampered 2D-Doc is reported infraud_risk_analysis. Withoutstandard, they are compared with the text read on the document.
# Before
curl --location --request POST '{baseUrl}/verifications/proofs_of_address' \
--header 'Authorization: Bearer {apiKey}' \
--form 'file=@"/path/to/energy_invoice.pdf"' \
--form 'natural_person[first_name]="John"' \
--form 'natural_person[last_name]="Doe"' \
--form 'natural_person[address_line1]="1 rue de l'\''Exemple"' \
--form 'natural_person[postal_code]="75001"' \
--form 'natural_person[city]="Paris"'
# After
curl --location --request POST '{baseUrl}/document_analyses' \
--header 'Authorization: Bearer {apiKey}' \
--form 'file=@"/path/to/energy_invoice.pdf"' \
--form 'type="proof_of_address"' \
--form 'country_code="FR"' \
--form 'analysis_type[fraud_level]="standard"' \
--form 'checks[first_name]="John"' \
--form 'checks[last_name]="Doe"' \
--form 'checks[address][line1]="1 rue de l'\''Exemple"' \
--form 'checks[address][postal_code]="75001"' \
--form 'checks[address][city]="Paris"'Response
| Proof of Address Verification [deprecated] | Document Trust |
|---|---|
status: pending, verified, failed, inconclusive | status: pending, done, failed, inconclusive |
data.extracted_from_document.first_name, last_name | extracted_from_document.first_name, last_name |
| — | extracted_from_document.first_name_2, last_name_2: the second holder |
data.extracted_from_document.full_address | extracted_from_document.full_address |
data.extracted_from_document.issued_on | extracted_from_document.issuance_date |
data.extracted_from_document.2d_doc.full_name, address | extracted_from_document.2d_doc.full_name, address (only with fraud_level=standard), plus 2d_doc.full_name_2 |
| — | checks.full_name, checks.address: extracted, expected, match_level (exact, close, no_match) |
| — | document_classification: document type, exact document (document_variant) and country detected |
| — | fraud_risk_analysis: risk label and indicators, when fraud_level is set |
{
"status": "done",
"status_codes": [],
"type": "proof_of_address",
"country_code": "FR",
"extracted_from_document": {
"first_name": "John",
"last_name": "Doe",
"first_name_2": null,
"last_name_2": null,
"full_address": "1 rue de l'Exemple 75001 Paris",
"issuance_date": "2026-09-15",
"2d_doc": {
"full_name": "DOE JOHN",
"full_name_2": null,
"address": { "line1": "1 RUE DE L EXEMPLE", "postal_code": "75001", "city": "PARIS", "country_code": "FR" }
}
},
"checks": {
"full_name": { "extracted": "DOE JOHN", "expected": "Doe John", "match_level": "exact" },
"address": { "extracted": "1 RUE DE L EXEMPLE 75001 PARIS", "expected": "1 rue de l'Exemple 75001 Paris", "match_level": "exact" }
},
"document_classification": {
"document_type": "proof_of_address",
"document_variant": "energy_invoice",
"country_code": "FR"
}
}Status codes
| Proof of Address Verification [deprecated] | Document Trust | Meaning |
|---|---|---|
POAV_1100 | DA_1100 | Technical issue, retry later |
POAV_1501, POAV_1509 | DA_1003, DA_1004 | The document is not a supported proof of address |
| — | DA_1005 | The document is not issued in France |
POAV_1611, POAV_1612, POAV_1613, POAV_1623 | DA_2001 | The holder does not match the name you sent |
POAV_1614 | DA_2003 | The address does not match the one you sent |
POAV_1502, POAV_1503, POAV_1620, POAV_1621 | fraud_risk_analysis, DA_3001 | Tampering or invalid 2D-Doc — only reported when fraud_level is set |
POAV_1622 | No equivalent | A missing 2D-Doc never fails the analysis |
| — | DA_3004 | Fraud detection unavailable — only when fraud_level is set. Status inconclusive, retry later |
| — | DA_3003 | Quality control unavailable — only with fraud_level=advanced. Status inconclusive, retry later |
POAV_1615, POAV_1616, POAV_1617 | No equivalent | Fiscal number, reference number and phone number are not checked |
POAV_1103 to POAV_1107, POAV_1200 to POAV_1208, POAV_1508 | No equivalent | File and image quality issues have no dedicated code |
Test in Sandbox
Use the filenames listed in Testing Document Trust Analysis in Sandbox, with type=proof_of_address and country_code=FR.
The simulated document is an energy invoice that always holds the holder Jean Dupont and the address 1 rue de l'Exemple 75001 Paris. Send these values in checks to get done with done.pdf: any other value does not match, and the analysis fails.
Updated 5 days ago

