{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Payt","colors":{"primary":"#122C43","light":"#32C082","dark":"#32C082"},"logo":{"light":"https://mintcdn.com/paytsoftware/ZH7Dp8aRdwNsq2F0/logo/light.svg?fit=max\u0026auto=format\u0026n=ZH7Dp8aRdwNsq2F0\u0026q=85\u0026s=8c412f3462652d03b028d75f70193f1d","dark":"https://mintcdn.com/paytsoftware/ZH7Dp8aRdwNsq2F0/logo/dark.svg?fit=max\u0026auto=format\u0026n=ZH7Dp8aRdwNsq2F0\u0026q=85\u0026s=c2dbc62881b54c7846e9c4b504590d2f","href":"https://www.paytsoftware.com"},"favicon":"https://mintcdn.com/paytsoftware/fLh8HW04hs-NrZH5/favicon.svg?fit=max\u0026auto=format\u0026n=fLh8HW04hs-NrZH5\u0026q=85\u0026s=335ffdecb6889904840e92a2259a79aa","api":{"examples":{"prefill":false}},"background":{"decoration":"gradient","color":{"light":"#FFFFFF","dark":"#0B0B0F"}},"navbar":{"links":[{"href":"https://status.paytsoftware.com","label":"Status"},{"href":"https://app.paytsoftware.com","label":"Sign in"}],"primary":{"type":"button","label":"Support","href":"https://support.paytsoftware.com"}},"footer":{"socials":{"github":"https://github.com/paytsoftware","linkedin":"https://www.linkedin.com/company/payt-bv/posts?feedView=all"}},"fonts":{"family":"Inter"},"contextual":{"options":["copy","view","chatgpt","claude","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":true},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"paytsoftware","hasAudioNarration":false,"actualSubdomain":"paytsoftware","customDomains":["docs.paytsoftware.com"],"gitSource":{"type":"github","owner":"payt","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"collectionId":"2f6cd70c-f1c7-463e-a6a8-13ed752ea974","liveDeploymentHistoryId":"6adf20c8ad3ed130d8d70a22","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adf20c8ad3ed130d8d70a22"},"feedback":{"thumbs":true,"edits":false,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6adf20c8ad3ed130d8d70a22","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"API Reference","count":84},{"language":"default","tag":"API endpoints","count":67},{"language":"default","tag":"Docs","count":20},{"language":"default","tag":"Introduction","count":17},{"language":"default","tag":"Integrations","count":7},{"language":"default","tag":"invoices","count":7},{"language":"default","tag":"ledger_accounts","count":7},{"language":"default","tag":"payment_plans","count":7},{"language":"default","tag":"Data models","count":6},{"language":"default","tag":"Webhooks","count":6}]},"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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":".nav-logo{height:40px!important}"}],"page":{"pagePath":"api-reference/health_care/create-a-declaration-upload","slug":"/api-reference/health_care/create-a-declaration-upload","pageMetadata":{"title":"Create a declaration upload","description":"Create a declaration upload","deprecated":null,"version":null,"openapi":"/openapi3.json post /v1/health_care/declaration_uploads","href":"/api-reference/health_care/create-a-declaration-upload","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create a declaration upload\"\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":"Create a declaration upload","description":"Create a declaration upload","deprecated":null,"version":null,"openapi":"/openapi3.json post /v1/health_care/declaration_uploads","href":"/api-reference/health_care/create-a-declaration-upload","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Create a declaration upload","requestBody":"5ff20cca-a5ae-4f87-826e-2cb5b6d6353b","responses":{"201":"02211102-f537-46db-8d7f-2c38d9f9ba04","401":"5e6fe5be-e587-4598-88d9-bab2581979a5","403":"a1c905bd-68ed-4f89-9588-902fe84505a3","422":"28e73518-bfcb-42f8-bbd4-b1508fb21bc7"},"tags":["health_care"],"operationId":"postV1HealthCareDeclarationUploads","summary":"Create a declaration upload","method":"post","type":"path","servers":["f1a0c95f-5274-46c8-82be-d497af224cb5","b65aa966-c380-4cff-99bc-cef51764a99b"],"security":["e8a0415e-8789-4122-a63b-552ea574ca11"],"path":"/v1/health_care/declaration_uploads","baseUrlOptions":["https://api.paytsoftware.com","https://demo-api.paytsoftware.com"],"title":"Create a declaration upload","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"administration_id":{"type":"string","description":"Administration identifier","isRequired":true,"uniqueKey":"administration_id","typeLabel":"string"},"order[file]":{"description":"Multipart file containing declaration details. Deprecated: use declaration_file instead","type":"string","format":"binary","isRequired":true,"uniqueKey":"order[file]","typeLabel":"file"},"declaration_file[file]":{"description":"Multipart file containing declaration details","type":"string","format":"binary","isRequired":true,"uniqueKey":"declaration_file[file]","typeLabel":"file"}},"required":["administration_id","order[file]","declaration_file[file]"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"administration_id":"\u003cstring>","order[file]":"\u003cstring>","declaration_file[file]":"\u003cstring>"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"02211102-f537-46db-8d7f-2c38d9f9ba04":{"description":"Declaration upload created","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"status":{"type":"string","enum":["queued","retry","started","failure","success","system_error"],"description":"Processing status of the upload (queued, retry, started, failure, success, system_error)","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"declaration_type":{"type":"string","description":"Type of the uploaded declaration file","isRequired":true,"uniqueKey":"declaration_type","typeLabel":"string"},"success_count":{"type":"integer","format":"int32","description":"Number of rows processed successfully","isRequired":true,"uniqueKey":"success_count","typeLabel":"integer\u003cint32>"},"warning_count":{"type":"integer","format":"int32","description":"Number of rows processed with a warning","isRequired":true,"uniqueKey":"warning_count","typeLabel":"integer\u003cint32>"},"failed_count":{"type":"integer","format":"int32","description":"Number of rows that failed","isRequired":true,"uniqueKey":"failed_count","typeLabel":"integer\u003cint32>"},"created_at":{"type":"string","format":"date-time","description":"Timestamp at which the file was uploaded","isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"status_reason":{"type":"string","description":"Reason for the status, set when processing failed","uniqueKey":"status_reason","typeLabel":"string"},"debtors_created_count":{"type":"integer","format":"int32","description":"Number of debtors created","uniqueKey":"debtors_created_count","typeLabel":"integer\u003cint32>"},"debtors_updated_count":{"type":"integer","format":"int32","description":"Number of debtors updated","uniqueKey":"debtors_updated_count","typeLabel":"integer\u003cint32>"},"invoices_created_count":{"type":"integer","format":"int32","description":"Number of invoices created","uniqueKey":"invoices_created_count","typeLabel":"integer\u003cint32>"},"declarations_total_amount":{"type":"string","description":"Total amount of the declarations in the file","uniqueKey":"declarations_total_amount","typeLabel":"string"},"deeplink_url":{"type":"string","description":"URL to the declaration upload in the debtor management interface","uniqueKey":"deeplink_url","typeLabel":"string"},"log_lines":{"type":"array","items":{"type":"object","properties":{"severity":{"type":"string","enum":["error","warning"],"description":"Whether the row failed (error) or was processed with a warning (error, warning)","isRequired":true,"uniqueKey":"log_lines.items.[INDEX].severity","typeLabel":"enum\u003cstring>"},"invoice_numbers":{"type":"array","items":{"type":"string","uniqueKey":"log_lines.items.[INDEX].invoice_numbers.items.[INDEX]","typeLabel":"string"},"description":"Numbers of the invoices the row is about","isRequired":true,"uniqueKey":"log_lines.items.[INDEX].invoice_numbers","typeLabel":"string[]"},"debtor_code":{"type":"string","description":"Code of the debtor the row is about","uniqueKey":"log_lines.items.[INDEX].debtor_code","typeLabel":"string"},"debtor_name":{"type":"string","description":"Name of the debtor the row is about","uniqueKey":"log_lines.items.[INDEX].debtor_name","typeLabel":"string"},"validation_errors":{"type":"object","description":"Validation errors per attribute","uniqueKey":"log_lines.items.[INDEX].validation_errors","typeLabel":"object"}},"required":["severity","invoice_numbers"],"uniqueKey":"log_lines.items.[INDEX]","typeLabel":"object"},"description":"Failed and warning rows (derived, request with the 'fields' parameter)","uniqueKey":"log_lines","typeLabel":"object[]"},"started_at":{"type":"string","format":"date-time","description":"Timestamp at which processing started","uniqueKey":"started_at","typeLabel":"string\u003cdate-time>"},"finished_at":{"type":"string","format":"date-time","description":"Timestamp at which processing finished","uniqueKey":"finished_at","typeLabel":"string\u003cdate-time>"}},"required":["id","status","declaration_type","success_count","warning_count","failed_count","created_at"],"description":"CustomerApi_V1_DeclarationUploadEntity model","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","status":"queued","declaration_type":"\u003cstring>","success_count":123,"warning_count":123,"failed_count":123,"created_at":"2023-11-07T05:31:56Z","status_reason":"\u003cstring>","debtors_created_count":123,"debtors_updated_count":123,"invoices_created_count":123,"declarations_total_amount":"\u003cstring>","deeplink_url":"\u003cstring>","log_lines":[{"severity":"error","invoice_numbers":["\u003cstring>"],"debtor_code":"\u003cstring>","debtor_name":"\u003cstring>","validation_errors":{}}],"started_at":"2023-11-07T05:31:56Z","finished_at":"2023-11-07T05:31:56Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"5e6fe5be-e587-4598-88d9-bab2581979a5":{"description":"Not authenticated","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"Error code","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Error message","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["code","message"],"description":"CustomerApi_ErrorEntity model","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"a1c905bd-68ed-4f89-9588-902fe84505a3":{"description":"Access not authorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"Error code","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Error message","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["code","message"],"description":"CustomerApi_ErrorEntity model","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"28e73518-bfcb-42f8-bbd4-b1508fb21bc7":{"description":"Validation errors","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"Error code","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Error message","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["code","message"],"description":"CustomerApi_ErrorEntity model","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"e8a0415e-8789-4122-a63b-552ea574ca11":{"bearerAuth":{"type":"http","scheme":"bearer","description":"OAuth2 access token or static API token. See [Authorization](/authentication/authorization) for how to obtain one.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"f1a0c95f-5274-46c8-82be-d497af224cb5":{"url":"https://api.paytsoftware.com","description":"Production"},"b65aa966-c380-4cff-99bc-cef51764a99b":{"url":"https://demo-api.paytsoftware.com","description":"Demo / testing"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"OAuth2 access token or static API token. See [Authorization](/authentication/authorization) for how to obtain one.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"OAuth2 access token or static API token. See [Authorization](/authentication/authorization) for how to obtain one.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi3.json"},"subdomain":"paytsoftware","siteName":"Payt","title":"Create a declaration upload - Payt","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"api-reference/health_care/create-a-declaration-upload.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=\"Create a declaration upload\">\u003cmeta data-mint-head name=\"application-name\" content=\"Payt\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/paytsoftware/gchCM8KdxTVb6-PG/_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/paytsoftware/gchCM8KdxTVb6-PG/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/paytsoftware/gchCM8KdxTVb6-PG/_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/paytsoftware/gchCM8KdxTVb6-PG/_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/paytsoftware/gchCM8KdxTVb6-PG/_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/paytsoftware/gchCM8KdxTVb6-PG/_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/paytsoftware/gchCM8KdxTVb6-PG/_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/paytsoftware/gchCM8KdxTVb6-PG/_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/paytsoftware/gchCM8KdxTVb6-PG/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a declaration upload - Payt\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a declaration upload\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Payt\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.paytsoftware.com/api-reference/health_care/create-a-declaration-upload\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://paytsoftware.mintlify.app/_mintlify/api/og/v2?division=health_care\u0026amp;title=Create+a+declaration+upload\u0026amp;description=Create+a+declaration+upload\u0026amp;theme=9cef3ddac9ebf432b6f5f42d\u0026amp;signature=e01f54673bf1cfc3ca851e75eb50151158f718c4fb36f4345ba3606421327342\">\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=\"Create a declaration upload - Payt\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a declaration upload\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://paytsoftware.mintlify.app/_mintlify/api/og/v2?division=health_care\u0026amp;title=Create+a+declaration+upload\u0026amp;description=Create+a+declaration+upload\u0026amp;theme=9cef3ddac9ebf432b6f5f42d\u0026amp;signature=e01f54673bf1cfc3ca851e75eb50151158f718c4fb36f4345ba3606421327342\">\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/paytsoftware/gchCM8KdxTVb6-PG/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Payt\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#122C43\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.paytsoftware.com/api-reference/health_care/create-a-declaration-upload\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/health_care/create-a-declaration-upload.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.paytsoftware.com/#organization\",\"name\":\"Payt\",\"url\":\"https://docs.paytsoftware.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/paytsoftware/ZH7Dp8aRdwNsq2F0/logo/light.svg?fit=max\u0026auto=format\u0026n=ZH7Dp8aRdwNsq2F0\u0026q=85\u0026s=8c412f3462652d03b028d75f70193f1d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.paytsoftware.com#website\",\"name\":\"Payt\",\"url\":\"https://docs.paytsoftware.com\",\"publisher\":{\"@id\":\"https://docs.paytsoftware.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.paytsoftware.com/api-reference/health_care/create-a-declaration-upload#webpage\",\"url\":\"https://docs.paytsoftware.com/api-reference/health_care/create-a-declaration-upload\",\"name\":\"Create a declaration upload\",\"description\":\"Create a declaration upload\",\"isPartOf\":{\"@id\":\"https://docs.paytsoftware.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.paytsoftware.com/api-reference/health_care/create-a-declaration-upload#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.paytsoftware.com/api-reference/health_care/create-a-declaration-upload#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API endpoints\",\"item\":\"https://docs.paytsoftware.com/api-reference/administrations/upload-a-logo-for-an-administration\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"health_care\",\"item\":\"https://docs.paytsoftware.com/api-reference/health_care/get-administration-declaration-lines\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create a declaration upload\",\"item\":\"https://docs.paytsoftware.com/api-reference/health_care/create-a-declaration-upload\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.paytsoftware.com/api-reference/health_care/create-a-declaration-upload#apireference\",\"headline\":\"Create a declaration upload\",\"name\":\"Create a declaration upload\",\"description\":\"Create a declaration upload\",\"url\":\"https://docs.paytsoftware.com/api-reference/health_care/create-a-declaration-upload\",\"mainEntityOfPage\":{\"@id\":\"https://docs.paytsoftware.com/api-reference/health_care/create-a-declaration-upload#webpage\"},\"publisher\":{\"@id\":\"https://docs.paytsoftware.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.paytsoftware.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Payt\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Payt","nav":{"global":null,"tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":""}]},{"tab":"API Reference","pages":[{"group":"Introduction","pages":[{"title":"Overview","href":"/api/overview"},{"group":"Authentication","pages":[{"title":"Applications","href":"/authentication/applications"},{"title":"Authorization","href":"/authentication/authorization"},{"title":"Tokens","href":"/authentication/tokens"},{"title":"Permissions","href":"/authentication/permissions"},{"title":"Basic Authorization","href":"/authentication/basic-authorization"}]},{"title":"Rate limits","href":"/api/rate-limits"},{"title":"Pagination \u0026 syncing","href":"/api/pagination-and-syncing"},{"title":"Responses","href":"/api/responses"},{"group":"Data models","pages":[{"title":"Models","href":"/models/overview"},{"title":"Company","href":"/models/company"},{"title":"Administration","href":"/models/administration"},{"title":"Invoice","href":"/models/invoice"},{"title":"File","href":"/models/file"},{"title":"Notification","href":"/models/notification"}]},{"title":"Testing","href":"/api/testing"},{"title":"Changelog","href":"/api/changelog"}]},{"group":"API endpoints","expanded":true,"pages":[{"group":"administrations","pages":[{"title":"Upload a logo for an administration.","deprecated":null,"version":null,"openapi":"/openapi3.json post /v1/administrations/{administration_id}/logo","href":"/api-reference/administrations/upload-a-logo-for-an-administration"},{"title":"Get administration by id","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/administrations/{administration_id}","href":"/api-reference/administrations/get-administration-by-id"},{"title":"Get administrations","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/administrations","href":"/api-reference/administrations/get-administrations"},{"title":"Creates an administration","deprecated":null,"version":null,"openapi":"/openapi3.json post /v1/administrations","href":"/api-reference/administrations/creates-an-administration"}]},{"group":"companies","pages":[{"title":"Get companies connected to your application","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/companies","href":"/api-reference/companies/get-companies-connected-to-your-application"},{"title":"Get company by id","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/companies/{id}","href":"/api-reference/companies/get-company-by-id"}]},{"group":"contacts","pages":[{"title":"Get administration contacts","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/contacts","href":"/api-reference/contacts/get-administration-contacts"},{"title":"Create or update administration contacts","deprecated":null,"version":null,"openapi":"/openapi3.json post /v1/contacts","href":"/api-reference/contacts/create-or-update-administration-contacts"}]},{"group":"credit_cases","pages":[{"title":"Get credit cases deleted in the last 90 days","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/credit_cases/deleted","href":"/api-reference/credit_cases/get-credit-cases-deleted-in-the-last-90-days"},{"title":"Get administration credit_cases","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/credit_cases","href":"/api-reference/credit_cases/get-administration-credit_cases"},{"title":"Update administration credit cases","deprecated":null,"version":null,"openapi":"/openapi3.json patch /v1/credit_cases","href":"/api-reference/credit_cases/update-administration-credit-cases"},{"title":"Get administration credit case by id","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/credit_cases/{id}","href":"/api-reference/credit_cases/get-administration-credit-case-by-id"}]},{"group":"debtors","pages":[{"title":"Get administration debtors","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/debtors","href":"/api-reference/debtors/get-administration-debtors"},{"title":"Create or update administration debtors","deprecated":null,"version":null,"openapi":"/openapi3.json post /v1/debtors","href":"/api-reference/debtors/create-or-update-administration-debtors"},{"title":"Get administration debtor by id","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/debtors/{id}","href":"/api-reference/debtors/get-administration-debtor-by-id"}]},{"group":"files","pages":[{"title":"Create files to upload","deprecated":null,"version":null,"openapi":"/openapi3.json post /v1/files","href":"/api-reference/files/create-files-to-upload"}]},{"group":"health_care","pages":[{"title":"Get administration declaration lines","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/health_care/declaration_lines","href":"/api-reference/health_care/get-administration-declaration-lines"},{"title":"Get administration declaration uploads","description":"Get administration declaration uploads","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/health_care/declaration_uploads","href":"/api-reference/health_care/get-administration-declaration-uploads"},{"title":"Create a declaration upload","deprecated":null,"version":null,"openapi":"/openapi3.json post /v1/health_care/declaration_uploads","href":"/api-reference/health_care/create-a-declaration-upload"}]},{"group":"orders","pages":[{"title":"Create an order","description":"Create an order","deprecated":null,"version":null,"openapi":"/openapi3.json post /v1/orders","href":"/api-reference/orders/create-an-order"}]},{"group":"order_lines","pages":[{"title":"Get administration order lines","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/order_lines","href":"/api-reference/order_lines/get-administration-order-lines"}]},{"group":"invoices","pages":[{"title":"Block invoices","deprecated":null,"version":null,"openapi":"/openapi3.json patch /v1/invoices/block","href":"/api-reference/invoices/block-invoices"},{"title":"Get administration invoices","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/invoices","href":"/api-reference/invoices/get-administration-invoices"},{"title":"Upsert invoices in bulk","deprecated":null,"version":null,"openapi":"/openapi3.json post /v1/invoices","href":"/api-reference/invoices/upsert-invoices-in-bulk"},{"title":"Update administration invoices","deprecated":null,"version":null,"openapi":"/openapi3.json patch /v1/invoices","href":"/api-reference/invoices/update-administration-invoices"},{"title":"Get invoices deleted in the last 90 days","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/invoices/deleted","href":"/api-reference/invoices/get-invoices-deleted-in-the-last-90-days"},{"title":"Resume invoices that are blocked through the API","deprecated":null,"version":null,"openapi":"/openapi3.json patch /v1/invoices/resume","href":"/api-reference/invoices/resume-invoices-that-are-blocked-through-the-api"},{"title":"Get administration invoice by id","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/invoices/{id}","href":"/api-reference/invoices/get-administration-invoice-by-id"}]},{"group":"labels","pages":[{"title":"Get administration labels","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/labels","href":"/api-reference/labels/get-administration-labels"}]},{"group":"ledger_accounts","pages":[{"title":"Get ledger accounts for an administration","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/ledger_accounts","href":"/api-reference/ledger_accounts/get-ledger-accounts-for-an-administration"},{"title":"Add a ledger account","deprecated":null,"version":null,"openapi":"/openapi3.json post /v1/ledger_accounts","href":"/api-reference/ledger_accounts/add-a-ledger-account"},{"title":"Get a ledger account by id","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/ledger_accounts/{id}","href":"/api-reference/ledger_accounts/get-a-ledger-account-by-id"},{"title":"Delete a ledger account","deprecated":null,"version":null,"openapi":"/openapi3.json delete /v1/ledger_accounts/{id}","href":"/api-reference/ledger_accounts/delete-a-ledger-account"},{"title":"Update a ledger account","deprecated":null,"version":null,"openapi":"/openapi3.json patch /v1/ledger_accounts/{id}","href":"/api-reference/ledger_accounts/update-a-ledger-account"},{"title":"Disable a ledger account","deprecated":null,"version":null,"openapi":"/openapi3.json patch /v1/ledger_accounts/{id}/disable","href":"/api-reference/ledger_accounts/disable-a-ledger-account"},{"title":"Enable a ledger account","deprecated":null,"version":null,"openapi":"/openapi3.json patch /v1/ledger_accounts/{id}/enable","href":"/api-reference/ledger_accounts/enable-a-ledger-account"}]},{"group":"messages","pages":[{"title":"Get administration messages","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/messages","href":"/api-reference/messages/get-administration-messages"},{"title":"Send a message to a debtor","deprecated":null,"version":null,"openapi":"/openapi3.json post /v1/messages","href":"/api-reference/messages/send-a-message-to-a-debtor"},{"title":"Update messages","deprecated":null,"version":null,"openapi":"/openapi3.json patch /v1/messages","href":"/api-reference/messages/update-messages"},{"title":"Get administration message by id","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/messages/{id}","href":"/api-reference/messages/get-administration-message-by-id"}]},{"group":"notes","pages":[{"title":"Get administration notes","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/notes","href":"/api-reference/notes/get-administration-notes"}]},{"group":"notifications","pages":[{"title":"Get administration notifications","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/notifications","href":"/api-reference/notifications/get-administration-notifications"},{"title":"Get administration notification by id","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/notifications/{id}","href":"/api-reference/notifications/get-administration-notification-by-id"}]},{"group":"payments","pages":[{"title":"Get payments deleted in the last 90 days","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/payments/deleted","href":"/api-reference/payments/get-payments-deleted-in-the-last-90-days"},{"title":"Get administration payments","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/payments","href":"/api-reference/payments/get-administration-payments"}]},{"group":"payment_conditions","pages":[{"title":"Create payment conditions","deprecated":null,"version":null,"openapi":"/openapi3.json post /v1/payment_conditions","href":"/api-reference/payment_conditions/create-payment-conditions"}]},{"group":"payment_plans","pages":[{"title":"Approve a proposed payment plan","deprecated":null,"version":null,"openapi":"/openapi3.json patch /v1/payment_plans/{id}/approve","href":"/api-reference/payment_plans/approve-a-proposed-payment-plan"},{"title":"Deactivate an active payment plan","deprecated":null,"version":null,"openapi":"/openapi3.json patch /v1/payment_plans/{id}/deactivate","href":"/api-reference/payment_plans/deactivate-an-active-payment-plan"},{"title":"Reject a proposed payment plan","deprecated":null,"version":null,"openapi":"/openapi3.json patch /v1/payment_plans/{id}/reject","href":"/api-reference/payment_plans/reject-a-proposed-payment-plan"},{"title":"Get administration payment plan by id","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/payment_plans/{id}","href":"/api-reference/payment_plans/get-administration-payment-plan-by-id"},{"title":"Get administration payment plans","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/payment_plans","href":"/api-reference/payment_plans/get-administration-payment-plans"},{"title":"Create an approved payment plan","deprecated":null,"version":null,"openapi":"/openapi3.json post /v1/payment_plans","href":"/api-reference/payment_plans/create-an-approved-payment-plan"},{"title":"Get payment_plans deleted in the last 90 days","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/payment_plans/deleted","href":"/api-reference/payment_plans/get-payment_plans-deleted-in-the-last-90-days"}]},{"group":"psp_mandates","pages":[{"title":"Get administration PSP mandates","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/psp_mandates","href":"/api-reference/psp_mandates/get-administration-psp-mandates"},{"title":"Create signed psp mandates, these need to be verified before creating","deprecated":null,"version":null,"openapi":"/openapi3.json post /v1/psp_mandates","href":"/api-reference/psp_mandates/create-signed-psp-mandates-these-need-to-be-verified-before-creating"},{"title":"Delete PSP mandates","deprecated":null,"version":null,"openapi":"/openapi3.json delete /v1/psp_mandates","href":"/api-reference/psp_mandates/delete-psp-mandates"},{"title":"Get PSP mandates deleted in the last 90 days","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/psp_mandates/deleted","href":"/api-reference/psp_mandates/get-psp-mandates-deleted-in-the-last-90-days"}]},{"group":"psp_transactions","pages":[{"title":"Get administration PSP transactions","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/psp_transactions","href":"/api-reference/psp_transactions/get-administration-psp-transactions"},{"title":"Get administration PSP transaction by id","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/psp_transactions/{id}","href":"/api-reference/psp_transactions/get-administration-psp-transaction-by-id"}]},{"group":"sign_up","pages":[{"title":"Sign up a new Payt account","deprecated":null,"version":null,"openapi":"/openapi3.json post /v1/sign_up","href":"/api-reference/sign_up/sign-up-a-new-payt-account"}]},{"group":"tasks","pages":[{"title":"Add a comment to a task","deprecated":null,"version":null,"openapi":"/openapi3.json post /v1/tasks/{id}/comment","href":"/api-reference/tasks/add-a-comment-to-a-task"},{"title":"Mark a task as completed","deprecated":null,"version":null,"openapi":"/openapi3.json patch /v1/tasks/{id}/mark_completed","href":"/api-reference/tasks/mark-a-task-as-completed"},{"title":"Unmark a task as completed","deprecated":null,"version":null,"openapi":"/openapi3.json patch /v1/tasks/{id}/unmark_completed","href":"/api-reference/tasks/unmark-a-task-as-completed"},{"title":"Get administration task by id","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/tasks/{id}","href":"/api-reference/tasks/get-administration-task-by-id"},{"title":"Get administration tasks","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/tasks","href":"/api-reference/tasks/get-administration-tasks"}]},{"group":"vat_rates","pages":[{"title":"Get administration vat rates","deprecated":null,"version":null,"openapi":"/openapi3.json get /v1/vat_rates","href":"/api-reference/vat_rates/get-administration-vat-rates"},{"title":"Create or update vat rates","deprecated":null,"version":null,"openapi":"/openapi3.json post /v1/vat_rates","href":"/api-reference/vat_rates/create-or-update-vat-rates"}]}]}]}]},"basePath":"","title":"Create a declaration upload - Payt","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DCDCdBVX.js","utils-ME8dDnLe.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-0e84ACsd.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-wgRBj-ia.js","snippetPresets-C11Sgb-o.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-C0lapOpP.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-ZeRQV8fF.js","shallow-BupWh095.js","getApiPlaygroundDisplay-BnYQO2Ss.js","CodeSnippet-RKKOc8c_.js","CodeSnippets-Drf_m8wS.js","Page-Bevw23-4.js","getPastedJson-u6QiPzNZ.js","icon-Bb-CBSxO.js","MethodPill-F7l5AI7V.js","DuplicateIcon-IiAXkdSg.js","createIcon-FliI8EBc.js","DynamicMarkdown-B62XqCSI.js","SectionHeading-Dj31pT03.js","axios-vUo_bRtp.js","Markdown-BOgQCTwD.js","clsx-BIWXJmsZ.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DKZWslLH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-UDqbR6xh.js"]}