Rivier/ Reference/ accounting

Confirm a proposed expense, with corrections

post/accounting/expenses/{id}/confirm

Before you call

Credential
Authorization: Bearer $KEY
Scope
accounting:write
Sdk
accounting.expense.confirm
Cli
accounting expense confirm

Parameters

  • idstring (uuid)required
    In the path

Request bodyapplication/json, required

  • accountstring
    At most 40 characters.
  • paidFromstring
    At most 40 characters.
  • grossMinorinteger
    At most 99999999999.
  • taxRateBpinteger
    At least 0. At most 10000.
  • spentOnstring
    Pattern: ^\d{4}-\d{2}-\d{2}$.
  • merchantstring
    At most 200 characters.

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