Dispute document
POST/v1/spaces/:spaceId/documents/:documentId:dispute
Preview: The API is in development or testing phases and the interface could still change slightly.
Disputes an e-invoicing document (INVOICE, CREDIT_NOTE, SELF_BILLED_INVOICE, SELF_BILLED_CREDIT_NOTE). The document must be in one of the following states: VALIDATED, FULLY_APPROVED, DISPUTED, or REFUSED — 409 if not. A dispute reason is mandatory — 400 if absent. Publishes a DISPUTE_DOCUMENT message; the status transition is applied asynchronously.
Scope: space_read, space_write
Request
Responses
- 202
- 400
- 401
- 403
- 404
- 409
- 422
Dispute document request accepted
Missing or invalid dispute reason
Unauthorized
Access denied
Document not found
Document is not in an eligible state for dispute
Document category does not support the dispute operation