GET
/
v1
/
{tenantId}
/
case-vouchers
/
{caseId}
curl --request GET \
  --url https://api.debbiecollect.com/v1/{tenantId}/case-vouchers/{caseId} \
  --header 'Authorization: Bearer <token>'
[
  {
    "voucherTypeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "referenceId": "<string>",
    "currency": "DKK",
    "amount": 123,
    "date": "<string>",
    "dueDate": "<string>",
    "text": "<string>",
    "caseVoucherId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "id": 123,
    "tenantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "source": "CREDITOR",
    "interest": 123,
    "interestStartDate": "<string>",
    "interestEndDate": "<string>",
    "cardType": "<string>",
    "paymentType": "BANK_TRANSFER",
    "paymentMethodId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "appendix": {},
    "caseId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "tags": [
      "<any>"
    ],
    "createdAt": "<string>",
    "createdBy": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "type": "USER"
    },
    "transactionAccountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "referenceCaseVoucherId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "details": {},
    "lineItems": [
      "<any>"
    ],
    "state": "UNMAPPED",
    "category": "principal",
    "label": "<string>",
    "settings": "<string>",
    "settingDetails": {},
    "deletedAt": "<string>",
    "deletedBy": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "type": "USER"
    },
    "exported": true,
    "expirationDate": "<string>",
    "expired": true,
    "expirationManualSet": true,
    "expirationFromDate": "<string>",
    "irrecoverableDate": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Authentication can be done by using a bearer token in the Authorization header. This is done using the following format Authorization: Bearer {token}.

Path Parameters

tenantId
string
required

Id of the tenant

caseId
string
required

Case id

Query Parameters

pointInTime
string

Date (format YYYY-MM-DD.) to get the case vouchers for. Only case vouchers with caseVoucher.date before this date will be returned. Interests will be calculated based on the date.

Response

200
application/json

Successful operation

The response is of type object[].