preview_invoice

Preview and validate invoice data without generating a PDF. Pass the full invoice JSON as a string. Returns validated invoice data or validation errors.

Server Fakturka Api softvoyagers/fakturka-api-mcp
Category Read
Risk class Low
Parameters 00 required

What preview_invoice does on Fakturka Api

AI agents call preview_invoice to retrieve information from Fakturka Api without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

Why preview_invoice needs a policy

The tool performs data validation and preview operations only. It accepts invoice data as input and returns validation results or validated data, with no capability to persist changes, delete data, execute code, or trigger financial transactions. This is a classic Read operation: data retrieval and validation with no side effects.

From the tool's definition Tool description states it 'Preview and validate invoice data without generating a PDF' and 'Returns validated invoice data or validation errors.' These are read-only operations with no side effects—it validates and returns data without creating, modifying,…

Questions about preview_invoice

What does the preview_invoice tool do? +

Preview and validate invoice data without generating a PDF. Pass the full invoice JSON as a string. Returns validated invoice data or validation errors. It is categorised as a Read tool in the Fakturka Api MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on preview_invoice? +

Register the Fakturka Api MCP server in PolicyLayer and add a rule for preview_invoice: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Fakturka Api. Nothing to install.

What risk level is preview_invoice? +

preview_invoice is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit preview_invoice? +

Yes. Add a rate_limit block to the preview_invoice rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block preview_invoice completely? +

Set action: deny in the PolicyLayer policy for preview_invoice. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides preview_invoice? +

preview_invoice is provided by the Fakturka Api MCP server (softvoyagers/fakturka-api-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.