Connect AI agents to Sorgera Services

Sorgera Services

Connect a tool-capable AI agent or ERP workflow to Sorgera’s validators, CII-to-UBL conversion and Peppol directory.

A customer’s agent using MCP

The customer’s agent calls the Sorgera tool. Sorgera runs the standard invoice operation and returns the result.

  1. Choose an operationThe agent discovers tools and selects the right validator or converter for the file.
  2. Send an authorized requestFor invoice operations, the agent host supplies a Sorgera API token to the MCP endpoint.
  3. Run the product toolSorgera applies the requested check or conversion. Applicable operations use account credits.
  4. Return a structured resultThe agent receives the validation or conversion result for the next step in the workflow.

Connect with MCP

  1. Add a remote Streamable HTTP server in your MCP client with the endpoint below.
  2. Use tools/list to discover the operations and their input schemas. Try get_compliance_changelog with empty arguments to check your connection.
  3. For invoice validation or conversion, configure a Sorgera API token in the agent host and send it in the Authorization header. Keep the token in the client’s secret settings.
  4. Choose the tool for the invoice profile and give it the approved test file. Review the returned validation report or converted XML in your workflow.

Endpoint https://services.sorgera.com/api/mcp

Authorization: Bearer YOUR_SORGERA_API_TOKEN

Operations an agent can call

lookup_peppol_participant and get_compliance_changelog
Public company lookup and current supported standards.
validate_peppol, validate_pint, validate_germany, validate_france and validate_ksef
Authenticated document checks. For example, send PINT AE XML to validate_pint with jurisdiction set to ae.
convert_cii_to_ubl
Authenticated CII XML conversion. Choose the Peppol or XRechnung UBL profile.
get_credit_balance
Read the authenticated account’s available credits.

REST, CLI and credit rates