Reject invoice back to the buyer
POST/invoices/:code/workflow/reject
Accountant-only. Sends the invoice back to the buyer with a reason; the invoice moves to REJECTED_BY_ACCOUNTANT
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 422
- 429
OK
Invoice code is required
Unauthorized
Forbidden - not an accountant
Invoice not found
Invoice cannot be rejected from its current status
Rejection reason is required, or the intent is not replace or correct
Too many requests - rate limited by the API firewall; wait out the Retry-After delay before retrying
Response Headers
Retry-After
Delay in seconds a client must wait before retrying the request