Confirm a document has been retrieved (v2)
PATCH
https://proxy-stage.peax.ch/document-partner-service/agent-api/v2/sources/{sourceId}/accounts/{accountPeaxId}/documents/close
documentDocuments
Document Processing Error Codes
Error Code | Description |
---|---|
DOC_WRONG_FORMAT | The document is not in the expected format (e.g., corrupted file or incompatible file type). |
MISSING_INFORMATION | Required fields or data in the document are incomplete or missing. |
UNSUPPORTED_DOCUMENT_TYPE | The document type (e.g., reminder or other specific type) is not supported by the partner system. |
DUPLICATE_DOCUMENT | The document is identified as a duplicate and was not reprocessed. |
INCOMPLETE_METADATA | Metadata such as invoice number, date, or client ID is missing or incomplete. |
DOCUMENT_CORRUPTED | The document is unreadable or contains corrupted data. |
UNSUPPORTED_LANGUAGE | The document is in a language that the system or partner cannot process. |
DOCUMENT_TOO_LARGE | The document size exceeds the acceptable limits for processing. |
RESTRICTED_CONTENT | The document contains restricted or prohibited content. |
Request
Path Params
sourceId
string
required
accountPeaxId
string
required
Header Params
Authorization
string
optional
Default:
Bearer {{JWT}}
Body Params application/json
Request samples
Responses
Modified at 2025-02-12 12:30:24