Check whether a candidate PO already carries a logical duplicate
GET/invoices/:code/duplicate-check
Read-only Layer 2 comparison of an invoice against a candidate PO. Flag-gated; returns negative when the invoice_duplicate_guard flag is off for the tenant. No side effects. Object-level authorization applies: a caller who may not access the invoice is masked as 404, mirroring the matching read endpoints.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
OK
Invalid request
Unauthorized
Forbidden - request denied by authorization, or blocked by the API firewall
Invoice or PO not found (or not accessible)
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
Internal server error