Architecture & Compliance Brief • CTOs, CISOs & Assessors

Engineered to operate without raw cardholder data.

Basisline compiles and validates Level 3 / Visa CEDP invoice metadata strictly server-to-server. It is engineered to minimize PCI-DSS scope, keep live gateway secret keys inside your environment, and inject zero browser JavaScript into checkout pages.

No Raw PAN Required Defense-in-Depth Luhn Guard (PCI_001) Zero Live Gateway Keys Needed Optional Zero-Egress In-VPC Mode
PHASE 1 AUDITZero Production Access Required: The 48-hour statement audit uses only 1–2 redacted merchant statement PDFs and 2 sample invoices under Mutual NDA—no code changes, no API keys, and active copies deleted within 5 business days if you do not proceed.
Inspect Mutual NDA →
PCI-DSS v4.0.1 Scope Qualification Statement: Basisline is designed to minimize PCI-DSS scope. Basisline operates strictly on eligible invoice line-item metadata and opaque processor references without requiring raw cardholder data (PAN, CVV/CVC, or track data). Because PCI-DSS applicability depends on a merchant’s overall network segmentation, tokenization flow, and processor setup, final PCI-DSS scope determination always rests with your Qualified Security Assessor (QSA) and acquiring bank.
Phase 2 Deployment Topologies

Choose stateless compiler API or zero-egress In-VPC

Both deployment patterns process invoice JSON server-to-server so card capture stays isolated inside your existing PSP’s hosted payment fields.

Mode A • Fastest Implementation

Managed Stateless Compiler API

Your ERP or billing backend transmits non-PAN invoice JSON (SKUs, quantities, cent totals, tax flags, postal codes) over TLS 1.3. Basisline validates arithmetic, maps commodity codes, and returns a gateway-ready Level 3 payload to your backend—your own service submits the charge to Stripe, Adyen, Braintree, or Authorize.net.

  • No raw PAN, CVV/CVC, track data, or live gateway secret keys required
  • Defense-in-depth Luhn ingress check (PCI_001) rejects accidental 13–19 digit card-like sequences before serialization or storage
  • Internally benchmarked <1ms Python validation engine (<15ms target API latency excluding network RTT)
  • Stateless validation pipeline with zero persistent storage of raw invoice PII
Mode B • Zero-Egress InfoSec Fast-Track

Stateless In-VPC Container

Built specifically for regulated enterprises whose InfoSec teams restrict third-party SaaS subprocessors—and because Basisline has not yet completed a SOC 2 Type II audit. Run the signed container inside your own AWS, Azure, or GCP VPC so invoice data never crosses an external network boundary.

  • Zero customer PII or invoice line-item records leave your VPC perimeter
  • Optional anonymized telemetry emits only rule pass/fail counters and Visa Verified rolling accuracy metrics
  • Zero external database dependency required for pre-flight validation
  • Packaged for Docker / OCI container deployment inside private subnets
Explicit Data Boundaries

Data-boundary & responsibility matrix

Clear delineation of what Basisline processes, what it never touches, and what remains under merchant/assessor control.

System Surface & Data Isolation Matrix Server-to-Server Metadata Only
System Surface / Data Element Touched by Basisline? Architectural Control & Scope Notes
Raw Card PAN, CVV/CVC, Track Data PROHIBITED / REJECTED Clients must never send cardholder data. As a defense-in-depth safeguard (not a sole preventive control), PCI_001 scans request payloads for Luhn-valid 13–19 digit sequences and rejects them prior to processing or logging.
Checkout Page JS / Hosted Card Fields NEVER Basisline injects zero client-side scripts into payment pages. Under the 2025 PCI SSC SAQ A update (which moved Req. 6.4.3 & 11.6.1 out of the SAQ A body into an e-commerce script-protection eligibility criterion), Basisline introduces no browser script surface; merchants retain responsibility for their own checkout page eligibility controls.
Live Processor / Gateway Secret Keys NOT REQUIRED In compiler mode, your backend retains all gateway API credentials and executes the charge request directly against your existing processor account.
Invoice Line Items (SKUs, Qty, Tax, PO#) STATELESS Processed deterministically in memory for cent-exact arithmetic parity, tax-exempt consistency, ANSI X12 UOM normalization, and UNSPSC commodity lookup. In Mode B, this stays inside your VPC.
Commercial Card Eligibility Signals NON-PAN FLAGS Determined using non-sensitive processor token metadata (card funding/commercial indicators) or standard 6-digit BIN/IIN classification without full PAN access.
Checkout Reliability

Fail-open checkout, fail-closed CEDP protection

Interchange optimization must never interfere with collecting payment on a customer invoice. Basisline decouples payment acceptance from enhanced-data validation.

01 / Revenue Continuity
Never Declines Checkout

If an ERP schema change or unmapped SKU prevents exact cent reconciliation, Basisline strips only the enhanced-data object so your standard card authorization proceeds uninterrupted.

02 / Data-Quality Guardrail
Protects Visa Verified (≥90%)

Withholding invalid payloads prevents paying Visa’s 0.05% (5 bps) CEDP participation fee on failing transactions and protects your rolling data-quality ratio against Visa’s 90% floor.

03 / Structured Drift Telemetry
Rule-Level Alerting

Every stripped payload emits deterministic rule codes (MATH_001, TAX_002, CODE_001, DESC_002) via webhook formats for Slack, PagerDuty, or generic HTTP sinks.

Data Governance & Confidentiality

Retention, deletion, and contractual covenants

Active Deletion & Backup Overwrite

For 48-hour statement audits, Basisline deletes all active copies of your merchant statements and sample invoices within 5 business days of written request or decision not to proceed, with written confirmation. Residual encrypted copies in automated disaster-recovery backups remain inaccessible and overwrite in the ordinary course within 30 days. See Privacy & Data Policy.

Non-Broker, Zero-AI & 48h Breach Notice

Sections 4.4, 4.5, and 6 of our Mutual Zero-PAN NDA contractually bar reselling or sharing statements with any processor/ISO, bar training external AI/LLM models on client records, and commit to written notification within 48 hours of discovering any unauthorized disclosure.

Verified Compiler Output • Zero-PAN JSON

Deterministic POST /v1/compile trace

Actual output generated by Basisline’s stateless Python compiler (<0.25ms in-memory) from a $12,000.00 B2B invoice with raw UOM EACH and unflagged $0 resale tax—auto-healed to ANSI EA and taxExempt: true before settlement.

adapter: "authorizenet" HTTP 200 • valid: true • 0.17ms
{
  "createTransactionRequest": {
    "transactionRequest": {
      "transactionType": "authCaptureTransaction",
      "purchaseLevel": "3",
      "amount": "12000.00",
      "taxExempt": true,
      "poNumber": "PO-44920-OH",
      "shipFromZip": "44114",
      "shipTo": { "zip": "60607", "country": "US" },
      "shipping": { "amount": "185.00" },
      "tax": { "amount": "0.00", "description": "Tax exempt" },
      "lineItems": { "lineItem": [
        { "itemId": "VALVE-316-2", "commodityCode": "40141607",
          "unitOfMeasure": "EA", "quantity": "12",
          "unitPrice": "950.00", "lineTotal": "11400.00" },
        { "itemId": "GSKT-PTFE-2", "commodityCode": "31181506",
          "unitOfMeasure": "EA", "quantity": "25",
          "unitPrice": "16.60", "lineTotal": "415.00" }
      ]}
    }
  }
}
adapter: "stripe" HTTP 200 • valid: true • 0.13ms
{
  "amount": 1200000,
  "currency": "usd",
  "payment_details": {
    "customer_reference": "PO-44920-OH",
    "order_reference": "PO-44920-OH"
  },
  "amount_details": {
    "enforce_arithmetic_validation": true,
    "shipping": {
      "amount": 18500,
      "from_postal_code": "44114",
      "to_postal_code": "60607"
    },
    "tax": { "total_tax_amount": 0 },
    "line_items": [
      { "product_code": "VALVE-316-2", "quantity": 12,
        "unit_cost": 95000, "unit_of_measure": "each",
        "payment_method_options": { "card": { "commodity_code": "40141607" } } },
      { "product_code": "GSKT-PTFE-2", "quantity": 25,
        "unit_cost": 1660, "unit_of_measure": "each",
        "payment_method_options": { "card": { "commodity_code": "31181506" } } }
    ]
  }
}

Zero-Key Sandbox Verification: During your 30-minute engineering kickoff, we verify live compiled payloads directly against your own Authorize.net, Stripe, Braintree, or Adyen sandbox credentials inside your environment—Basisline never asks you to transmit live or sandbox secret keys.

ERP Integration & Continuity

Two clean wiring paths & zero bus-factor guarantee

How Mid-Market ERP Teams Wire Basisline

1. API / Custom Portal Path: One POST /v1/compile sidecar call (<150ms fail-open timeout, zero PAN) right before gateway capture—typically 4–8 dev hours.

2. Lean IT / NetSuite & Acumatica Path: No in-house backend engineers required. Basisline supplies the exact SuiteScript/REST payload spec and joins a 30-minute kickoff alongside your existing ERP consultant/VAR—checkout UI, AR posting, and merchant contracts stay untouched.

Independent Engineering & Zero Bus-Factor

Basisline is built and operated independently by Vincenzo Romeo (vcreative, KvK 73762326, Amsterdam—working US ET/CT hours, Delaware-law contracts, IRS W-8BEN & US Domestic ACH ready). Two architectural guarantees eliminate vendor continuity risk: (1) Fail-open ensures checkout never blocks if the service is ever unreachable; (2) Mode B In-VPC Docker (included at $0 upcharge) carries a perpetual frozen-container license with zero kill-switch if you ever cancel.

Need our Mutual NDA or a 15-minute CISO / architecture walkthrough? Email audit@basisline.dev directly to speak with Vincenzo Romeo, or inspect our standard NDA online.