Register a payment made directly to the creditor or a credit note against a list of existing case vouchers. Set voucherTypeId to deposit or credit note; other types are currently rejected. All created vouchers use source CREDITOR.
Each item in matches supplies a positive amount in minor units and exactly one of caseVoucherId and caseVoucherReferenceId. References must be unambiguous within the supplied creditorId. A target may appear only once, including when supplied by ID and reference in different items. Each amount must fit within the target’s remaining fixed-distribution capacity. All targets must have the same currency.
Matches are grouped by case. One allocation voucher is created per case with the sum of that case’s match amounts, and one fixed distribution per target on both accounts, using the allocation voucher date. No fixed distribution crosses cases. The response is an array of the created allocation vouchers and their targetCaseVouchers, including each matchedAmount.
One payment or credit note allocated across one or more case vouchers. All matches are validated and saved in one transaction. There is no separate total amount: each created voucher is the sum of its case's match amounts.
Allocations to existing debt vouchers belonging to the supplied creditor. Targets may belong to different cases, but must use the same currency. Amounts are summed per case to create one allocation voucher per case.
Minimum array length: 1
One target case voucher and the positive amount to apply to it in minor units. Give exactly one of caseVoucherId and caseVoucherReferenceId; the unused identifier may be absent or null. A target may only occur once, including when identified by both its ID and reference in separate matches.
Date of the payment or credit note: YYYY-MM-DD or an ISO 8601 timestamp with Z or a timezone offset (for example, 2026-09-21T12:34:56+02:00). Defaults to now. Invalid calendar dates and timestamps without a timezone are rejected.
Optional currency assertion. When omitted, the first target determines the currency. All targets must use that currency; mixed-currency requests are rejected.
Only targets on this case, with their allocated amounts.
Minimum array length: 1
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Debbie API Documentation","colors":{"primary":"#7568F6","light":"#07C983","dark":"#7865FF"},"logo":{"light":"https://mintcdn.com/debbie-bd9dd858/c4KJPAFU082ys87I/logo/light.svg?fit=max\u0026auto=format\u0026n=c4KJPAFU082ys87I\u0026q=85\u0026s=34f2a25b0f723cac3a39f7df9c9b9dda","dark":"https://mintcdn.com/debbie-bd9dd858/c4KJPAFU082ys87I/logo/dark.svg?fit=max\u0026auto=format\u0026n=c4KJPAFU082ys87I\u0026q=85\u0026s=d98b66e4e6eed1f8e6543a2cce7f2c3c"},"favicon":"https://mintcdn.com/debbie-bd9dd858/c4KJPAFU082ys87I/favicon.png?fit=max\u0026auto=format\u0026n=c4KJPAFU082ys87I\u0026q=85\u0026s=b00359cdd2e7b84f9413747385c3c094","navbar":{"links":[{"href":"mailto:api-support@debbie.dk","label":"API Support"}],"primary":{"type":"button","label":"Developer login","href":"https://app.debbiecollect.com/developers"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/debbie"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"API Status","icon":"chart-network","href":"https://debbie.checkly-status-page.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"debbie-bd9dd858","hasAudioNarration":false,"actualSubdomain":"debbie-bd9dd858","customDomains":["documentation.debbiecollect.com"],"gitSource":{"type":"github","owner":"debbie-platform","repo":"debbie","deployBranch":"master","contentDirectory":"documentation/public-api","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae0ad50d03bec028f0a57b1","collectionId":"cb01a054-1009-4387-8a77-2626444999ce","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae0ad50d03bec028f0a57b1"},"entitlements":{},"buildId":"6aeddb5d61234cac2657702c","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"API Reference","count":91},{"language":"default","tag":"Webhooks","count":37},{"language":"default","tag":"Customers","count":7},{"language":"default","tag":"Using the API","count":6},{"language":"default","tag":"Contacts","count":5},{"language":"default","tag":"Updates","count":5},{"language":"default","tag":"API Documentation","count":4},{"language":"default","tag":"Case groups","count":4},{"language":"default","tag":"Cases","count":4},{"language":"default","tag":"End reasons","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoints/case-vouchers/allocations","slug":"/api-reference/endpoints/case-vouchers/allocations","pageMetadata":{"title":"Register case voucher allocation","openapi":"POST /v1/{tenantId}/case-vouchers/allocations","description":"Register a payment made directly to the creditor or a credit note against a list of existing case vouchers. Set `voucherTypeId` to deposit or credit note; other types are currently rejected. All created vouchers use source `CREDITOR`.\n\nEach item in `matches` supplies a positive `amount` in minor units and exactly one of `caseVoucherId` and `caseVoucherReferenceId`. References must be unambiguous within the supplied `creditorId`. A target may appear only once, including when supplied by ID and reference in different items. Each amount must fit within the target's remaining fixed-distribution capacity. All targets must have the same currency.\n\nMatches are grouped by case. One allocation voucher is created per case with the sum of that case's match amounts, and one fixed distribution per target on both accounts, using the allocation voucher date. No fixed distribution crosses cases. The response is an array of the created allocation vouchers and their `targetCaseVouchers`, including each `matchedAmount`.\n\n**Required scope:** `write:case-vouchers`","href":"/api-reference/endpoints/case-vouchers/allocations"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Register a payment made directly to the creditor or a credit note against a list of existing case vouchers. Set \", _jsx(_components.code, {\n children: \"voucherTypeId\"\n }), \" to deposit or credit note; other types are currently rejected. All created vouchers use source \", _jsx(_components.code, {\n children: \"CREDITOR\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Each item in \", _jsx(_components.code, {\n children: \"matches\"\n }), \" supplies a positive \", _jsx(_components.code, {\n children: \"amount\"\n }), \" in minor units and exactly one of \", _jsx(_components.code, {\n children: \"caseVoucherId\"\n }), \" and \", _jsx(_components.code, {\n children: \"caseVoucherReferenceId\"\n }), \". References must be unambiguous within the supplied \", _jsx(_components.code, {\n children: \"creditorId\"\n }), \". A target may appear only once, including when supplied by ID and reference in different items. Each amount must fit within the target’s remaining fixed-distribution capacity. All targets must have the same currency.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Matches are grouped by case. One allocation voucher is created per case with the sum of that case’s match amounts, and one fixed distribution per target on both accounts, using the allocation voucher date. No fixed distribution crosses cases. The response is an array of the created allocation vouchers and their \", _jsx(_components.code, {\n children: \"targetCaseVouchers\"\n }), \", including each \", _jsx(_components.code, {\n children: \"matchedAmount\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Required scope:\"\n }), \" \", _jsx(_components.code, {\n children: \"write:case-vouchers\"\n })]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Register case voucher allocation","openapi":"POST /v1/{tenantId}/case-vouchers/allocations","description":"Register a payment made directly to the creditor or a credit note against a list of existing case vouchers. Set `voucherTypeId` to deposit or credit note; other types are currently rejected. All created vouchers use source `CREDITOR`.\n\nEach item in `matches` supplies a positive `amount` in minor units and exactly one of `caseVoucherId` and `caseVoucherReferenceId`. References must be unambiguous within the supplied `creditorId`. A target may appear only once, including when supplied by ID and reference in different items. Each amount must fit within the target's remaining fixed-distribution capacity. All targets must have the same currency.\n\nMatches are grouped by case. One allocation voucher is created per case with the sum of that case's match amounts, and one fixed distribution per target on both accounts, using the allocation voucher date. No fixed distribution crosses cases. The response is an array of the created allocation vouchers and their `targetCaseVouchers`, including each `matchedAmount`.\n\n**Required scope:** `write:case-vouchers`","href":"/api-reference/endpoints/case-vouchers/allocations"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Case voucher allocations"],"summary":"Register case voucher allocation","description":"Register a payment made directly to the creditor or a credit note against a list of existing case vouchers. Set `voucherTypeId` to deposit or credit note; other types are currently rejected. All created vouchers use source `CREDITOR`.\n\nEach item in `matches` supplies a positive `amount` in minor units and exactly one of `caseVoucherId` and `caseVoucherReferenceId`. References must be unambiguous within the supplied `creditorId`. A target may appear only once, including when supplied by ID and reference in different items. Each amount must fit within the target's remaining fixed-distribution capacity. All targets must have the same currency.\n\nMatches are grouped by case. One allocation voucher is created per case with the sum of that case's match amounts, and one fixed distribution per target on both accounts, using the allocation voucher date. No fixed distribution crosses cases. The response is an array of the created allocation vouchers and their `targetCaseVouchers`, including each `matchedAmount`.\n\n**Required scope:** `write:case-vouchers`","operationId":"create-case-voucher-allocation","parameters":["28cb6eed-6766-46a2-8cca-8211a8885944","e8bea6f3-1cdd-49ab-8f8a-a004449ac06c"],"requestBody":"d4a87657-31bd-4cf0-a4fd-ded8126c9cfd","responses":{"201":"bdc3bef3-7b9f-417a-9d82-21dc33de2db4","400":"57f5a7b0-7e66-46bb-8028-029fa5213927","401":"93286844-f696-48ed-b566-3700eacb841f","404":"559c0789-1eda-4291-b565-867239c349a2","422":"a5098567-d51d-44ca-94e1-7fb4e09450e7"},"method":"post","type":"path","servers":["9aa655e3-f94d-473f-9d18-2393d0b5cc35"],"security":["53774ad5-a02f-4629-8013-0f5e9453d013"],"path":"/v1/{tenantId}/case-vouchers/allocations","baseUrlOptions":["https://api.debbiecollect.com"],"title":"Register case voucher allocation","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"28cb6eed-6766-46a2-8cca-8211a8885944":{"in":"path","name":"tenantId","schema":{"type":"string","format":"uuid","isRequired":true,"description":"Id of the tenant","uniqueKey":"","typeLabel":"string\u003cuuid>"},"required":true,"description":"Id of the tenant"},"e8bea6f3-1cdd-49ab-8f8a-a004449ac06c":{"in":"query","name":"creditorId","schema":{"type":"string","format":"uuid","isRequired":true,"description":"Id of the creditor the case voucher belongs to","uniqueKey":"","typeLabel":"string\u003cuuid>"},"required":true,"description":"Id of the creditor the case voucher belongs to"}},"requestBody":{"description":"The creditor allocation","content":{"application/json":{"schema":{"type":"object","properties":{"voucherTypeId":{"type":"string","format":"uuid","enum":["c51f2f6a-8081-45ef-b52d-5e0569fdf12e","ef2cdc50-230f-4046-b1af-0f9c498dddd3"],"description":"Type of the new allocation voucher: deposit (c51f2f6a-8081-45ef-b52d-5e0569fdf12e) or credit note (ef2cdc50-230f-4046-b1af-0f9c498dddd3).","isRequired":true,"uniqueKey":"voucherTypeId","typeLabel":"enum\u003cstring>"},"matches":{"type":"array","minItems":1,"items":{"oneOf":[{"type":"object","description":"One target case voucher and the positive amount to apply to it in minor units. Give exactly one of caseVoucherId and caseVoucherReferenceId; the unused identifier may be absent or null. A target may only occur once, including when identified by both its ID and reference in separate matches.","required":["amount","caseVoucherId"],"properties":{"caseVoucherId":{"type":"string","description":"Debbie's id of the case voucher being settled, as returned when the voucher was created. It must belong to the creditor. Give either this or `caseVoucherReferenceId`, not both.","format":"uuid","isRequired":true,"uniqueKey":"matches.items.[INDEX].oneOf.0.caseVoucherId","typeLabel":"string\u003cuuid>"},"amount":{"type":"integer","description":"Positive amount in minor units, for either type. 200.00 is sent as 20000. Cannot exceed the target capacity remaining after existing fixed distributions.","minimum":1,"isRequired":true,"uniqueKey":"matches.items.[INDEX].oneOf.0.amount","typeLabel":"integer"},"caseVoucherReferenceId":{"type":"null","description":"The creditor's reference for the case voucher being settled — normally the invoice number. It is looked up within the creditor given in `creditorId`, and must match exactly one case voucher. Give either this or `caseVoucherId`, not both.","minLength":1,"uniqueKey":"matches.items.[INDEX].oneOf.0.caseVoucherReferenceId","typeLabel":"null"}},"uniqueKey":"matches.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"One target case voucher and the positive amount to apply to it in minor units. Give exactly one of caseVoucherId and caseVoucherReferenceId; the unused identifier may be absent or null. A target may only occur once, including when identified by both its ID and reference in separate matches.","required":["amount","caseVoucherReferenceId"],"properties":{"caseVoucherReferenceId":{"type":"string","description":"The creditor's reference for the case voucher being settled — normally the invoice number. It is looked up within the creditor given in `creditorId`, and must match exactly one case voucher. Give either this or `caseVoucherId`, not both.","minLength":1,"isRequired":true,"uniqueKey":"matches.items.[INDEX].oneOf.1.caseVoucherReferenceId","typeLabel":"string"},"amount":{"type":"integer","description":"Positive amount in minor units, for either type. 200.00 is sent as 20000. Cannot exceed the target capacity remaining after existing fixed distributions.","minimum":1,"isRequired":true,"uniqueKey":"matches.items.[INDEX].oneOf.1.amount","typeLabel":"integer"},"caseVoucherId":{"type":"null","description":"Debbie's id of the case voucher being settled, as returned when the voucher was created. It must belong to the creditor. Give either this or `caseVoucherReferenceId`, not both.","format":"uuid","uniqueKey":"matches.items.[INDEX].oneOf.1.caseVoucherId","typeLabel":"null"}},"uniqueKey":"matches.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"matches.items.[INDEX]","typeLabel":"object"},"description":"Allocations to existing debt vouchers belonging to the supplied creditor. Targets may belong to different cases, but must use the same currency. Amounts are summed per case to create one allocation voucher per case.","isRequired":true,"uniqueKey":"matches","typeLabel":"object[]"},"date":{"oneOf":[{"type":"string","description":"Date of the payment or credit note: YYYY-MM-DD or an ISO 8601 timestamp with Z or a timezone offset (for example, 2026-09-21T12:34:56+02:00). Defaults to now. Invalid calendar dates and timestamps without a timezone are rejected.","format":"date","uniqueKey":"date.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"string","description":"Date of the payment or credit note: YYYY-MM-DD or an ISO 8601 timestamp with Z or a timezone offset (for example, 2026-09-21T12:34:56+02:00). Defaults to now. Invalid calendar dates and timestamps without a timezone are rejected.","format":"date-time","uniqueKey":"date.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"date","typeLabel":"string\u003cdate> | string\u003cdate-time>"},"currency":{"type":"string","enum":["DKK","SEK","NOK","USD","EUR","GBP","CHF"],"description":"Optional currency assertion. When omitted, the first target determines the currency. All targets must use that currency; mixed-currency requests are rejected.","examples":["DKK"],"uniqueKey":"currency","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"Free text shown on the created allocation voucher.","uniqueKey":"text","typeLabel":"string"}},"required":["voucherTypeId","matches"],"description":"One payment or credit note allocated across one or more case vouchers. All matches are validated and saved in one transaction. There is no separate total amount: each created voucher is the sum of its case's match amounts.","uniqueKey":"","typeLabel":"object"},"examples":{"payment":{"title":"payment","value":{"voucherTypeId":"c51f2f6a-8081-45ef-b52d-5e0569fdf12e","date":"2026-06-04","currency":"DKK","matches":[{"caseVoucherReferenceId":"D12412347","amount":100000},{"caseVoucherReferenceId":"D12412348","amount":20000},{"caseVoucherId":"d341b682-c7b2-48b4-9152-17c3b4085089","amount":30000}]}},"credit-note":{"title":"credit-note","value":{"voucherTypeId":"ef2cdc50-230f-4046-b1af-0f9c498dddd3","date":"2026-06-04","currency":"DKK","text":"Credit note for returned goods","matches":[{"caseVoucherReferenceId":"D12412347","amount":20000}]}}},"exampleType":"examples"}},"required":true,"exampleType":"examples"},"responses":{"bdc3bef3-7b9f-417a-9d82-21dc33de2db4":{"description":"All allocations were registered. Returns one allocation voucher per case.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"caseId":{"type":"string","format":"uuid","description":"Id of the case the allocation was registered on","isRequired":true,"uniqueKey":"items.[INDEX].caseId","typeLabel":"string\u003cuuid>"},"caseVoucherId":{"type":"string","format":"uuid","description":"Id of the created payment or credit note voucher","isRequired":true,"uniqueKey":"items.[INDEX].caseVoucherId","typeLabel":"string\u003cuuid>"},"amount":{"type":"integer","description":"Sum of the matchedAmount values on this case, in minor units.","isRequired":true,"uniqueKey":"items.[INDEX].amount","typeLabel":"integer"},"currency":{"type":"string","enum":["DKK","SEK","NOK","USD","EUR","GBP","CHF"],"description":"Currency","examples":["DKK"],"isRequired":true,"uniqueKey":"items.[INDEX].currency","typeLabel":"enum\u003cstring>"},"date":{"type":"string","isRequired":true,"uniqueKey":"items.[INDEX].date","typeLabel":"string"},"voucherTypeId":{"type":"string","format":"uuid","enum":["c51f2f6a-8081-45ef-b52d-5e0569fdf12e","ef2cdc50-230f-4046-b1af-0f9c498dddd3"],"description":"Type of the new allocation voucher: deposit (c51f2f6a-8081-45ef-b52d-5e0569fdf12e) or credit note (ef2cdc50-230f-4046-b1af-0f9c498dddd3).","isRequired":true,"uniqueKey":"items.[INDEX].voucherTypeId","typeLabel":"enum\u003cstring>"},"targetCaseVouchers":{"type":"array","minItems":1,"items":{"type":"object","description":"A debt voucher matched by the created allocation voucher.","properties":{"caseVoucherId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"items.[INDEX].targetCaseVouchers.items.[INDEX].caseVoucherId","typeLabel":"string\u003cuuid>"},"referenceId":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"items.[INDEX].targetCaseVouchers.items.[INDEX].referenceId.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"items.[INDEX].targetCaseVouchers.items.[INDEX].referenceId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"items.[INDEX].targetCaseVouchers.items.[INDEX].referenceId","typeLabel":"string | null"},"amount":{"type":"integer","description":"The full amount of the voucher, negative because it is a debt","isRequired":true,"uniqueKey":"items.[INDEX].targetCaseVouchers.items.[INDEX].amount","typeLabel":"integer"},"matchedAmount":{"type":"integer","minimum":1,"description":"Amount applied to this target in minor units, as requested in matches. The separate amount field is the full original debt amount.","isRequired":true,"uniqueKey":"items.[INDEX].targetCaseVouchers.items.[INDEX].matchedAmount","typeLabel":"integer"}},"required":["caseVoucherId","referenceId","amount","matchedAmount"],"uniqueKey":"items.[INDEX].targetCaseVouchers.items.[INDEX]","typeLabel":"object"},"description":"Only targets on this case, with their allocated amounts.","isRequired":true,"uniqueKey":"items.[INDEX].targetCaseVouchers","typeLabel":"object[]"}},"description":"One created allocation voucher on one case. The endpoint returns an array with one item per matched case, ordered by the first occurrence of each case in matches.","required":["caseId","caseVoucherId","amount","currency","date","voucherTypeId","targetCaseVouchers"],"uniqueKey":"items.[INDEX]","typeLabel":"object"},"uniqueKey":"","typeLabel":"object[]"},"example":[{"caseId":"3f1c2d4e-5a6b-4c8d-9e0f-1a2b3c4d5e6f","caseVoucherId":"1a2b3c4d-5e6f-4a8b-9c0d-1e2f3a4b5c6d","amount":120000,"currency":"DKK","date":"2026-06-04T00:00:00.000Z","voucherTypeId":"c51f2f6a-8081-45ef-b52d-5e0569fdf12e","targetCaseVouchers":[{"caseVoucherId":"7a8b9c0d-1e2f-4a4b-8c6d-7e8f9a0b1c2d","referenceId":"D12412347","amount":-120000,"matchedAmount":100000},{"caseVoucherId":"426148d2-204a-414b-8c76-cab1261c9b98","referenceId":"D12412348","amount":-20000,"matchedAmount":20000}]},{"caseId":"92dd77da-9098-41f0-9568-01e8e5f8b603","caseVoucherId":"0ba4a63e-e4c5-4aae-8ab7-0d3d6e0c89ad","amount":30000,"currency":"DKK","date":"2026-06-04T00:00:00.000Z","voucherTypeId":"c51f2f6a-8081-45ef-b52d-5e0569fdf12e","targetCaseVouchers":[{"caseVoucherId":"d341b682-c7b2-48b4-9152-17c3b4085089","referenceId":"D12412349","amount":-30000,"matchedAmount":30000}]}],"examples":{"Example":{"title":"Example","value":[{"caseId":"3f1c2d4e-5a6b-4c8d-9e0f-1a2b3c4d5e6f","caseVoucherId":"1a2b3c4d-5e6f-4a8b-9c0d-1e2f3a4b5c6d","amount":120000,"currency":"DKK","date":"2026-06-04T00:00:00.000Z","voucherTypeId":"c51f2f6a-8081-45ef-b52d-5e0569fdf12e","targetCaseVouchers":[{"caseVoucherId":"7a8b9c0d-1e2f-4a4b-8c6d-7e8f9a0b1c2d","referenceId":"D12412347","amount":-120000,"matchedAmount":100000},{"caseVoucherId":"426148d2-204a-414b-8c76-cab1261c9b98","referenceId":"D12412348","amount":-20000,"matchedAmount":20000}]},{"caseId":"92dd77da-9098-41f0-9568-01e8e5f8b603","caseVoucherId":"0ba4a63e-e4c5-4aae-8ab7-0d3d6e0c89ad","amount":30000,"currency":"DKK","date":"2026-06-04T00:00:00.000Z","voucherTypeId":"c51f2f6a-8081-45ef-b52d-5e0569fdf12e","targetCaseVouchers":[{"caseVoucherId":"d341b682-c7b2-48b4-9152-17c3b4085089","referenceId":"D12412349","amount":-30000,"matchedAmount":30000}]}]}},"exampleType":"examples"}},"exampleType":"examples"},"57f5a7b0-7e66-46bb-8028-029fa5213927":{"description":"The allocation cannot be placed on the referenced case voucher. `message` says why:\n\n- `Reference id … matches more than one case voucher, so the allocation cannot be placed` — send `caseVoucherId` instead.\n- `Allocation is in … but case voucher … is in …` — the `currency` sent does not match the voucher's.\n- `Case voucher … is expired and can no longer be settled`.\n- `Case voucher … is not a debt` — the voucher is a payment or a credit note, not an invoice or a fee.\n- `Amount … exceeds the … still outstanding on case voucher …` — the amount is more than what is left on the voucher, counting fixed distributions already registered against it.\n- `Each case voucher may only appear once in matches` — remove duplicate targets, including ID/reference aliases.\n\nCurrency checks apply across the entire request. Any invalid match rejects the whole request; no vouchers are committed.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"93286844-f696-48ed-b566-3700eacb841f":{"description":"Access token missing or invalid","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"559c0789-1eda-4291-b565-867239c349a2":{"description":"No case voucher matched: `No case voucher found with id …` or `No case voucher found with reference id …`. The voucher does not exist within the creditor's creditor, has been deleted, or is not on a case yet. A missing target rejects the whole request.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"a5098567-d51d-44ca-94e1-7fb4e09450e7":{"description":"Unable to process the contained instructions.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"53774ad5-a02f-4629-8013-0f5e9453d013":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Authentication can be done by using a bearer token in the Authorization header. This is done using the following format `Authorization: Bearer {token}`.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"9aa655e3-f94d-473f-9d18-2393d0b5cc35":{"url":"https://api.debbiecollect.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Authentication can be done by using a bearer token in the Authorization header. This is done using the following format `Authorization: Bearer {token}`.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Authentication can be done by using a bearer token in the Authorization header. This is done using the following format `Authorization: Bearer {token}`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"debbie-bd9dd858","siteName":"Debbie API Documentation","title":"Register case voucher allocation - Debbie API Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-23T10:51:13.457Z","originalFileLocation":"api-reference/endpoints/case-vouchers/allocations.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Register a payment made directly to the creditor or a credit note against a list of existing case vouchers. Set voucherTypeId to deposit or credit note; other types are currently rejected. All created vouchers use source CREDITOR. Each item in matches supplies a positive amount in minor units and exactly one of caseVoucherId and caseVoucherReferenceId. References must be unambiguous within the supplied creditorId. A target may appear only once, including when supplied by ID and reference in different items. Each amount must fit within the target\u0026#x27;s remaining fixed-distribution capacity. All targets must have the same currency. Matches are grouped by case. One allocation voucher is created per case with the sum of that case\u0026#x27;s match amounts, and one fixed distribution per target on both accounts, using the allocation voucher date. No fixed distribution crosses cases. The response is an array of the created allocation vouchers and their targetCaseVouchers, including each matchedAmount. Required scope: write:case-vouchers\">\u003cmeta data-mint-head name=\"application-name\" content=\"Debbie API Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/debbie-bd9dd858/3I-wXo3P_fRaHJhV/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/debbie-bd9dd858/3I-wXo3P_fRaHJhV/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/debbie-bd9dd858/3I-wXo3P_fRaHJhV/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/debbie-bd9dd858/3I-wXo3P_fRaHJhV/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/debbie-bd9dd858/3I-wXo3P_fRaHJhV/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/debbie-bd9dd858/3I-wXo3P_fRaHJhV/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/debbie-bd9dd858/3I-wXo3P_fRaHJhV/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/debbie-bd9dd858/3I-wXo3P_fRaHJhV/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/debbie-bd9dd858/3I-wXo3P_fRaHJhV/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Register case voucher allocation - Debbie API Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Register a payment made directly to the creditor or a credit note against a list of existing case vouchers. Set voucherTypeId to deposit or credit note; other types are currently rejected. All created vouchers use source CREDITOR. Each item in matches supplies a positive amount in minor units and exactly one of caseVoucherId and caseVoucherReferenceId. References must be unambiguous within the supplied creditorId. A target may appear only once, including when supplied by ID and reference in different items. Each amount must fit within the target\u0026#x27;s remaining fixed-distribution capacity. All targets must have the same currency. Matches are grouped by case. One allocation voucher is created per case with the sum of that case\u0026#x27;s match amounts, and one fixed distribution per target on both accounts, using the allocation voucher date. No fixed distribution crosses cases. The response is an array of the created allocation vouchers and their targetCaseVouchers, including each matchedAmount. Required scope: write:case-vouchers\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Debbie API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://documentation.debbiecollect.com/api-reference/endpoints/case-vouchers/allocations\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://debbie-bd9dd858.mintlify.site/_mintlify/api/og/v2?division=Case+voucher+allocations\u0026amp;title=Register+case+voucher+allocation\u0026amp;description=Register+a+payment+made+directly+to+the+creditor+or+a+credit+note+against+a+list+of+existing+case+vouchers.+Set+%60voucherTypeId%60+to+deposit+or+credit+note%3B+other\u0026amp;theme=568c15aea0b469fea9c832af\u0026amp;signature=534de504b15d246482f7917303cf7b9870e02ae16814d0f3eb4d5f01f57a47f5\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Register case voucher allocation - Debbie API Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Register a payment made directly to the creditor or a credit note against a list of existing case vouchers. Set voucherTypeId to deposit or credit note; other types are currently rejected. All created vouchers use source CREDITOR. Each item in matches supplies a positive amount in minor units and exactly one of caseVoucherId and caseVoucherReferenceId. References must be unambiguous within the supplied creditorId. A target may appear only once, including when supplied by ID and reference in different items. Each amount must fit within the target\u0026#x27;s remaining fixed-distribution capacity. All targets must have the same currency. Matches are grouped by case. One allocation voucher is created per case with the sum of that case\u0026#x27;s match amounts, and one fixed distribution per target on both accounts, using the allocation voucher date. No fixed distribution crosses cases. The response is an array of the created allocation vouchers and their targetCaseVouchers, including each matchedAmount. Required scope: write:case-vouchers\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://debbie-bd9dd858.mintlify.site/_mintlify/api/og/v2?division=Case+voucher+allocations\u0026amp;title=Register+case+voucher+allocation\u0026amp;description=Register+a+payment+made+directly+to+the+creditor+or+a+credit+note+against+a+list+of+existing+case+vouchers.+Set+%60voucherTypeId%60+to+deposit+or+credit+note%3B+other\u0026amp;theme=568c15aea0b469fea9c832af\u0026amp;signature=534de504b15d246482f7917303cf7b9870e02ae16814d0f3eb4d5f01f57a47f5\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/debbie-bd9dd858/3I-wXo3P_fRaHJhV/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Debbie API Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7568F6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://documentation.debbiecollect.com/api-reference/endpoints/case-vouchers/allocations\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoints/case-vouchers/allocations.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://documentation.debbiecollect.com/#organization\",\"name\":\"Debbie API Documentation\",\"url\":\"https://documentation.debbiecollect.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/debbie-bd9dd858/c4KJPAFU082ys87I/logo/light.svg?fit=max\u0026auto=format\u0026n=c4KJPAFU082ys87I\u0026q=85\u0026s=34f2a25b0f723cac3a39f7df9c9b9dda\"}},{\"@type\":\"WebSite\",\"@id\":\"https://documentation.debbiecollect.com#website\",\"name\":\"Debbie API Documentation\",\"url\":\"https://documentation.debbiecollect.com\",\"publisher\":{\"@id\":\"https://documentation.debbiecollect.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://documentation.debbiecollect.com/api-reference/endpoints/case-vouchers/allocations#webpage\",\"url\":\"https://documentation.debbiecollect.com/api-reference/endpoints/case-vouchers/allocations\",\"name\":\"Register case voucher allocation\",\"description\":\"Register a payment made directly to the creditor or a credit note against a list of existing case vouchers. Set voucherTypeId to deposit or credit note; other types are currently rejected. All created vouchers use source CREDITOR. Each item in matches supplies a positive amount in minor units and exactly one of caseVoucherId and caseVoucherReferenceId. References must be unambiguous within the supplied creditorId. A target may appear only once, including when supplied by ID and reference in different items. Each amount must fit within the target's remaining fixed-distribution capacity. All targets must have the same currency. Matches are grouped by case. One allocation voucher is created per case with the sum of that case's match amounts, and one fixed distribution per target on both accounts, using the allocation voucher date. No fixed distribution crosses cases. The response is an array of the created allocation vouchers and their targetCaseVouchers, including each matchedAmount. Required scope: write:case-vouchers\",\"dateModified\":\"2026-09-23T10:51:13.457Z\",\"isPartOf\":{\"@id\":\"https://documentation.debbiecollect.com#website\"},\"breadcrumb\":{\"@id\":\"https://documentation.debbiecollect.com/api-reference/endpoints/case-vouchers/allocations#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://documentation.debbiecollect.com/api-reference/endpoints/case-vouchers/allocations#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Debbie API Documentation\",\"item\":\"https://documentation.debbiecollect.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Register case voucher allocation\",\"item\":\"https://documentation.debbiecollect.com/api-reference/endpoints/case-vouchers/allocations\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://documentation.debbiecollect.com/api-reference/endpoints/case-vouchers/allocations#apireference\",\"headline\":\"Register case voucher allocation\",\"name\":\"Register case voucher allocation\",\"description\":\"Register a payment made directly to the creditor or a credit note against a list of existing case vouchers. Set voucherTypeId to deposit or credit note; other types are currently rejected. All created vouchers use source CREDITOR. Each item in matches supplies a positive amount in minor units and exactly one of caseVoucherId and caseVoucherReferenceId. References must be unambiguous within the supplied creditorId. A target may appear only once, including when supplied by ID and reference in different items. Each amount must fit within the target's remaining fixed-distribution capacity. All targets must have the same currency. Matches are grouped by case. One allocation voucher is created per case with the sum of that case's match amounts, and one fixed distribution per target on both accounts, using the allocation voucher date. No fixed distribution crosses cases. The response is an array of the created allocation vouchers and their targetCaseVouchers, including each matchedAmount. Required scope: write:case-vouchers\",\"url\":\"https://documentation.debbiecollect.com/api-reference/endpoints/case-vouchers/allocations\",\"mainEntityOfPage\":{\"@id\":\"https://documentation.debbiecollect.com/api-reference/endpoints/case-vouchers/allocations#webpage\"},\"dateModified\":\"2026-09-23T10:51:13.457Z\",\"publisher\":{\"@id\":\"https://documentation.debbiecollect.com/#organization\"},\"isPartOf\":{\"@id\":\"https://documentation.debbiecollect.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Debbie API Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Debbie API Documentation","nav":{"global":{"anchors":[{"anchor":"API Status","icon":"chart-network","href":"https://debbie.checkly-status-page.com"}]},"tabs":[{"tab":"Using the API","pages":[{"title":"Using the API","href":""}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Pagination","href":"/api-reference/pagination"},{"title":"Idempotency","href":"/api-reference/idempotency"}]},{"group":"Creditors","pages":[{"title":"Create creditor","openapi":"POST /v1/{tenantId}/creditors","href":"/api-reference/endpoints/creditors/create"},{"title":"Get creditor","openapi":"GET /v1/{tenantId}/creditors/{creditorId}","href":"/api-reference/endpoints/creditors/get"},{"title":"Patch creditor","openapi":"PATCH /v1/{tenantId}/creditors/{creditorId}","href":"/api-reference/endpoints/creditors/patch"}]},{"group":"Customers","pages":[{"title":"Create customer","openapi":"POST /v1/{tenantId}/customers","href":"/api-reference/endpoints/customers/create"},{"title":"Get customer id","openapi":"GET /v1/{tenantId}/customers/{id}","href":"/api-reference/endpoints/customers/get"},{"title":"Get customer by reference id","openapi":"GET /v1/{tenantId}/customers/by-reference-id/{referenceId}","href":"/api-reference/endpoints/customers/get-by-reference"},{"title":"Delete customer","openapi":"DELETE /v1/{tenantId}/customers/{id}","href":"/api-reference/endpoints/customers/delete"},{"title":"Add case vouchers","openapi":"POST /v1/{tenantId}/customers/{customerId}/add-case-vouchers","href":"/api-reference/endpoints/customers/add-case-vouchers"},{"title":"Add user on customer","openapi":"POST /v1/{tenantId}/customers/{customerId}/users","href":"/api-reference/endpoints/customers/add-user-on-customer"},{"title":"Patch user on customer","openapi":"PATCH /v1/{tenantId}/customers/{customerId}/users/{userId}","href":"/api-reference/endpoints/customers/patch-user-on-customer"}]},{"group":"Cases","pages":[{"title":"Create case","openapi":"POST /v1/{tenantId}/cases","href":"/api-reference/endpoints/cases/create"},{"title":"Get case","openapi":"GET /v1/{tenantId}/cases/{id}","href":"/api-reference/endpoints/cases/get"},{"title":"Get cases","openapi":"GET /v1/{tenantId}/cases","href":"/api-reference/endpoints/cases/get-list"},{"title":"Patch case","openapi":"PATCH /v1/{tenantId}/cases/{id}","href":"/api-reference/endpoints/cases/patch"}]},{"group":"Case groups","pages":[{"title":"Get case groups","openapi":"GET /v1/{tenantId}/case-groups","href":"/api-reference/endpoints/case-groups/get-list"},{"title":"Create case group","openapi":"POST /v1/{tenantId}/case-groups","href":"/api-reference/endpoints/case-groups/create"},{"title":"Update case group","openapi":"PATCH /v1/{tenantId}/case-groups/{caseGroupId}","href":"/api-reference/endpoints/case-groups/update"},{"title":"Delete case group","openapi":"DELETE /v1/{tenantId}/case-groups/{caseGroupId}","href":"/api-reference/endpoints/case-groups/delete"}]},{"group":"Case vouchers","pages":[{"title":"Add case voucher","openapi":"POST /v1/{tenantId}/case-vouchers/{id}","href":"/api-reference/endpoints/case-vouchers/create"},{"title":"Get case vouchers","openapi":"GET /v1/{tenantId}/case-vouchers","href":"/api-reference/endpoints/case-vouchers/get-list"},{"title":"Get case voucher","openapi":"GET /v1/{tenantId}/case-vouchers/{id}","href":"/api-reference/endpoints/case-vouchers/get"}]},{"group":"Payment plans","pages":[{"title":"Get payment plans","openapi":"GET /v1/{tenantId}/payment-plans","href":"/api-reference/endpoints/payment-plans/get-list"},{"title":"Get payment plan","openapi":"GET /v1/{tenantId}/payment-plans/{paymentPlanId}","href":"/api-reference/endpoints/payment-plans/get"}]},{"group":"Interactions","pages":[{"title":"Create interaction","openapi":"POST /v1/{tenantId}/interactions","description":"Create an interaction on a case. Use this to register an incoming message from a debtor or another party, for example a submitted contact form.\n\n**Required scope:** `write:interactions.create`","href":"/api-reference/endpoints/interactions/create"}]},{"group":"Case voucher allocations","pages":[{"title":"Register case voucher allocation","openapi":"POST /v1/{tenantId}/case-vouchers/allocations","href":"/api-reference/endpoints/case-vouchers/allocations"}]},{"group":"Billing","pages":[{"title":"Get deposit distribution","openapi":"GET /v1/{tenantId}/billings/{billingId}/deposit-distribution","description":"Get deposit distribution in a billing.\n\n**Required scope:** `read:billings`","href":"/api-reference/endpoints/billing/get"},{"title":"Get billing vouchers","openapi":"GET /v1/{tenantId}/billings/{billingId}/billing-vouchers","href":"/api-reference/endpoints/billing/get-billing-vouchers"}]},{"group":"Transaction accounts","pages":[{"title":"Get transaction accounts","openapi":"GET /v1/{tenantId}/transaction-accounts","href":"/api-reference/endpoints/transaction-accounts/get"},{"title":"Create transaction account","openapi":"POST /v1/{tenantId}/transaction-accounts","href":"/api-reference/endpoints/transaction-accounts/create"},{"title":"Patch transaction account","openapi":"PATCH /v1/{tenantId}/transaction-accounts/{id}","href":"/api-reference/endpoints/transaction-accounts/patch"},{"title":"Delete transaction account","openapi":"DELETE /v1/{tenantId}/transaction-accounts/{id}","href":"/api-reference/endpoints/transaction-accounts/delete"}]},{"group":"Voucher types","pages":[{"title":"Get voucher types","openapi":"GET /v1/{tenantId}/voucher-types","href":"/api-reference/endpoints/voucher-types/get"}]},{"group":"Contacts","pages":[{"title":"Get contacts","openapi":"GET /v1/{tenantId}/contacts","href":"/api-reference/endpoints/contacts/get-list"},{"title":"Get contact","openapi":"GET /v1/{tenantId}/contacts/{contactId}","href":"/api-reference/endpoints/contacts/get"},{"title":"Create contact","openapi":"POST /v1/{tenantId}/contacts","href":"/api-reference/endpoints/contacts/create"},{"title":"Update contact","openapi":"PATCH /v1/{tenantId}/contacts/{contactId}","href":"/api-reference/endpoints/contacts/update"},{"title":"Delete contact","openapi":"DELETE /v1/{tenantId}/contacts/{contactId}","href":"/api-reference/endpoints/contacts/delete"}]},{"group":"End reasons","pages":[{"title":"Get end reasons","openapi":"GET /v1/{tenantId}/end-reasons","href":"/api-reference/endpoints/end-reasons/get-list"},{"title":"Create end reason","openapi":"POST /v1/{tenantId}/end-reasons","href":"/api-reference/endpoints/end-reasons/create"},{"title":"Update end reason","openapi":"PATCH /v1/{tenantId}/end-reasons/{endReasonId}","href":"/api-reference/endpoints/end-reasons/update"},{"title":"Delete end reason","openapi":"DELETE /v1/{tenantId}/end-reasons/{endReasonId}","href":"/api-reference/endpoints/end-reasons/delete"}]},{"group":"Updates","pages":[{"title":"Get update types","openapi":"GET /v1/{tenantId}/updates/types","href":"/api-reference/endpoints/updates/get-types"},{"title":"Get updates","openapi":"GET /v1/{tenantId}/updates","href":"/api-reference/endpoints/updates/get-list"},{"title":"Get update","openapi":"GET /v1/{tenantId}/updates/{updateId}","href":"/api-reference/endpoints/updates/get"},{"title":"Create update","openapi":"POST /v1/{tenantId}/updates","href":"/api-reference/endpoints/updates/create"},{"title":"Patch update","openapi":"PATCH /v1/{tenantId}/updates/{updateId}","href":"/api-reference/endpoints/updates/patch"}]},{"group":"Properties","pages":[{"title":"Get properties","openapi":"GET /v1/{tenantId}/properties/{refType}/{refId}","href":"/api-reference/endpoints/properties/get"}]},{"group":"Files","pages":[{"title":"Create file","openapi":"POST /v1/{tenantId}/files","href":"/api-reference/endpoints/files/create"},{"title":"Get file","openapi":"GET /v1/{tenantId}/files/{fileId}/{fileName}","href":"/api-reference/endpoints/files/get"}]},{"group":"Documents","pages":[{"title":"Add document","openapi":"POST /v1/{tenantId}/documents","href":"/api-reference/endpoints/documents/create"}]},{"group":"Webhooks","pages":[{"title":"Create webhook","openapi":"POST /v1/{tenantId}/webhooks","href":"/api-reference/endpoints/webhooks/create"},{"title":"Get webhooks","openapi":"GET /v1/{tenantId}/webhooks","href":"/api-reference/endpoints/webhooks/get-list"},{"title":"Get webhook","openapi":"GET /v1/{tenantId}/webhooks/{webhookId}","href":"/api-reference/endpoints/webhooks/get"},{"title":"Delete webhook","openapi":"DELETE /v1/{tenantId}/webhooks/{webhookId}","href":"/api-reference/endpoints/webhooks/delete"},{"title":"Get webhook items","openapi":"GET /v1/{tenantId}/webhooks/items","href":"/api-reference/endpoints/webhooks/get-items"},{"title":"Patch webhook item","openapi":"PATCH /v1/{tenantId}/webhooks/items/{itemId}","href":"/api-reference/endpoints/webhooks/patch-item"},{"title":"Update created","openapi":"webhook updates.create","href":"/api-reference/webhooks/updates.create"},{"title":"Update updated","openapi":"webhook updates.update","href":"/api-reference/webhooks/updates.update"},{"title":"Update deleted","openapi":"webhook updates.delete","href":"/api-reference/webhooks/updates.delete"},{"title":"Creditor created","openapi":"webhook creditors.create","href":"/api-reference/webhooks/creditors.create"},{"title":"Creditor updated","openapi":"webhook creditors.update","href":"/api-reference/webhooks/creditors.update"},{"title":"Case voucher created","openapi":"webhook case-vouchers.create","href":"/api-reference/webhooks/case-vouchers.create"},{"title":"Case voucher updated","openapi":"webhook case-vouchers.update","href":"/api-reference/webhooks/case-vouchers.update"},{"title":"Case voucher deleted","openapi":"webhook case-vouchers.delete","href":"/api-reference/webhooks/case-vouchers.delete"},{"title":"Deposit created","openapi":"webhook deposits.created","href":"/api-reference/webhooks/deposits.created"},{"title":"Deposit booked","openapi":"webhook deposits.booked","href":"/api-reference/webhooks/deposits.booked"},{"title":"Deposit moved","openapi":"webhook deposits.moved","href":"/api-reference/webhooks/deposits.moved"},{"title":"Deposit unbooked","openapi":"webhook deposits.unbooked","href":"/api-reference/webhooks/deposits.unbooked"},{"title":"Deposit deleted","openapi":"webhook deposits.deleted","href":"/api-reference/webhooks/deposits.deleted"},{"title":"Deposit restored","openapi":"webhook deposits.restored","href":"/api-reference/webhooks/deposits.restored"},{"title":"Payment plan created","openapi":"webhook payment-plans.create","href":"/api-reference/webhooks/payment-plans.create"},{"title":"Payment plan updated","openapi":"webhook payment-plans.update","href":"/api-reference/webhooks/payment-plans.update"},{"title":"Payment plan deleted","openapi":"webhook payment-plans.delete","href":"/api-reference/webhooks/payment-plans.delete"},{"title":"Interaction sent","openapi":"webhook interactions.send","href":"/api-reference/webhooks/interactions.send"},{"title":"Customer created","openapi":"webhook customers.create","href":"/api-reference/webhooks/customers.create"},{"title":"Customer updated","openapi":"webhook customers.update","href":"/api-reference/webhooks/customers.update"},{"title":"Customer deleted","openapi":"webhook customers.delete","href":"/api-reference/webhooks/customers.delete"},{"title":"User on customer created","openapi":"webhook users-on-customers.create","href":"/api-reference/webhooks/users-on-customers.create"},{"title":"User on customer updated","openapi":"webhook users-on-customers.update","href":"/api-reference/webhooks/users-on-customers.update"},{"title":"User on customer deleted","openapi":"webhook users-on-customers.delete","href":"/api-reference/webhooks/users-on-customers.delete"},{"title":"Case created","openapi":"webhook cases.create","href":"/api-reference/webhooks/cases.create"},{"title":"Case updated","openapi":"webhook cases.update","href":"/api-reference/webhooks/cases.update"},{"title":"Case deleted","openapi":"webhook cases.delete","href":"/api-reference/webhooks/cases.delete"},{"title":"Case merged","openapi":"webhook cases.merge","href":"/api-reference/webhooks/cases.merge"},{"title":"Case merge undoed","openapi":"webhook cases.undo-merge","href":"/api-reference/webhooks/cases.undo-merge"},{"title":"Billing created","openapi":"webhook billings.create","href":"/api-reference/webhooks/billings.create"},{"title":"Payout created","openapi":"webhook payouts.create","href":"/api-reference/webhooks/payouts.create"}]}]}]},"basePath":"","title":"Register case voucher allocation - Debbie API Documentation","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-i2a3QZ8E.js","utils-ChLwp8m0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DRktVTDc.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CA2pEs4T.js","snippetPresets-ClQ6XrKD.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Ct_Lv36y.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Cn2PYw9e.js","shallow-rkyymjXQ.js","getApiPlaygroundDisplay-BB9vkXtE.js","CodeSnippet-Bm5RU7m1.js","CodeSnippets-BgU9Deuz.js","Page-BUDYNlhG.js","getPastedJson-BD-6NNum.js","icon-8Z6tud2e.js","MethodPill-Tuzr4g3V.js","DuplicateIcon-0ceWFYhN.js","createIcon-FBXow_ST.js","DynamicMarkdown-CD8713Yy.js","SectionHeading-7zgzQbH-.js","axios-vUo_bRtp.js","Markdown-D7Ofw1oz.js","clsx-eKJ4rcii.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CwjSCXIK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-9EK5IAXV.js"]}