Skip to content
Factum Parse

Factum Parse API

Tax parsing: 100% zero retention. We save nothing, we send nothing in clear, we train nothing on your data.

A tax parser. Not an archive. Not a data warehouse. Not a training engine.

Does.

  • Extracts invoices, F24 and tax documents — FatturaPA XML, text PDF, free text — into structured, validated JSON with verified arithmetic.
  • Pseudonymizes every sensitive data point (22 categories) before any AI call. The model sees placeholders, never your data.
  • Processes 100% in RAM: zero disk writes, zero retention, zero training on your documents.
  • Answers deterministically on XML in ~12 ms, without touching any model.

Doesn’t.

  • No OCR. A scanned PDF is rejected with a clean error (HTTP 422). We don’t invent text that isn’t there.
  • No clear-text data to any model. If pseudonymization isn’t available, the system stops (HTTP 503). Never a degradation.
  • Nothing is kept. After the response, nothing of your document remains: no file, no dictionary, no content logs.

If this is what you need, you can try it in a minute. If it isn’t, we didn’t waste your time.


⚡️ Quickstart — Time-to-first-call < 60s

Section titled “⚡️ Quickstart — Time-to-first-call < 60s”

Send a textual payload (invoice, F24, free text) and get back a structured DocumentEnvelope v2. Authentication: X-API-Key header.

Fastest First Call Raw Text / JSON — test the endpoint in 30 seconds with a text payload. For production PDF/XML/multipart workflows, see Endpoint Reference.

Terminal window
curl -X POST https://api.factum.pyragogy.org/v1/parse \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "Invoice no. 2026/001 dated 15/03/2026. Supplier: ACME S.r.l. — Via Roma 1, Milan. VAT IT01234567890. Client: Mario Rossi. Total: € 1,220.00. Taxable: € 1,000.00. VAT 22%: € 220.00.",
"doc_type": "auto"
}'
⚡

Recommended for production integrations: FatturaPA XML. Deterministic path: ~12 ms end-to-end, no LLM, stable cost. The text-PDF path extracts via LLM in ~10–15 s (improvement margin on the roadmap); scanned PDFs are not supported (HTTP 422). Details and chart: Processing latency.


Enter your X-API-Key and a document excerpt to test the endpoint directly from your browser. The response is displayed with syntax highlighting.

⚠️ Demonstrational execution with rate-limiting. Your key is never stored nor sent to third parties.

Response — ParseResponse with DocumentEnvelope v2

Section titled “Response — ParseResponse with DocumentEnvelope v2”
{
"job_id": "3f2b5e6a-0000-4000-8000-000000000004",
"status": "done",
"document_type": "invoice",
"provider_used": "fast-path",
"prompt_version": "fast-path-v1",
"confidence": 1.0,
"cost_usd": 0.0,
"tokens": 0,
"fallbacks": [],
"content_hash": "a1b2c3d4e5f67890abcdef1234567890abcdef12",
"result": {
"schema_version": "2.0",
"document_type": "invoice",
"meta": {
"confidence": 1.0,
"provider": "fast-path",
"prompt_version": "fast-path-v1"
},
"payload": {
"kind": "invoice",
"cedente_prestatore": {
"Denominazione": "ACME S.r.l.",
"Indirizzo": "Via Roma 1, Milano",
"PartitaIVA": "IT01234567890"
},
"cessionario_committente": {
"Denominazione": "Mario Rossi"
},
"corpi": []
}
},
"error": null
}
Aspect Detail
Auth X-API-Key header on business endpoints; fail-closed
Document type auto detects; explicit fattura, f24, generico available
ZDR Privacy Direct text is stateless; PII mapping is request-scoped RAM
Deterministic FatturaPA XML → 100% deterministic, 0 tokens, 0 cost
LLM fallback PDF/invoice images → PII pseudonymization → LLM extraction

Factum Parse is available through two channels, depending on your needs.

Section titled “📡 Zyla API Hub — subscription (recommended)”
Tier Price / month Requests / month Rate limit Best for
Basic $24.99 2,000 60 req/min Testing, low volume
Pro $49.99 5,000 120 req/min Production, mid volume
ProPlus $99.99 15,000 180 req/min Medium-high volume
Premium $199.99 40,000 240 req/min Intensive production
Elite $499.99 120,000 240 req/min High volume
Ultimate $999.99 300,000 240 req/min Enterprise

✓ No fixed cost: a Basic customer pays $24.99 and gets 2,000 requests.
✓ API Key is auto-generated on subscription.
✓ Zyla handles payments, invoicing, rate limiting, and per-tier credits.

➡️ Subscribe on Zyla API Hub

For occasional use without a recurring subscription:

Product Price Documents
Pack 100 documents €9.99 one-time 100 elaborations

No auto-renewal. License Key activates on order confirmation and lasts until credits are consumed.

➡️ Buy pack 100 docs — €9.99


For technical support, enterprise contracts and commercial inquiries: