DELETE
Delete a future exchange rate
Organization space Accounting module Cannot be undone For: Accountant · Permission: exchange_rates.delete Conditions
  • The accounting module must be included in the plan of the organization.
  • Exchange rates belong to the organization, not to a book.
  • The caller needs an accounting access grant on the organization’s own book (a grant on a company book is not enough). This is checked before validation.
  • Only a rate that has not started yet (valid_from in the future) can be deleted; a started rate must be closed instead.
  • A rate already used by a refund entry of the organization cannot be deleted.
  • The rate is locked while checked, and rate creation for the organization is serialised.
What else happens
  • The rate is removed for good: .
Part of Set up the books.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

exchangeRate
string
required

Identifier of the exchange rate (27-character KSUID).

Query Parameters

response
enum<string>
default:none

Response mode. Default none; none answers 204 No Content.

Available options:
none

Response

No Content (response mode none).