{"uid":"cap_jOhS8I2b803hmIQ9ZGthK","slug":"invoice-imports-spreadsheet-formula-flags-724b3a4d","name":"Invoice Imports — Spreadsheet Formula Flags","description":"Invoice imports — Spreadsheet formula flags: Spreadsheet formula flags for Invoice imports. Validate a declared CSV table contract, up to 1000 rows. Quoted cells supported; no external enrichment. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one CSV spreadsheet formula flags report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-invoices-formula-flags?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","default":"invoice_id,issued_on,account_id,net_amount,tax_amount\nrecord-a,2026-01-01,group-a,10,2\nrecord-b,2026-01-02,group-b,20,3","maxLength":100000,"minLength":1},"maximum":{"type":"number","default":1000000000000,"maximum":1000000000000,"minimum":-1000000000000},"minimum":{"type":"number","default":-1000000000000,"maximum":1000000000000,"minimum":-1000000000000},"delimiter":{"enum":[",",";","\t"],"type":"string","default":","},"max_cell_length":{"type":"integer","default":1000,"maximum":5000,"minimum":1},"allowed_categories":{"type":"array","items":{"type":"string","default":"","maxLength":100,"minLength":1},"default":["group-a","group-b"],"maxItems":100,"minItems":0}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gimCJqoSBIITFuwgMb4ry","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scans a CSV of invoice data (up to 1000 rows) and flags cells containing spreadsheet formula injections or dangerous formula patterns.","exampleAgentPrompt":"Can you check this invoice CSV for spreadsheet formula flags before I import it into our accounting system? The file uses comma delimiters, amounts should be between 0 and 1,000,000, and the only valid account categories are group-a and group-b.","exampleUseCases":[{"title":"Safe invoice import pre-check","prompt":"Before I import this invoice CSV into QuickBooks, scan it for any spreadsheet formula injection attempts — the file is comma-delimited, amounts should be positive up to 500000, and valid account IDs are only 'acct-north' and 'acct-south'."},{"title":"Auditing supplier invoice uploads","prompt":"We receive invoice CSV files from suppliers and need to make sure none of them contain formula injection attacks like cells starting with = or +. Can you run a formula flags check on this CSV with semicolon delimiter and flag anything suspicious?"},{"title":"Finance automation security gate","prompt":"As part of our automated invoice pipeline, scan this CSV for dangerous formula cells before it hits our spreadsheet processor — delimiter is tab, max cell length 500, and valid categories are 'dept-1', 'dept-2', 'dept-3'. Alert me if anything looks like formula injection."}],"resultDescription":"Returns a structured report identifying cells within the invoice CSV that contain spreadsheet formula injection patterns (e.g. cells starting with =, +, -, @), along with row/column locations and category validation results — up to 1000 rows analyzed per call.","failureModes":["CSV exceeds 100,000 character limit — request rejected","CSV has zero rows or is empty — validation error","Cell content exceeds max_cell_length — flagged or truncated","Delimiter mismatch causes all data to appear as single-column — misparse","Invalid delimiter value outside allowed enum — schema validation error","Allowed categories array exceeds 100 items — rejected"],"whenToPreferThis":"Use this endpoint when you need to validate invoice-specific CSV imports for spreadsheet formula injection risks before loading data into accounting, ERP, or spreadsheet systems. It is specialized for invoice schemas (invoice_id, issued_on, account_id, net_amount, tax_amount) with category allowlisting and numeric range validation built in, making it more targeted than a generic CSV validator. Prefer it over manual review when processing untrusted supplier uploads at scale.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T19:11:25.510Z","isFirstParty":false,"canonicalSlug":"invoice-imports-spreadsheet-formula-flags-724b3a4d"}