Purchase Order

io.github.theluckystrike由 GitHub 帳號 theluckystrike 發布v0.22.6更新於 Oct 24, 2026

Purchase orders for suppliers: VAT line items, a delivery date, an A4 PDF, mark received.

概覽

AI 產生的概覽

本機 MCP 伺服器,讓助理建立、列出、產生與接收貸項通知單和採購訂單,支援營業稅、多幣別與 A4 PDF 輸出。

可以做什麼
針對既有發票建立、列出、檢視和刪除貸項通知單,支援全額、部分與逐行折讓,並依發票實際稅率拆分營業稅,另有純文字與 A4 PDF 版本(PDF 為 Pro)。建立、列出、檢視、收貨和刪除採購訂單,含明細項目、營業稅、幣別與預計交貨日期,另有純文字與 A4 PDF 版本(PDF 為 Pro)。產生依幣別統計的已折讓金額、在訂金額與逾期交貨的帳務報表(Pro)。查詢並啟用授權,讀取未結訂單資源與催貨提示詞。
適用情境
適合需要為退貨或重複開票開立貸項通知單、或向供應商下採購訂單,並希望助理搭配發票伺服器中的發票一起草擬、計算與追蹤這些單據的情境。
執行需求
以桌面本機程序執行;npm 套件尚未發布,目前可用 .mcpb 一鍵包或複製後建置安裝。它讀取搭配發票伺服器中的發票與客戶,應與其一同執行。選用的 Pro 授權金鑰透過 MCP_LICENSE_KEY 環境變數提供,離線驗證。除此之外無需帳號、API 金鑰或網路存取。
安裝前請注意
單據寫入本機資料目錄,且可被刪除;單據一旦入帳或已產生渲染檔便拒絕刪除。PDF 輸出與帳務報表需要付費 Pro 授權(一次性購買),免費版每個日曆月限五份單據。授權金鑰屬於機密,應避免放入共用設定。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

mcp-billing-docs

Credit notes and purchase orders, on the same engine as your invoices.

When a client sends work back, or you billed them twice, you owe them a credit note: a document that names the invoice it reverses and takes the money off it, with the VAT unwound at the rate you charged. When you order from a supplier, you owe them a purchase order: what you want, at what price, by when, with your own details on it. This server writes both, against the invoices and the clients the mcp-invoice server already holds, and it will not let a credit note give back more money than the invoice charged. Sending the same document twice is refused by the id of the one already there, and a document nothing depends on can be deleted, so a re-send never costs you a free-tier slot. Everything stays on your machine.

Built on @theluckystrike/mcp-invoice/lib: the money, VAT, currency and formatting code is the invoice server's, not a second copy of it, so a credit note and the invoice it reverses agree to the minor unit.

In the official MCP Registry (io.github.theluckystrike/billing-docs-credit-notes-purchase-orders).

[billing-docs demo]

npm publish for @theluckystrike/mcp-billing-docs is pending, so npx -y @theluckystrike/mcp-billing-docs returns 404 today. Until then, the .mcpb one-click bundle or a clone+build is the working path.

Install

Claude Desktop (claude_desktop_config.json):

json
{  "mcpServers": {    "billing-docs": {      "command": "npx",      "args": ["-y", "@theluckystrike/mcp-billing-docs"]    }  }}

Claude Code:

sh
claude mcp add billing-docs -- npx -y @theluckystrike/mcp-billing-docs

Cursor (.cursor/mcp.json):

json
{  "mcpServers": {    "billing-docs": {      "command": "npx",      "args": ["-y", "@theluckystrike/mcp-billing-docs"]    }  }}

Run mcp-invoice alongside it: this server reads that server's invoices and clients, and both take their name, address, VAT id and default currency from one shared business profile.

Tools

toolwhat it does
credit_note_createCredit an invoice: the whole thing, a gross amount, or named lines with quantities
credit_note_listEvery credit note, with the credited total per currency. Filter by invoice, client or date
credit_note_getOne credit note in full
credit_note_pdfThe A4 PDF, titled CREDIT NOTE and carrying the invoice number it reverses (Pro)
credit_note_textThe plain-text version to paste into an email
credit_note_deleteRemove one that was never posted to its invoice or rendered: the free monthly slot comes back
purchase_order_createRaise an order: line items, VAT, currency, expected delivery date
purchase_order_listEvery order with its status: open, partially received, received
purchase_order_getOne order in full, with its receipts
purchase_order_pdfThe A4 PDF, titled PURCHASE ORDER (Pro)
purchase_order_textThe plain-text version to send the supplier
purchase_order_receiveMark an order received, in full or in part
purchase_order_deleteRemove one with nothing received against it and no render: the free monthly slot comes back
billing_docs_reportCredited per currency, on order per currency, deliveries past their date (Pro)
license_status, license_activateFree or Pro, and how to upgrade

One resource, billing-docs://open-orders, and one prompt, chase_deliveries.

Free vs Pro

FreePro
Documents per calendar month5, credit notes and purchase orders togetherUnlimited
credit_note_delete, purchase_order_deleteYes: the cap counts what is in the store, so a delete returns the slotYes
credit_note_text, purchase_order_textYes, unlimitedYes
Full, partial and per-line credit notes, VAT, multi-currency, receiving ordersYesYes
credit_note_pdf, purchase_order_pdfNoYes, plus your logo and no footer credit
billing_docs_reportNoYes

Get Pro: https://mcp.zovo.one/buy/billing-docs ($19 one-time for this server, $39 for the bundle).

A measured thing

Crediting part of a mixed-VAT invoice at one rate is wrong by more than the rounding you would expect. An invoice of EUR 1,000.00 consulting at 23% plus EUR 500.00 print at 8% totals EUR 1,770.00. Credit ten percent of it, EUR 177.00, the way a single-rate credit note would: net EUR 143.90, VAT EUR 33.10. This server splits the credit across the rates the invoice actually used, in proportion to each rate's share of the total, and gets net EUR 150.00 with VAT of EUR 23.00 at 23% and EUR 4.00 at 8%, EUR 27.00 in all. The gross the client sees is identical either way. The VAT line differs by EUR 6.10, 22.6 percent of it, and that is the number that goes on a VAT return.

Asserted in test/unit.test.mjs, "a credit note by amount splits the gross across the invoice's VAT rates and reuses each rate".

Privacy

All data stays local: ${XDG_DATA_HOME:-~/.local/share}/mcp-servers/billing-docs/. No account, no API key, no network call, ever. Licence keys are verified offline.

Built by theluckystrike. Support: [email protected]

Use these docs as an MCP server

Any MCP client (Claude, Cursor, Windsurf, VS Code) can read this repository's documentation directly via GitMCP - no install:

來源:servers/billing-docs/README.md,提交 6535b33

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

3
  1. v0.22.6最新Oct 14, 2026
  2. v0.22.3Sep 23, 2026
  3. v0.21.0Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分