{"uid":"cap_CIRr_atj89ejl-xTQvZVX","slug":"inventory-imports-csv-trimmed-typed-conversion-8eacd0a0","name":"Inventory Imports CSV Trimmed Typed Conversion","description":"Inventory imports — Trimmed typed conversion: Trimmed typed conversion for Inventory 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 trimmed typed conversion report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-inventory-normalise?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","default":"stock_id,counted_on,warehouse_id,on_hand,reserved_units\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_85om5JqaRjxH63scMc6Di","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 and type-converts an inventory CSV file (up to 1000 rows), trimming whitespace and enforcing declared column types and value constraints.","exampleAgentPrompt":"Can you validate this inventory CSV for me — it has columns stock_id, counted_on, warehouse_id, on_hand, and reserved_units — and make sure all numeric values are between 0 and 500000, cells are no longer than 1000 characters, and warehouse_id is only 'group-a' or 'group-b'?","exampleUseCases":[{"title":"Pre-import inventory CSV check","prompt":"Before I push this stock count CSV to our warehouse system, can you run it through a typed validation to confirm all on_hand and reserved_units values are between 0 and 999999, warehouse IDs are only 'east-1' or 'west-2', and no cell is longer than 500 characters?"},{"title":"Catching type errors in reorder data","prompt":"I've got a semicolon-delimited inventory file with stock_id, counted_on, warehouse_id, on_hand, and reserved_units columns — can you validate it and flag any rows where numeric fields have non-numeric values or categories outside 'store-a', 'store-b', 'store-c'?"},{"title":"Normalizing supplier stock import","prompt":"Our supplier sent us a tab-separated CSV of inventory counts — can you trim and type-convert it, enforce that on_hand and reserved_units stay between -100 and 1000000, and check that all warehouse_id values match either 'hub-north' or 'hub-south'?"}],"resultDescription":"Returns a trimmed typed conversion report for the submitted inventory CSV, including per-row and per-cell type validation results, whitespace trimming outcomes, range constraint checks on numeric fields, and category membership validation for allowed warehouse or group identifiers. Up to 1000 rows are processed per call.","failureModes":["CSV exceeds 100,000 character limit — request rejected","More than 1000 rows submitted — truncation or rejection","Delimiter mismatch causes single-column parse failure","Numeric minimum exceeds maximum — invalid range configuration","Cell exceeds max_cell_length — flagged as validation error","Malformed quoted cells cause parse errors","Empty CSV string (minLength:1 violated) — request rejected"],"whenToPreferThis":"Choose this endpoint when you need to validate and type-normalize inventory-specific CSV imports — particularly when you need to enforce numeric ranges on stock quantities, whitespace trimming, quoted-cell support, and categorical constraints on warehouse or group IDs. It is purpose-built for the stock_id/counted_on/warehouse_id/on_hand/reserved_units contract and is not a general-purpose CSV parser. Prefer it over generic CSV tools when the inventory domain preset and combined validation + type conversion in a single call is valuable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:47:24.671Z","isFirstParty":false,"canonicalSlug":"inventory-imports-csv-trimmed-typed-conversion-8eacd0a0"}