REST API v1
Preflight, idempotent creation, status lookup, imports, and webhooks share one stable tenant-aware contract.
Kairoseth Fiscal provides a VeriFactu API for developers with REST v1, a server-side SDK, webhooks, and MappingProfiles. Your backend supplies data while the secure runtime centralizes preflight, identity, idempotency, state, and supported fiscal transport.
Integrate the canonical contract directly or keep your current payload and translate it through a server-side MappingProfile.
Preflight, idempotent creation, status lookup, imports, and webhooks share one stable tenant-aware contract.
The SDK wraps authentication, routes, idempotency, and normalized errors so integrators do not need to know AEAT SOAP or XML.
Your ERP can keep NUM_FACTURA, fecha_doc, or any internal vocabulary. Mapping is configured once and resolved on the server.
Systems that can issue an HTTP POST can use a webhook protected by HMAC-SHA256, anti-replay timestamps, and idempotency.
organizationId, installationId, sourceSystem, fiscal environment, permissions, and credentials are not trusted from client payloads.
The same key and content return the same resource. Uncertain remote outcomes are reconciled rather than blindly resent.
The same API covers validation, creation, lookup, file imports, and low-code ingress.
Validate a canonical intent without side effects.
Create an idempotent operation using Idempotency-Key.
Retrieve normalized state and available presentation metadata.
Inspect CSV/XLSX and prepare mapping.
Validate imported rows before fiscalization.
Signed low-code ingress with a server-side profile.
The client provides data. The server decides tenant, installation, permissions, fiscal environment, and sensitive configuration.
Use server-side connector credentials. API keys must never be exposed to a browser or public application.
Build InvoiceIntent v1 directly or send your source payload through a server-side MappingProfile.
Validate before creation and receive structured errors that point to source, mapping, or configuration issues.
Creation requires Idempotency-Key. After recordId exists, operational retries query or reconcile instead of duplicating.
The runtime resolves organization, installation, sourceSystem, fiscal environment, and credentials from authenticated context. The SDK is server-side only and webhooks add HMAC signatures plus anti-replay protection.
For developers, technical teams, SaaS vendors, and integrators.
Yes. Puente VeriFactu exposes a REST v1 API with preflight, idempotent creation, status lookup, imports, and webhooks, plus a server-side SDK.
No. Kairoseth Fiscal provides an integration API so ERP, SaaS, and custom software can use a stable REST contract. The runtime connects to AEAT mechanisms supported by the product, but the Kairoseth API should not be confused with an official API published by the Spanish Tax Agency.
Yes. Integration is backend-oriented: REST API v1, server-side SDK, Idempotency-Key, normalized errors, MappingProfiles, and signed webhooks. Credentials must never be exposed in frontend code.
No. The API and SDK are designed so your software provides commercial/canonical data while Kairoseth Fiscal centralizes the AEAT transport and technical rules supported by the product.
Yes, when a server-side MappingProfile translates it. The source system does not need to rename every field to match the canonical contract.
POST /v1/fiscal-records requires Idempotency-Key. The same key with the same content returns the same resource; the same key with different content returns a conflict.
Yes. Webhook ingress uses a server-side profileId, HMAC-SHA256 signatures, anti-replay timestamps, and idempotency.
No. The SDK and connector credentials are server-side only. Integration keys must never be exposed to a browser or public application.
Yes. Kairoseth Fiscal v0.1.0 is published and an API integration can be diagnosed, prepared, and validated. AEAT production remains controlled access and requires its own gate; neither the plan nor payment enables it automatically.
Kairoseth separates identity, organization scope, product roles and product capabilities. A login route, browser state or AI response never becomes an authorization boundary by itself.
Customer resources and access are resolved inside an active organization context rather than treated as global account state.
Owner, Admin and Member authority is assigned per product. Organization membership alone does not automatically grant every product.
Sensitive access, policy and capability decisions remain authoritative on the server instead of trusting client UI state or model output.
Capabilities that can act are introduced behind explicit grants, staged gates and audit rather than implied autonomy.
Review the customer-facing policies that define privacy, security reporting, acceptable use and the current legal operating framework.
REST, SDK, MappingProfile, webhook, or connector: the architecture adapts to your capabilities without moving AEAT logic into your application.