PaidPilot Receivables Report API

The Receivables Report API from PaidPilot — 1 operation(s) for receivables report.

GitHub OpenAPI

Operations 1

POST /v1/receivables-report Receivables health report from an invoice CSV or JSON rows #

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/paidpilot-io:paidpilot-io-receivables-report-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

paidpilot-io-receivables-report-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PaidPilot Invoice Receivables Report API
  version: 1.4.0
  description: 'Invoice tools for agents, paid per call in USDC over x402: invoice PDF, payment reminder drafts, late-fee and payment-terms math, timesheet to invoice. No accounts, no API keys. Also an MCP server at /mcp.'
  contact:
    name: PaidPilot Invoice API
    email: dario@inboxguards.com
    url: https://api.paidpilot.io/llms.txt
  x-guidance: 'Invoice tools for agents, paid per call in USDC over x402: invoice PDF, payment reminder drafts, late-fee and payment-terms math, timesheet to invoice. No accounts, no API keys. Also an MCP server at /mcp. Call a paid route without payment to get an x402 v2 challenge (402 + PAYMENT-REQUIRED header), pay in USDC, retry with PAYMENT-SIGNATURE. Invalid input -> 400, never charged. More: https://api.paidpilot.io/llms.txt'
servers:
- url: https://api.paidpilot.io
tags:
- name: Receivables Report
paths:
  /v1/receivables-report:
    post:
      operationId: v1_receivables_report
      summary: Receivables health report from an invoice CSV or JSON rows
      description: 'Send an open-invoices / AR export as CSV (QuickBooks, Xero, FreshBooks, Wave, Stripe or your own; columns auto-detected) or JSON rows, up to 1000 invoices. Returns an A-F health grade and 0-100 score with reasons, aging buckets (current, 1-30, 31-60, 61-90, 90+), overdue %, weighted days outstanding, DSO, average days to pay, customer concentration, a collection priority list with the next action for each overdue invoice, and recommendations. Pure calculation: nothing is stored or sent. Bad input 400, never charged.'
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '1'
        protocols:
        - x402:
            version: 2
            scheme: exact
            network: eip155:8453
            asset: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
            payTo: '0x2dAF658B01e257206375798a15832E9f547D65dD'
      responses:
        '200':
          description: Success (payment settled)
          content:
            application/json: {}
        '400':
          description: Invalid input. Never charged.
        '402':
          description: Payment required. x402 v2 challenge in the PAYMENT-REQUIRED header.
        '502':
          description: Upstream data source failed. Payment NOT settled.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: https://json-schema.org/draft/2020-12/schema
              type: object
              properties:
                csv:
                  description: 'CSV export (QuickBooks, Xero, FreshBooks, Wave, Stripe or your own). Header row required. Recognized columns: invoice number, customer, amount/total, amount paid, balance/open balance, invoice date, due date, terms, paid date, status.'
                  type: string
                  maxLength: 60000
                invoices:
                  description: Or JSON rows instead of CSV
                  maxItems: 1000
                  type: array
                  items:
                    type: object
                    properties:
                      invoice_number:
                        type: string
                        minLength: 1
                        maxLength: 60
                      customer:
                        type: string
                        minLength: 1
                        maxLength: 120
                      amount:
                        type: number
                        minimum: 0
                        maximum: 10000000000
                      amount_paid:
                        type: number
                        minimum: 0
                        maximum: 10000000000
                      balance:
                        type: number
                        maximum: 10000000000
                      issue_date:
                        type: string
                        pattern: ^\d{4}-\d{2}-\d{2}$
                      due_date:
                        type: string
                        pattern: ^\d{4}-\d{2}-\d{2}$
                      terms:
                        type: string
                        maxLength: 40
                      paid_date:
                        type: string
                        pattern: ^\d{4}-\d{2}-\d{2}$
                      status:
                        type: string
                        maxLength: 30
                    required:
                    - invoice_number
                    - customer
                    - amount
                    additionalProperties: false
                as_of:
                  description: Report date, default today (UTC)
                  type: string
                  pattern: ^\d{4}-\d{2}-\d{2}$
                currency:
                  default: USD
                  type: string
                default_terms:
                  default: Net 30
                  description: Used when a row has no due date and no terms
                  type: string
                  maxLength: 40
                revenue_window_days:
                  default: 90
                  description: 'Window for DSO: invoiced amount in the last N days'
                  type: integer
                  minimum: 30
                  maximum: 365
              additionalProperties: false
            example:
              as_of: '2026-10-13'
              currency: USD
              csv: 'Invoice Number,Customer,Invoice Date,Due Date,Total,Amount Paid,Status,Paid Date

                INV-1001,Blue River Bakery,2026-06-02,2026-07-02,2400.00,0,Open,

                INV-1002,Hill & Co Dental,2026-08-05,2026-09-04,1850.00,0,Open,

                INV-1003,Blue River Bakery,2026-08-20,2026-09-19,960.00,400.00,Partial,

                INV-1004,Maple Street Realty,2026-09-15,2026-10-15,3200.00,0,Open,

                INV-1005,Hill & Co Dental,2026-07-01,2026-07-31,1200.00,1200.00,Paid,2026-08-12

                INV-1006,Prairie Auto Repair,2026-09-01,2026-10-01,725.50,0,Open,

                INV-1007,Maple Street Realty,2026-08-01,2026-08-31,3200.00,3200.00,Paid,2026-09-03'
      tags:
      - Receivables Report
x-discovery:
  wellKnown: https://api.paidpilot.io/.well-known/x402
  llms: https://api.paidpilot.io/llms.txt