Skip to main content
Glama

Simpler.Asia

invoice_adjustment_delete

DestructiveIdempotent

[REQUIRES APPROVAL] Retires a dilution fact row — the only correction lane (adjustments are append-only; amounts are never edited). If the retired row was a credit that settled the invoice, the status rolls from 'paid' back to 'sent' and paid_at clears; the remaining balance and the derived 'written_off' state re-derive from the live rows immediately. An agent's call parks here for human approval. NEXT: invoice_adjustment_record to re-record the correct amount.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe adjustment id (invoice_adjustment_list shows them).
reasonNo
currencyNo
invoice_idNo
occurred_atNo
reason_codeNo
amount_centsNo
adjustment_idNoAlias of id.
credit_outcomeNo
adjustment_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources