Collection requests
- Base URL
https://referral-api.debitura.com- Authentication
- API key in the
XApiKeyheader
GET /collection-requests
/collection-requestsQuery parameters
externalTenantIdstringcreditorReferencestring
Returns
200 OK
iduuidstatusenumOne ofawaiting_onboardingawaiting_approvalawaiting_signatureawaiting_kycneeds_fixingsubmittedrejectedexpiredprocessingsolutionUrlstringnullablesolutionTypeenumnullableNext action: onboarding, approval, sdca (initial/fallback SDCA), sdca_update, power_of_attorney, jurisdiction_pricing_appendix, kyc, fix or case. Null when no action is available. Status remains awaiting_signature for agreement work. The legacy signature value can appear only in an immutable keyed replay snapshot.
One ofonboardingapprovalsdcasdca_updatepower_of_attorneyjurisdiction_pricing_appendixkycfixcasesignatureexternalTenantIdstringnullableclientobjectinvoicesarray of objectsnullablecreatedAtdatetimeupdatedAtdatetime
curl https://referral-api.debitura.com/collection-requests \-H "XApiKey: $DEBITURA_API_KEY"
{"id": "3f2b6c1e-8a4d-4b7f-9c2e-5d1a0b9e7f31","status": "awaiting_onboarding","solutionUrl": "https://app.debitura.com/…","solutionType": "onboarding","externalTenantId": "string","client": {"debituraClientId": "3f2b6c1e-8a4d-4b7f-9c2e-5d1a0b9e7f31","isNew": true,"isAttributedClient": true},"invoices": [{"creditorReference": "INV-2026-0042","status": "waiting","caseId": "3f2b6c1e-8a4d-4b7f-9c2e-5d1a0b9e7f31","draftId": "3f2b6c1e-8a4d-4b7f-9c2e-5d1a0b9e7f31","caseStatus": "string","reason": null,"issues": [{"field": {},"type": {},"message": {}}]}],"createdAt": "2026-10-01T14:05:00Z","updatedAt": "2026-10-01T14:05:00Z"}
Submit one invoice for collection
/collection-requestsAvailable only when Starter Integration is enabled. Send exactly one invoice in the invoices array. Return navigation uses the referral partner configuration; no per-request returnUrl is supported. Client details are used only on creation; existing clients approve a new connection. solutionUrl points to the first outstanding action: onboarding, approval, signature, KYC, fixing drafts, then the case. Resubmitting a client invoice reference returns its existing case within the same data classification.
Headers
Idempotency-KeystringMax 200 characters
Request body
externalTenantIdstringnullableclientobjectuserobjectinvoicesarray of objectsnullable
Returns
201 Created
iduuidstatusenumOne ofawaiting_onboardingawaiting_approvalawaiting_signatureawaiting_kycneeds_fixingsubmittedrejectedexpiredprocessingsolutionUrlstringnullablesolutionTypeenumnullableNext action: onboarding, approval, sdca (initial/fallback SDCA), sdca_update, power_of_attorney, jurisdiction_pricing_appendix, kyc, fix or case. Null when no action is available. Status remains awaiting_signature for agreement work. The legacy signature value can appear only in an immutable keyed replay snapshot.
One ofonboardingapprovalsdcasdca_updatepower_of_attorneyjurisdiction_pricing_appendixkycfixcasesignatureexternalTenantIdstringnullableclientobjectinvoicesarray of objectsnullablecreatedAtdatetimeupdatedAtdatetime
curl -X POST https://referral-api.debitura.com/collection-requests \-H "XApiKey: $DEBITURA_API_KEY" \-H "Content-Type: application/json" \-d '{}'
{"id": "3f2b6c1e-8a4d-4b7f-9c2e-5d1a0b9e7f31","status": "awaiting_onboarding","solutionUrl": "https://app.debitura.com/…","solutionType": "onboarding","externalTenantId": "string","client": {"debituraClientId": "3f2b6c1e-8a4d-4b7f-9c2e-5d1a0b9e7f31","isNew": true,"isAttributedClient": true},"invoices": [{"creditorReference": "INV-2026-0042","status": "waiting","caseId": "3f2b6c1e-8a4d-4b7f-9c2e-5d1a0b9e7f31","draftId": "3f2b6c1e-8a4d-4b7f-9c2e-5d1a0b9e7f31","caseStatus": "string","reason": null,"issues": [{"field": {},"type": {},"message": {}}]}],"createdAt": "2026-10-01T14:05:00Z","updatedAt": "2026-10-01T14:05:00Z"}
GET /collection-requests/{id}
/collection-requests/{id}Path parameters
iduuidRequired
Returns
200 OK
iduuidstatusenumOne ofawaiting_onboardingawaiting_approvalawaiting_signatureawaiting_kycneeds_fixingsubmittedrejectedexpiredprocessingsolutionUrlstringnullablesolutionTypeenumnullableNext action: onboarding, approval, sdca (initial/fallback SDCA), sdca_update, power_of_attorney, jurisdiction_pricing_appendix, kyc, fix or case. Null when no action is available. Status remains awaiting_signature for agreement work. The legacy signature value can appear only in an immutable keyed replay snapshot.
One ofonboardingapprovalsdcasdca_updatepower_of_attorneyjurisdiction_pricing_appendixkycfixcasesignatureexternalTenantIdstringnullableclientobjectinvoicesarray of objectsnullablecreatedAtdatetimeupdatedAtdatetime
curl https://referral-api.debitura.com/collection-requests/3f2b6c1e-8a4d-4b7f-9c2e-5d1a0b9e7f31 \-H "XApiKey: $DEBITURA_API_KEY"
{"id": "3f2b6c1e-8a4d-4b7f-9c2e-5d1a0b9e7f31","status": "awaiting_onboarding","solutionUrl": "https://app.debitura.com/…","solutionType": "onboarding","externalTenantId": "string","client": {"debituraClientId": "3f2b6c1e-8a4d-4b7f-9c2e-5d1a0b9e7f31","isNew": true,"isAttributedClient": true},"invoices": [{"creditorReference": "INV-2026-0042","status": "waiting","caseId": "3f2b6c1e-8a4d-4b7f-9c2e-5d1a0b9e7f31","draftId": "3f2b6c1e-8a4d-4b7f-9c2e-5d1a0b9e7f31","caseStatus": "string","reason": null,"issues": [{"field": {},"type": {},"message": {}}]}],"createdAt": "2026-10-01T14:05:00Z","updatedAt": "2026-10-01T14:05:00Z"}