# E-Invoice Rejection Triage: Why Your UBL Invoice Failed

> Peppol or UBL e-invoice rejected? Find out why: every total the EN 16931 and Peppol rules compare is recomputed with official rounding, and each finding is tied to your validator report and its owner.

E-Invoice Rejection Triage: Why Your UBL Invoice Failed is a paid AI agent skill on Agensi by AGI Tools, in Finance & Accounting. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $14.99 (one-time purchase)
- Creator: [AGI Tools](https://www.agensi.io/creators/agi-tools)
- Category: [Finance & Accounting](https://www.agensi.io/skills/finance-accounting)
- Version: 1.0.1
- Last updated: 2026-11-30
- Security: scan passed (2026-11-28); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/e-invoice-rejection-triage-why-your-ubl-invoice-failed
- Tags: finance, ubl-invoice, peppol, en16931, e-invoicing, invoice-validation, accounts-payable, vat

## About this skill

A validator tells you which rule failed. It does not tell you which number is off, by how much, or who has to fix it. This skill runs a real program on the invoice itself and answers those three questions.

- Recomputes every total the calculation rules compare: line sums, document allowances and charges, totals with and without VAT, amount due, VAT per category, and the Peppol line amount, with the official rounding and tolerances.
- Shows stated value, computed value and difference for each rule, and marks differences the published rule accepts as "within tolerance" instead of errors.
- Checks the mandatory fields behind frequent refusals (identifiers, dates, parties, addresses, VAT scheme, electronic addresses, Peppol header fields), VAT category setup and decimal limits.
- Reads your validator's report (SVRL, KoSIT XML or plain text) and says for each reported rule whether the local check confirms it, and who usually acts: issuing system, tax setup, header configuration, master data or code values.
- Verdicts compared with the official EN 16931 1.3.16 and Peppol 3.0.22 rules on 312 invoices with no disagreement.
- Runs locally with the Python standard library. Never changes the invoice. Refuses XML with DOCTYPE or entities.

Not affiliated with Agensi, Peppol, CEN or the European Commission. Built by AGI Tools.

## Requires

- Python 3.9+

## Known limitations

UBL only: CII (Factur-X, ZUGFeRD, XRechnung in CII) is not read.
Code lists (BR-CL rules) and national rule sets (for example BR-DE) are listed from your report but not examined.
Verified on Linux with Python 3.9, 3.11, 3.12 and 3.13; Windows and macOS not verified yet.
Checked against EN 16931 artefacts 1.3.16 and Peppol 3.0.22; another release may differ.
Not a validator, and no legal, accounting or tax compliance statement in any country.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the E-Invoice Rejection Triage: Why Your UBL Invoice Failed skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Is this a validator?

No. The official validation artefacts or your access point give the verdict. This skill explains a rejection with the numbers: which amounts a rule compares, what they are, and by how much they differ.

### Which formats does it read?

UBL 2.1 Invoice and CreditNote (EN 16931, Peppol BIS Billing 3.0 and other EN 16931 specifications in UBL). CII files (Factur-X, ZUGFeRD, XRechnung in CII) are refused with a message. Reports: SVRL, KoSIT XML or plain text; several reports can be given at once.

### Does it change my invoice?

Never, and it never produces a corrected invoice. It only reads the files you name and writes the report folder you name. The correction is made in the system that issued the invoice.

### Is my invoice uploaded anywhere?

No. The included program runs on your machine with the Python standard library and makes no network connection. Files with a DOCTYPE or entity declarations are refused or read as plain text.

### How do I know the arithmetic matches the official rules?

Its verdicts were compared with the official EN 16931 1.3.16 artefacts and the Peppol 3.0.22 rules on 312 invoices with no disagreement, and 33 of those verdicts are re-checked by the included tests. It does not guarantee legal, accounting or tax compliance in any country.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
