{"uid":"cap_c2pIkVo9WZFQKP7D9NrzZ","slug":"payroll-input-imports-csv-header-contract-check-3013f159","name":"Payroll Input Imports — CSV Header Contract Check","description":"Payroll input imports — Header contract check: Header contract check for Payroll input 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 header contract check report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-payroll-schema?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","default":"pay_id,period_ends_on,department_id,gross_pay,deductions\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_W1EqWWeavMo73vph9vKME","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 declared CSV table contract for payroll import data, checking headers, types, numeric ranges, and category membership across up to 1000 rows.","exampleAgentPrompt":"Can you check whether this payroll CSV file meets the expected import contract? The CSV uses comma delimiters, department IDs should only be 'dept-01' or 'dept-02', gross pay should be between 0 and 500000, and here's the data: 'pay_id,period_ends_on,department_id,gross_pay,deductions\\nrec-1,2026-03-31,dept-01,4500,300'.","exampleUseCases":[{"title":"Pre-import payroll data validation","prompt":"Before I push this payroll file into the system, can you run a header contract check on it? The CSV is comma-separated, department IDs must be either 'engineering' or 'operations', gross pay should be between 100 and 1000000, and the file starts with: 'pay_id,period_ends_on,department_id,gross_pay,deductions\\nE001,2026-03-31,engineering,8500,1200'."},{"title":"Flagging bad payroll rows before payday","prompt":"I need to catch any errors in our payroll CSV before we run payroll this Friday — can you validate the header contract? Delimiter is a comma, allowed departments are 'sales', 'support', and 'finance', and deductions can't exceed 50000. Here's the CSV snippet: 'pay_id,period_ends_on,department_id,gross_pay,deductions\\nS102,2026-04-30,sales,12000,800'."},{"title":"Automated payroll pipeline quality gate","prompt":"As part of our automated payroll pipeline, check the header contract for this CSV — comma-delimited, departments restricted to 'group-a' and 'group-b', minimum value -1000000000000 and maximum 1000000000000, cells no longer than 500 characters. CSV: 'pay_id,period_ends_on,department_id,gross_pay,deductions\\nrecord-a,2026-01-01,group-a,10,2'."}],"resultDescription":"A header contract check report indicating whether the CSV structure is valid, which headers were found, any rows that violate type, range, or category constraints, and a pass/fail summary — covering up to 1000 rows with no external enrichment.","failureModes":["CSV exceeds 100,000 character limit — request rejected","More than 1000 rows submitted — only up to 1000 are validated","Invalid delimiter specified (must be comma, semicolon, or tab)","Cell value exceeds max_cell_length — flagged as a violation","Numeric value outside declared minimum/maximum bounds — reported as contract breach","Category value not in allowed_categories list — flagged per row","Missing or malformed CSV header row — contract check fails with header error"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, affordable ($0.01 USDC) payroll-specific CSV validation that checks column headers, data types, numeric bounds, and category membership before ingesting data into a payroll system. It is purpose-built for payroll import schemas (pay_id, period_ends_on, department_id, gross_pay, deductions) rather than a generic CSV validator, making it ideal for teams automating payroll data pipelines that need a structured contract check report without external data enrichment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T19:12:42.297Z","isFirstParty":false,"canonicalSlug":"payroll-input-imports-csv-header-contract-check-3013f159"}