Skip to main content
Correct or delete income invoiced outside Melso. update needs expected_version from get; for income in another currency, collected_date and collected_amount record the euros that came in. Amounts are EUR decimal strings. Income a return Melso approved or filed covers cannot be deleted; a return recorded as filed outside Melso does not stop that. Actions (* required): update(id*, expected_version*, …); delete(id*). Availability: Self-employed / Company. The live tool list is authoritative: the company’s plan and your role can narrow this contract. Understand access.

When to use

Use income for delete, update. Use income_read for the companion actions. The live tool list determines availability.

Input

Actions

The tool’s schema combines the fields of every action. Each action accepts only its own fields below; send action with them.

Write actions

These actions change data. The server lists them only with a plan that includes the tools.
Delete an income recorded by mistake, such as a duplicate, after the person confirms. Its file stays in Documents. Refused when a tax return Melso approved or filed covers its date; a return recorded as filed outside Melso does not stop it.
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

update returns the corrected income record. delete returns a deletion receipt. 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. When the server declares an outputSchema, it is reproduced below. Check the action result and its declared fields before reporting success.

Example

Use the actions of this tool in the order shown; its companion tool covers the other actions. These are the arguments of each call, in order.
1

Correct the customer name at that version

The first call as a request. Use an OAuth access token issued for this MCP resource and replace the example identifiers with values from your own company. Write actions change data.