# BRAINIAC Property Maintenance Invoice Validator

> BRAINIAC Property Maintenance Invoice Validator is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.04/call, status unknown (last checked 2026-11-12).

Validates property maintenance invoices against quotes, work orders, and compliance rules, flagging discrepancies in amount, scope, and legal compliance.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/property-maintenance/invoice-validate?utm_source=zero.xyz
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-property-maintenance-invoice-validator-09799218
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dcxoZBCcpADFlIe6D2_73

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability brainiac-property-maintenance-invoice-validator-09799218 -d '<json body>'
```

Example prompt: Can you validate these two contractor invoices against their quotes — invoice I-1 for $180 (quote Q-1 was $150, same scope) and invoice I-2 for $180 (no linked quote) — and flag any overbilling or compliance issues?

## When to prefer this

Use this endpoint when you need automated, structured validation of property maintenance invoices against quotes and work orders, especially when checking for overbilling, scope drift, SLA breaches, or compliance red flags before authorizing payment. Prefer this over manual review when dealing with multiple contractors or invoices at scale. It is a read-only analysis tool — it does not dispatch contractors, contact tenants, or process payments.

## Known failure modes

- Missing required invoice fields causes item to be flagged as not_compared
- Quote not linked to invoice results in amount and scope states of not_compared
- Malformed JSON or CSV input may cause parsing failure
- Exceeding maxItems limits (40 invoices, 40 quotes, 8 rules) truncates input
- Payment not processed via x402 returns 402 Payment Required
- Input text exceeding 200,000 character limit rejected

## How this service works

Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.

## Output

Returns a list of validated invoice items, each with amount and scope comparison states (above/below/same/not_compared), quote linkage status, payment sent flag, legal compliance status, and overall findings with coded issue descriptions. Includes a checkedAt timestamp, limitations disclaimer, and boolean flags for workOrdered, propertySafe, legalCompliance, tenantContacted, and contractorDispatched.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "maxLength": 200000
  },
  "asOf": {
   "type": "string",
   "maxLength": 40
  },
  "file": {
   "type": "object",
   "required": [
    "mediaType",
    "fileBase64"
   ],
   "properties": {
    "filename": {
     "type": "string",
     "maxLength": 180,
     "minLength": 1
    },
    "mediaType": {
     "enum": [
      "text/plain",
      "text/csv",
      "application/json"
     ],
     "type": "string"
    },
    "fileBase64": {
     "type": "string",
     "maxLength": 12000000,
     "minLength": 1
    }
   },
   "additionalProperties": false
  },
  "json": {
   "type": "string",
   "maxLength": 200000
  },
  "slas": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "unit": {
      "type": "string",
      "maxLength": 20
     },
     "limit": {
      "type": "number",
      "maximum": 100000,
      "minimum": 0
     },
     "urgency": {
      "type": "string",
      "maxLength": 40
     }
    },
    "additionalProperties": false
   },
   "maxItems": 20
  },
  "text": {
   "type": "string",
   "maxLength": 200000
  },
  "rules": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "name",
     "value"
    ],
    "properties": {
     "name": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
     },
     "value": {
      "type": "string",
      "maxLength": 40
     }
    },
    "additionalProperties": false
   },
   "maxItems": 8
  },
  "works": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "requestId": {
      "type": "string",
      "maxLength": 80
     },
     "contractor": {
      "type": "string",
      "maxLength": 160
     }
    },
    "additionalProperties": false
   },
   "maxItems": 40
  },
  "quotes": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "days": {
      "type": "number",
      "maximum": 3650,
      "minimum": 0
     },
     "scope": {
      "type": "string",
      "maxLength": 300
     },
     "amount": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     },
     "currency": {
      "type": "string",
      "maxLength": 12
     },
     "requestId": {
      "type": "string",
      "maxLength": 80
     },
     "contractor": {
      "type": "string",
      "maxLength": 160
     },
     "exclusions": {
      "type": "string",
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "id": "I-1",
    "status": "submitted",
    "quoteId": "Q-1",
    "currency": "USD",
    "scopeState": "same",
    "amountState": "above",
    "paymentSent": false,
    "quoteAmount": 150,
    "invoiceAmount": 180,
    "quoteSupplied": true,
    "invoiceSupplied": true,
    "legalCompliance": false
   },
   {
    "id": "I-2",
    "status": "paid",
    "quoteId": "Q-9",
    "currency": "USD",
    "scopeState": "not_compared",
    "amountState": "not_compared",
    "paymentSent": false,
    "quoteAmount": 0,
    "invoiceAmount": 180,
    "quoteSupplied": false,
    "invoiceSupplied": true,
    "legalCompliance": false
   }
  ],
  "status": "checked",
  "findings": [
   {
    "code": "quote_missing",
    "kind": "unavailable",
    "detail": "No single supplied quote is linked, so the invoice amount was not compared.",
    "subject": "I-2"
   }
  ],
  "checkedAt": "2026-11-04T13:00:00.000Z",
  "limitations": [
   "Requests, quotes, invoices, and service levels are copied only from labeled fields supplied by the caller.",
   "A type is classified only from an explicit token: leak, plumbing, pipe, drain, electrical, power, outlet, wiring, heat, heating, hvac, boiler, lock, door, access, appliance, pest, structural, roof, or ceiling.",
   "A safety flag is a keyword match for a person to review. It does not mean the property is unsafe or legally non-compliant.",
   "A quote comparison does not recommend a contractor. A work-order draft is not sent.",
   "No contractor is dispatched and no tenant is contacted."
  ],
  "workOrdered": false,
  "propertySafe": false,
  "legalCompliance": false,
  "tenantContacted": false,
  "contractorDispatched": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-property-maintenance-invoice-validator-09799218/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
