Latepayers

io.github.GillMacedo由 GitHub 帳號 GillMacedo 發布v0.1.0更新於 Nov 3, 2026

AR aging from an invoice CSV: who owes what, how late, and who to chase first, on your machine.

已驗證STDIO僅桌面金融資料與分析

概覽

AI 產生的概覽

把發票 CSV 轉成應收帳款帳齡報告:誰欠多少、逾期多久、該先催誰,全部在本機完成。

可以做什麼
  • 依發票 CSV 產生應收帳款帳齡報告:未結與逾期總額、標準逾期區間,以及依優先順序排序的客戶。
  • 查看每位客戶平常的逾期天數,以及構成餘額的個別逾期發票。
  • 檢查不熟悉的 CSV,顯示辨識到的欄位與可讀取的行數,但不回傳列內容。
適用情境
適合用試算表追蹤逾期發票的自由工作者、小型企業與記帳人員,讓助理彙整催收優先順序。它只讀取 CSV 匯出檔,不連接會計軟體,也不會寄送催款提醒。
執行需求
以 stdio 在本機執行,通常透過 npx 啟動並需要安裝 Node,或使用以 Go 1.27 以上版本建置的執行檔。不需要帳號、API 金鑰或網路存取。輸入為不超過 50 MB 的 CSV 檔。
安裝前請注意
帳齡報告會把客戶名稱與金額回傳給 MCP 用戶端,因此會送到你使用的 AI 模型;命令列方式則把資料留在本機。工具為唯讀,無法聯絡任何人。結果準確度取決於匯出檔,不會把貸項沖抵發票,也不做幣別換算,且目前僅在虛構資料上測試過。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Latepayers,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

latepayers: accounts receivable aging report from an invoice CSV

[npm] [CI] [MIT license] [MCP Registry]

See who owes you money, how late each invoice is, and who to chase first. For freelancers, small businesses and bookkeepers tracking overdue invoices in spreadsheets.

Late payments quietly drain cash flow. latepayers reads an invoice export as CSV and builds an AR aging report with the standard buckets, per customer, ranked by overdue money and age. It also shows how late each customer usually pays. It's an MCP server and a single Go binary, with no account, no API key and no network access.

What you can ask your agent

  • "Who owes me money, and how late are they?"
  • "Which overdue invoices should I chase first?"
  • "Build an accounts receivable aging report."
  • "Which customers always pay late?"

Install

As a Claude Code plugin, which adds the MCP server and a skill that tells Claude when to use it. You need Node, which runs the server through npx:

claude plugin marketplace add GillMacedo/latepayersclaude plugin install latepayers@latepayers-marketplace

For other MCP clients:

json
{  "mcpServers": {    "latepayers": {      "command": "npx",      "args": ["-y", "latepayers", "serve"]    }  }}

Or build the binary with Go 1.27 or newer:

go install github.com/GillMacedo/latepayers@latest

Usage

Without installing anything, run npx latepayers check invoices.csv. It uses today's date unless you pass --as-of. This example uses the made-up file in examples/:

$ go run . check examples/invoices.csv --as-of 2026-10-31As of 2026-10-31: 5745.50 open, 3745.50 overdue (65.2%)not due: 2000.00 | 1-30: 500.00 | 31-60: 975.00 | 61-90: 0.00 | 90+: 2270.50Chase first:  Example Supplies Ltd  1700.00 overdue of 1700.00 open, oldest 92 days    INV-2001  1200.00  due 2026-07-31  92 days late    INV-2002  500.00  due 2026-10-01  30 days late  Demo Bakery  620.00 overdue of 620.00 open, oldest 122 days    INV-2009  620.00  due 2026-07-01  122 days late  Fictional Cafe  450.50 overdue of 450.50 open, oldest 139 days, usually pays 25.0 days late    INV-2003  450.50  due 2026-06-14  139 days late  Sample Widgets  975.00 overdue of 2975.00 open, oldest 42 days, usually pays 3.0 days early    INV-2007  975.00  due 2026-09-19  42 days late    INV-2006  2000.00  due 2026-11-09  not lateCREDIT  INV-2010  -75.00SKIPPED row 13: no customer, amount or date

Add --terms 45 to set payment terms for invoices with no due date, and --json for machine-readable output.

How it calculates

ValueRule
Open amountThe balance column if there is one, otherwise total minus paid
Due dateThe due date column, otherwise invoice date plus payment terms (default 30 days)
BucketsNot due, 1-30, 31-60, 61-90 and 90+ days past due
Chase firstRanked by the sum of each overdue amount times its days overdue
Usual latenessThe average of paid date minus due date, if the file has paid dates

Negative balances are listed as credits and left out of the totals. Repeated invoice numbers and mixed currencies produce warnings.

MCP tools

ToolWhat it does
receivables_aging_reportReturns totals, buckets and customers by priority, with a limit for large files
receivables_inspect_csvShows detected columns and row counts, without row contents

Both are read-only, and neither can contact anyone. receivables_aging_report returns customer names and amounts to the MCP client, so they reach whichever AI model you use. The CLI keeps everything on your machine.

FAQ

What is an AR aging report? It groups unpaid invoices by how many days past due they are, so you can see how much money is at risk and who to contact.

Does it work with QuickBooks, Xero or FreshBooks exports? It reads CSV and recognizes common column names such as Balance Due, and you can name others with --columns customer=Who,amount=Sum. It doesn't connect to those products, and it hasn't been tested on each one's real exports yet.

Can it send payment reminders? No. It tells you who to contact, and you or your agent can draft messages for you to approve.

Limits

  • This helps you manage collections and isn't accounting or legal advice.
  • It's only as accurate as the export, so check balances before contacting a customer.
  • It doesn't apply credits to invoices, and doesn't convert currencies.
  • It treats each distinct customer name as one customer.
  • It reads CSV only, up to 50 MB.
  • So far it has been tested on made-up data, not real exports. If yours fails, please open an issue with the column headers, not your data.

Contributing

Contributions are welcome, from people and from people working with AI agents. See CONTRIBUTING.md. Good first issues:

  • Add column names from more accounting tools and languages
  • Add --out to write the report to a CSV
  • Add Days Sales Outstanding (DSO) to the summary
  • Add a by-invoice view sorted by days late
  • Add a plugin icon

AI disclosure

This project was largely generated with Claude Code and reviewed by its maintainer.

About me

I'm Giulliano Macedo, and I build developer tools at GoTech Solutions. Follow along or get in touch:

If latepayers helped you get paid, a star helps others find it.


MIT licensed.

Built by Giulliano Macedo, GoTech Solutions · LinkedIn · X

來源:README.md,提交 536048c

工具

2

receivables_aging_report

Accounts receivable aging report

Builds an accounts receivable aging report from an invoice CSV: what's owed in each overdue bucket, by customer, with who to chase first and how late each customer usually pays. Use for overdue invoices, collections and cash flow. Read-only, and never uses the network. Results include customer names and amounts from the file, so they reach the model. It can't contact anyone.

輸入參數path必填as_oflimitcolumnsterms_daysdate_format

receivables_inspect_csv

Inspect an invoice CSV

Shows which columns latepayers detects in an invoice CSV and how many rows it can read, without returning row contents. Use if the file is unfamiliar or a report failed.

輸入參數path必填

版本歷史

1
  1. v0.1.0最新Nov 1, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分