Greenstamp API Platform

Compliant e-invoicing infrastructure — one API for clearance and Peppol regimes

Greenstamp handles the hard compliance — Mexico's CFDI clearance, European Peppol — so you can issue compliant invoices directly from your product or AI agent.

API Reference Get API keys

What you can build

Three integration surfaces — pick the one that fits your architecture

REST API

REST API

Full invoicing, AP, and treasury surface — ~25 OpenAPI-documented resources. Create, issue, cancel, and query invoices and bills with a single authenticated request.

MCP Server

MCP Server

Let AI agents draft invoices, read counterparties and ledger data, and request stamp actions — safely. Read-only by default; write operations require an explicit human-approval gate.

Webhooks

Webhooks

Subscribe an endpoint and receive signed, real-time events the moment things happen — invoice.stamped, invoice.paid, bill.paid, and 25+ more — with automatic retries and a full delivery log.

Up in one request

Authenticate with a Bearer token, pass entity and counterparty IDs, and get back a stamped invoice. Here's a Mexico CFDI example using the real endpoint shape:

bash
curl https://api.greenstamp.io/api/v1/invoices \
  -H "Authorization: Bearer $GREENSTAMP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "entity_id":        "entt_...",
    "counterparty_id":  "cpty_...",
    "currency":         "MXN",
    "country_details": {
      "payment_method": "PUE",
      "cfdi_use":       "G03"
    },
    "line_items": [{
      "description":  "Consulting services",
      "quantity":     1,
      "unit_price":   1000.00,
      "country_details": {
        "sat_product_code": "84111506",
        "sat_unit_code":    "E48"
      }
    }]
  }'

The full request schema — including required fields, tax regimes, and Peppol country variants — is in the API Reference.

Explore the platform

Everything is documented and interactive

Authentication & keys

API keys are org-scoped with per-resource permission scopes. Keys created for AI agents default to read-only; write operations (stamping, cancellations) require explicit elevated permissions with a human-approval gate. Get your keys from your API Keys dashboard. See the API Reference for full auth details, scope definitions, and rate limits.