Payments · x402 · early usage

Before your agent bills a customer: get the whole Factur-X file it sends and the custom…

Before your agent bills a customer: get the whole Factur-X file it sends and the customer reads - a PDF/A-3B embedding the EN 16931 CII XML, the hybrid invoice mandated by the French 2026-2027 reform. Post simple business JSON (parties, lines, VAT), get a fil…

by api.invoket.com · discovered, not yet claimed by its owner · updated 2026-09-19

30d calls2
30d payers1
MethodPOST
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

Before your agent bills a customer: get the whole Factur-X file it sends and the customer reads - a PDF/A-3B embedding the EN 16931 CII XML, the hybrid invoice mandated by the French 2026-2027 reform. Post simple business JSON (parties, lines, VAT), get a file ready to send and archive: totals computed, inconsistent input refused field by field, the official rule set cleared and the embedded XML re-read byte for byte. vat_treatment writes the reverse charge or intra-Community exemption mention.

Tags: compliance · verification · fraud-prevention · regulatory-data · weather · bazaar

Call contract

Method
POST
Input
json
Output
json
Last paid call
2026-09-19
Input example from Bazaar metadata
{
  "buyer": {
    "address": {
      "city": "Paris",
      "country": "FR",
      "line1": "4 avenue du Parc",
      "postal_code": "75011"
    },
    "name": "Agence Lumen SAS",
    "vat_id": "FR23342663721"
  },
  "currency": "EUR",
  "due_date": "2026-08-11",
  "invoice_number": "FA-2026-0042",
  "issue_date": "2026-07-12",
  "lines": [
    {
      "description": "Fabrication comptoir chene massif",
      "qty": "1",
      "unit": "C62",
      "unit_price": "1200.00",
      "vat": {
        "category": "S",
        "rate": "20"
      }
    },
    {
      "description": "Pose et finition sur site",
      "qty": "6",
      "unit": "HUR",
      "unit_price": "85.00",
      "vat": {
        "category": "S",
        "rate": "20"
      }
    }
  ],
  "payment": {
    "iban": "FR7630006000011234567890189",
    "terms": "30 jours nets"
  },
  "seller": {
    "address": {
      "city": "Lyon",
      "country": "FR",
      "line1": "12 rue des Artisans",
      "postal_code": "69003"
    },
    "legal_id": {
      "scheme": "0002",
      "value": "732829320"
    },
    "name": "Menuiserie Dubois SARL",
    "vat_id": "FR44732829320"
  }
}
Output example
{
  "example": {},
  "type": "string"
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/28663.json for the price and payment options.
  3. Pay. Call GET https://api.invoket.com/invoice/generate-pdf. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.1 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Demand
2 calls · 1 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.10x4465825B0ac713aA2Fa07Ea29023020804A128ee60s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x4465825B0ac713aA2Fa07Ea29023020804A128ee",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "100000",
    "amountUsd": 0.1,
    "maxTimeoutSeconds": 60
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {},
  "type": "string"
}

Examples

curl
curl "https://api.invoket.com/invoice/generate-pdf"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.invoket.com/invoice/generate-pdf");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://api.invoket.com/invoice/generate-pdf")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
api.invoket.com
Endpoint
https://api.invoket.com/invoice/generate-pdf
Machine-readable
/resources/28663.json