{
  "x402Version": 2,
  "id": 35480,
  "slug": "35480",
  "resource": "https://api.paidpilot.io/v1/payment-terms",
  "description": "PaidPilot Invoice API: Due date, status and early-pay discount for payment terms. Parses Net N, D/N Net M (e.g. 2/10 Net 30), Due on receipt, EOM, Net N EOM. Returns due date, days until due/overdue, discount amount and deadline, the annualized cost of skipping the discount, and suggested reminder dates.",
  "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",
            "currency": "USD",
            "invoice_date": "2026-10-01",
            "terms": "2/10 Net 30"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "amount": 1610.35,
            "currency": "USD",
            "days_from_invoice_to_due": 30,
            "due_date": "2026-10-31",
            "early_payment_discount": {
              "annualized_cost_note": "Simple annualized rate the buyer implicitly pays by skipping the discount: d/(100-d) x 365/(net days - discount days).",
              "annualized_cost_of_skipping_percent": 37.24,
              "deadline": "2026-10-11",
              "discount_amount": 32.21,
              "display": "Pay $1,578.14 by 2026-10-11 (save $32.21), otherwise $1,610.35 by 2026-10-31.",
              "pay_if_early": 1578.14,
              "percent": 2,
              "still_available_as_of": true
            },
            "invoice_date": "2026-10-01",
            "notes": [
              "Calendar days from the invoice date; weekends and holidays are not adjusted. Your contract terms control if they differ."
            ],
            "status": {
              "as_of": "2026-10-11",
              "days_overdue": 0,
              "days_until_due": 20,
              "state": "not_yet_due",
              "text": "Due in 20 days"
            },
            "suggested_reminders": [
              {
                "date": "2026-10-28",
                "label": "Friendly heads-up, 3 days before due",
                "tone": "friendly"
              },
              {
                "date": "2026-10-31",
                "label": "On the due date",
                "tone": "friendly"
              },
              {
                "date": "2026-11-07",
                "label": "7 days overdue",
                "tone": "firm"
              },
              {
                "date": "2026-11-14",
                "label": "14 days overdue",
                "tone": "final"
              }
            ],
            "terms": "2/10 Net 30"
          },
          "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": "Invoice total (optional; enables the discount math)",
                    "maximum": 1000000000,
                    "minimum": 0,
                    "type": "number"
                  },
                  "as_of": {
                    "description": "Date to compute status for, YYYY-MM-DD (default: today, UTC)",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "type": "string"
                  },
                  "currency": {
                    "default": "USD",
                    "description": "ISO-4217, default USD",
                    "type": "string"
                  },
                  "invoice_date": {
                    "description": "Invoice date, YYYY-MM-DD",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "type": "string"
                  },
                  "terms": {
                    "description": "Payment terms, e.g. \"Net 30\", \"2/10 Net 30\", \"Due on receipt\", \"EOM\", \"Net 30 EOM\"",
                    "maxLength": 40,
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "invoice_date",
                  "terms"
                ],
                "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:39:49.955Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-11T21:39:49.386Z"
  },
  "metadata": {
    "serviceName": "PaidPilot Invoice API",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "amount": 1610.35,
              "as_of": "2026-10-11",
              "currency": "USD",
              "invoice_date": "2026-10-01",
              "terms": "2/10 Net 30"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "amount": 1610.35,
              "currency": "USD",
              "days_from_invoice_to_due": 30,
              "due_date": "2026-10-31",
              "early_payment_discount": {
                "annualized_cost_note": "Simple annualized rate the buyer implicitly pays by skipping the discount: d/(100-d) x 365/(net days - discount days).",
                "annualized_cost_of_skipping_percent": 37.24,
                "deadline": "2026-10-11",
                "discount_amount": 32.21,
                "display": "Pay $1,578.14 by 2026-10-11 (save $32.21), otherwise $1,610.35 by 2026-10-31.",
                "pay_if_early": 1578.14,
                "percent": 2,
                "still_available_as_of": true
              },
              "invoice_date": "2026-10-01",
              "notes": [
                "Calendar days from the invoice date; weekends and holidays are not adjusted. Your contract terms control if they differ."
              ],
              "status": {
                "as_of": "2026-10-11",
                "days_overdue": 0,
                "days_until_due": 20,
                "state": "not_yet_due",
                "text": "Due in 20 days"
              },
              "suggested_reminders": [
                {
                  "date": "2026-10-28",
                  "label": "Friendly heads-up, 3 days before due",
                  "tone": "friendly"
                },
                {
                  "date": "2026-10-31",
                  "label": "On the due date",
                  "tone": "friendly"
                },
                {
                  "date": "2026-11-07",
                  "label": "7 days overdue",
                  "tone": "firm"
                },
                {
                  "date": "2026-11-14",
                  "label": "14 days overdue",
                  "tone": "final"
                }
              ],
              "terms": "2/10 Net 30"
            },
            "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": "Invoice total (optional; enables the discount math)",
                      "maximum": 1000000000,
                      "minimum": 0,
                      "type": "number"
                    },
                    "as_of": {
                      "description": "Date to compute status for, YYYY-MM-DD (default: today, UTC)",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "type": "string"
                    },
                    "currency": {
                      "default": "USD",
                      "description": "ISO-4217, default USD",
                      "type": "string"
                    },
                    "invoice_date": {
                      "description": "Invoice date, YYYY-MM-DD",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "type": "string"
                    },
                    "terms": {
                      "description": "Payment terms, e.g. \"Net 30\", \"2/10 Net 30\", \"Due on receipt\", \"EOM\", \"Net 30 EOM\"",
                      "maxLength": 40,
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "invoice_date",
                    "terms"
                  ],
                  "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"
  }
}