# E-Invoicing Mandate Lookup by Country (PEPPOL/KSeF)

> E-Invoicing Mandate Lookup by Country (PEPPOL/KSeF) is a paid API for AI agents from apiwitchcraft.duckdns.org, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns the e-invoicing mandate status, requirements, and supported standards (PEPPOL, KSeF, etc.) for a given country.

## Facts

- Endpoint: GET https://apiwitchcraft.duckdns.org/einvoicing/:country
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/e-invoicing-mandate-lookup-by-country-peppol-ksef-04f868f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t3l97Oh0MeEzHQWVN-4yf

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability e-invoicing-mandate-lookup-by-country-peppol-ksef-04f868f3
```

Example prompt: What are the e-invoicing mandate requirements for Poland — does it use PEPPOL or KSeF, and is it currently mandatory?

## When to prefer this

Use this endpoint when you need to quickly look up e-invoicing compliance requirements for a specific country, especially for PEPPOL and KSeF mandates. Ideal for finance, procurement, or ERP systems that need to determine whether to route invoices through a government-mandated e-invoicing network before sending.

## Known failure modes

- Invalid or unsupported country code returns an error or empty result
- Country not yet covered by the dataset returns no data
- Payment not processed results in 402 response
- Stale mandate data if regulations have recently changed

## How this service works

Check e-invoicing mandate and format requirements (Peppol/UBL, CIUS, clearance vs continuous transaction control) for any EU country in one x402 call. Surfaces VAT-compliance rules for B2B/B2G invoicing so agents and finance apps stay compliant before issuing. Pay per lookup in USDC on Base, no API key, instant JSON.

## Output

A structured response containing the e-invoicing mandate details for the requested country, including whether e-invoicing is mandatory, which standard is used (e.g. PEPPOL, KSeF), compliance deadlines, and scope of the mandate.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "properties": {
    "method": {
     "type": "string",
     "enum": [
      "GET"
     ]
    },
    "pathParams": {
     "type": "object"
    }
   },
   "required": [
    "method"
   ]
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/e-invoicing-mandate-lookup-by-country-peppol-ksef-04f868f3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from apiwitchcraft.duckdns.org](https://www.zero.xyz/host/apiwitchcraft.duckdns.org/llms.txt)
