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.
Authentication with an API key can be done by using a bearer token in the Authorization header. This is done using the following format Authorization: Bearer {token}. API keys are issued and revoked directly from the creditor portal under Developers > API.
Your creditor id. You can find it on the API page in the creditor portal.
Body
application/json
The creditor allocation
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 Creditor API Documentation","colors":{"primary":"#7568F6","light":"#07C983","dark":"#7865FF"},"logo":{"light":"https://mintcdn.com/debbie-creditor-documentation/kIVe9zqPb7fl-T8E/logo/light.svg?fit=max\u0026auto=format\u0026n=kIVe9zqPb7fl-T8E\u0026q=85\u0026s=10910a8dfb5076aec86b09686383b541","dark":"https://mintcdn.com/debbie-creditor-documentation/kIVe9zqPb7fl-T8E/logo/dark.svg?fit=max\u0026auto=format\u0026n=kIVe9zqPb7fl-T8E\u0026q=85\u0026s=a44edc79d1f69627d88b16d9a5157fb9"},"favicon":"https://mintcdn.com/debbie-creditor-documentation/kIVe9zqPb7fl-T8E/favicon.png?fit=max\u0026auto=format\u0026n=kIVe9zqPb7fl-T8E\u0026q=85\u0026s=b296397199b185d9fb11859d70d6c74c","navbar":{"links":[{"href":"mailto:api-support@debbie.dk","label":"API Support"}]},"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-creditor-documentation","hasAudioNarration":false,"actualSubdomain":"debbie-creditor-documentation","customDomains":["creditor-documentation.debbiecollect.com"],"gitSource":{"type":"github","owner":"debbie-platform","repo":"debbie","deployBranch":"master","contentDirectory":"documentation/public-creditor-api","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af07e5a19e45f289c56f508","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"API Reference","count":27},{"language":"default","tag":"Webhooks","count":11},{"language":"default","tag":"Using the API","count":6},{"language":"default","tag":"API Documentation","count":5},{"language":"default","tag":"Customers","count":4},{"language":"default","tag":"Get Started","count":3},{"language":"default","tag":"Guides","count":3},{"language":"default","tag":"Billings","count":2},{"language":"default","tag":"Files","count":2},{"language":"default","tag":"Case voucher allocations","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"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":"editor-metadata","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":["354c63a2-10ce-40ec-8ff8-7e64abf0f8f8","0b6d2d61-5d34-4202-82f5-f1729d16b92d"],"requestBody":"98810100-a5fd-48a4-96a2-29e50de12756","responses":{"201":"66be3c54-780b-4d62-9b1b-403b56f37da0","400":"c60d9062-b17d-4608-ae06-42fafdd11dc1","401":"e5cd1833-7c45-47e8-a424-1a29d157788e","404":"7d23d771-3f33-4ec1-ab5b-b4433adfea9a","422":"6bcd3a29-deb0-485e-a27d-7589566a7830"},"method":"post","type":"path","servers":["cc6f2f36-b7d4-4509-a86c-ea66de6298f4"],"security":["af845bea-a179-4d12-a982-b17bced29b4d"],"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":{"354c63a2-10ce-40ec-8ff8-7e64abf0f8f8":{"in":"path","name":"tenantId","schema":{"type":"string","format":"uuid","isRequired":true,"description":"Id of your debt collection partner's tenant. You can find it on the API page in the creditor portal.","uniqueKey":"","typeLabel":"string\u003cuuid>"},"required":true,"description":"Id of your debt collection partner's tenant. You can find it on the API page in the creditor portal."},"0b6d2d61-5d34-4202-82f5-f1729d16b92d":{"in":"query","name":"creditorId","schema":{"type":"string","format":"uuid","isRequired":true,"description":"Your creditor id. You can find it on the API page in the creditor portal.","uniqueKey":"","typeLabel":"string\u003cuuid>"},"required":true,"description":"Your creditor id. You can find it on the API page in the creditor portal."}},"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":"Your reference for the case voucher being settled — normally the invoice number. It is looked up within your creditor, 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":"Your reference for the case voucher being settled — normally the invoice number. It is looked up within your creditor, 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.","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":{"66be3c54-780b-4d62-9b1b-403b56f37da0":{"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","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-7c8d-9e0f-1a2b3c4d5e6f","caseVoucherId":"1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d","amount":120000,"currency":"DKK","date":"2026-06-04T00:00:00.000Z","voucherTypeId":"c51f2f6a-8081-45ef-b52d-5e0569fdf12e","targetCaseVouchers":[{"caseVoucherId":"7a8b9c0d-1e2f-3a4b-5c6d-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-7c8d-9e0f-1a2b3c4d5e6f","caseVoucherId":"1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d","amount":120000,"currency":"DKK","date":"2026-06-04T00:00:00.000Z","voucherTypeId":"c51f2f6a-8081-45ef-b52d-5e0569fdf12e","targetCaseVouchers":[{"caseVoucherId":"7a8b9c0d-1e2f-3a4b-5c6d-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"},"c60d9062-b17d-4608-ae06-42fafdd11dc1":{"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":""}}}},"e5cd1833-7c45-47e8-a424-1a29d157788e":{"description":"Access token missing or invalid","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"7d23d771-3f33-4ec1-ab5b-b4433adfea9a":{"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 your 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":""}}}},"6bcd3a29-deb0-485e-a27d-7589566a7830":{"description":"Unable to process the contained instructions.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"af845bea-a179-4d12-a982-b17bced29b4d":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Authentication with an API key can be done by using a bearer token in the Authorization header. This is done using the following format `Authorization: Bearer {token}`. API keys are issued and revoked directly from the creditor portal under Developers > API.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"cc6f2f36-b7d4-4509-a86c-ea66de6298f4":{"url":"https://api.debbiecollect.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Authentication with an API key can be done by using a bearer token in the Authorization header. This is done using the following format `Authorization: Bearer {token}`. API keys are issued and revoked directly from the creditor portal under Developers > API.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Authentication with an API key can be done by using a bearer token in the Authorization header. This is done using the following format `Authorization: Bearer {token}`. API keys are issued and revoked directly from the creditor portal under Developers > API.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"debbie-creditor-documentation","siteName":"Debbie Creditor API Documentation","title":"Register case voucher allocation - Debbie Creditor API Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-23T10:51:11.202Z","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 Creditor 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-creditor-documentation/LIPdFlzLnkfMvdFW/_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-creditor-documentation/LIPdFlzLnkfMvdFW/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/debbie-creditor-documentation/LIPdFlzLnkfMvdFW/_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-creditor-documentation/LIPdFlzLnkfMvdFW/_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-creditor-documentation/LIPdFlzLnkfMvdFW/_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-creditor-documentation/LIPdFlzLnkfMvdFW/_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-creditor-documentation/LIPdFlzLnkfMvdFW/_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-creditor-documentation/LIPdFlzLnkfMvdFW/_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-creditor-documentation/LIPdFlzLnkfMvdFW/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Register case voucher allocation - Debbie Creditor 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 Creditor API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://creditor-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-creditor-documentation.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=6e81307c9eeccd10d2f7bdff\u0026amp;signature=ade96c1d88e6059e3a44e1302d6a3e3351fd94e36cafbfd33333657cccbdf6f1\">\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 Creditor 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-creditor-documentation.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=6e81307c9eeccd10d2f7bdff\u0026amp;signature=ade96c1d88e6059e3a44e1302d6a3e3351fd94e36cafbfd33333657cccbdf6f1\">\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-creditor-documentation/LIPdFlzLnkfMvdFW/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Debbie Creditor API Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7568F6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://creditor-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://creditor-documentation.debbiecollect.com/#organization\",\"name\":\"Debbie Creditor API Documentation\",\"url\":\"https://creditor-documentation.debbiecollect.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/debbie-creditor-documentation/kIVe9zqPb7fl-T8E/logo/light.svg?fit=max\u0026auto=format\u0026n=kIVe9zqPb7fl-T8E\u0026q=85\u0026s=10910a8dfb5076aec86b09686383b541\"}},{\"@type\":\"WebSite\",\"@id\":\"https://creditor-documentation.debbiecollect.com#website\",\"name\":\"Debbie Creditor API Documentation\",\"url\":\"https://creditor-documentation.debbiecollect.com\",\"publisher\":{\"@id\":\"https://creditor-documentation.debbiecollect.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://creditor-documentation.debbiecollect.com/api-reference/endpoints/case-vouchers/allocations#webpage\",\"url\":\"https://creditor-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:11.202Z\",\"isPartOf\":{\"@id\":\"https://creditor-documentation.debbiecollect.com#website\"},\"breadcrumb\":{\"@id\":\"https://creditor-documentation.debbiecollect.com/api-reference/endpoints/case-vouchers/allocations#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://creditor-documentation.debbiecollect.com/api-reference/endpoints/case-vouchers/allocations#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Debbie Creditor API Documentation\",\"item\":\"https://creditor-documentation.debbiecollect.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Register case voucher allocation\",\"item\":\"https://creditor-documentation.debbiecollect.com/api-reference/endpoints/case-vouchers/allocations\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://creditor-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://creditor-documentation.debbiecollect.com/api-reference/endpoints/case-vouchers/allocations\",\"mainEntityOfPage\":{\"@id\":\"https://creditor-documentation.debbiecollect.com/api-reference/endpoints/case-vouchers/allocations#webpage\"},\"dateModified\":\"2026-09-23T10:51:11.202Z\",\"publisher\":{\"@id\":\"https://creditor-documentation.debbiecollect.com/#organization\"},\"isPartOf\":{\"@id\":\"https://creditor-documentation.debbiecollect.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Debbie Creditor API Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Debbie Creditor 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"},{"title":"Voucher types","href":"/api-reference/voucher-types"}]},{"group":"Customers","pages":[{"title":"Create customer","openapi":"POST /v1/{tenantId}/customers","href":"/api-reference/endpoints/customers/create"},{"title":"Get customer by id","openapi":"GET /v1/{tenantId}/customers/{customerId}","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":"Add case vouchers","openapi":"POST /v1/{tenantId}/customers/{customerId}/add-case-vouchers","description":"Add new case vouchers (e.g. unpaid invoices, reminder fees or deposits) to a customer. Based on the vouchers, the platform automatically determines whether to create a new case or add the vouchers to an existing case.\n\n**Required scope:** `write:customers`","href":"/api-reference/endpoints/customers/add-case-vouchers"}]},{"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":"Files","pages":[{"title":"Upload file","openapi":"POST /v1/{tenantId}/files","description":"Upload a file. The returned file id can be used as an appendix on a case voucher, for example a pdf copy of an invoice.\n\n**Required scope:** `write: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":"Voucher types","pages":[{"title":"Get voucher types","openapi":"GET /v1/{tenantId}/voucher-types","href":"/api-reference/endpoints/voucher-types/get"}]},{"group":"Billings","pages":[{"title":"Get deposit distribution","openapi":"GET /v1/{tenantId}/billings/{billingId}/deposit-distribution","href":"/api-reference/endpoints/billings/deposit-distribution"},{"title":"Get billing vouchers","openapi":"GET /v1/{tenantId}/billings/{billingId}/billing-vouchers","href":"/api-reference/endpoints/billings/billing-vouchers"}]},{"group":"Webhooks","pages":[{"title":"Webhooks","href":"/api-reference/webhooks/introduction"},{"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":"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":"Billing created","openapi":"webhook billings.create","href":"/api-reference/webhooks/billings.create"}]}]}]},"basePath":"","title":"Register case voucher allocation - Debbie Creditor API Documentation","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js","Markdown-BhTTmazV.js","clsx-CR-RHrVC.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CBUH0-zX.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BmARFYNC.js"]}