Rivier/ Reference/ accounting

Accounting bill agent decision

post/accounting/bills/{id}/agent-decision

Ask Skerry to decide a bill under the customer's rule and the mandate's limits (tell, prepare and ask, or pay). dryRun asks without acting. Needs the bill linked to Skerry.

Before you call

Credential
Authorization: Bearer $KEY
Scope
accounting:write
Mcp
rivier_accounting_bill_agent_decision
Graphql
Mutation.accountingAgentDecideBill
Sdk
accounting.bill.agentDecision
Cli
accounting bill agent decision

Parameters

  • idstring (uuid)required
    In the path

Request bodyapplication/json, required

  • dryRunboolean
    Ask what Skerry would decide, without acting on it.

Responses

  • 200application/json
    Success
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown