Excluir conta a pagar
DELETE/payables/:id
Hard-deletes the payable. Requires scope finance.payables.write. Dissolves any reconciliation the payable is part of and removes the auto-created payment transaction (manually-linked transactions are preserved). Calling DELETE twice on the same id returns 200 then 404 (Stripe-style). Deletes a single row — series-aware delete is not yet exposed.
Requisição
Respostas
- 200
- 401
- 403
- 404
- 429
- 500
Payable deleted.
Missing / invalid / expired / revoked token.
Token lacks the finance.payables.write scope.
Payable not found within the tenant.
Rate limit exceeded for this token. Reads and writes have separate budgets, both on a 1-hour sliding window. The response carries X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset and Retry-After — wait out Retry-After rather than retrying immediately.
Unhandled server error.