{
  "x402Version": 2,
  "id": 35479,
  "slug": "35479",
  "resource": "https://api.paidpilot.io/v1/late-fee",
  "description": "PaidPilot Invoice API: Late fee on an overdue invoice. Flat fee, monthly % or annual %, simple or compounding, with grace days. Returns days late, fee, new total and a paste-ready invoice line. Optional US state for the legal note. Not legal advice; state caps are NOT looked up.",
  "type": "http",
  "serviceName": "PaidPilot Invoice API",
  "resourceType": "Payments",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x2dAF658B01e257206375798a15832E9f547D65dD",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "amount": 1610.35,
            "as_of": "2026-10-11",
            "compounding": false,
            "currency": "USD",
            "due_date": "2026-09-01",
            "fee_type": "monthly_percent",
            "grace_days": 5,
            "rate_percent": 1.5,
            "state": "NE"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "amount": 1610.35,
            "as_of": "2026-10-11",
            "average_fee_per_day_charged": 0.81,
            "currency": "USD",
            "days_charged": 35,
            "days_past_due": 40,
            "due_date": "2026-09-01",
            "flat_fee": 0,
            "grace_days": 5,
            "interest": 28.18,
            "invoice_line": "Late fee: $28.18 (35 days past due after 5 grace days). New total: $1,638.53.",
            "legal_note": "Not legal advice. Late-fee and interest limits vary by state, by contract, and by whether the customer is a consumer or a business. This tool does NOT look up any state's limit. You entered Nebraska (NE): check Nebraska's usury and late-charge rules, or ask an attorney, before charging this. Charge a late fee only if it was set out in advance, in your contract or on the invoice.",
            "method": "1.5% per month (30-day months), simple",
            "new_total": 1638.53,
            "nominal_annual_rate_percent": 18,
            "total_late_fee": 28.18
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "Unpaid invoice amount",
                    "exclusiveMinimum": 0,
                    "maximum": 1000000000,
                    "type": "number"
                  },
                  "as_of": {
                    "description": "Date paid, or the date to calculate to, YYYY-MM-DD (default: today, UTC)",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "type": "string"
                  },
                  "compounding": {
                    "default": false,
                    "description": "false = simple interest (default); true = compounds (monthly: per 30 days; annual: daily)",
                    "type": "boolean"
                  },
                  "currency": {
                    "default": "USD",
                    "description": "ISO-4217, default USD",
                    "type": "string"
                  },
                  "due_date": {
                    "description": "Invoice due date, YYYY-MM-DD",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "type": "string"
                  },
                  "fee_type": {
                    "description": "flat = one fixed fee; monthly_percent e.g. 1.5; annual_percent e.g. 18",
                    "enum": [
                      "flat",
                      "monthly_percent",
                      "annual_percent"
                    ],
                    "type": "string"
                  },
                  "flat_fee": {
                    "description": "Flat fee; required for fee_type=flat, optional one-time add-on otherwise",
                    "maximum": 1000000,
                    "minimum": 0,
                    "type": "number"
                  },
                  "grace_days": {
                    "default": 0,
                    "description": "Days after the due date before any fee applies",
                    "maximum": 365,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "rate_percent": {
                    "description": "Rate for monthly_percent / annual_percent",
                    "maximum": 100,
                    "minimum": 0,
                    "type": "number"
                  },
                  "state": {
                    "description": "US state (2-letter) for the legal note",
                    "type": "string"
                  }
                },
                "required": [
                  "amount",
                  "due_date",
                  "fee_type"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "invoice",
    "pdf",
    "billing",
    "document-generation",
    "payment-reminder",
    "bazaar"
  ],
  "sourceHost": "api.paidpilot.io",
  "lastUpdated": "2026-10-11T21:44:33.472Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-11T21:44:33.294Z"
  },
  "metadata": {
    "serviceName": "PaidPilot Invoice API",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "amount": 1610.35,
              "as_of": "2026-10-11",
              "compounding": false,
              "currency": "USD",
              "due_date": "2026-09-01",
              "fee_type": "monthly_percent",
              "grace_days": 5,
              "rate_percent": 1.5,
              "state": "NE"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "amount": 1610.35,
              "as_of": "2026-10-11",
              "average_fee_per_day_charged": 0.81,
              "currency": "USD",
              "days_charged": 35,
              "days_past_due": 40,
              "due_date": "2026-09-01",
              "flat_fee": 0,
              "grace_days": 5,
              "interest": 28.18,
              "invoice_line": "Late fee: $28.18 (35 days past due after 5 grace days). New total: $1,638.53.",
              "legal_note": "Not legal advice. Late-fee and interest limits vary by state, by contract, and by whether the customer is a consumer or a business. This tool does NOT look up any state's limit. You entered Nebraska (NE): check Nebraska's usury and late-charge rules, or ask an attorney, before charging this. Charge a late fee only if it was set out in advance, in your contract or on the invoice.",
              "method": "1.5% per month (30-day months), simple",
              "new_total": 1638.53,
              "nominal_annual_rate_percent": 18,
              "total_late_fee": 28.18
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "additionalProperties": false,
                  "properties": {
                    "amount": {
                      "description": "Unpaid invoice amount",
                      "exclusiveMinimum": 0,
                      "maximum": 1000000000,
                      "type": "number"
                    },
                    "as_of": {
                      "description": "Date paid, or the date to calculate to, YYYY-MM-DD (default: today, UTC)",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "type": "string"
                    },
                    "compounding": {
                      "default": false,
                      "description": "false = simple interest (default); true = compounds (monthly: per 30 days; annual: daily)",
                      "type": "boolean"
                    },
                    "currency": {
                      "default": "USD",
                      "description": "ISO-4217, default USD",
                      "type": "string"
                    },
                    "due_date": {
                      "description": "Invoice due date, YYYY-MM-DD",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "type": "string"
                    },
                    "fee_type": {
                      "description": "flat = one fixed fee; monthly_percent e.g. 1.5; annual_percent e.g. 18",
                      "enum": [
                        "flat",
                        "monthly_percent",
                        "annual_percent"
                      ],
                      "type": "string"
                    },
                    "flat_fee": {
                      "description": "Flat fee; required for fee_type=flat, optional one-time add-on otherwise",
                      "maximum": 1000000,
                      "minimum": 0,
                      "type": "number"
                    },
                    "grace_days": {
                      "default": 0,
                      "description": "Days after the due date before any fee applies",
                      "maximum": 365,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "rate_percent": {
                      "description": "Rate for monthly_percent / annual_percent",
                      "maximum": 100,
                      "minimum": 0,
                      "type": "number"
                    },
                    "state": {
                      "description": "US state (2-letter) for the legal note",
                      "type": "string"
                    }
                  },
                  "required": [
                    "amount",
                    "due_date",
                    "fee_type"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.paidpilot.io",
    "manifest_name": "api.paidpilot.io",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}