Architecture & Proof · 01

Engineered for your exact workflows. Deployed in your environment.

Inspect our 5-stage processing pipeline: from secure shared-mailbox ingestion to local open-weight semantic parsing, deterministic arithmetic solvers, and safe ERP staging write-backs.

Runtime
Private Cloud VPC / On-Premise GPU Containers (vLLM / Triton)
Control Posture
Zero Inbound Internet Ports · Outbound Air-Gap · Dedicated KMS Keys
Delivery
6 to 12 Weeks · Custom Client Layer on Maintained Foundations
CONTROL SCHEMATIC · END-TO-END PIPELINE ARCHITECTURE

Inspect three architectural walkthroughs: the 5-stage continuous agent processing pipeline, deterministic arithmetic separation from probabilistic LLM parsing, and safe ERP staging tables with automated Day-1 reversal pairs.

Blueprint 01 · End-to-End Processing Architecture

The 5-Stage Continuous Agent Processing Pipeline

How Fiscraft processes unstructured financial documents into verified general ledger transactions through an immutable five-stage architecture with complete cryptographic traceability.

THE ARCHITECTURAL RISK

Directly connecting public AI APIs to operational accounting ledgers introduces severe prompt injection, mathematical hallucination, and data corruption risks that fail enterprise IT security reviews.

PIPELINE TOPOLOGY

Enforces a strict 5-stage sequential architecture: (1) Ingestion, (2) Semantic Parsing, (3) Deterministic Rules, (4) Human-in-the-Loop Sign-Off, and (5) Cryptographic Staging Write-Back.

GOVERNANCE GATE

Every step produces an immutable cryptographic hash. No transaction can skip downstream verification stages or write to ERP production tables without human digital authorization.

BLUEPRINT WALKTHROUGH · 01 5-STAGE CONTINUOUS PROCESSING PIPELINE TOPOLOGY
END-TO-END VERIFIED · ZERO PUBLIC DATA EGRESS
01 INGESTION M365 / SFTP / ERP MIME sanitization, nested-ZIP unpacking, SPF/DKIM verification
02 PARSE Local Model Container Extracts unstructured text into typed JSON schemas with coordinates
03 DETERMINISTIC Python/SQL Math Solvers Penny-exact arithmetic, 3-way match, DOA matrix validation
04 SIGN-OFF Human-in-the-Loop Gate Controller digital review in Teams/Slack or native ERP UI
05 WRITE-BACK ERP API Staging Tables Posts to unapproved journal batches with SHA-256 workpaper hash
Blueprint 02 · Algorithmic Separation

Deterministic Arithmetic vs. Semantic Reasoning Separation

Why large language models must never perform financial arithmetic. How Fiscraft isolates semantic document interpretation from deterministic Python code solvers to guarantee penny-exact calculations.

THE ARCHITECTURAL RISK

Probabilistic neural networks calculate sums probabilistically. In financial accounting, an off-by-one cent error breaks double-entry ledgers, violates SOX 404 controls, and corrupts tax workpapers.

SEPARATION ARCHITECTURE

LLMs are restricted to parsing unstructured syntax, layout coordinates, and natural language. Extracted figures are passed to deterministic code engines that execute 100% of arithmetic, tax rates, and ledger logic.

GOVERNANCE GATE

Every staged journal entry passes an immutable mathematical assertion (`sum(debits) == sum(credits)`). If a transaction is out of balance by even $0.01, the staging adapter immediately halts posting.

BLUEPRINT WALKTHROUGH · 02 MATHEMATICAL VERIFICATION ENGINE · PENNY-EXACT ASSERTION
PROBABILISTIC REASONING ISOLATED · DETERMINISTIC CODE BOUND
SEMANTIC EXTRACTION LAYER (PROBABILISTIC)
MODEL: LOCAL LLAMA-3 70B CONTAINER · BOUNDARY: INGEST ONLY
JSON TOKENS
Task Scope: Document Comprehension Only
Parses skewed PDF text, dates, line items, and coordinate bounding boxes
ROLE: PARSER
Extracted Token Payload (Structured Output)
Outputs strictly typed JSON schema with exact string amounts; ZERO MATH PERFORMED
PASSED TO ENGINE
DETERMINISTIC CODE SOLVER (PYTHON / SQL) MATHEMATICAL CERTAINTY
DETERMINISTIC ARITHMETIC RULES APPLIED
1. Exact 3-Way Match: PO unit price ($850.00) × Invoice Qty (40) = $34,000.00 exact
2. Sales Tax Segregation: TX 8.25% on Equipment = $2,805.00 (Freight exempt)
3. Double-Entry Verification: Total Debits ($42,055.00) == Total Credits ($42,055.00)
Assertion Result: Δ $0.000000 (ZERO VARIANCE)
Blueprint 03 · Enterprise Write-Back Safeguards

Safe Two-Way ERP Staging & Reversal Controls

How Fiscraft writes exclusively to native ERP staging tables rather than committing live ledger posts, enforcing supervisory approval workflows and staging automated Day-1 reversal pairs.

THE ARCHITECTURAL RISK

Directly posting transactions into live general ledger accounts risks writing duplicate bills, unauthorized disbursements, or corrupting closed accounting periods.

STAGING POSTURE

Fiscraft writes exclusively to native ERP staging tables (NetSuite Pending Approval journal batches, SAP parked documents, Workday staging holds) requiring human sign-off.

GOVERNANCE GATE

For month-end accruals, the system generates a cryptographically paired Day-1 automated reversal entry, scheduled for posting on the first day of the subsequent fiscal period.

BLUEPRINT WALKTHROUGH · 03 ERP WRITE-BACK ADAPTER · STAGED JOURNAL BATCH
STAGED IN ERP PENDING APPROVAL · LIVE GL ISOLATED
ERP STAGING BUFFER ARCHITECTURE
TARGET: NETSUITE REST API · ENDPOINT: /record/v1/journalEntry
BUFFERED WRITE
Write Target: Pending Approval Staging Table
Status: PendingApproval · Zero live trial balance impact until signed
PARKED STATUS
Cryptographic Audit Workpaper Hash
SHA-256 hash attached to NetSuite transaction memo linking source PDF
HASH ATTACHED
AUTOMATED REVERSAL STAGING PAIR PAIRED ACCRUAL
DAY-1 REVERSAL CONTROL
Reversal entry staged simultaneously with month-end accrual. Scheduled to auto-post on Day 1 of the new fiscal period, preventing duplicate expense booking when vendor invoices arrive.
Practitioner Mechanics

Architectural Guardrails vs. Fragile Wrapper Agency Code

Why generic IT scripts and consumer AI wrappers fail enterprise security and audit standards.

01

Adversarial Prompt Injection via Vendor Invoices

Attackers embed hidden white-on-white text or adversarial instructions inside PDF invoices attempting to hijack the AI into approving unauthorized wire transfers.

Restricts LLMs strictly to structural token extraction into pre-defined JSON schemas, completely ignoring natural language instructions contained in document bodies.

Any document containing anomalous instruction syntax triggers an immediate security quarantine and halts automated processing.
02

Floating-Point Rounding Drift in Financial Calculations

Standard programming languages use binary floating-point math that introduces tiny fractions of a cent ($0.0000001), breaking double-entry general ledger balance rules.

Executes all financial arithmetic using arbitrary-precision fixed-point decimal engines, enforcing penny-verified mathematical parity across all calculations.

Every staged voucher passes an immutable mathematical check (`sum(debits) == sum(credits)`) with zero allowable tolerance.
03

Accrual Double-Counting & Duplicate Expense Posting

Month-end unbilled liability accruals left unreversed cause duplicate expenses when vendor bills are processed in the subsequent period.

Staging adapters automatically generate cryptographically linked Day-1 reversal journal pairs simultaneously with month-end accruals.

Reversals post automatically on the first business day of the new fiscal period, unblocking standard AP 3-way match clearing.
04

Mid-Transaction Network Drop & Partial Ledger Commits

Network timeouts between agent containers and ERP APIs leave partial journal batches committed, corrupting general ledger subledger tie-outs.

Employs idempotent transactional two-phase commit protocols that buffer full journal batches before executing ERP staging writes.

If an ERP API write encounters an error, the adapter executes an immediate rollback and alerts the system administrator.
CONTINUOUS AGENT EXECUTION TOPOLOGY Five immutable phases transforming raw documents into verified, audited ERP ledger transactions.
  1. 01

    Secure Multi-Channel Ingestion

    Shared mailboxes, SFTP drops, and ERP webhooks with MIME sanitization, nested-ZIP unpacking, and SPF/DKIM verification.

  2. 02

    Local Semantic Parsing

    Containerized open-weight models parse unstructured documents into strictly typed JSON schemas with coordinate bounding boxes.

  3. 03

    Deterministic Code Solvers

    Pure Python and SQL engines execute 3-way matching, sales tax segregation, and reciprocal balance tie-outs with zero LLM math.

  4. 04

    Human-in-the-Loop Sign-Off

    Delegation of Authority approval workflows in Microsoft Teams, Slack, or native ERP interfaces with click-to-source evidence.

  5. 05

    Cryptographic Staging Write-Back

    Stages balanced journals into native ERP staging tables (Pending Approval) accompanied by immutable SHA-256 workpaper audit hashes.

Architecture & Ownership

Pre-hardened finance foundations. Custom-engineered to your rules.

Routine volume runs on local open-weight models or private VPC endpoints, with optional PII-redacted escalation to Zero Data Retention frontier APIs (or strict air-gap).

MAINTAINED FOUNDATIONS · 4 TO 6 WEEK VELOCITY
  • 5-Stage Containerized Processing Pipeline
  • Deterministic Math & Decimal Solvers
  • M365 & Gmail Scoped Webhook Ingestion
  • KMS Encryption & Secret Management
  • SHA-256 Cryptographic Audit Logger
YOUR CUSTOM CLIENT LAYER · 100% OWNED IP
  • Client Private Cloud VPC Network Configuration
  • ERP Specific REST/OData Staging Adapters
  • Company Delegation of Authority Workflow Hierarchy
  • Chart of Accounts Validation Rules
  • Client SIEM & Audit Telemetry Connectors
MULTI-JURISDICTION ADAPTABILITY

SOC 2 Type II architectural alignment, SOX 404 segregation of duties enforcement, and strict zero-model-training data containment.

Phase 0 Engagement

Evaluate your enterprise finance architecture in one week.

Our senior systems architects review your ERP environment, security boundaries, and current manual bottlenecks to deliver an exact agent architecture blueprint.

Fiscraft · Architecture & Workflow Discovery

Book a Consultation

Loading scheduling calendar…