Ana Sayfa / Kod ve Scriptler / Ledgerly - Invoicing and Late Fees

Ledgerly - Invoicing and Late Fees

Ledgerly; serbest çalışanların faturaları, kısmi ödemeleri ve otomatik gecikme ücretlerini yönetmesine yardımcı olur.

  • Yayın tarihi10 Kasım 2026
  • Paket içeriği.css, .html, .ts, .tsx, .json, JavaScript .js
  • Son güncelleme10 Kasım 2026
  • Canlı demoVar
Ledgerly - Invoicing and Late Fees

Overview

Invoices that collect themselves.

Ledgerly is a self-hosted invoicing app for freelancers and small studios. It does the part most invoice scripts leave to you: it treats an overdue invoice as a number that grows, and shows the client exactly what they owe — balance plus accrued late fee — on the invoice PDF.

What you get

  • Clients, invoices, line items and per-line tax
  • Derived status on every read: draft, sent, partial, paid, overdue, void
  • Late-fee engine: 5-day grace, 1.5% per month, 25% cap, integer-cent math
  • Partial payments and a running balance
  • PDF invoice with a PDF417 payment barcode — rendered server-side, no external service
  • Dashboard: outstanding, collected, billed, and late-fee exposure per invoice
  • Mobile-friendly React UI, no UI framework lock-in

Why the late fee matters

Statuses that are stored rot the moment the due date passes. Ledgerly derives them from dates and payments, and computes the fee on every request. Change the policy in one place — grace, monthly rate, cap — and every invoice and PDF follows.

Stack

React 18 + Vite + TypeScript on the front end; Express + a single JSON store on the server; PDFKit for PDFs. No database, no cron, no external API. Dockerfile and docker-compose included. 42 automated tests, ~96% line coverage.

Run it

docker compose up -d --build
# http://localhost:30100

Or locally: npm ci && npm run build && PORT=30100 npm start.

API

GET /api/health · GET/POST /api/clients · GET/POST /api/invoices · POST /api/invoices/:id/send · POST /api/invoices/:id/payments · GET /api/invoices/:id/pdf · GET /api/dashboard

Features

Clients, invoices, line items with per-line tax Derived status: draft -> sent -> partial -> paid; overdue computed from the due date Late-fee engine: 5-day grace, 1.5% per month, 25% cap, integer-cent math PDF invoice with a scannable PDF417 payment barcode (server-side PDFKit) Dashboard: outstanding, collected, billed, and late-fee exposure Docker-ready, JSON file store, no database or external services 42 automated tests, ~96% line coverage

Requirements

Node.js 20+ (22 recommended) or Docker 24+. No database, no external services. A writable data/ directory.