{"uid":"cap_s3bi6f8m8z2DyAdb2ZFU0","slug":"invoice-imports-invalid-row-export-a53eeb2d","name":"Invoice Imports — Invalid Row Export","description":"Invoice imports — Invalid row export: Invalid row export 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 invalid row export report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-invoices-invalid-rows?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_rpDnVFHY25plzsxrTnsxr","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 a CSV of invoice records and returns a report of all rows that fail the declared contract (format, numeric bounds, category allowlist, cell length).","exampleAgentPrompt":"Can you check my invoice CSV for invalid rows — it uses commas as delimiter, amounts should be between 0 and 500000, and account IDs must be one of 'group-a', 'group-b', or 'group-c'? Here's the CSV: invoice_id,issued_on,account_id,net_amount,tax_amount\\nrecord-a,2026-01-01,group-x,10,2\\nrecord-b,2026-01-02,group-b,-50,3","exampleUseCases":[{"title":"Pre-import invoice file audit","prompt":"Before I upload this invoice CSV to our billing system, can you scan it for invalid rows? Delimiter is a comma, net and tax amounts must be between 0 and 1000000, and valid account IDs are only 'acct-east', 'acct-west', or 'acct-central'. I'll paste the CSV now."},{"title":"Out-of-range invoice amount detection","prompt":"I have an invoice import file and I need to flag any rows where the amounts fall outside -500 to 500000 — can you run it through validation with a comma delimiter and tell me exactly which rows are bad?"},{"title":"Category allowlist enforcement for invoices","prompt":"Can you validate my invoice CSV and export just the rows that have account IDs not in my approved list: 'vendor-a', 'vendor-b', 'vendor-c'? Use comma as the delimiter and cap each cell at 200 characters."}],"resultDescription":"A structured report identifying all rows in the submitted invoice CSV that violate the declared contract — including which rows failed, what rule they broke (numeric bounds, disallowed category, cell length exceeded, or structural parse error), enabling the caller to correct or reject those rows before import.","failureModes":["CSV exceeds 100,000 character limit — request rejected","Fewer than 1 character submitted — validation error","Delimiter not one of comma, semicolon, or tab — schema error","Maximum value set below minimum value — logical conflict error","More than 100 allowed_categories specified — schema error","Cell length limit set outside 1–5000 range — schema error","Malformed CSV that cannot be parsed at all — parse failure response","Network or payment processing failure — HTTP 402 or 5xx error"],"whenToPreferThis":"Use this endpoint when you need to pre-validate an invoice-specific CSV (with fields like invoice_id, issued_on, account_id, net_amount, tax_amount) against a declared contract before importing it into a billing or accounting system. It is purpose-built for the invoice import domain with support for category allowlists, numeric bounds, quoted cells, and cell length limits — up to 1,000 rows per call. Prefer it over generic CSV validators when you need invoice-domain semantics and an actionable invalid-row export report rather than just a pass/fail result.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T19:17:53.999Z","isFirstParty":false,"canonicalSlug":"invoice-imports-invalid-row-export-a53eeb2d"}