Skip to main content
Glama
getpopapi
by getpopapi

Create Peppol / UBL Invoice

pop_create_peppol_invoice

Generate Peppol-compliant e-invoices in UBL 2.1 format and submit them to the Peppol network for cross-border B2B electronic invoicing across Europe.

Instructions

Generate a Peppol e-invoice in UBL 2.1 format and optionally submit it to the Peppol network.

Peppol (Pan-European Public Procurement Online) enables cross-border B2B electronic invoicing across Europe. The API generates a compliant UBL 2.1 XML document.

Restrictions:

  • Customer type must be 'company' or 'freelance' (Peppol does not support private individuals)

  • Submission requires active Peppol via POP integration (Basic+ plan)

  • The customer must have a valid Peppol participant ID

Returns: UBL XML string or JSON with UUID when submitting to the network.

Args:

  • data: Complete invoice data (customer_type must be 'company' or 'freelance')

  • submit_to_peppol: Set true to submit to Peppol network

  • integration: Override integration config

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesFull invoice data object. Note: Peppol only supports company and freelance customer types.
site_urlNo
site_titleNo
environmentNoTarget environment (e.g. 'sandbox')
integrationNoIntegration configuration override
plugin_versionNo
submit_to_peppolNoIf true, automatically submits to the Peppol network. Requires active Peppol via POP integration.
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations indicate this is a non-read-only, open-world operation, and the description adds relevant behavioral context: it generates UBL 2.1 XML, optionally submits to the Peppol network, and returns either a UBL XML string or a JSON with UUID. It also discloses the integration/prerequisites for submission. No contradiction with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with a clear top-line purpose, a short explanation of Peppol, a bulleted 'Restrictions' section, a return-value note, and an 'Args' list. It is not overly verbose, though the Args section partially repeats schema information; still, each sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex tool with 7 parameters, nested objects, and no output schema, the description covers purpose, format, return types, integration requirements, and key restrictions. It does not describe every nested field, but the schema handles that. The missing output schema is compensated by the explicit return description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description highlights the key parameters 'data', 'submit_to_peppol', and 'integration' with meaningful semantics beyond the schema, such as the customer_type restriction inside 'data' and the condition for 'submit_to_peppol'. Schema coverage is 57%, and many nested fields are documented in the schema, so the description adds useful high-level guidance without repeating every detail.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb+resource: 'Generate a Peppol e-invoice in UBL 2.1 format and optionally submit it to the Peppol network.' It names the format, the network, and the action, and is clearly distinct from sibling tools like pop_create_sdi_invoice or pop_create_zugferd_invoice.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly states when to use this tool (Peppol e-invoicing) and provides explicit restrictions: customer type must be 'company' or 'freelance', submission requires an active Peppol via POP integration, and the customer needs a valid Peppol participant ID. It does not explicitly name alternative tools for other formats, but the context is clear enough.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/getpopapi/pop-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server