100% Self-Serve Documentation & Error Self-Diagnostics

OpenPO v2 Operator & Developer Guide

Everything needed to deploy, automate EN 16931 XRechnung/ZUGFeRD 3-way matching, wire autonomous AI agents via MCP, and diagnose any error code — zero calls required.

1. Go Live on OpenPO Cloud in 2 Minutes

  1. Open /dashboard and click Create Free Workspace (10 seconds, no credit card). Save your one-time opo_admin_* and opo_live_* keys immediately (only SHA-256 hashes are stored).
  2. Click + Add Vendor, enter legal name, email, VAT ID, and verified IBAN (validated via ISO 13616 Mod-97 and encrypted with AES-256-GCM).
  3. Click + Issue Purchase Order to encumber your double-entry budget and get a one-time Supplier Portal URL (/o/<token>). Click Mark Received once goods/services arrive.
  4. Send the Supplier Portal link to your vendor (or upload a test invoice from /check). Cleared invoices export directly to SEPA XML (pain.001.001.09) and DATEV CSV.

2. Autonomous AI Agent Setup (MIT MCP CLI)

{
  "mcpServers": {
    "openpo": {
      "command": "npx",
      "args": ["-y", "@openpo/mcp"],
      "env": {
        "OPENPO_API_KEY": "opo_live_paste_your_agent_key",
        "OPENPO_MCP_URL": "https://api.openpo.dev/v1/mcp"
      }
    }
  }
}
Granular ScopePermission Granted
budget:readCheck real-time double-entry cost-center availability
vendor:readList verified/approved workspace vendors
vendor:inviteCreate pending vendor onboarding entries
req:writeSubmit spend requisitions through anti-smurfing velocity checks
po:issueIssue gapless Purchase Orders & one-time supplier portal tokens
receipt:writeLog validated goods/service receipts against open PO lines
lease:mintMint single-use offline-verifiable Ed25519 Spend Leases
invoice:matchRun deterministic 6-gate EN 16931 3-way match + WORM archive
voucher:exportExport DATEV CSV & ISO 20022 SEPA pain.001.001.09 XML
mcp:adminFull operational superset (reserved for owner/finance-admin automation)

3. Instant Error-Code Self-Diagnostics

Every OpenPO guard returns a deterministic machine-readable error code. Match your error below to resolve it in seconds without opening a ticket:

CRITICAL_IBAN_MISMATCH
Uploaded XRechnung/ZUGFeRD IBAN does not match the vendor’s verified AES-256-GCM IBAN.
Fix: Verify the new IBAN out-of-band with your vendor by phone. If legitimate, update the vendor IBAN or check the out-of-band confirmation box on /dashboard to approve an audited GoBD override.
ROLLING_24H_VELOCITY_CAP / ROLLING_7D_SAME_VENDOR_CAP
Anti-smurfing guard escalated an agent requisition that exceeded rolling 24h or 7-day same-vendor spend caps.
Fix: Approve or reject the requisition in /dashboard under Pending Spend Approvals, or adjust the agent policy limits.
FORBIDDEN_SCOPE_REQUIRED
MCP agent key lacks the granular scope needed for the called tool (e.g. po:issue or lease:mint).
Fix: Mint a new agent key in /dashboard with the required scope preset and revoke the old key.
PLAN_QUOTA_EXCEEDED
Workspace reached its Free (15 POs/mo, 1 budget) or Growth (150 POs/mo, 10 budgets) monthly quota.
Fix: Open /billing and upgrade self-serve to Growth (€139/mo) or Scale (€369/mo unlimited) — quota lifts immediately on Stripe webhook confirmation.
PO_REFERENCE_MISMATCH
Uploaded invoice BT-13 OrderReference does not match the PO bound to that Supplier Portal token.
Fix: Ask the supplier to put the exact PO number (e.g. PO-2027-00001) in BT-13 and re-upload.
OVER_RECEIPT_BLOCKED
Attempted to log more accepted quantity than remaining open quantity on the Purchase Order.
Fix: Inspect open line quantities on the PO or issue a new PO for additional units.
PDF_STREAM_BOMB_LIMIT_EXCEEDED
Embedded PDF/A-3 XML stream exceeded the 5 MB hard anti-zip-bomb ceiling.
Fix: Re-export the ZUGFeRD/Factur-X PDF cleanly or upload the standalone EN 16931 .xml file directly.
INVALID_IBAN_CHECKSUM
Vendor or debtor IBAN failed ISO 13616 Mod-97 checksum validation.
Fix: Check for typos in the IBAN digits (spaces are stripped automatically) and re-submit.

4. Support & Commercial Licensing Policy

  • • Free, Growth (€139/mo), and Scale (€369/mo): 100% self-serve SaaS with automated Stripe billing, EU VAT Reverse Charge invoices, and public bug tracking on GitHub Issues.
  • • Enterprise Commercial License & Dedicated EU SLA (€2,490/mo or €24,900/yr): Includes commercial non-AGPL / OEM license rights, ee/ enterprise hooks, and a dedicated 4-business-hour EU support SLA. Subscribe directly on /billing.
  • • Security Vulnerabilities: Report privately via GitHub Security Advisories.