Greenstamp handles the hard compliance — Mexico's CFDI clearance, European Peppol — so you can issue compliant invoices directly from your product or AI agent.
Three integration surfaces — pick the one that fits your architecture
Full invoicing, AP, and treasury surface — ~25 OpenAPI-documented resources. Create, issue, cancel, and query invoices and bills with a single authenticated request.
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.
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.
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:
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.
Everything is documented and interactive
Interactive OpenAPI docs for every endpoint — invoices, bills, payments, counterparties, entities, and more. Try requests directly in the browser.
Browse the referenceReference for all MCP tools available to AI agents — read scope, write scope, approval gates, and how to wire Greenstamp into your agent workflow.
View agent toolsReceive signed, real-time event notifications — invoice stamped, bill paid, certificate expiring — without polling. Signature verification, event catalog, retry behavior, and worked code examples.
Read the guideStart with the complete CFDI guide — Mexico's e-invoicing requirements explained in plain English. More guides on Peppol, payment complements, and cancellations coming soon.
Read the CFDI guideAPI 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.