LLPRO Late Fee Calculator API

The late-fee-calculator API from LLPRO — 1 operation(s) for late-fee-calculator.

GitHub OpenAPI

Operations 2

POST /api/v1/tools/late_fee_calculator Late Fee and Interest Calculator #
GET /api/v1/tools/late_fee_calculator Late Fee and Interest Calculator (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-late-fee-calculator-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-late-fee-calculator-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LLPRO Late Fee Calculator 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: late-fee-calculator
paths:
  /api/v1/tools/late_fee_calculator:
    post:
      operationId: late_fee_calculator
      summary: Late Fee and Interest Calculator
      description: 'Work out the late charges on an unpaid or late-paid invoice from the contract terms you send: a flat fee, a one-time percent of the amount due, simple interest per day at a yearly rate (actual/365 or actual/360), a grace period, and a cap in money or as a percent of the amount due. Send the amount due, the due date and the date paid (or the date to work the charges to). Get back the days late, whether the grace period covers it, the fee, the interest, the total before and after the cap, and the amount owed in all. 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/late-fee-calculator). Labels are your own text: emails, web addresses and long digit runs are refused. Not legal, tax or financial advice.'
      tags:
      - late-fee-calculator
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
              - amount_due
              - due_date
              - as_of_date
              properties:
                amount_due:
                  description: The amount that was due on the due date (the late charges are worked on it).
                  type:
                  - number
                  - string
                  minimum: 0.01
                  maximum: 1000000000
                due_date:
                  description: The date payment was due, YYYY-MM-DD.
                  type: string
                  pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$
                as_of_date:
                  description: The date paid, or the date to work the charges to, YYYY-MM-DD.
                  type: string
                  pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$
                grace_days:
                  description: Days after the due date before any late charge applies (default 0).
                  type: integer
                  minimum: 0
                  maximum: 365
                  default: 0
                flat_fee:
                  description: A one-time flat late fee (for example 25.00).
                  type:
                  - number
                  - string
                  minimum: 0
                  maximum: 1000000
                percent_fee:
                  description: A one-time late fee as a percent of the amount due (5 for 5%).
                  type:
                  - number
                  - string
                  minimum: 0
                  maximum: 50
                annual_interest_percent:
                  description: Simple interest at this yearly rate (18 for 18% a year; a contract's 1.5% a month is 18 a year only if the contract charges it by the day).
                  type:
                  - number
                  - string
                  minimum: 0
                  maximum: 100
                day_count:
                  description: 'Interest day count: actual days over 365 (default) or over 360.'
                  type: string
                  enum:
                  - actual/365
                  - actual/360
                  default: actual/365
                interest_from:
                  description: Interest runs from the due date (default) or from the end of the grace period.
                  type: string
                  enum:
                  - due_date
                  - end_of_grace
                  default: due_date
                cap_amount:
                  description: Optional cap on all late charges together, in money.
                  type:
                  - number
                  - string
                  minimum: 0
                  maximum: 1000000000
                cap_percent:
                  description: Optional cap on all late charges together, as a percent of the amount due.
                  type:
                  - number
                  - string
                  minimum: 0
                  maximum: 100
                label:
                  description: Optional label for the invoice (your own text, echoed back; not a person; up to 6 digits in a row).
                  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: Late Fee and Interest Calculator
        readOnlyHint: true
        destructiveHint: false
        idempotentHint: true
        openWorldHint: false
    get:
      operationId: late_fee_calculator_get
      summary: Late Fee and Interest Calculator (query string)
      tags:
      - late-fee-calculator
      parameters:
      - name: amount_due
        in: query
        required: true
        schema:
          description: The amount that was due on the due date (the late charges are worked on it).
          type:
          - number
          - string
          minimum: 0.01
          maximum: 1000000000
      - name: due_date
        in: query
        required: true
        schema:
          description: The date payment was due, YYYY-MM-DD.
          type: string
      - name: as_of_date
        in: query
        required: true
        schema:
          description: The date paid, or the date to work the charges to, YYYY-MM-DD.
          type: string
      - name: grace_days
        in: query
        required: false
        schema:
          description: Days after the due date before any late charge applies (default 0).
          type: integer
          minimum: 0
          maximum: 365
      - name: flat_fee
        in: query
        required: false
        schema:
          description: A one-time flat late fee (for example 25.00).
          type:
          - number
          - string
          minimum: 0
          maximum: 1000000
      - name: percent_fee
        in: query
        required: false
        schema:
          description: A one-time late fee as a percent of the amount due (5 for 5%).
          type:
          - number
          - string
          minimum: 0
          maximum: 50
      - name: annual_interest_percent
        in: query
        required: false
        schema:
          description: Simple interest at this yearly rate (18 for 18% a year; a contract's 1.5% a month is 18 a year only if the contract charges it by the day).
          type:
          - number
          - string
          minimum: 0
          maximum: 100
      - name: day_count
        in: query
        required: false
        schema:
          description: 'Interest day count: actual days over 365 (default) or over 360.'
          type: string
          enum:
          - actual/365
          - actual/360
      - name: interest_from
        in: query
        required: false
        schema:
          description: Interest runs from the due date (default) or from the end of the grace period.
          type: string
          enum:
          - due_date
          - end_of_grace
      - name: cap_amount
        in: query
        required: false
        schema:
          description: Optional cap on all late charges together, in money.
          type:
          - number
          - string
          minimum: 0
          maximum: 1000000000
      - name: cap_percent
        in: query
        required: false
        schema:
          description: Optional cap on all late charges together, as a percent of the amount due.
          type:
          - number
          - string
          minimum: 0
          maximum: 100
      - name: label
        in: query
        required: false
        schema:
          description: Optional label for the invoice (your own text, echoed back; not a person; up to 6 digits in a row).
          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'