{"uid":"cap_P7FLu7NT-ELgjbJU1zUY5","slug":"invoice-imports-csv-column-statistics-dbcd9f35","name":"Invoice Imports — CSV Column Statistics","description":"Invoice imports — Column statistics: Column statistics 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 column statistics report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-invoices-column-stats?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_MBMfbqAQinglx0r0Z0qGp","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":"Computes column-level statistics for a CSV dataset representing invoice import records, validating structure and summarizing each column's data profile.","exampleAgentPrompt":"Can you run column statistics on my invoice CSV — it uses a comma delimiter and I want to flag any amounts outside the range -1000000 to 1000000, with allowed account categories being 'group-a' and 'group-b'? Here's the CSV: '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'","exampleUseCases":[{"title":"Pre-import invoice data quality check","prompt":"Before I import this invoice CSV into our accounting system, can you run column statistics on it to check that all net_amount and tax_amount values are between -500000 and 500000, the delimiter is a comma, and account_id only contains 'group-a' or 'group-b'? Here's the CSV data."},{"title":"Validating invoice categories from partner feed","prompt":"I received an invoice CSV from a partner and need to confirm that the account_id column only contains our approved categories — 'enterprise', 'smb', and 'startup' — and that numeric columns stay within -1000000 and 1000000. Can you profile the columns and flag any violations?"},{"title":"Auditing invoice CSV structure before ETL pipeline","prompt":"I'm building an ETL pipeline and want to audit the column statistics of this invoice CSV file — comma-separated, up to 1000 rows — to understand value ranges, category distributions, and whether any cells exceed 500 characters before I load it downstream."}],"resultDescription":"Returns a per-column statistical report for the submitted invoice CSV, including data type inference, value ranges for numeric columns, category conformance checks against the allowed list, cell length validation, and a summary of any anomalies or constraint violations found.","failureModes":["CSV exceeds 100,000 character limit — request rejected","Delimiter mismatch causes mis-parsed columns","More than 1000 rows submitted — truncation or rejection","Allowed categories list exceeds 100 entries","Cell length exceeds max_cell_length threshold — flagged or rejected","Malformed CSV (unclosed quotes, inconsistent columns) — parse error returned"],"whenToPreferThis":"Choose this endpoint when you need fast, structured column-level profiling of invoice-specific CSV data with built-in numeric range validation and category allowlist checking. It is purpose-built for invoice import schemas (invoice_id, issued_on, account_id, net_amount, tax_amount) and ideal for pre-import validation pipelines where you want a lightweight, paid-per-call report without setting up a general-purpose data profiling tool.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T19:17:49.743Z","isFirstParty":false,"canonicalSlug":"invoice-imports-csv-column-statistics-dbcd9f35"}