{"uid":"cap_ltpESQp5Mo5BQcLZtirGC","slug":"subpay-ai-construction-pay-application-extractor-ca290bd3","name":"subpay.ai Construction Pay Application Extractor","description":"Get every pay app out on time and every dollar back in. AIA G702/G703 in minutes, retainage tracking, and every GC billing deadline on one calendar.","url":"https://subpay.ai/api/v1/extract?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["document"],"properties":{"gc":{"type":"string","description":"Optional general contractor name."},"document":{"type":"string","description":"The PDF, base64-encoded. Max 4 MB decoded."},"fileName":{"type":"string","description":"Optional original file name."},"subcontractor":{"type":"string","description":"Optional subcontractor company name."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"checks":[{"name":"g702_math","detail":"contract sum to date − completed to date (+ retainage held) = balance to finish","passed":true}],"document":{"periodTo":"2026-06-30","changeOrders":[],"documentType":"PAY_APPLICATION","grossThisPeriod":41819.65,"applicationNumber":"27","contractSumToDate":63388,"currentPaymentDue":37637.69,"retainageHeldToDate":4181.96,"retainageRatePercent":10,"retainageReleasedThisPeriod":null,"totalCompletedAndStoredToDate":41819.65,"balanceToFinishIncludingRetainage":25750.31},"warnings":[],"confidence":0.95}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.2","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.2/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hzJxI4meNTy9fu_WcfKga","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.2","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses AIA G702/G703, Procore, Textura, or change order PDFs into structured financial figures with arithmetic validation","exampleAgentPrompt":"I have a subcontractor's AIA G702/G703 pay application PDF — can you extract all the structured figures from it and verify the arithmetic? The subcontractor is Apex Mechanical and the GC is Turner Construction.","exampleUseCases":[{"title":"Subcontractor invoice review automation","prompt":"We received a pay app PDF from our subcontractor Apex Mechanical submitted to GC Skanska — can you extract all the figures from this AIA G702/G703 document and flag any arithmetic errors before we approve it?"},{"title":"Change order amount extraction","prompt":"I have a change order PDF I need to process — please pull out all the dollar amounts and line items from it so I can enter them into our accounting system."},{"title":"Procore pay application data ingestion","prompt":"We export pay applications from Procore as PDFs — can you parse this one from subcontractor Rivera Electric and give me the structured figures including the scheduled values, work completed, and amount due this period?"}],"resultDescription":"A structured JSON object containing extracted financial figures from the pay application, including line items, contract amounts, work completed to date, retainage, amount due, and arithmetic validation results indicating whether the numbers check out.","failureModes":["PDF exceeds 4 MB decoded size limit — request rejected","Malformed or unreadable PDF — extraction fails with parsing error","Document format not recognized as AIA G702/G703, Procore, Textura, or change order — incomplete extraction","Base64 encoding errors in the document field — invalid input error","Scanned/image-only PDFs without readable text may yield incomplete extraction"],"whenToPreferThis":"Use this endpoint when you need to programmatically extract and validate financial data from construction-specific pay application formats (AIA G702/G703, Procore, Textura) or change orders. Prefer it over generic PDF extractors because it understands construction billing document structure and performs domain-specific arithmetic validation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T00:40:04.313Z","isFirstParty":false,"canonicalSlug":"subpay-ai-construction-pay-application-extractor-ca290bd3"}