riverty logo

Docs

The Cost Object

The cost object contains all additional costs for the clients.

Attributes

Attributes Type Description
currency string This reflects all relevant currencies in ISO-4217.
remainingAmount number The outstanding principal claim that must be collected by the Debt Collection Agency. Positive amounts only.
originalAmount number The original amount of the principal claim. A positive amount indicates a claim against the debtor. Positive amounts only.
taxRate number The tax rate that was used.
date date The date when the cost occurred.
description string The description of the cost.
invoiceNumber string Client-assigned number for each invoice to which the costs are to be allocated. If the costs cannot be allocated to a specific invoice, the field can be left blank.
type enum This represents type of cost.

"costs": [
    {
      "currency": "EUR",
      "remainingAmount": 46.96,
      "originalAmount": 49.75,
      "taxRate": null,
      "date": "2022-12-12",
      "type": "CHARGEBACK",
      "description": "description",
      "invoiceNumber": "F7222245113"
    }
  ]