Koskamo

Validate EN 16931 invoices for compliance

Receive a detailed validation report indicating whether an invoice complies with EN 16931, XRechnung, or Peppol standards, including specific errors, warnings, and suggested fixes.

How it works

Read-onlyFinance and payments

The agent reads the invoice data (JSON or XML) from the user or a connected file. It constructs a POST request to the /v1/validate endpoint with the appropriate profile (e.g., 'en16931', 'xrechnung-ubl'). It sends the request using the user's API key. Upon receiving the response, the agent parses the result to determine validity. If invalid, it extracts the specific rule violations and their corresponding fixes to present to the user for correction.

Prompt

Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.

Prompt for Validate EN 16931 invoices for compliance
Validate the following invoice data against the EN 16931 standard. Here is the JSON payload: {insert invoice JSON}. Please check for compliance and list any errors or warnings with their fixes.

MCP servers it needs

Source

The vendor page this playbook is drawn from, and the passage that supports it.

Generate, read and check UBL or CII for XRechnung and Peppol BIS. Send JSON or XML from any backend language and get clear errors with the rule, field and fix.
Attestwire API — EN 16931 validation and generation

Each playbook is drawn from the vendor page it cites and reviewed by Koskamo before it is published. Koskamo does not run these servers or your agent: check what each tool will do before you let it act on your accounts.