Learn how Antei’s Workers transform raw integration payloads into structured, mapped data for tax workflows.
Antei uses Cloudflare Workers to process and transform incoming data from connected integrations. These Workers extract, normalize, and prepare structured records across multiple entity types for downstream validation and reconciliation.
The Extraction Workers serve as the first point of transformation after ingestion. Their primary functions include:
Each Worker is scoped to a specific integration (e.g., Stripe, QuickBooks) but adheres to a universal extraction standard.
1. Receive Ingested Payload
Workers are triggered automatically via background jobs or webhook events. The ingested payload is passed to the Worker.
2. Normalize Raw Data
The Worker flattens and standardizes the data structure — transforming provider-specific formats into a common internal format.
3. Map to Core Entity Types
The normalized data is mapped to Antei’s entity model: transactions, contacts, invoices, products, etc., with correct field-level mapping.
4. Attach Metadata
Each extracted object is tagged with sync metadata such as source, extraction ID, version, and timestamp.
5. Queue for Validation
The structured data is pushed to the validation queue for further enrichment, deduplication, and processing.
Antei currently maps and processes the following core entities:
Entity | Description |
---|---|
Transactions | Purchases, refunds, and payments across platforms |
Products | Taxable goods/services with jurisdictional and taxability configurations |
Contacts | Unified representation of customers, vendors, tax authorities, and locations |
Invoices | Billing and compliance documents mapped with product and contact references |
Transaction Ops | Operational breakdowns such as payment splits, refunds, and adjustments |
Each Worker is named by function and integration. Examples:
extract-stripe-payment-intent
extract-xero-invoices
extract-outlook-emails
extract-quickbooks-transactions
All Workers follow a versioned folder-based architecture with shared utility libraries (/shared/log.js
, /shared/auth.js
).
Each Worker is equipped with:
payload_id
, error_type
, and affected_entity
If you have questions about how Extraction Workers function or need support with integration-specific behavior, please contact: tech@antei.com
All Worker activity is logged and traceable from the Org Settings → Audit Trail section.