Rivier/ Reference/ accounting

Set up the books for an edition and a base currency

post/accounting/setup

Before you call

Credential
Authorization: Bearer $KEY
Scope
accounting:admin
Sdk
accounting.settings.setup
Cli
accounting settings setup

Request bodyapplication/json, required

  • presetstring
    One of: shop, hotel, services, freelancer, publication. Default: shop.
  • baseCurrencystring
    Default: eur. Pattern: ^[a-z]{3}$.
  • countrystring
    Pattern: ^[A-Z]{2}$.
  • fiscalStartMonthinteger
    Default: 1. At least 1. At most 12.

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