Skip to main content
Read-only actions. Read invoices and prepare unnumbered drafts or corrections. issue submits the exact saved version when the owner asks, through their external OAuth connection, with paid tools and verified supplier authority. Pass the version from get as expected_version. A reserved number or pending provider is not confirmed registration; inspect verifactu_status, pdf_ready and delivery state. Configured payment-link creation and email delivery may follow registration. Retry only the same invoice and version after an uncertain response. request_approval offers web review instead. No action approves, files or pays a tax return. Each action accepts only its own fields (* required): get(id*); request_approval(id*); list(contact_id, cursor, document_number, due_date_end, due_date_start, end_date, limit, q, sort, start_date, status). Availability: Autónomo / Empresa. Access: Live in the Melso app and over MCP for a signed-in person. Where the partner REST API covers the same area, that path is private beta until Melso enables your account. See Access and pricing. Without a plan that includes the tools, only the read actions are listed: get, list. The live tool list is authoritative: the company’s plan and your role can narrow this contract. Understand access.

When to use

Use invoices_read for get, list, request_approval. Use invoices 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.

Read actions

These actions only read. They change nothing.
Read one of the company’s invoices including its current reviewed-content version and totals.
List this company’s local invoice summaries with settlement balances. Follow next_cursor while has_more; keep filters unchanged. The invoice record holds the legal registration and PDF.
Read the draft preview and return Emitir/Cambiar actions for authenticated web review. Present the preview and approval URL when the person prefers reviewing in Melso. This action does not issue the invoice; the owner’s external OAuth connection can issue its exact version with issue.

Output

list and get return invoices with their totals and status. request_approval returns the saved preview and the signed-in page where the owner issues the exact version. 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.

Declared output schema

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

Get the approval page for that draft

2

Read it again later to see whether it was issued

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.