MCP · Bills
File a bill
Files an uploaded document as a bill. Neno checks that it is an invoice or receipt, then queues it for extraction and review, so the reply has an id and status rather than the figures. Sending the same document again returns the existing bill.
Description for models
Sent verbatim in tools/list. It's written for the model, so it says when to use the tool.
Arguments
Anything the user told you about this document that the document itself cannot say — that it was already paid, that part of it was refunded, which office it belongs to. Their words, not a summary. Omit it when they said nothing.
The token create_bill_upload returned, after you have PUT the document to the URL it gave you. Call create_bill_upload first if you do not have one.
Added by the server
On every tool that acts on one companyThe id of the company this applies to. This connection covers a single company, which is filled in for you, so you can leave this out.
Result
content[0].text, starting with Company: and the company name.isError: true. The text says what went wrong and what to tell the user.workspace argument, the server asks which company the call is for. A client that can't ask gets an error that lists the companies.Tools return plain text with no output schema. This example follows the tool's real format, but the values are made up.