A person of the company authorizes the exact version of each return before
Melso files it. Create the link and open it for them:
curl -X POST https://api.melso.ai/v1/companies/$COMPANY_ID/tax-returns/$TAX_RETURN_ID/approval-link \ -H "Authorization: Bearer $MELSO_API_KEY"
Melso’s professionals then review the return and file it. No API call files or
pays a return.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Melso","public":true,"description":"Melso is the online gestoría for self-employed people and companies in Spain: invoicing, books and taxes, with an AI agent and our professionals. Tu gestoría online.","colors":{"primary":"#F04E42","light":"#F48171","dark":"#C84037"},"logo":{"light":"https://mintcdn.com/melso/M0EJxJd5v0DQ3VCv/logo/light.svg?fit=max\u0026auto=format\u0026n=M0EJxJd5v0DQ3VCv\u0026q=85\u0026s=b734d43a59ba6bc24e866a6b71d37541","dark":"https://mintcdn.com/melso/M0EJxJd5v0DQ3VCv/logo/dark.svg?fit=max\u0026auto=format\u0026n=M0EJxJd5v0DQ3VCv\u0026q=85\u0026s=9dcda5c15c4d9423fc981e4f1cf9d980","href":"https://melso.ai/en"},"favicon":"https://mintcdn.com/melso/M0EJxJd5v0DQ3VCv/favicon.svg?fit=max\u0026auto=format\u0026n=M0EJxJd5v0DQ3VCv\u0026q=85\u0026s=5eda48321a2659d5e371a8c737a494cc","api":{"playground":{"display":"simple"},"examples":{"languages":["bash","python","javascript"]}},"background":{"color":{"light":"#FFFFFF","dark":"#0A0A0A"}},"navbar":{"links":[{"href":"https://melso.ai/en","label":"Melso"}],"primary":{"type":"button","label":"Open Melso","href":"https://app.melso.ai"}},"footer":{"socials":{"website":"https://melso.ai/en"}},"search":{"prompt":"Search Melso docs..."},"seo":{"metatags":{"canonical":"https://docs.melso.ai","og:site_name":"Melso Docs","og:locale":"en_US","og:locale:alternate":"es_ES","theme-color":"#F04E42","og:image":"https://docs.melso.ai/images/og/home.png","og:image:width":"1200","og:image:height":"630","og:image:alt":"Melso documentation: learn the product, connect your AI assistant, or build on the API.","twitter:card":"summary_large_image","twitter:image":"https://docs.melso.ai/images/og/home.png"},"paths":[{"path":"es","metatags":{"og:locale":"es_ES","og:locale:alternate":"en_US"}}],"organization":{"name":"Melso","url":"https://melso.ai","logo":"https://docs.melso.ai/logo/light.svg","sameAs":["https://melso.ai","https://docs.melso.ai","https://app.melso.ai"]},"indexing":"navigable"},"fonts":{"family":"Geist"},"contextual":{"options":["copy","view","chatgpt","claude",{"title":"Connect your AI","description":"Connect your AI assistant to Melso.","icon":"plug","href":"/mcp/connect"}],"display":"header"},"markdown":{"instructions":"Melso MCP: https://mcp.melso.ai/mcp (OAuth; one company per connection). Documentation-search MCP: https://docs.melso.ai/mcp; it does not act on customer accounts. Melso API: https://api.melso.ai/v1, with a company API key or a partner key (early access); invoicing is live and the other operations are marked beta.\n\nUse the live tool list and respect company membership. Ask the person to approve the exact invoice or tax return version in the signed-in app. Melso's professionals prepare and file included returns after approval; an AI assistant does not file. A prepared file or an approval is not evidence of filing: only the AEAT's reference and receipt are. Keep credentials out of chat and logs."},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"href":""},{"language":"es","href":"es/api-facturacion"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"melso","hasAudioNarration":false,"actualSubdomain":"melso","customDomains":["docs.melso.ai"],"gitSource":{"type":"github","owner":"melso-ai","repo":"melso-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6b0dce7be24586e701346c8d","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"en","tag":"API","count":90},{"language":"en","tag":"MCP","count":56},{"language":"en","tag":"Payroll","count":40},{"language":"en","tag":"Tools","count":39},{"language":"en","tag":"Partner API","count":26},{"language":"en","tag":"Guides","count":20},{"language":"en","tag":"Books","count":14},{"language":"en","tag":"Invoicing","count":12},{"language":"en","tag":"Get started","count":10},{"language":"en","tag":"Invoices","count":10},{"language":"es","tag":"Sociedades","count":6},{"language":"es","tag":"Melso para sociedades","count":6},{"language":"es","tag":"Despachos","count":5},{"language":"es","tag":"Melso para despachos","count":5},{"language":"es","tag":"API","count":1},{"language":"es","tag":"API de Melso","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":"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":"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":"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":"turbopuffer-dual-write","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":"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":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"#navbar img[src*=\"logo/\"],#sidebar img[src*=\"logo/\"]{height:26px!important;width:auto!important;min-width:88px;object-fit:contain}:root{--melso-coral: #F04E42;--melso-cream: #FDF8DF;--melso-maroon: #3B0D11}#navbar a[href=\"https://app.melso.ai\"]{background:transparent!important;border:0!important;box-shadow:none!important}#navbar a[href=\"https://app.melso.ai\"]>span.absolute{background:var(--melso-coral)!important}#navbar a[href=\"https://app.melso.ai\"],#navbar a[href=\"https://app.melso.ai\"] *{color:var(--melso-maroon)!important}#navbar a[href=\"https://app.melso.ai\"]:hover>span.absolute{background:#D9443A!important;opacity:1!important}@media (prefers-reduced-motion: reduce){*,*::before,*::after{scroll-behavior:auto!important}}"}]}
{"page":{"pagePath":"api/how-to/taxes","slug":"/api/how-to/taxes","pageMetadata":{"title":"Show taxes and receipts","sidebarTitle":"Show taxes and receipts","description":"Show a company's tax calendar, its returns with their live amounts, and the AEAT receipt of each filed return.","og:image":"https://docs.melso.ai/images/og/api.png","og:image:alt":"The Melso API: invoices, books, tax returns, payroll and the digital certificate of a Melso company, from your own system.","twitter:image":"https://docs.melso.ai/images/og/api.png","href":"/api/how-to/taxes"},"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: \"Show a company’s tax calendar, its returns with their live amounts, and the AEAT receipt of each filed return.\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Beta.`}),` Melso does not serve these endpoints yet, and their fields can still\nchange.`]})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`These calls work with a company key in its own company, or with a\n`,_jsx(_components.a,{href:`/api/partner/acting-for-companies`,children:`partner key`}),` in any company of the firm.\n`,_jsx(_components.code,{children:`$MELSO_API_KEY`}),` is either one.`]})}),`\n`,_jsx(_components.p,{children:`Melso recalculates each return as the books change, so your customer sees the\namount long before the deadline. Three calls cover a taxes screen.`}),`\n`,_jsx(Heading,{level:`2`,id:`what-is-due`,children:`What is due`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.melso.ai/v1/companies/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$COMPANY_ID`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/tax-calendar`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$MELSO_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Each obligation has its `,_jsx(_components.code,{children:`model`}),`, `,_jsx(_components.code,{children:`period`}),`, `,_jsx(_components.code,{children:`due_date`}),`, `,_jsx(_components.code,{children:`status`}),` and, once\nMelso started it, its `,_jsx(_components.code,{children:`tax_return_id`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`the-returns`,children:`The returns`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.melso.ai/v1/companies/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$COMPANY_ID`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/tax-returns?year=2026\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$MELSO_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`status`})}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`draft`})}),_jsxs(_components.td,{children:[`Recalculated from the books while its period is open. `,_jsx(_components.code,{children:`amount`}),` is the live estimate.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`approved`})}),_jsx(_components.td,{children:`The owner confirmed it. It waits to be filed.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filed`})}),_jsxs(_components.td,{children:[`Filed with the AEAT. `,_jsx(_components.code,{children:`filing`}),` holds the reference, the CSV and the receipt.`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`A negative `,_jsx(_components.code,{children:`amount`}),` is a refund or an amount to offset.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Show a return as filed only when `,_jsx(_components.code,{children:`filing.reference`}),` is present.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`the-receipt`,children:`The receipt`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.melso.ai/v1/companies/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$COMPANY_ID`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/tax-returns/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$TAX_RETURN_ID`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/receipt`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$MELSO_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -o`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` justificante.pdf`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The AEAT receipt (justificante), as a PDF.`}),`\n`,_jsx(Heading,{level:`2`,id:`who-confirms-a-return`,children:`Who confirms a return`}),`\n`,_jsx(_components.p,{children:`A person of the company authorizes the exact version of each return before\nMelso files it. Create the link and open it for them:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.melso.ai/v1/companies/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$COMPANY_ID`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/tax-returns/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$TAX_RETURN_ID`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/approval-link`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$MELSO_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Melso’s professionals then review the return and file it. No API call files or\npays a return.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Show taxes and receipts","sidebarTitle":"Show taxes and receipts","description":"Show a company's tax calendar, its returns with their live amounts, and the AEAT receipt of each filed return.","og:image":"https://docs.melso.ai/images/og/api.png","og:image:alt":"The Melso API: invoices, books, tax returns, payroll and the digital certificate of a Melso company, from your own system.","twitter:image":"https://docs.melso.ai/images/og/api.png","href":"/api/how-to/taxes"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What is due","slug":"what-is-due","depth":2,"children":[]},{"title":"The returns","slug":"the-returns","depth":2,"children":[]},{"title":"The receipt","slug":"the-receipt","depth":2,"children":[]},{"title":"Who confirms a return","slug":"who-confirms-a-return","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"melso","siteName":"Melso","title":"Show taxes and receipts - Melso","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api/how-to/taxes","matchLevel":0},"es":{"href":"/es/api-facturacion","matchLevel":4}}},"lastModified":"2026-11-28T08:58:26.069Z","originalFileLocation":"api/how-to/taxes.mdx","locale":"en"},"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=\"Show a company\u0026#x27;s tax calendar, its returns with their live amounts, and the AEAT receipt of each filed return.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Melso\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/melso/ZyaT6es4tklDWaYK/_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/melso/ZyaT6es4tklDWaYK/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/melso/ZyaT6es4tklDWaYK/_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/melso/ZyaT6es4tklDWaYK/_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/melso/ZyaT6es4tklDWaYK/_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/melso/ZyaT6es4tklDWaYK/_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/melso/ZyaT6es4tklDWaYK/_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/melso/ZyaT6es4tklDWaYK/_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/melso/ZyaT6es4tklDWaYK/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Show taxes and receipts - Melso\">\u003cmeta data-mint-head property=\"og:description\" content=\"Show a company\u0026#x27;s tax calendar, its returns with their live amounts, and the AEAT receipt of each filed return.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Melso Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.melso.ai/api/how-to/taxes\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://docs.melso.ai/images/og/api.png\">\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=\"Show taxes and receipts - Melso\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Show a company\u0026#x27;s tax calendar, its returns with their live amounts, and the AEAT receipt of each filed return.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://docs.melso.ai/images/og/api.png\">\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/melso/ZyaT6es4tklDWaYK/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Melso\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#F04E42\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"og:locale:alternate\" content=\"es_ES\">\u003cmeta data-mint-head name=\"theme-color\" content=\"#F04E42\">\u003cmeta data-mint-head name=\"og:image:alt\" content=\"The Melso API: invoices, books, tax returns, payroll and the digital certificate of a Melso company, from your own system.\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.melso.ai/api/how-to/taxes\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/how-to/taxes.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://melso.ai/#organization\",\"name\":\"Melso\",\"url\":\"https://melso.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://docs.melso.ai/logo/light.svg\"},\"sameAs\":[\"https://melso.ai\",\"https://docs.melso.ai\",\"https://app.melso.ai\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.melso.ai#website\",\"name\":\"Melso\",\"url\":\"https://docs.melso.ai\",\"publisher\":{\"@id\":\"https://melso.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.melso.ai/api/how-to/taxes#webpage\",\"url\":\"https://docs.melso.ai/api/how-to/taxes\",\"name\":\"Show taxes and receipts\",\"description\":\"Show a company's tax calendar, its returns with their live amounts, and the AEAT receipt of each filed return.\",\"dateModified\":\"2026-11-28T08:58:26.069Z\",\"isPartOf\":{\"@id\":\"https://docs.melso.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.melso.ai/api/how-to/taxes#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.melso.ai/api/how-to/taxes#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"How-to guides\",\"item\":\"https://docs.melso.ai/api/how-to/certificate\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Show taxes and receipts\",\"item\":\"https://docs.melso.ai/api/how-to/taxes\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.melso.ai/api/how-to/taxes#article\",\"headline\":\"Show taxes and receipts\",\"name\":\"Show taxes and receipts\",\"description\":\"Show a company's tax calendar, its returns with their live amounts, and the AEAT receipt of each filed return.\",\"url\":\"https://docs.melso.ai/api/how-to/taxes\",\"mainEntityOfPage\":{\"@id\":\"https://docs.melso.ai/api/how-to/taxes#webpage\"},\"image\":\"https://docs.melso.ai/images/og/api.png\",\"dateModified\":\"2026-11-28T08:58:26.069Z\",\"publisher\":{\"@id\":\"https://melso.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.melso.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Melso\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Melso\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api/how-to/taxes.md","siteName":"Melso","nav":{"global":null,"languages":[{"language":"en","default":true,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/mcp/overview"}]},{"tab":"API","groups":[{"group":"Get started","pages":[{"title":"Melso API","sidebarTitle":"Overview","href":"/api/overview"},{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/api/quickstart"},{"title":"Authentication","sidebarTitle":"Authentication","href":"/api/authentication"},{"title":"Conventions","sidebarTitle":"Conventions","href":"/api/conventions"},{"title":"Examples","sidebarTitle":"Examples","href":"/api/examples"},{"title":"OpenAPI document","sidebarTitle":"OpenAPI","href":"/api/openapi"}]},{"group":"How-to guides","pages":[{"title":"Collect the digital certificate","sidebarTitle":"Collect the digital certificate","description":"Send the owner a Melso link to upload the company's digital certificate, and follow its status until it expires.","href":"/api/how-to/certificate"},{"title":"Show taxes and receipts","sidebarTitle":"Show taxes and receipts","href":"/api/how-to/taxes"},{"title":"Employees and payroll","sidebarTitle":"Employees and payroll (beta)","description":"Register employees and contracts, run each month's payroll, get the payslips and keep the Social Security up to date. Beta.","href":"/api/how-to/payroll"},{"title":"Switch from the current gestoría","sidebarTitle":"Switch from the current gestoría","href":"/api/how-to/switching"}]},{"group":"Company","pages":[{"group":"Companies","pages":[{"title":"List companies","sidebarTitle":"List companies","openapi":"api/openapi.yaml GET /companies","href":"/api/reference/companies/list-companies"},{"title":"Get a company","sidebarTitle":"Get a company","openapi":"api/openapi.yaml GET /companies/{company_id}","href":"/api/reference/companies/get-company"}]},{"group":"Fiscal profile","pages":[{"title":"Get the fiscal profile","sidebarTitle":"Get the fiscal profile","openapi":"api/openapi.yaml GET /companies/{company_id}/fiscal-profile","href":"/api/reference/fiscal-profile/get-fiscal-profile"},{"title":"Update the fiscal profile","sidebarTitle":"Update the fiscal profile","openapi":"api/openapi.yaml PATCH /companies/{company_id}/fiscal-profile","href":"/api/reference/fiscal-profile/update-fiscal-profile"}]},{"group":"Digital certificate","pages":[{"title":"Get the certificate status","sidebarTitle":"Get the certificate status","openapi":"api/openapi.yaml GET /companies/{company_id}/certificate","href":"/api/reference/digital-certificate/get-certificate"},{"title":"Upload a certificate","sidebarTitle":"Upload a certificate","openapi":"api/openapi.yaml POST /companies/{company_id}/certificate","href":"/api/reference/digital-certificate/upload-certificate"},{"title":"Create a certificate link","sidebarTitle":"Create a certificate link","openapi":"api/openapi.yaml POST /companies/{company_id}/certificate-links","href":"/api/reference/digital-certificate/create-certificate-link"}]}]},{"group":"Invoicing","pages":[{"group":"Customers","pages":[{"title":"List customers","sidebarTitle":"List customers","openapi":"api/openapi.yaml GET /companies/{company_id}/customers","href":"/api/reference/customers/list-customers"},{"title":"Create or update a customer","sidebarTitle":"Create or update a customer","openapi":"api/openapi.yaml POST /companies/{company_id}/customers","href":"/api/reference/customers/upsert-customer"}]},{"group":"Invoices","pages":[{"title":"List invoices","sidebarTitle":"List invoices","openapi":"api/openapi.yaml GET /companies/{company_id}/invoices","href":"/api/reference/invoices/list-invoices"},{"title":"Create an invoice draft","sidebarTitle":"Create an invoice draft","openapi":"api/openapi.yaml POST /companies/{company_id}/invoices","href":"/api/reference/invoices/create-invoice"},{"title":"Get an invoice","sidebarTitle":"Get an invoice","openapi":"api/openapi.yaml GET /companies/{company_id}/invoices/{invoice_id}","href":"/api/reference/invoices/get-invoice"},{"title":"Replace an invoice draft","sidebarTitle":"Replace an invoice draft","openapi":"api/openapi.yaml PATCH /companies/{company_id}/invoices/{invoice_id}","href":"/api/reference/invoices/replace-invoice-draft"},{"title":"Download the invoice PDF","sidebarTitle":"Download the invoice PDF","openapi":"api/openapi.yaml GET /companies/{company_id}/invoices/{invoice_id}/pdf","href":"/api/reference/invoices/get-invoice-pdf"},{"title":"Create an invoice approval link","sidebarTitle":"Create an invoice approval link","openapi":"api/openapi.yaml POST /companies/{company_id}/invoices/{invoice_id}/approval-link","href":"/api/reference/invoices/create-invoice-approval-link"},{"title":"Issue an invoice","sidebarTitle":"Issue an invoice","openapi":"api/openapi.yaml POST /companies/{company_id}/invoices/{invoice_id}/issue","href":"/api/reference/invoices/issue-invoice"},{"title":"Void an invoice","sidebarTitle":"Void an invoice","openapi":"api/openapi.yaml POST /companies/{company_id}/invoices/{invoice_id}/void","href":"/api/reference/invoices/void-invoice"},{"title":"Draft a corrective invoice","sidebarTitle":"Draft a corrective invoice","openapi":"api/openapi.yaml POST /companies/{company_id}/invoices/{invoice_id}/correct","href":"/api/reference/invoices/correct-invoice"},{"title":"Mark an invoice as paid","sidebarTitle":"Mark an invoice as paid","openapi":"api/openapi.yaml POST /companies/{company_id}/invoices/{invoice_id}/mark-paid","href":"/api/reference/invoices/mark-invoice-paid"}]}]},{"group":"Books","pages":[{"group":"Expenses","pages":[{"title":"List expenses","sidebarTitle":"List expenses","openapi":"api/openapi.yaml GET /companies/{company_id}/expenses","href":"/api/reference/expenses/list-expenses"},{"title":"Create an expense","sidebarTitle":"Create an expense","openapi":"api/openapi.yaml POST /companies/{company_id}/expenses","href":"/api/reference/expenses/create-expense"},{"title":"Get an expense","sidebarTitle":"Get an expense","openapi":"api/openapi.yaml GET /companies/{company_id}/expenses/{expense_id}","href":"/api/reference/expenses/get-expense"},{"title":"Update an expense","sidebarTitle":"Update an expense","openapi":"api/openapi.yaml PATCH /companies/{company_id}/expenses/{expense_id}","href":"/api/reference/expenses/update-expense"},{"title":"Delete an expense","sidebarTitle":"Delete an expense","openapi":"api/openapi.yaml DELETE /companies/{company_id}/expenses/{expense_id}","href":"/api/reference/expenses/delete-expense"}]},{"group":"Income","pages":[{"title":"List income","sidebarTitle":"List income","openapi":"api/openapi.yaml GET /companies/{company_id}/income","href":"/api/reference/income/list-income"},{"title":"Create an income","sidebarTitle":"Create an income","openapi":"api/openapi.yaml POST /companies/{company_id}/income","href":"/api/reference/income/create-income"},{"title":"Get an income","sidebarTitle":"Get an income","openapi":"api/openapi.yaml GET /companies/{company_id}/income/{income_id}","href":"/api/reference/income/get-income"},{"title":"Update an income","sidebarTitle":"Update an income","openapi":"api/openapi.yaml PATCH /companies/{company_id}/income/{income_id}","href":"/api/reference/income/update-income"},{"title":"Delete an income","sidebarTitle":"Delete an income","openapi":"api/openapi.yaml DELETE /companies/{company_id}/income/{income_id}","href":"/api/reference/income/delete-income"}]},{"group":"Documents","pages":[{"title":"Upload a document","sidebarTitle":"Upload a document","openapi":"api/openapi.yaml POST /companies/{company_id}/documents","href":"/api/reference/documents/upload-document"},{"title":"Get a document","sidebarTitle":"Get a document","openapi":"api/openapi.yaml GET /companies/{company_id}/documents/{document_id}","href":"/api/reference/documents/get-document"}]},{"group":"VAT book imports","pages":[{"title":"Import a VAT book","sidebarTitle":"Import a VAT book","openapi":"api/openapi.yaml POST /companies/{company_id}/book-imports","href":"/api/reference/vat-book-imports/create-book-import"},{"title":"Get a VAT book import","sidebarTitle":"Get a VAT book import","openapi":"api/openapi.yaml GET /companies/{company_id}/book-imports/{import_id}","href":"/api/reference/vat-book-imports/get-book-import"}]}]},{"group":"Taxes","pages":[{"group":"Tax returns","pages":[{"title":"Get the tax calendar","sidebarTitle":"Get the tax calendar","openapi":"api/openapi.yaml GET /companies/{company_id}/tax-calendar","href":"/api/reference/tax-returns/get-tax-calendar"},{"title":"List tax returns","sidebarTitle":"List tax returns","openapi":"api/openapi.yaml GET /companies/{company_id}/tax-returns","href":"/api/reference/tax-returns/list-tax-returns"},{"title":"Get a tax return","sidebarTitle":"Get a tax return","openapi":"api/openapi.yaml GET /companies/{company_id}/tax-returns/{tax_return_id}","href":"/api/reference/tax-returns/get-tax-return"},{"title":"Create an approval link","sidebarTitle":"Create an approval link","openapi":"api/openapi.yaml POST /companies/{company_id}/tax-returns/{tax_return_id}/approval-link","href":"/api/reference/tax-returns/create-tax-return-approval-link"},{"title":"Approve a tax return","sidebarTitle":"Approve a tax return","openapi":"api/openapi.yaml POST /companies/{company_id}/tax-returns/{tax_return_id}/approval","href":"/api/reference/tax-returns/approve-tax-return"},{"title":"Download the AEAT import file","sidebarTitle":"Download the AEAT import file","openapi":"api/openapi.yaml GET /companies/{company_id}/tax-returns/{tax_return_id}/aeat-file","href":"/api/reference/tax-returns/get-tax-return-aeat-file"},{"title":"Download the AEAT receipt","sidebarTitle":"Download the AEAT receipt","openapi":"api/openapi.yaml GET /companies/{company_id}/tax-returns/{tax_return_id}/receipt","href":"/api/reference/tax-returns/get-tax-return-receipt"}]}]},{"group":"Payroll","pages":[{"group":"Payroll settings","pages":[{"title":"Get the labour settings","sidebarTitle":"Get the labour settings","openapi":"api/openapi.yaml GET /companies/{company_id}/payroll/settings","href":"/api/reference/payroll-settings/get-payroll-settings"},{"title":"Update the labour settings","sidebarTitle":"Update the labour settings","openapi":"api/openapi.yaml PATCH /companies/{company_id}/payroll/settings","href":"/api/reference/payroll-settings/update-payroll-settings"},{"title":"Preview a payslip","sidebarTitle":"Preview a payslip","openapi":"api/openapi.yaml POST /companies/{company_id}/payroll/preview","href":"/api/reference/payroll-settings/preview-payslip"}]},{"group":"Employees","pages":[{"title":"List employees","sidebarTitle":"List employees","openapi":"api/openapi.yaml GET /companies/{company_id}/employees","href":"/api/reference/employees/list-employees"},{"title":"Create an employee","sidebarTitle":"Create an employee","openapi":"api/openapi.yaml POST /companies/{company_id}/employees","href":"/api/reference/employees/create-employee"},{"title":"Update an employee","sidebarTitle":"Update an employee","openapi":"api/openapi.yaml PATCH /companies/{company_id}/employees/{employee_id}","href":"/api/reference/employees/update-employee"},{"title":"List an employee's changes","sidebarTitle":"List an employee's changes","openapi":"api/openapi.yaml GET /companies/{company_id}/employees/{employee_id}/changes","href":"/api/reference/employees/list-employee-changes"},{"title":"List an employee's documents","sidebarTitle":"List an employee's documents","openapi":"api/openapi.yaml GET /companies/{company_id}/employees/{employee_id}/documents","href":"/api/reference/employees/list-employee-documents"},{"title":"Record a document","sidebarTitle":"Record a document","openapi":"api/openapi.yaml POST /companies/{company_id}/employees/{employee_id}/document-records","href":"/api/reference/employees/record-employee-document"}]},{"group":"Contracts","pages":[{"title":"List contracts","sidebarTitle":"List contracts","openapi":"api/openapi.yaml GET /companies/{company_id}/employees/{employee_id}/contracts","href":"/api/reference/contracts/list-contracts"},{"title":"Create a contract","sidebarTitle":"Create a contract","openapi":"api/openapi.yaml POST /companies/{company_id}/employees/{employee_id}/contracts","href":"/api/reference/contracts/create-contract"},{"title":"Replace a contract","sidebarTitle":"Replace a contract","openapi":"api/openapi.yaml PUT /companies/{company_id}/contracts/{contract_id}","href":"/api/reference/contracts/replace-contract"},{"title":"Delete a contract","sidebarTitle":"Delete a contract","openapi":"api/openapi.yaml DELETE /companies/{company_id}/contracts/{contract_id}","href":"/api/reference/contracts/delete-contract"},{"title":"Get the written contract","sidebarTitle":"Get the written contract","openapi":"api/openapi.yaml GET /companies/{company_id}/contracts/{contract_id}/document","href":"/api/reference/contracts/get-contract-document"},{"title":"List Contrat@ submissions","sidebarTitle":"List Contrat@ submissions","openapi":"api/openapi.yaml GET /companies/{company_id}/contracts/{contract_id}/contrata-submissions","href":"/api/reference/contracts/list-contrata-submissions"},{"title":"Send a contract to Contrat@","sidebarTitle":"Send a contract to Contrat@","openapi":"api/openapi.yaml POST /companies/{company_id}/contracts/{contract_id}/contrata-submissions","href":"/api/reference/contracts/submit-contract-to-contrata"}]},{"group":"Payroll runs","pages":[{"title":"List payroll runs","sidebarTitle":"List payroll runs","openapi":"api/openapi.yaml GET /companies/{company_id}/payroll-runs","href":"/api/reference/payroll-runs/list-payroll-runs"},{"title":"Create a payroll run","sidebarTitle":"Create a payroll run","openapi":"api/openapi.yaml POST /companies/{company_id}/payroll-runs","href":"/api/reference/payroll-runs/create-payroll-run"},{"title":"Get a payroll run","sidebarTitle":"Get a payroll run","openapi":"api/openapi.yaml GET /companies/{company_id}/payroll-runs/{run_id}","href":"/api/reference/payroll-runs/get-payroll-run"},{"title":"Delete a payroll run","sidebarTitle":"Delete a payroll run","openapi":"api/openapi.yaml DELETE /companies/{company_id}/payroll-runs/{run_id}","href":"/api/reference/payroll-runs/delete-payroll-run"},{"title":"Recalculate a payroll run","sidebarTitle":"Recalculate a payroll run","openapi":"api/openapi.yaml POST /companies/{company_id}/payroll-runs/{run_id}/recalculate","href":"/api/reference/payroll-runs/recalculate-payroll-run"},{"title":"Create an approval link","sidebarTitle":"Create an approval link","openapi":"api/openapi.yaml POST /companies/{company_id}/payroll-runs/{run_id}/approval-link","href":"/api/reference/payroll-runs/create-payroll-approval-link"},{"title":"Approve a payroll run","sidebarTitle":"Approve a payroll run","openapi":"api/openapi.yaml POST /companies/{company_id}/payroll-runs/{run_id}/approve","href":"/api/reference/payroll-runs/approve-payroll-run"},{"title":"Mark a payroll run paid","sidebarTitle":"Mark a payroll run paid","openapi":"api/openapi.yaml POST /companies/{company_id}/payroll-runs/{run_id}/mark-paid","href":"/api/reference/payroll-runs/mark-payroll-run-paid"},{"title":"Mark a payroll run unpaid","sidebarTitle":"Mark a payroll run unpaid","openapi":"api/openapi.yaml POST /companies/{company_id}/payroll-runs/{run_id}/mark-unpaid","href":"/api/reference/payroll-runs/mark-payroll-run-unpaid"},{"title":"Reopen a payroll run","sidebarTitle":"Reopen a payroll run","openapi":"api/openapi.yaml POST /companies/{company_id}/payroll-runs/{run_id}/reopen","href":"/api/reference/payroll-runs/reopen-payroll-run"}]},{"group":"Payslips","pages":[{"title":"Get a payslip","sidebarTitle":"Get a payslip","openapi":"api/openapi.yaml GET /companies/{company_id}/payroll-runs/{run_id}/payslips/{payslip_id}","href":"/api/reference/payslips/get-payslip"},{"title":"Update a payslip's incidents","sidebarTitle":"Update a payslip's incidents","openapi":"api/openapi.yaml PATCH /companies/{company_id}/payroll-runs/{run_id}/payslips/{payslip_id}","href":"/api/reference/payslips/update-payslip-incidents"},{"title":"Download a payroll file","sidebarTitle":"Download a payroll file","openapi":"api/openapi.yaml GET /companies/{company_id}/payroll/files","href":"/api/reference/payslips/get-payroll-file"}]},{"group":"Social Security","pages":[{"title":"List Social Security liquidations","sidebarTitle":"List Social Security liquidations","openapi":"api/openapi.yaml GET /companies/{company_id}/payroll/liquidations","href":"/api/reference/social-security/list-liquidations"},{"title":"List SILTRA files","sidebarTitle":"List SILTRA files","openapi":"api/openapi.yaml GET /companies/{company_id}/payroll-runs/{run_id}/siltra-files","href":"/api/reference/social-security/list-siltra-files"},{"title":"Generate a SILTRA file","sidebarTitle":"Generate a SILTRA file","openapi":"api/openapi.yaml POST /companies/{company_id}/payroll-runs/{run_id}/siltra-files","href":"/api/reference/social-security/generate-siltra-file"},{"title":"List the TGSS answers","sidebarTitle":"List the TGSS answers","openapi":"api/openapi.yaml GET /companies/{company_id}/payroll-runs/{run_id}/red-responses","href":"/api/reference/social-security/list-red-responses"},{"title":"Import a TGSS answer","sidebarTitle":"Import a TGSS answer","openapi":"api/openapi.yaml POST /companies/{company_id}/payroll-runs/{run_id}/red-responses","href":"/api/reference/social-security/import-red-response"}]},{"group":"Leaves and strikes","pages":[{"title":"List sick leaves","sidebarTitle":"List sick leaves","openapi":"api/openapi.yaml GET /companies/{company_id}/payroll/leaves","href":"/api/reference/leaves-and-strikes/list-leaves"},{"title":"Import an FIE file","sidebarTitle":"Import an FIE file","openapi":"api/openapi.yaml POST /companies/{company_id}/payroll/fie-imports","href":"/api/reference/leaves-and-strikes/import-fie-file"},{"title":"List strikes","sidebarTitle":"List strikes","openapi":"api/openapi.yaml GET /companies/{company_id}/payroll/strikes","href":"/api/reference/leaves-and-strikes/list-strikes"},{"title":"Record a strike","sidebarTitle":"Record a strike","openapi":"api/openapi.yaml POST /companies/{company_id}/payroll/strikes","href":"/api/reference/leaves-and-strikes/record-strike"},{"title":"Correct a strike","sidebarTitle":"Correct a strike","openapi":"api/openapi.yaml PUT /companies/{company_id}/payroll/strikes/{strike_id}","href":"/api/reference/leaves-and-strikes/replace-strike"},{"title":"Delete a strike","sidebarTitle":"Delete a strike","openapi":"api/openapi.yaml DELETE /companies/{company_id}/payroll/strikes/{strike_id}","href":"/api/reference/leaves-and-strikes/delete-strike"}]}]}]},{"tab":"Partner API","pages":[{"title":"Partner API","href":"/api/partner/overview"}]}]},{"language":"es","pages":[{"title":"es","href":"/es/api-facturacion"}]}]},"basePath":"","title":"Show taxes and receipts - Melso","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":[],"chunks":[]}