{
  "product": "CrateAPI",
  "summary": "The format layer for EU e-invoicing (EN 16931: Factur-X, UBL/Peppol BIS, XRechnung, CII) plus a small utility API portfolio (PDF, screenshot, email validation, content extraction). Not a transmission pipe or Peppol Access Point.",
  "llms_txt": "https://crateapi.com/llms.txt",
  "apis": [
    {
      "name": "E-Invoicing API",
      "base_url": "https://api.crateapi.com/v1",
      "openapi": "https://api.crateapi.com/openapi.json",
      "docs_ui": "https://api.crateapi.com/docs",
      "auth": {"header": "X-API-Key", "get_key": "https://crateapi.com/#pricing"},
      "free_endpoints": ["/validate/ubl", "/validate/cii", "/pdfa/validate", "GET /validator"],
      "billable_endpoints": ["/generate/ubl", "/generate/cii", "/generate/facturx",
        "/generate/facturx/embed", "/convert/ubl-to-cii", "/convert/cii-to-ubl",
        "/render/html", "/render/pdf", "/pdfa/convert", "/repair/ubl", "/repair/cii"],
      "profiles": ["en16931", "peppol", "xrechnung", "ro", "fr", "fr-extended"],
      "pricing": [
        {"plan": "Free", "price_usd_month": 0, "quota": "unlimited validate + 50 generated docs/month (watermarked)"},
        {"plan": "Basic", "price_usd_month": 29, "quota": "500 invoices/month"},
        {"plan": "Pro", "price_usd_month": 79, "quota": "2500 invoices/month"},
        {"plan": "Ultra", "price_usd_month": 199, "quota": "10000 invoices/month"}
      ],
      "mcp_server": {
        "type": "self-hosted",
        "run": "python -m einvoicing.mcp_server",
        "source": "https://github.com/crateapi (see docs/API.md in the einvoicing repo)",
        "tools": ["validate_invoice", "repair_invoice", "generate_invoice", "convert_invoice"],
        "env": {"EINVOICE_API_KEY": "your API key", "EINVOICE_API_BASE": "optional override, default https://api.crateapi.com/v1"}
      }
    },
    {
      "name": "Document Tools API",
      "base_url": "https://api.crateapi.com",
      "openapi": ["https://api.crateapi.com/pdf/openapi.json", "https://api.crateapi.com/screenshot/openapi.json",
        "https://api.crateapi.com/email/openapi.json", "https://api.crateapi.com/extract/openapi.json"],
      "auth": {"via": "RapidAPI (listing pending) or contact for direct access"},
      "sub_apis": [
        {"path": "/pdf", "endpoints": ["merge", "split", "watermark", "protect", "compress", "to-images", "extract-text", "metadata"]},
        {"path": "/screenshot", "endpoints": ["take (block_ads, block_trackers, block_cookie_banners, cache_ttl params)"]},
        {"path": "/email", "endpoints": ["validate", "validate-batch", "validate-bulk (CSV upload)"]},
        {"path": "/extract", "endpoints": ["article", "extract-html"]}
      ],
      "pricing": [
        {"plan": "Free", "price_usd_month": 0, "quota": "100 requests/month"},
        {"plan": "Pro", "price_usd_month": 14.90, "quota": "10000 requests/month"},
        {"plan": "Ultra", "price_usd_month": 39.90, "quota": "50000 requests/month"}
      ]
    }
  ],
  "reference_pages": {
    "api_docs": "https://crateapi.com/docs/",
    "error_codes": "https://crateapi.com/errors/",
    "france_compliance": "https://crateapi.com/plateforme-agreee/",
    "mandate_tracker": "https://crateapi.com/mandate-tracker/",
    "compare_invoicexml": "https://crateapi.com/compare/invoicexml/",
    "status": "https://crateapi.com/status/"
  }
}
