Universal Ledger
Protocol

An open protocol for secure, standardized business document exchange. No CSV. No vendor lock-in. Just send.

安全で標準化されたビジネス文書交換のためのオープンプロトコル。CSV変換不要。ベンダーロックインなし。

Why ULP?

なぜULPなのか?

Today, exchanging invoices between systems requires CSV exports, manual mapping, or expensive EDI. ULP replaces all of that with one open standard.

現在、システム間で請求書をやり取りするにはCSV出力・手動マッピング・高額なEDIが必要です。ULPはこれらすべてをひとつのオープン標準で置き換えます。

📜

One Open Format

ひとつのオープンフォーマット

Any system can send and receive invoices using the same JSON schema. No per-vendor integrations needed.

同じJSONスキーマで、どのシステムとも請求書を送受信。ベンダーごとの個別連携は不要です。

🔒

Tamper-Evident

改ざん検知

Every document is hash-chained (like Git). Modification of any record breaks the chain and is instantly detectable.

すべての文書がGitのようにハッシュチェーンで連結。どのレコードの改ざんも即座に検出されます。

Not Blockchain

ブロックチェーンではない

No mining. No consensus. No gas fees. Near-zero energy. Just cryptographic integrity that works.

マイニングなし。合意形成なし。ガス代なし。エネルギー消費ほぼゼロ。暗号学的な完全性だけ。

📦

Envelope Architecture

エンベロープ方式

Invoices today, estimates and receipts tomorrow. The envelope carries any business document type.

今日は請求書、明日は見積書・領収書。エンベロープはあらゆるビジネス文書を運べます。

🌐

Japan-Ready

日本の制度に対応

Compatible with the Qualified Invoice System, Electronic Bookkeeping Law, and Peppol.

インボイス制度・電子帳簿保存法・Peppolに対応した設計です。

🛠

Easy to Implement

簡単に実装可能

A developer can build a ULP client in a day. It's just HTTP + JSON + SHA-256.

開発者は1日でULPクライアントを実装できます。HTTP + JSON + SHA-256だけ。

How It Works

仕組み

Documents are wrapped in a hash-chained envelope. Each envelope references the previous one, creating an immutable audit trail.

文書はハッシュチェーンのエンベロープで包まれます。各エンベロープが前のものを参照し、改ざん不能な監査証跡を作ります。

Envelope #1
Invoice INV-001
parent: null
hash: a7f4d2...
Envelope #2
Invoice INV-002
parent: a7f4d2...
hash: b2e9c8...
Envelope #3
Invoice INV-003
parent: b2e9c8...
hash: c5d1f3...
// Send an invoice via ULP
POST /ulp/v1/envelope
{
  "envelope_type": "invoice",
  "payload": {
    "invoice_id": "INV-2026-0001",
    "total": 583000,
    "currency": "JPY",
    ...
  },
  "sender": { "id": "company-a", "name": "Gridworks Inc." },
  "receiver": { "id": "company-b", "name": "Acme Corp." }
}

// Response
{ "status": "ACCEPTED", "hash": "e3b0c442...", "sequence": 42 }

ULP vs Alternatives

ULPと他の方式の比較

ULPBlockchainブロックチェーンEDICSV/Email
Tamper detection改ざん検知
Open standardオープン標準
Zero energy wasteエネルギー消費ゼロ
Instant confirmation即時確認
No fixed cost固定費なし
Structured data構造化データ
Easy to implement実装が容易

Specification

仕様書

ULP is fully documented and open for anyone to implement.

ULPは完全にドキュメント化されており、誰でも実装できます。

Protocol Spec

プロトコル仕様

Core protocol, transport, authentication, versioning

コアプロトコル、トランスポート、認証、バージョニング

Envelope Format

エンベロープ形式

Document wrapper, validation rules, extensibility

文書ラッパー、バリデーションルール、拡張性

Invoice Schema

請求書スキーマ

Full invoice payload with Japan compliance

インボイス制度対応の請求書ペイロード定義

Hash Chain

ハッシュチェーン

Integrity mechanism, audit process, comparisons

完全性メカニズム、監査プロセス、他方式との比較

API Reference

APIリファレンス

HTTP endpoints, authentication, webhooks

HTTPエンドポイント、認証、Webhook

Reference Implementation

リファレンス実装

TypeScript implementation (MIT licensed)

TypeScript実装(MITライセンス)

Build with ULP

ULPで構築する

ULP is open source and free to implement. Start exchanging invoices in minutes.

ULPはオープンソースで、自由に実装できます。数分で請求書の交換を始められます。

Get Started on GitHub GitHubで始める