Skip to main content
Read and correct the income invoiced outside Melso, which the tax returns count with Melso’s own invoices. Monetary amounts are EUR decimal strings; update requires the saved expected_version. Each action accepts only its own fields (* required): list; get(id*); update(id*, expected_version*, customer_country, customer_name, customer_tax_id, description, document_number, file_id, irpf_amount, irpf_rate, issue_date, operation_date, vat_lines, vat_treatment); delete(id*). Availability: Autónomo / Empresa. Catalog: Core (tools/list). The live catalog is authoritative: company type, membership, plan, connected apps and execution context can narrow this contract. Understand access.

Input

Autónomo / Company schema

Actions

The family schema combines fields for discovery. Each action accepts only its own fields below; add action when calling the family.
Delete an income recorded by mistake, such as a duplicate, after the person confirms. Its file stays in Documents. Refused when a tax return covering its date was already approved or filed.
Read one income with its VAT lines, withholding, review codes and saved version.
List the income invoiced outside Melso (another invoicing tool, a platform, invoices from before Melso), with amounts, review codes and saved versions. Invoices issued with Melso are in invoices.
Correct only the supplied fields of an income at expected_version, for example what the document reading got wrong. Saving confirms it and clears its review codes. New income comes from from_document in expenses.

Output

Income records or the result of the selected update or deletion. Read identifiers from the company’s current records. The result uses MCP content blocks; JSON payloads are encoded in text and may also appear in structuredContent. Check isError before reading a success payload. The server does not currently declare an outputSchema, so treat additional fields as extensible. Result handling.

Example

Use an OAuth access token issued for this MCP resource (a Run token for Run-only tools). Replace example identifiers with values from your own account. Write actions change data.