seikyusho

申請を受け、請求書を自動で発行する Turn invoice requests into finished PDF invoices — automatically

外注先・フリーランスからの請求書発行を全自動化。多言語フォームで受け付け、番号採番・税計算・PDF 生成・承認メールまで、すべてあなた自身の Google Workspace 上で完結します。サーバーもデータベースも不要。 Automate invoicing for contractors and freelancers. A multilingual form collects the request; numbering, tax, PDF generation, and approval emails all run on your own Google Workspace. No servers, no database.

ライブデモは純フロントエンドのシミュレーション — 本物のフォームと税計算を、メール送信・データ保存なしで体験できます。 The live demo is a pure front-end simulation — the real form and tax logic, with no email and nothing stored.

主な機能What it does

Google Workspace の標準機能だけで、請求書発行の往復をまるごと自動化します。 It automates the whole invoice round-trip using nothing but standard Google Workspace.

🌐

多言語フォームMultilingual form

日本語 / English / 繁體中文 / Español。URL パラメータでも切替可。Japanese, English, Traditional Chinese, Spanish — switchable, also via URL param.

🧮

税計算の自動化Automatic tax

消費税 10%、源泉所得税 10.21% / 20.42%(100万円基準)を自動計算。10% consumption tax and 10.21% / 20.42% withholding (1M JPY threshold), computed for you.

📄

3 種の PDF を自動切替3 PDF templates

海外居住者 / 国内・源泉なし / 国内・源泉ありを居住地と源泉適用で自動選択。Overseas / domestic-no-withholding / domestic-with-withholding, auto-selected.

🔢

月別連番採番Sequential numbering

202605-001。月ごとに自動でリセット・採番。e.g. 202605-001, auto-incremented per month.

📧

承認ワークフローApproval workflow

受付・承認・差戻でそれぞれ自動メール。文面はシートで編集可能。Auto-emails on submit / approve / reject. Wording editable from the sheet.

🧾

インボイス制度対応Qualified Invoice ready

適格請求書発行事業者登録番号の表示/非表示を選択可能。Toggle the qualified-invoice registration number on the PDF.

運用フローHow it flows

1

申請者がフォーム送信Applicant submits the form

多言語フォームに請求内容・振込先を入力して送信。They fill in items and bank details in their own language.

2

自動で番号採番・PDF 生成Auto numbering & PDF

居住地と源泉適用に応じて 3 種のテンプレートから自動生成。The right template of three is filled and exported automatically.

3

担当者へ通知メールAdmin gets notified

PDF 添付のメールが届き、シート上で承認 / 差戻を選ぶだけ。An email with the PDF arrives; approve or reject on the sheet.

4

申請者へ自動返信・Drive 保存Applicant notified, archived to Drive

結果メールを自動送信し、PDF は Drive フォルダへ自動保存。A result email is sent and the PDF is filed in a Drive folder.

自分で導入する(BYOG)Deploy your own (BYOG)

あなた自身の Google アカウントに載せて使います。請求書・PDF・メールはすべてあなたの Workspace 内で完結し、外部に出ません。 It runs on your own Google account. Invoices, PDFs and emails stay entirely inside your Workspace — nothing leaves it.

なぜ「自分で導入」なのか: Google Apps Script の Web アプリは「デプロイした人の権限」で動きます。だからこそ請求書データも個人情報もすべてあなたのアカウント内に留まります。最後の「Web アプリとしてデプロイ」の一手だけは、Google の仕様上あなた自身がご自分のアカウントで行う必要があります(約 3 分)。 Why deploy your own: A Google Apps Script web app runs as the account that deploys it — which is exactly why your invoice data and personal info stay in your account. By Google's design, the final "deploy as web app" step must be done by you, in your account (~3 min).
A

Google スプレッドシートにコピー(いちばん簡単)Make a copy of the Google Sheet (easiest)

ボタンを押すと、システム一式があなたの Drive にコピーされます。あとはメニューから「初期セットアップ」を 1 回実行するだけ。One click drops the whole system into your own Drive. Then run the one-time setup from the menu.

Google スプレッドシートのコピーを作成Make a copy of the Google Sheet

B

clasp で push(約 3 分・上級者向け)Push with clasp (~3 min, advanced)

dev に慣れている人向け。clone して新しい Apps Script プロジェクトへ push し、セットアップ関数を 1 回実行するだけ。For the dev-comfortable. Clone, push into a fresh Apps Script project, then run one setup function.

npm install -g @google/clasp
clasp login
git clone https://github.com/CVERInc/seikyusho.git
cd seikyusho
clasp create --type standalone --title "seikyusho"
clasp push -f
# Apps Script で setup() を1回実行 → 設定シート記入 → Web アプリとしてデプロイ
# run setup() once in Apps Script → fill the Settings sheet → deploy as web app
C

手動コピペ(上級者向け)Manual copy/paste (advanced)

  1. script.google.com で新規プロジェクトを作成Create a new project at script.google.com
  2. リポジトリの 7 ファイルを 1:1 でコピーCopy the repo's 7 files 1:1
  3. setup() を 1 回実行(権限承認 → シート・トリガー・使い方を一括生成)Run setup() once (authorize → it creates the sheet, triggers and usage guide in one go)
  4. 「設定」シートに会社情報と通知先メールを記入Fill company info + notification email in the Settings sheet
  5. 「Web アプリとしてデプロイ」→ フォーム URL を共有Deploy as web app → share the form URL

必要なもの:Google アカウント(個人 / Workspace)· 通知用メールアドレス 1 件 · ブラウザ。 Requirements: a Google account (personal/Workspace) · one notification email · a browser.