More screenshots

    Works with the AI Agents you already use

    E-Invoice Rejection Triage: Why Your UBL Invoice Failed

    by AGI Tools

    1

    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.

    $14.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    E-Invoice Rejection Triage: Why Your UBL Invoice Failed

    E-Invoice Rejection Triage: Why Your UBL Invoice Failed

    Example session with this skill installed

    This Peppol invoice (examples/rejected-invoice.xml) was rejected with BR-CO-16, PEPPOL-EN16931-R120 and PEPPOL-COMMON-R043; the rejection message is in examples/validator-report.txt. What is wrong, by how much, and who has to fix it?

    • Read your context and instructions
    • Compiled the e-invoice rejection triage

    Ran python scripts/triage.py check examples/rejected-invoice.xml --report examples/validator-report.txt. Exit code 1 (findings). The invoice file was not changed. Full report:

    E-invoice rejection triage — Invoice EX-2026-0042

    File rejected-invoice.xml, 2 line(s), currency EUR. Specification: Peppol BIS Billing 3.0. Validator findings read:
    3. Calculations that differ: 2 (within the official tolerance: 0). Fields missing:
    0. Tax setup violations: 0.

    Reported by your validator

    RuleFlagWho usually actsLocal evidence
    BR-CO-16fatalIssuing system: amounts, rounding or the order of calculationconfirmed by the local check below
    PEPPOL-COMMON-R043fatalMaster data: electronic addresses, company and VAT identifiers of seller or buyernot examined by this program: read the rule text in the validator report
    PEPPOL-EN16931-R120fatalIssuing system: amounts, rounding or the order of calculationconfirmed by the local check below

    Recomputed from the invoice

    RuleWhatStatedComputedDifferenceWhere
    BR-CO-10Sum of line net amounts42.1042.100.00LegalMonetaryTotal/LineExtensionAmount
    BR-CO-13Invoice total without VAT42.1042.100.00LegalMonetaryTotal/TaxExclusiveAmount
    BR-CO-14Invoice total VAT amount8.848.840.00TaxTotal/TaxAmount
    BR-CO-15Invoice total with VAT50.9450.940.00LegalMonetaryTotal/TaxInclusiveAmount
    BR-CO-16Amount due for payment50.0050.94-0.94 differsLegalMonetaryTotal/PayableAmount
    BR-CO-17VAT category tax amount8.848.840.00TaxTotal/TaxSubtotal[1] (category S, rate 21.00)
    BR-S-09VAT category tax amount (absolute values)8.848.840.00TaxTotal/TaxSubtotal[1] (category S, rate 21.00)
    BR-S-08VAT category taxable amount42.1042.100.00TaxTotal/TaxSubtotal[1] (category S, rate 21.00)
    PEPPOL-EN16931-R120Net amount of line 120.0020.000.00InvoiceLine[ID=1]/LineExtensionAmount
    PEPPOL-EN16931-R120Net amount of line 222.1022.20-0.10 differsInvoiceLine[ID=2]/LineExtensionAmount

    Mandatory fields often behind a refusal

    • All examined fields are present.

    VAT category, decimals

    • No violation among the examined rules.

    Limits

    • Rule identifiers and tolerances checked against: EN 16931 validation artefacts 1.3.16; Peppol BIS Billing 3.0.22.
    • Not a validator: only the calculations and fields listed here are examined. Run the official validation artefacts for a verdict.
    • Rounding and tolerances follow the published rules of the releases named above. 'within_tolerance' means the amounts differ but the official rule accepts the difference; a stricter national rule set may not.
    • UBL 2.1 Invoice and CreditNote only. CII (Factur-X, ZUGFeRD, XRechnung in CII syntax) is not read. IGIC and IPSI category rules other than the taxable amount are not examined.
    • When two amounts disagree, this report does not say which one is wrong, and it never changes the invoice.
    • No statement of legal or tax compliance in any country.

    Connects securely to your tools. The creator never sees your data.

    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.

    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

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 6 days ago

    Software
    Python 3.9+

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    File Scopes

    **/*.xml
    **/*.svrl
    **/*.txt
    **/*.md
    **/*.json
    Listed7 days ago
    Updated4 days ago

    What's inside

    Frequently Asked Questions

    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.

    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.

    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.

    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.

    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.

    New in Finance & Accounting

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Finance & Accounting.