Rivier/ Reference/ accounting

Read a receipt into a proposed expense (marked as read by a model)

post/accounting/receipts

Before you call

Credential
Authorization: Bearer $KEY
Scope
accounting:write
Mcp
rivier_accounting_receipt_capture
Graphql
Mutation.accountingCaptureReceipt
Sdk
accounting.receipt.capture
Cli
accounting receipt capture

Request bodyapplication/json, required

  • filenamestringrequired
    At most 200 characters.
  • mimestringrequired
    At most 100 characters.
  • contentBase64stringrequired
    At most 14000000 characters.
  • idempotencyKeystring
    At most 120 characters.

Responses

  • 201application/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