Rivier/ Reference/ accounting

Import pasted statement lines

post/accounting/bank/accounts/{id}/import

Before you call

Credential
Authorization: Bearer $KEY
Scope
accounting:admin
Sdk
accounting.bank.import
Cli
accounting bank import

Parameters

  • idstring (uuid)required
    In the path

Request bodyapplication/json, required

  • lineslist of objectrequired
    • externalIdstringrequired
      At most 120 characters.
    • bookedOnstringrequired
      Pattern: ^\d{4}-\d{2}-\d{2}$.
    • amountMinorintegerrequired
      At least -99999999999. At most 99999999999.
    • descriptionstring
      Default: . At most 300 characters.
    • counterpartystring
      Default: . 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