On this page
Never let a large language model calculate quotes, tax lines, or accounts receivable totals inside chat text. Because language models predict probable tokens rather than executing deterministic CPU arithmetic, multi-line invoices suffer silent rounding drift, cascading discount errors, and flipped return signs. Separating AI into a strict no-math JSON extractor while delegating 100% of calculations to Google Sheets formulas eliminates hidden spreadsheet discrepancies before invoices reach customers.
Editorial disclosure: Published by TrolyPage, one of the platforms evaluated in this guide. All technical facts, external benchmarks, and Google Sheets specifications were verified live on 2026-12-02 against peer-reviewed arXiv research, NIST AI 600-1, OpenAI and Anthropic engineering documentation, official Google Docs Help guides, and TrolyPage product ground truth. Worked invoice scenarios (INV-2026-001 and INV-2026-002) are illustrative reconciliation cases verified deterministically in Python Decimal.
Why Large Language Models Fail at Multi-Step Ledger Arithmetic
Teams routinely mistake fluent financial explanations for reliable arithmetic. When an operations lead pastes a 25-line vendor quote or a messy customer order thread into a frontier chatbot and asks for a clean subtotal, discount, tax, and balance due, the model produces crisp alignment and confident prose. Under the hood, however, the system is not running an arithmetic logic unit (ALU) or an accounting kernel. It is sampling one subword token after another based on statistical likelihood.
Next-Token Prediction vs. Deterministic Compositional Execution
In Embers of Autoregression (McCoy et al., 2023), researchers demonstrated that because LLMs are trained for next-token prediction over internet text, their accuracy remains sensitive to token probability even on deterministic tasks where probability should be irrelevant. For example, GPT-4 shift-cipher decoding accuracy dropped from 51% on high-probability sequences to 13% on low-probability sequences. Invoice line items—arbitrary SKU quantities, non-round unit prices like $19.95 or $10.06, and mixed credit returns—are classic low-probability sequences.
Compositional reasoning decays even faster as steps multiply. In Faith and Fate: Limits of Transformers on Compositionality (Dziri et al., NeurIPS 2023), experiments across multi-digit multiplication, logic grids, and dynamic programming showed that transformers rely on linearized subgraph matching rather than systematic algorithmic execution. As the computation graph grows—such as multiplying quantity by unit price, applying sequential trade discounts, rounding tax per line, and summing across ten SKUs—accuracy falls sharply.
Subword Number Tokenization and Distractor Fragility
Even before multiplication begins, language models do not read numbers the way a spreadsheet engine reads floats or fixed-point decimals. Research in Tokenization counts: the impact of tokenization on arithmetic in frontier LLMs (Singh & Strouse, 2024) shows that standard byte-pair encoding (BPE)—inspectable directly in the OpenAI Tokenizer—assigns separate tokens to 1-, 2-, and 3-digit integer chunks from left to right rather than aligning digits by place value. That left-to-right chunking induces stereotyped off-by-one and carry errors in intermediate steps.
Real-world quotes also contain noisy prose: delivery notes, warranty disclaimers, expired coupon codes, and partial-payment memos. In GSM-Symbolic (Mirzadeh et al., 2024), researchers found that merely changing numerical values in standard math problems caused measurable performance variance across frontier models, and adding a single plausible-sounding distractor clause that did not affect the true calculation caused accuracy to fall by up to 65% across state-of-the-art models. A customer email mentioning a previous invoice balance or a waived shipping threshold acts as that exact distractor.
Confabulation, Schema Illusions, and IEEE-754 Float Drift
Regulatory and engineering standards highlight two additional failure modes that catch finance teams off guard. First, NIST AI 600-1 (July 2024) Section 2.2 warns explicitly about confabulation: generative models fill gaps with plausible text—including "confabulated logic or citations that purport to justify or explain the system’s answer, which may further mislead humans into inappropriately trusting the system’s output." Under NIST MEASURE controls MS-2.3-002, MS-2.5-001, MS-2.5-002, MS-2.6-004, and MS-2.6-005, teams must empirically validate capability claims, document domain business rules, and build explicit error-recovery checks rather than trusting anecdotal accuracy.
Second, wrapping an LLM call in JSON schema validation does not make the numbers accurate. OpenAI Structured Outputs documentation makes this boundary clear: strict: true guarantees key names, types, and enums, but "Your application still needs to handle refusals, incomplete responses, and API errors, and validate any business rules that the schema does not express." Meanwhile, even if a developer offloads arithmetic to naive binary floating-point types in standard programming languages, binary IEEE-754 floating-point cannot represent base-10 fractions like 0.1 or 1.1 cleanly. As documented in the Python decimal specification and Goldberg’s classic IEEE-754 analysis, 1.1 + 2.2 evaluates to 3.3000000000000003 and 0.1 + 0.1 + 0.1 - 0.3 evaluates to 5.5511151231257827e-017—breaking strict equality checks unless fixed-decimal arithmetic and explicit rounding rules are enforced.
Architecture Trade-Offs: Raw LLM Math vs. Sandboxed Code vs. Split Sheet Checksums
Both OpenAI’s Code Interpreter and Anthropic’s Code Execution Tool exist precisely so developers do not run arithmetic through next-token generation. As Anthropic’s agent engineering guidance notes, well-defined tasks belong in deterministic workflows with predefined code paths rather than open-ended LLM loops. Still, finance and operations teams must choose between three distinct operational patterns:
| Architecture Option | Core Execution Mechanism | Error Profile & Auditability | Latency & Workflow Friction | Cost of Choosing Wrong |
|---|---|---|---|---|
| Option A: Raw LLM Chat Math | Model parses invoice text and computes line extensions, discounts, tax, and totals directly inside generated text or JSON values. | Non-deterministic; drops up to 65% under distractor clauses; BPE tokenization drift; no formula trail for auditors to inspect. |
Fastest ad-hoc paste (2–5 seconds), but forces manual human re-keying and spot-checking on every invoice. | Silent over-billing or under-billing (e.g., $36.42 on a 3-line credit memo), distorted AR aging, and customer disputes. |
| Option B: Sandboxed Code Execution / Tool Calls | LLM extracts parameters or writes a calculation routine executed inside a Python sandbox (Function Calling / Tool Use) using Decimal. |
Deterministic calculation once code is exact; however, inline LLM-written routines can still embed wrong tax order or binary float bugs unless locked to tested library functions. | Adds 3–10 seconds for container spin-up or tool round-trips; finance staff cannot easily click a cell to inspect formulas without engineering access. | Quiet logic drift if the model writes a binary float round call on binary floats or collapses cascading discounts into a single subtraction. |
| Option C: Split Architecture (AI Extracts + Google Sheets Checksums) | LLM outputs raw scalar fields only (zero math); deterministic Google Sheets formulas compute line totals, cross-foot subtotals, and variance flags. | 100% deterministic recalculation; full cell-level audit trail; automatic FLAG_VARIANCE and FLAG_MISSING_LINES gates catch missing rows and rounding deltas. |
Sub-second spreadsheet recalculation once rows land; zero engineering needed for accountants to inspect, filter, or adjust tax tolerance. | Requires enforcing spreadsheet locale (, vs ;) and schema separation; misconfigured locale triggers immediate #ERROR! rather than silent math lies. |
For backend engineering pipelines with automated unit tests, Option B using fixed server-side Python Decimal tools is strong. For lean SMB operations, sales quoting, and accounts receivable reconciliation—where finance reviewers live inside spreadsheets and need visible cell formulas—Option C is the safest default. When an error occurs in Option C, the sheet flags it loudly instead of disguising a guess as an invoice total.

The 6 Silent Math Traps LLMs Make on Quotes and Invoices
Most teams do not discover LLM arithmetic failures through obvious gibberish. They discover them weeks later during month-end close when bank deposits fail to match customer quotes. Below are the six recurring failure patterns that slip past casual human review, grounded in the mechanisms documented above and illustrated with worked invoice math.
Trap 1: Dropped Rows and Summation Drift in Dense Tables
When an AI assistant reads a 30-row PDF statement or long chat thread with SKU revisions, it frequently drops a middle row or drifts by a digit in the running sum—a collision of BPE 1–3 digit chunking (Singh & Strouse, 2024), linearized subgraph matching (Dziri et al., 2023), and distractor sensitivity (Mirzadeh et al., 2024). A single dropped line like 2 × $45.50 plus 8% tax silently erases $98.28 from receivables.
Trap 2: Cascading Discount Order-of-Operations and Tax Base Confusion
B2B trade quotes routinely layer discounts—for example, a 10% partner tier followed by a 5% bundle discount. Compounding sequentially gives a multiplier of 0.90 × 0.95 = 0.855 (14.5% effective), whereas unconstrained LLMs routinely collapse tiers into an additive 15% (0.85) or apply discounts after VAT. On illustrative case INV-2026-001, Line 1 (Qty = 3, Unit_Price = $19.95, Discount_1 = 10%, Discount_2 = 5%, Tax_Rate = 8%):
- Deterministic cascading math:
3 × $19.95 × 0.90 × 0.95 = $51.17175($51.17net), plus8%tax ($4.0936→$4.09) =$55.26gross. - Common LLM additive error:
3 × $19.95 × 0.85 = $50.8725($50.87net), understating the pre-tax line by$0.30on a single SKU.
Trap 3: Line-Level vs. Invoice-Level Rounding Mismatches and Float Drift
Some ERP policies round tax per line item while others sum unrounded line nets and round tax once at the invoice footer. When an LLM mixes those rules, penny variances surface. On illustrative case INV-2026-002 (three lines of Qty = 1, Unit_Price = $10.06, Tax_Rate = 8%):
- Line-level tax rounding: Each line calculates
$10.06 × 0.08 = $0.8048($0.80), totaling$2.40tax and$32.58gross. - Invoice-level tax rounding: Summing first gives
$30.18 × 0.08 = $2.4144($2.41), totaling$32.59gross.
That $0.01 mismatch stalls automated bank-feed matching unless your ledger defines an explicit rounding policy and tolerance. Likewise, naive binary IEEE-754 floats leave 0.1 + 0.1 + 0.1 - 0.3 = 5.5511151231257827e-017 (Python decimal docs), breaking strict equality checks.
Trap 4: Decimal and Thousand-Separator Locale Collisions
US/UK invoices format 1,250.50 with comma thousands and period decimals; continental Europe and Vietnam invert those symbols (1.250,50). Reading unnormalized OCR or chat text, LLMs often parse 1.250 as 1.25—a 1,000× understatement worth -$1,248.75 per unit. Per Google Sheets Locale Settings, File > Settings > Locale also controls formula syntax: US/UK sheets require commas (=ROUND(99.44, 1)), whereas comma-decimal locales require semicolons (=ROUND(99,44; 1) per Google Sheets ROUND reference). Pasting the wrong separator triggers #ERROR!.
Trap 5: Confabulated Unmatched SKUs and Dropped Negative Return Signs
Consistent with NIST AI 600-1 §2.2 confabulation risks, chatbots facing missing SKUs or credit returns often invent a unit price or omit the minus sign. Completing INV-2026-001 with Line 2 (Qty = 2, $45.50, 0% discount, 8% tax = $91.00 net, $7.28 tax, $98.28 gross) and Line 3 return credit (Qty = -1, $19.95, 10% + 5% discounts, 8% tax):
- Deterministic ledger totals: Line 3 evaluates to
-$17.06net,-$1.36tax, and-$18.42gross, yieldingCalc_Subtotal = $125.11,Calc_Tax_LineSum = $10.01, andCalc_Grand_Total = $135.12. - Compounded LLM failure: Combining additive
15%discounts (Trap 2) with a flipped+1return quantity outputs$158.83subtotal,$12.71tax, and$171.54grand total—a silent$36.42overstatement.
Trap 6: Missing Cross-Foot Checksums Behind "Valid" JSON Schemas
Many automation teams build a workflow that prompts an LLM for structured JSON (subtotal, tax, total, plus an array of lines), checks that the payload passes JSON Schema validation, and pushes it straight into accounting. As OpenAI’s Structured Outputs guide warns, schema validation only proves field types—not arithmetic invariants. A JSON object declaring "subtotal": 125.11, "tax": 10.01, and "total": 171.54 passes strict: true with zero errors. Without a deterministic cross-foot check comparing line sums to header totals, corrupted numbers flow silently into downstream ledgers.
| Silent Math Trap | Root Failure Mechanism | Worked Variance Example | Deterministic Spreadsheet Control |
|---|---|---|---|
| 1. Dropped Rows / Sum Drift | BPE chunking + distractor sensitivity (up to 65% decline) |
Skipped 2 × $45.50 + 8% tax = -$98.28 |
SUMIFS over raw extracted lines + XLOOKUP header check |
| 2. Cascading Discount / Tax Order | Probabilistic pattern matching collapses 10%+5% to 15% |
$50.87 vs $51.17 net on Line 1 (-$0.30) |
Separate Discount_1_Pct & Discount_2_Pct cells: *(1-F2)*(1-G2) |
| 3. Rounding Timing & Float Drift | Line vs invoice rounding; IEEE-754 0.1 float residuals |
$32.58 vs $32.59 on INV-2026-002 ($0.01) |
Explicit ROUND(..., 2) per policy + configurable Tolerance cell |
| 4. Decimal / Locale Collisions | 1.250 read as 1.25; , vs ; formula parse errors |
1.250 vs 1.25 unit price = -$1,248.75 |
Normalize raw JSON scalars to .; enforce workbook Locale setting |
| 5. SKU Confabulation & Sign Flip | NIST AI 600-1 §2.2 confabulation; dropped - on returns |
+1 vs -1 return + additive 15% = +$36.42 |
Preserve negative Qty; lookup authoritative SKU prices via tool |
| 6. "Valid JSON" Schema Illusion | JSON Schema checks types, not Subtotal + Tax = Total |
$171.54 claimed vs $135.12 calculated |
ABS(Claimed - Calculated) <= Tolerance gate via IF |

The 2-Tab Google Sheets Checksum Architecture (AI Extracts, Formulas Calculate)
The fix is architectural, not prompt-cosmetic. Do not ask an LLM to "double-check its math" or "think step by step before summing." Instead, restrict the model strictly to structured extraction—converting unstructured quote emails, chat threads, or embedded-text PDFs into raw scalar fields—and hand 100% of multiplication, rounding, summation, and variance gating to Google Sheets.
Step 1: Deploy the Zero-Arithmetic JSON Extraction Prompt
Use this system instruction when parsing quotes, vendor invoices, or order requests into structured records. Notice that every rule explicitly forbids calculation and preserves separate discount tiers and negative credit signs:
Role: Invoice Line-Item Extractor (NO ARITHMETIC).
Task: Extract ONLY raw scalar values from the invoice text into JSON matching the schema below.
Strict Rules:
1. Do NOT calculate, sum, multiply, round, or infer subtotals, discounts, taxes, or grand totals.
2. Normalize all numbers to plain numeric scalars (remove currency symbols and thousand separators; use "." as the decimal point in JSON).
3. Preserve negative signs on return/credit lines (e.g., qty: -1).
4. If a discount is listed as sequential tiers (e.g., "10% + 5%"), place them in discount_1_pct (0.10) and discount_2_pct (0.05) separately.
5. Copy the vendor’s or sender’s printed header totals verbatim into claimed_subtotal, claimed_tax, and claimed_grand_total; if absent, return null.
Output JSON Contract:
{
"invoice_id": "string",
"claimed_subtotal": number | null,
"claimed_tax": number | null,
"claimed_grand_total": number | null,
"lines": [
{
"line_no": integer,
"sku": "string",
"qty": number,
"unit_price": number,
"discount_1_pct": number,
"discount_2_pct": number,
"tax_rate": number,
"ai_claimed_line_total": number | null
}
]
}
Step 2: Configure Tab 1 (Raw_Invoice_Lines)
Paste or stream extracted line objects into columns A:I of Raw_Invoice_Lines. Columns J:N contain locked deterministic formulas using official Google Sheets syntax—verified against the Google Sheets Function List and Add Formulas & Functions Guide. All formulas below use standard US/UK dot-decimal comma syntax (,) for 2-decimal USD accounting:
| Col | Header | Source / Role | Deterministic Formula (Row 2, US/EN Comma Syntax) |
|---|---|---|---|
A |
Invoice_ID |
Raw scalar input | — (e.g., INV-2026-001) |
B |
Line_No |
Raw scalar input | — (e.g., 1, 2, 3) |
C |
SKU |
Raw scalar input | — (e.g., SKU-A100) |
D |
Qty |
Raw scalar input (negative for returns) | — (e.g., 3 or -1) |
E |
Unit_Price |
Raw scalar input | — (e.g., 19.95) |
F |
Discount_1_Pct |
Raw scalar input (decimal) | — (e.g., 0.10) |
G |
Discount_2_Pct |
Raw scalar input (decimal) | — (e.g., 0.05) |
H |
Tax_Rate |
Raw scalar input (decimal) | — (e.g., 0.08) |
I |
AI_Claimed_Line_Total |
Verbatim quote/AI line claim | — (optional comparison input) |
J |
Calc_Line_Net |
Formula (ROUND) |
=ROUND(D2*E2*(1-F2)*(1-G2), 2) |
K |
Calc_Line_Tax |
Formula (ROUND) |
=ROUND(J2*H2, 2) |
L |
Calc_Line_Gross |
Formula (ROUND) |
=ROUND(J2+K2, 2) |
M |
Line_Variance |
Formula (ABS) |
=ABS(I2-L2) |
N |
Parent_Audit_Status |
Formula (XLOOKUP) |
=XLOOKUP(A2, Reconcile_Checksum_Audit!$A$2:$A$500, Reconcile_Checksum_Audit!$K$2:$K$500, "MISSING_HEADER", 0) |
If your organization maintains older spreadsheets for legacy Excel compatibility where XLOOKUP is unavailable, replace column N with the classic INDEX and MATCH fallback:
=IFERROR(INDEX(Reconcile_Checksum_Audit!$K$2:$K$500, MATCH(A2, Reconcile_Checksum_Audit!$A$2:$A$500, 0)), "MISSING_HEADER")
Step 3: Configure Tab 2 (Reconcile_Checksum_Audit)
Tab 2 stores one row per invoice header. Columns A:D capture the verbatim header figures from the quote or AI draft, column I sets your acceptable rounding tolerance (for example, 0.01 USD for penny rounding or 0.00 for strict matching), and columns E:H plus J:K compute deterministic cross-foot verification using SUMIFS, ROUND, ABS, XLOOKUP, and IF:
| Col | Header | Source / Role | Deterministic Formula (Row 2, US/EN Comma Syntax) |
|---|---|---|---|
A |
Invoice_ID |
Raw scalar input | — (e.g., INV-2026-001) |
B |
AI_Claimed_Subtotal |
Verbatim header claim | — (e.g., 158.83) |
C |
AI_Claimed_Tax |
Verbatim header claim | — (e.g., 12.71) |
D |
AI_Claimed_Grand_Total |
Verbatim header claim | — (e.g., 171.54) |
E |
Calc_Subtotal |
Formula (SUMIFS) |
=ROUND(SUMIFS(Raw_Invoice_Lines!$J$2:$J$2000, Raw_Invoice_Lines!$A$2:$A$2000, A2), 2) |
F |
Calc_Tax_LineSum |
Formula (SUMIFS) |
=ROUND(SUMIFS(Raw_Invoice_Lines!$K$2:$K$2000, Raw_Invoice_Lines!$A$2:$A$2000, A2), 2) |
G |
Calc_Grand_Total |
Formula (ROUND) |
=ROUND(E2+F2, 2) |
H |
Abs_Variance |
Formula (ABS) |
=ABS(D2-G2) |
I |
Tolerance |
Policy threshold input | — (e.g., 0.01) |
J |
Header_Match_Check |
Formula (XLOOKUP) |
=XLOOKUP(A2, Raw_Invoice_Lines!$A$2:$A$2000, Raw_Invoice_Lines!$A$2:$A$2000, "NO_LINES", 0) |
K |
Audit_Status |
Formula (IF) |
=IF(J2="NO_LINES", "FLAG_MISSING_LINES", IF(H2<=I2, "PASS", "FLAG_VARIANCE")) |
Notice two intentional engineering safeguards in this layout. First, there is zero circular dependency: Tab 2 columns E:K read only Tab 1 columns A, J, and K, while Tab 1 column N reads only Tab 2 columns A and K. Second, column H uses ABS(D2-G2) so positive over-billings and negative under-billings can never cancel each other out when you audit a batch.
Critical Locale Compatibility Note (US/UK , vs. EU/VN ;): Google Sheets parses argument separators based on the spreadsheet’s File > Settings > Locale configuration (Google Sheets Locale Documentation), not the browser language of the person viewing it. In United States or United Kingdom locales, decimal numbers use periods (99.44) and formulas use commas (=ROUND(99.44, 2)). If your finance team operates in a European or Vietnam locale where decimals use commas (99,44), you must replace every comma argument separator in the formulas above with a semicolon (;)—for example, =ROUND(D2*E2*(1-F2)*(1-G2); 2) plus =IF(J2="NO_LINES"; "FLAG_MISSING_LINES"; IF(H2<=I2; "PASS"; "FLAG_VARIANCE"))—otherwise Google Sheets throws an immediate #ERROR! parse failure.
When you run our two worked cases through this workbook with Tolerance = 0.01: INV-2026-001 computes Calc_Grand_Total = $135.12 against the raw LLM’s $171.54 claim, triggering Abs_Variance = $36.42 and Audit_Status = FLAG_VARIANCE. Meanwhile, INV-2026-002 computes Calc_Grand_Total = $32.58 under line-level rounding against an invoice-level header of $32.59, flagging an exact $0.01 penny variance so your team sees why the cent shifted rather than chasing a phantom bug.
Operationalizing Deterministic Quote and Order Sync Without Raw LLM Math
Stopping spreadsheet math errors becomes dramatically easier when your customer-facing support and sales channels do not ask an LLM to invent prices or compute order totals in the first place. That is the architecture behind TrolyPage across Messenger, Instagram DM, WhatsApp Cloud API, Telegram, Zalo, Email, and Website Chat.
Rather than letting an AI assistant recall SKU prices from unstructured chat history, TrolyPage’s AI action tools—including ProductSearch, LookupOrder, CreateOrderDraft, ComposeOrderReceipt, CalculateShipping, CheckPayment, and GeneratePaymentQR—query structured workspace catalog, inventory, and order records directly. Order state stays structured rather than trapped inside conversational prose.
When teams move those records into spreadsheets for accounting and reconciliation, the TrolyPage Google Sheets integration connects via OAuth 2.0 using scoped permissions (drive.file and spreadsheets, writing only to authorized spreadsheets). Instead of dumping raw chatbot text into cells, the integration syncs structured entities—customers, orders (carrying typed fields such as subtotal, discount, tax, shipping_fee, amount_paid, remaining_balance, total, currency, items, and item_quantity), and 19 analytics REPORT_SECTIONS—directly into your workbook tabs, where your deterministic SUMIFS and ROUND checksum formulas validate every line.
If your team also reviews recurring quote mistakes, pricing confusion, or refund disputes across chat channels, pair this checksum ledger with the 15-minute weekly friction digest workflow so customer-reported billing errors feed back into catalog and ops fixes.
Governance, Pricing, and Honest Platform Boundaries
- Data Safety PII masking caveat: TrolyPage provides configurable Data Safety rules (
off,flag,redact,block) for email addresses, Vietnamese phone numbers, payment cards, and bank account numbers. However, masking is non-retroactive—turning on redaction protects future messages and logs without purging historical database records. - Pricing and support transparency: Per TrolyPage pricing, the Free tier is a one-time, time-limited workspace trial (100 MAU, 3 service connections, 50,000 AI tokens) rather than a permanent free plan. Paid self-serve plans start with Lite at
$8.00/mo($80.00/yr) covering 250 MAU, 5 service connections, up to 4 AI assistants, and 4,000,000 AI tokens/month, with modular add-ons at+$1.00/seat/mo,+$2.00/Page/mo, and+$2.00/1,000 subscribers/mo. Automated AI runs 24/7, while live staff support operates during Vietnam business hours (UTC+7). - Documented non-features to factor into your stack: TrolyPage does not offer native two-way Shopify, WooCommerce, or BigCommerce store admin refund/fulfillment widgets, nor native two-way HubSpot or Salesforce CRM apps (external sync relies on webhooks, Zapier Webhooks, and the TrolyPage MCP gateway; Website Chat snippets install on those storefronts). Its PDF ingestion reads embedded text layers rather than running an OCR pipeline on scanned image-only PDFs (though vision models can inspect attached images), it does not support enterprise SAML/OIDC SSO for arbitrary identity providers, and its public developer REST API remains in progress.
5-Minute Pre-Send Checksum Rollout Checklist for Finance and Ops Teams
To lock down quoting and AR reconciliation workflows against silent LLM math errors today, walk through these six controls mapped to NIST AI 600-1 measurement practices (MS-2.3-002, MS-2.5-002, MS-2.6-004, and MS-2.6-005):
- Ban inline chat arithmetic in SOPs: Prohibit staff from pasting LLM-computed subtotals or AR balances directly into customer emails, PDFs, or accounting entries without passing through deterministic spreadsheet formulas or backend
Decimaltools. - Switch prompts to scalar-only extraction: Replace "calculate this quote" prompts with the zero-arithmetic JSON extractor so discounts split cleanly into
discount_1_pctanddiscount_2_pctand return credits preserve negativeqty. - Document your rounding policy in writing: Decide once whether tax rounds per line item or per invoice subtotal, set your sheet’s
Tolerancecell accordingly (0.00or0.01), and remove ambiguity between finance and sales. - Lock spreadsheet Locale before pasting formulas: Verify File > Settings > Locale in Google Sheets so every collaborator shares the same decimal character and argument separator (
,vs.;). - Gate approvals on
Audit_Status = PASS: Require finance and sales coordinators to inspect only rows markedFLAG_VARIANCEorFLAG_MISSING_LINESrather than wasting time re-checking clean rows. - Sync structured orders instead of raw chat summaries: Connect structured order tools and OAuth spreadsheet syncs so SKU prices, quantities, taxes, and remaining balances flow from authoritative records rather than probabilistic text generation.
Comments
Your comment will appear after review.
Sign in to commentNo comments to show.