{"uid":"cap_dOHMprqWeTWhOpvh8XHok","slug":"invoice-imports-category-allowlist-check-a3697fdc","name":"Invoice Imports — Category Allowlist Check","description":"Invoice imports — Category allowlist check: Category allowlist check 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 category allowlist check report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-invoices-categories?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_Hd-nF-DeqAWyC_1Fu44w1","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":"Validates that all category values in an invoice CSV fall within a predefined allowlist, returning a compliance report for up to 1000 rows.","exampleAgentPrompt":"Can you check this invoice CSV and make sure every category value is one of 'group-a', 'group-b', or 'group-c'? Use a comma delimiter and let me know if any rows have disallowed categories.","exampleUseCases":[{"title":"Pre-import invoice category audit","prompt":"Before I import this batch of invoices, check the attached CSV to confirm every category field is in my approved list: 'marketing', 'engineering', 'operations'. Flag any rows that don't match."},{"title":"Finance team policy compliance check","prompt":"Our finance policy only allows invoice categories 'CAPEX' and 'OPEX'. Run a category allowlist check on this semicolon-delimited invoice CSV and tell me which records are out of compliance."},{"title":"Automated invoice pipeline validation","prompt":"I have an invoice CSV with a tab delimiter coming into our pipeline — validate that all category values are either 'vendor-a', 'vendor-b', or 'vendor-c' and give me a report of any violations before we process payments."}],"resultDescription":"Returns a category allowlist check report indicating which rows (if any) contain category values not present in the provided allowed_categories list, covering up to 1000 rows of invoice CSV data with support for quoted cells and configurable delimiters.","failureModes":["CSV exceeds 100,000 character limit — request rejected","More than 1000 rows in CSV — validation may be truncated or refused","Delimiter mismatch causes parsing errors — rows parsed incorrectly","allowed_categories list is empty — all categories may be flagged","Cell length exceeds max_cell_length — cell rejected or truncated","Malformed CSV (unmatched quotes) — parsing error returned","Amount values outside min/max bounds — validation flags or errors"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, single-step category compliance check on invoice CSV data against a known allowlist — especially for pre-import validation workflows where no external enrichment or database lookup is needed. Prefer this over generic CSV validators when invoice-specific structure (invoice_id, issued_on, account_id, net_amount, tax_amount) and category policy enforcement are your primary concerns.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T19:09:16.246Z","isFirstParty":false,"canonicalSlug":"invoice-imports-category-allowlist-check-a3697fdc"}