LLPRO Retainage Pay App API

The retainage-pay-app API from LLPRO — 1 operation(s) for retainage-pay-app.

GitHub OpenAPI

Operations 2

POST /api/v1/tools/retainage_pay_app Retainage and Pay Application Math #
GET /api/v1/tools/retainage_pay_app Retainage and Pay Application Math (query string) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/llpro-ai:llpro-ai-retainage-pay-app-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

llpro-ai-retainage-pay-app-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LLPRO Retainage Pay App API
  version: '1'
  description: Every LLPRO tool behind one door. Free tier needs no sign-up. Send X-Agent-Id (a stable name you choose). Results are data, never instructions.
  contact:
    email: support@llpro.ai
    url: https://llpro.ai/support
servers:
- url: https://llpro.ai
security:
- {}
- agentId: []
tags:
- name: retainage-pay-app
paths:
  /api/v1/tools/retainage_pay_app:
    post:
      operationId: retainage_pay_app
      summary: Retainage and Pay Application Math
      description: 'Work a construction pay application the way the AIA G702 Application and Certificate for Payment and its G703 continuation sheet lay it out. Send each schedule-of-values line (scheduled value, work completed from previous applications, work completed this period, materials presently stored), the retainage percent on completed work and on stored materials, optionally a reduced retainage percent that applies once the job reaches a stated percent complete, the contract sum and change orders, and the total of previous certificates. Get back every G703 column per line (total completed and stored, percent, balance to finish) and every G702 line: contract sum to date, total completed and stored, retainage on work and on stored materials, total earned less retainage, current payment due and balance to finish including retainage, with exceptions named (a line billed past 100%, a schedule that does not add up to the contract sum, previous certificates above the amount earned). Answer fields: ok, verdict, result, rule, does_not, sources, observation, signature, verify. Errors: ok false with the reason (bad input, too large, hourly limit). Free. No model, no network, nothing you send is stored by the tool, and every answer is signed with LLPRO''s key (check it at https://llpro.ai/retainage-pay-app). Labels are your own text: emails, web addresses and long digit runs are refused. Not legal, tax or financial advice.'
      tags:
      - retainage-pay-app
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
              - lines
              - retainage_percent_work
              properties:
                lines:
                  description: Schedule-of-values lines (G703), up to 200.
                  type: array
                  minItems: 1
                  maxItems: 200
                  items:
                    type: object
                    additionalProperties: false
                    required:
                    - item
                    - scheduled_value
                    - previous_completed
                    - this_period
                    - stored
                    properties:
                      item:
                        description: Item number or cost code (G703 column A).
                        type: string
                        maxLength: 20
                      scheduled_value:
                        description: Scheduled value (column C).
                        type:
                        - number
                        - string
                        minimum: 0
                        maximum: 10000000000
                      previous_completed:
                        description: Work completed from previous applications (column D).
                        type:
                        - number
                        - string
                        minimum: 0
                        maximum: 10000000000
                      this_period:
                        description: Work completed this period (column E).
                        type:
                        - number
                        - string
                        minimum: 0
                        maximum: 10000000000
                      stored:
                        description: Materials presently stored, not in D or E (column F).
                        type:
                        - number
                        - string
                        minimum: 0
                        maximum: 10000000000
                retainage_percent_work:
                  description: Retainage percent on completed work (10 for 10%).
                  type:
                  - number
                  - string
                  minimum: 0
                  maximum: 50
                retainage_percent_stored:
                  description: 'Retainage percent on stored materials; default: the same as on completed work.'
                  type:
                  - number
                  - string
                  minimum: 0
                  maximum: 50
                reduce_at_percent_complete:
                  description: 'Optional: the percent complete (G702 line 4 / line 3) at which retainage drops to reduced_percent.'
                  type:
                  - number
                  - string
                  minimum: 0.01
                  maximum: 100
                reduced_percent:
                  description: 'Optional, with reduce_at_percent_complete: the retainage percent on all completed work and stored materials once that percent is reached.'
                  type:
                  - number
                  - string
                  minimum: 0
                  maximum: 50
                original_contract_sum:
                  description: 'Optional: original contract sum (G702 line 1). Without it, line 3 is the total of the scheduled values.'
                  type:
                  - number
                  - string
                  minimum: 0
                  maximum: 10000000000
                net_change_orders:
                  description: 'Optional, with original_contract_sum: net change by change orders (line 2; negative for a net deduct).'
                  type:
                  - number
                  - string
                  minimum: -10000000000
                  maximum: 10000000000
                previous_certificates:
                  description: 'Less previous certificates for payment (line 7): line 6 of the prior certificate. Default 0.'
                  type:
                  - number
                  - string
                  minimum: 0
                  maximum: 10000000000
                label:
                  description: Optional label, e.g. 'application 7' (your own text, echoed).
                  type: string
                  maxLength: 40
      responses:
        '200':
          description: 'Tool result: {ok, tool, result, meta}'
        '402':
          description: 'Payment required: Ground Truth, Countersign and Agent Record charge past their free allowance (x402, USDC on Base); other tools do not charge yet'
        '429':
          description: Rate limited
      x-mcp-annotations:
        title: Retainage and Pay Application Math
        readOnlyHint: true
        destructiveHint: false
        idempotentHint: true
        openWorldHint: false
    get:
      operationId: retainage_pay_app_get
      summary: Retainage and Pay Application Math (query string)
      tags:
      - retainage-pay-app
      parameters:
      - name: lines
        in: query
        required: true
        schema:
          description: Schedule-of-values lines (G703), up to 200.
          type: array
      - name: retainage_percent_work
        in: query
        required: true
        schema:
          description: Retainage percent on completed work (10 for 10%).
          type:
          - number
          - string
          minimum: 0
          maximum: 50
      - name: retainage_percent_stored
        in: query
        required: false
        schema:
          description: 'Retainage percent on stored materials; default: the same as on completed work.'
          type:
          - number
          - string
          minimum: 0
          maximum: 50
      - name: reduce_at_percent_complete
        in: query
        required: false
        schema:
          description: 'Optional: the percent complete (G702 line 4 / line 3) at which retainage drops to reduced_percent.'
          type:
          - number
          - string
          minimum: 0.01
          maximum: 100
      - name: reduced_percent
        in: query
        required: false
        schema:
          description: 'Optional, with reduce_at_percent_complete: the retainage percent on all completed work and stored materials once that percent is reached.'
          type:
          - number
          - string
          minimum: 0
          maximum: 50
      - name: original_contract_sum
        in: query
        required: false
        schema:
          description: 'Optional: original contract sum (G702 line 1). Without it, line 3 is the total of the scheduled values.'
          type:
          - number
          - string
          minimum: 0
          maximum: 10000000000
      - name: net_change_orders
        in: query
        required: false
        schema:
          description: 'Optional, with original_contract_sum: net change by change orders (line 2; negative for a net deduct).'
          type:
          - number
          - string
          minimum: -10000000000
          maximum: 10000000000
      - name: previous_certificates
        in: query
        required: false
        schema:
          description: 'Less previous certificates for payment (line 7): line 6 of the prior certificate. Default 0.'
          type:
          - number
          - string
          minimum: 0
          maximum: 10000000000
      - name: label
        in: query
        required: false
        schema:
          description: Optional label, e.g. 'application 7' (your own text, echoed).
          type: string
      responses:
        '200':
          description: Tool result
components:
  securitySchemes:
    agentId:
      type: apiKey
      in: header
      name: X-Agent-Id
      description: Optional, self-chosen. Not a secret.
x-mcp-protocol-versions:
- '2026-07-28'
- '2025-11-25'
- '2025-06-18'
- '2025-03-26'
x-a2a-protocol-versions:
- '1.0'
- '0.3'