Authorizations
Authentication can be done by using a bearer token in the Authorization header. This is done using the following format Authorization: Bearer {token}.
Body
New case voucher object
An id for the voucher type. A list of ids can be found in the Voucher Type Ids chapter.
Amount in base currency. For example 1.00 should be sent as 100. A negative amount (e.g. -100) represents a debt, while a positive amount (e.g. +100) represents a credit note or deposit.
Currency
DKK, SEK, NOK, USD, EUR, GBP, CHF The source of the case voucher. "CREDITOR" if the case voucher is imposed by the creditor (typically from an ERP system). "COLLECTOR" if the case voucher is imposed by collector (debt collection agency). If it is a deposit it is a direct payment if set to "CREDITOR".
CREDITOR, COLLECTOR Used when the voucher is accumulating interest to specify the interest rate (yearly interest and compound interest). The number is in decimal, for example 0.1 would be an interest rate of 10%.
The appendix is for pdf copies or similar for a case voucher.
A unique id, that can be used to prevent creating the same case voucher twice. This id is unique at the tenant level, meaning that no two case vouchers can have the same unique id on the same tenant.
The id of the voucher that this voucher is a child of.
Case voucher properties. You can create property types under settings in the platform. Use the handle as object key like this: { "mySingleLineTextPropertyTypeHandle": "your value" }
Distribution of the case voucher. The sum of the distribution must be equal to the amount of the case voucher.
Response
Successful operation
Id of the case voucher