Errors

invalid_settlement_reason

400: Not a hand settlement reason.

Not a hand settlement reason. Answered with 400.

What it means

A Staff Console hand settlement of Credit owed named a reason that is not one of its codes. The reason says how the money left Tigby (paid_by_transfer, refunded_at_mollie, offset) or why nothing was paid (already_returned, waived), and nothing else: it is kept on the erasure trail, which outlives the Org, and the amount, date, account and reference of the payment are kept in the accounting system.

What to do

Send reason as one of paid_by_transfer, refunded_at_mollie, offset, already_returned or waived. Nothing was recorded and the deletion is still held.

The body

{
  "type": "https://tigby.eu/problems/invalid_settlement_reason",
  "title": "Not a hand settlement reason",
  "status": 400,
  "detail": "…what was refused, naming this request's own values",
  "code": "invalid_settlement_reason",
  "doc_url": "https://docs.tigby.eu/errors/invalid_settlement_reason",
  "agent_hint": "…the next step, for software"
}

Branch on code. The detail names this request's own Handle, id or limit and is not part of the contract.