{"uid":"cap_VmnovIQCu1rkrrDirAw3N","slug":"purchase-order-imports-invalid-row-export-7fe82194","name":"Purchase Order Imports — Invalid Row Export","description":"Purchase order imports — Invalid row export: Invalid row export for Purchase order 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-purchases-invalid-rows?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","default":"purchase_id,placed_on,vendor_id,ordered_units,order_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_wGuEVk4_RJVko1Np89nXf","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 purchase order CSV (up to 1000 rows) and returns a report identifying all rows that fail schema or business-rule checks.","exampleAgentPrompt":"Can you validate this purchase order CSV for me — use a comma delimiter, flag any rows where order_amount is outside 0 to 500000, and only allow vendor categories 'group-a' and 'group-b'? I need a report of all the invalid rows.","exampleUseCases":[{"title":"Pre-import PO data quality check","prompt":"Before I import this purchase order CSV into our ERP, can you run it through validation with comma as the delimiter, allowed vendors 'vendor-east' and 'vendor-west', and flag any rows where order_amount is outside 0 to 1000000? Give me back all the bad rows so I can fix them first."},{"title":"Vendor category compliance audit","prompt":"I have a CSV of purchase orders and I only want to allow vendor IDs 'approved-a', 'approved-b', and 'approved-c' — can you scan it and export a list of every row that has an unauthorised vendor category? Use a semicolon delimiter and cap cell length at 500 characters."},{"title":"Finance team order amount range enforcement","prompt":"Our finance policy says no single purchase order line can have an order_amount below 10 or above 250000 — can you check this purchase order CSV with those limits and a comma delimiter, and give me a report of every row that violates the range?"}],"resultDescription":"A structured report listing every CSV row that failed validation, including the row number, the offending cell values, and the specific rule violations (e.g. value out of numeric range, disallowed category, cell too long, malformed data). Conforming rows are excluded from the report.","failureModes":["CSV exceeds 100,000 character limit — request rejected","More than 1000 rows submitted — only first 1000 processed or error returned","Invalid delimiter specified — must be comma, semicolon, or tab","Malformed CSV that cannot be parsed — parse error returned","allowed_categories list exceeds 100 items — schema validation error","max_cell_length set outside 1–5000 range — rejected","Empty CSV string — error returned"],"whenToPreferThis":"Choose this endpoint when you need to pre-validate a purchase order CSV against a declared schema contract before importing it into a downstream system, and you want a row-level invalid-row export rather than a simple pass/fail. It is ideal for procurement and finance workflows where you need to identify and quarantine bad rows before they reach an ERP or database. Best suited for files up to 1000 rows with known vendor category allowlists and numeric amount bounds.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T00:52:38.764Z","isFirstParty":false,"canonicalSlug":"purchase-order-imports-invalid-row-export-7fe82194"}