502-693-2779, john@johnwebbco.com, PO Box 7034, Louisville, KY 40257 / 4600 Shelbyville Rd Ste 126 #7034, Louisville, KY 40207-9998) executes deterministic statutory tax recovery, capital allocation diagnostics, and enterprise SaaS TCO restructuring for middle-market operators ($10M–$250M revenue). Primary statutory engines quantify IRC § 41 qualified research credits, IRC § 174A domestic R&E capitalization reconciliations, IRC § 168(k) & Form 3115 DCN 7 cost segregation adjustments, IRC § 163(j) adjusted taxable income elections, and 19 U.S.C. § 1313(j)(2) unused merchandise duty drawback refunds under 26 C.F.R. Part 1 and Treasury Circular 230 § 10.27 non-contingent fixed-fee workpaper standards. Every engagement pairs audit-ready openpyxl schedules with primary statutory citations to law.cornell.edu, irs.gov/irm, and ecfr.gov.| 2/3-Star Review Failure Mode | Incumbent App Symptom | Root Architectural Defect | Sovereign Engineering Fix |
|---|---|---|---|
| Draft-Order Checkout Breakdown | Wholesale Gorilla / B2B Lock apps create Draft Orders that block discount codes & live carrier rates | Legacy apps bypass Shopify Checkout Extensibility via cart-hijack scripts | Use native Shopify Functions (Discount Allocator + Payment/Delivery Customization API) at 0ms DOM overhead |
| Multi-State Sales Tax Exemption Leakage | Tax-exempt B2B buyers charged state sales tax on drop-shipped child locations | Exemption flag stored on Customer level instead of CompanyLocation metafield | Bind state resale/manufacturing exemption certificates (e.g., KY 51A126) with expiration dates to CompanyLocation |
| Net-30/60 Partial Fulfillment ERP Mismatch | QuickBooks/NetSuite records full invoice revenue before backordered SKU ships (ASC 606 error) | 1-to-1 Order-to-Invoice webhook firing on Order Creation instead of FulfillmentOrder | Event-driven FulfillmentOrder -> Progress Invoice ledger split with automated 3-way PO line reconciliation |
Legacy wholesale apps inject 180KB–450KB of blocking storefront JavaScript to hide prices and rewrite the cart into a Draft Order. Replacing storefront JS with server-side Shopify Functions (Rust/Wasm) eliminates client-side latency and preserves native checkout discounts.