{"partialResults":false,"resources":[{"accepts":[{"amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":120,"network":"eip155:8453","payTo":"0x2dAF658B01e257206375798a15832E9f547D65dD","scheme":"exact"}],"description":"Work out an invoice due date and early-pay discount from terms like Net 30 or 2/10 Net 30. $0.01 USDC on Base per call. Parses Net N, D/N Net M, Due on receipt, EOM and Net N EOM. Returns due date, days until due or overdue, discount and deadline, the annualized cost of skipping it and reminder dates. Don't use this for late fees; use /v1/late-fee.","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"}}},"lastUpdated":"2026-11-15T16:18:25.379Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-11-15T16:18:25.247Z"},"resource":"https://api.paidpilot.io/v1/payment-terms","serviceName":"PaidPilot Invoice API","tags":["payment-terms","net-30","due-date","early-payment-discount"],"type":"http","x402Version":2}],"searchMethod":"text","x402Version":2,"meta":{"searchToken":"almvyzvheaz56aa"}}
