Build payroll report files API
Generate an editable XLSX and a minimal PDF summary after DBRA precheck. Output is not a prescribed government form.
The Build payroll report files operation is part of the Prevailing Wage API on BRAINIAC.software. Generate an editable XLSX and a minimal PDF summary after DBRA precheck. Output is not a prescribed government form. It is exposed as POST /api/v1/prevailing-wage/payroll-report and priced at $0.08 USDC on Base. Payment uses the x402 exact scheme: an unpaid call returns HTTP 402 with payment requirements; after paying the exact USDC amount, retry the same request with a payment-signature header and Idempotency-Key. No account and no API key are required. Data sources for this product: Official SAM.gov and Department of Labor wage determinations. Limitations: Verify wage rates against the current official determination before relying on results. Payroll outputs are prechecks and editable reports, not government-certified filings. Outputs are compliance prechecks, drafts, or data lookups for human review. They are not official determinations, legal advice, identity confirmation, or certified filings. Related operations in this group include Search Davis-Bacon wage determinations, Resolve a wage determination, Read classification rates, Validate a labor classification. Open the group documentation for the full request schema, field notes, and response examples before integrating.
/api/v1/prevailing-wage/payroll-reportExample request
curl -i -X POST "https://www.brainiac.software/api/v1/prevailing-wage/payroll-report" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"wdId": "TX20260001",
"weekEnding": "2026-10-24",
"cwhssaCovered": false,
"project": {
"name": "Example project",
"contractor": "Example Co",
"address": "Austin, TX",
"location": "Travis County, TX"
},
"workers": [
{
"lastName": "Sample",
"firstName": "Worker",
"identifyingNumber": "W001",
"status": "J",
"classification": "Laborer",
"hoursOtherWork": 0,
"days": [
{
"date": "2026-10-18",
"straight": 8,
"overtime": 0
},
{
"date": "2026-10-19",
"straight": 8,
"overtime": 0
},
{
"date": "2026-10-20",
"straight": 8,
"overtime": 0
},
{
"date": "2026-10-21",
"straight": 8,
"overtime": 0
},
{
"date": "2026-10-22",
"straight": 8,
"overtime": 0
},
{
"date": "2026-10-23",
"straight": 0,
"overtime": 0
},
{
"date": "2026-10-24",
"straight": 0,
"overtime": 0
}
],
"straightRate": 20,
"overtimeRate": 30
}
]
}
JSONAn unpaid probe returns HTTP 402 with x402 payment requirements. After paying the exact USDC amount on Base, retry the identical request with a payment-signature header.
FAQ
- Do I need an API key? No. Pay the listed USDC amount with x402.
- What network? Base (eip155:8453), USDC.
- Is this an official determination? No. Results are for human review against the cited sources.
Related operations
- Search Davis-Bacon wage determinations — $0.01 USDC
- Resolve a wage determination — $0.01 USDC
- Read classification rates — $0.01 USDC
- Validate a labor classification — $0.02 USDC