freee-demo-kit 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +280 -0
  3. package/dist/cli.d.ts +3 -0
  4. package/dist/cli.d.ts.map +1 -0
  5. package/dist/cli.js +35 -0
  6. package/dist/cli.js.map +1 -0
  7. package/dist/commands/auth.d.ts +3 -0
  8. package/dist/commands/auth.d.ts.map +1 -0
  9. package/dist/commands/auth.js +57 -0
  10. package/dist/commands/auth.js.map +1 -0
  11. package/dist/commands/corrupt.d.ts +3 -0
  12. package/dist/commands/corrupt.d.ts.map +1 -0
  13. package/dist/commands/corrupt.js +72 -0
  14. package/dist/commands/corrupt.js.map +1 -0
  15. package/dist/commands/dry-run.d.ts +3 -0
  16. package/dist/commands/dry-run.d.ts.map +1 -0
  17. package/dist/commands/dry-run.js +59 -0
  18. package/dist/commands/dry-run.js.map +1 -0
  19. package/dist/commands/list.d.ts +3 -0
  20. package/dist/commands/list.d.ts.map +1 -0
  21. package/dist/commands/list.js +58 -0
  22. package/dist/commands/list.js.map +1 -0
  23. package/dist/commands/load-all.d.ts +3 -0
  24. package/dist/commands/load-all.d.ts.map +1 -0
  25. package/dist/commands/load-all.js +69 -0
  26. package/dist/commands/load-all.js.map +1 -0
  27. package/dist/commands/load.d.ts +25 -0
  28. package/dist/commands/load.d.ts.map +1 -0
  29. package/dist/commands/load.js +197 -0
  30. package/dist/commands/load.js.map +1 -0
  31. package/dist/commands/reset.d.ts +3 -0
  32. package/dist/commands/reset.d.ts.map +1 -0
  33. package/dist/commands/reset.js +117 -0
  34. package/dist/commands/reset.js.map +1 -0
  35. package/dist/commands/setup.d.ts +4 -0
  36. package/dist/commands/setup.d.ts.map +1 -0
  37. package/dist/commands/setup.js +190 -0
  38. package/dist/commands/setup.js.map +1 -0
  39. package/dist/commands/status.d.ts +3 -0
  40. package/dist/commands/status.d.ts.map +1 -0
  41. package/dist/commands/status.js +25 -0
  42. package/dist/commands/status.js.map +1 -0
  43. package/dist/commands/validate.d.ts +5 -0
  44. package/dist/commands/validate.d.ts.map +1 -0
  45. package/dist/commands/validate.js +132 -0
  46. package/dist/commands/validate.js.map +1 -0
  47. package/dist/commands/verify.d.ts +3 -0
  48. package/dist/commands/verify.d.ts.map +1 -0
  49. package/dist/commands/verify.js +87 -0
  50. package/dist/commands/verify.js.map +1 -0
  51. package/dist/commands/whoami.d.ts +3 -0
  52. package/dist/commands/whoami.d.ts.map +1 -0
  53. package/dist/commands/whoami.js +31 -0
  54. package/dist/commands/whoami.js.map +1 -0
  55. package/dist/types/freee.d.ts +112 -0
  56. package/dist/types/freee.d.ts.map +1 -0
  57. package/dist/types/freee.js +3 -0
  58. package/dist/types/freee.js.map +1 -0
  59. package/dist/types/preset.d.ts +14 -0
  60. package/dist/types/preset.d.ts.map +1 -0
  61. package/dist/types/preset.js +2 -0
  62. package/dist/types/preset.js.map +1 -0
  63. package/dist/utils/accounting-validator.d.ts +13 -0
  64. package/dist/utils/accounting-validator.d.ts.map +1 -0
  65. package/dist/utils/accounting-validator.js +95 -0
  66. package/dist/utils/accounting-validator.js.map +1 -0
  67. package/dist/utils/auth-flow.d.ts +17 -0
  68. package/dist/utils/auth-flow.d.ts.map +1 -0
  69. package/dist/utils/auth-flow.js +137 -0
  70. package/dist/utils/auth-flow.js.map +1 -0
  71. package/dist/utils/config.d.ts +11 -0
  72. package/dist/utils/config.d.ts.map +1 -0
  73. package/dist/utils/config.js +13 -0
  74. package/dist/utils/config.js.map +1 -0
  75. package/dist/utils/confirm-company.d.ts +7 -0
  76. package/dist/utils/confirm-company.d.ts.map +1 -0
  77. package/dist/utils/confirm-company.js +20 -0
  78. package/dist/utils/confirm-company.js.map +1 -0
  79. package/dist/utils/corrupt-injector.d.ts +17 -0
  80. package/dist/utils/corrupt-injector.d.ts.map +1 -0
  81. package/dist/utils/corrupt-injector.js +123 -0
  82. package/dist/utils/corrupt-injector.js.map +1 -0
  83. package/dist/utils/env-loader.d.ts +9 -0
  84. package/dist/utils/env-loader.d.ts.map +1 -0
  85. package/dist/utils/env-loader.js +12 -0
  86. package/dist/utils/env-loader.js.map +1 -0
  87. package/dist/utils/env-writer.d.ts +10 -0
  88. package/dist/utils/env-writer.d.ts.map +1 -0
  89. package/dist/utils/env-writer.js +40 -0
  90. package/dist/utils/env-writer.js.map +1 -0
  91. package/dist/utils/freee-api.d.ts +24 -0
  92. package/dist/utils/freee-api.d.ts.map +1 -0
  93. package/dist/utils/freee-api.js +175 -0
  94. package/dist/utils/freee-api.js.map +1 -0
  95. package/dist/utils/logger.d.ts +6 -0
  96. package/dist/utils/logger.d.ts.map +1 -0
  97. package/dist/utils/logger.js +22 -0
  98. package/dist/utils/logger.js.map +1 -0
  99. package/dist/utils/pkce.d.ts +12 -0
  100. package/dist/utils/pkce.d.ts.map +1 -0
  101. package/dist/utils/pkce.js +18 -0
  102. package/dist/utils/pkce.js.map +1 -0
  103. package/dist/utils/preset-loader.d.ts +3 -0
  104. package/dist/utils/preset-loader.d.ts.map +1 -0
  105. package/dist/utils/preset-loader.js +47 -0
  106. package/dist/utils/preset-loader.js.map +1 -0
  107. package/dist/utils/preset-validator.d.ts +10 -0
  108. package/dist/utils/preset-validator.d.ts.map +1 -0
  109. package/dist/utils/preset-validator.js +23 -0
  110. package/dist/utils/preset-validator.js.map +1 -0
  111. package/dist/utils/state-store.d.ts +6 -0
  112. package/dist/utils/state-store.d.ts.map +1 -0
  113. package/dist/utils/state-store.js +37 -0
  114. package/dist/utils/state-store.js.map +1 -0
  115. package/dist/utils/token-store.d.ts +6 -0
  116. package/dist/utils/token-store.d.ts.map +1 -0
  117. package/dist/utils/token-store.js +30 -0
  118. package/dist/utils/token-store.js.map +1 -0
  119. package/package.json +58 -0
  120. package/presets/README.md +182 -0
  121. package/presets/accounting/README.md +3 -0
  122. package/presets/accounting/construction/preset.json +309 -0
  123. package/presets/accounting/freelance-invoice/preset.json +261 -0
  124. package/presets/accounting/full-year/preset.json +1534 -0
  125. package/presets/accounting/it-startup/preset.json +472 -0
  126. package/presets/accounting/manufacturing/preset.json +333 -0
  127. package/presets/accounting/medical/preset.json +453 -0
  128. package/presets/accounting/non-profit/preset.json +375 -0
  129. package/presets/accounting/npo-subsidy/preset.json +454 -0
  130. package/presets/accounting/payroll-agency/preset.json +286 -0
  131. package/presets/accounting/quickstart/preset.json +917 -0
  132. package/presets/accounting/real-estate/preset.json +453 -0
  133. package/presets/accounting/restaurant/preset.json +349 -0
  134. package/presets/accounting/retail/preset.json +536 -0
  135. package/presets/accounting/sole-proprietor/preset.json +408 -0
  136. package/presets/advanced/multi-company/README.md +3 -0
  137. package/presets/advanced/multi-company/preset.json +640 -0
  138. package/presets/advanced/multi-period/README.md +3 -0
  139. package/presets/advanced/multi-period/preset.json +633 -0
  140. package/presets/common/depreciation/preset.json +433 -0
  141. package/presets/errors/consumption-tax/preset.json +136 -0
  142. package/presets/errors/depreciation-method/preset.json +133 -0
  143. package/presets/errors/duplicate-journal/preset.json +181 -0
  144. package/presets/errors/entertainment/preset.json +108 -0
  145. package/presets/errors/mixed/preset.json +171 -0
  146. package/presets/errors/officer-pay/preset.json +100 -0
  147. package/presets/errors/overdue-receivable/preset.json +157 -0
  148. package/presets/errors/tax-code/preset.json +140 -0
  149. package/presets/errors/year-end-closing/preset.json +163 -0
  150. package/presets/expenses/README.md +3 -0
  151. package/presets/expenses/quickstart/preset.json +240 -0
  152. package/presets/hr/README.md +3 -0
  153. package/presets/hr/quickstart/preset.json +443 -0
  154. package/presets/invoices/README.md +3 -0
  155. package/presets/invoices/quickstart/preset.json +246 -0
  156. package/presets/invoices/subscription/preset.json +263 -0
  157. package/presets/unclassified/quickstart/preset.json +182 -0
@@ -0,0 +1,246 @@
1
+ {
2
+ "name": "請求書・売掛金クイックスタート",
3
+ "description": "架空の中小企業(ITコンサルティング業)の請求書・売掛金デモデータ。入金前の売上計上から入金消込までのフローを含む。",
4
+ "version": "1.0.0",
5
+ "expected": {
6
+ "walletables": 2,
7
+ "deals": 22,
8
+ "manualJournals": 6
9
+ },
10
+ "data": {
11
+ "walletables": [
12
+ {
13
+ "type": "bank_account",
14
+ "name": "ひばり信用金庫 普通預金",
15
+ "bank_id": 2407
16
+ },
17
+ {
18
+ "type": "credit_card",
19
+ "name": "法人ビジネスカード",
20
+ "bank_id": 1442
21
+ }
22
+ ],
23
+ "deals": [
24
+ {
25
+ "issue_date": "2026-01-05",
26
+ "type": "income",
27
+ "partner_name": "株式会社エコーシステムズ",
28
+ "details": [
29
+ { "account_item_name": "売上高", "tax_code": 21, "amount": 1100000, "description": "ITコンサルティング 1月分(請求書 #INV-2601)" }
30
+ ]
31
+ },
32
+ {
33
+ "issue_date": "2026-01-10",
34
+ "type": "income",
35
+ "partner_name": "北栄産業株式会社",
36
+ "details": [
37
+ { "account_item_name": "売上高", "tax_code": 21, "amount": 770000, "description": "システム導入支援 第1フェーズ(請求書 #INV-2602)" }
38
+ ]
39
+ },
40
+ {
41
+ "issue_date": "2026-01-15",
42
+ "type": "income",
43
+ "partner_name": "三栄商事株式会社",
44
+ "details": [
45
+ { "account_item_name": "売上高", "tax_code": 21, "amount": 550000, "description": "業務改善コンサルティング 1月(請求書 #INV-2603)" }
46
+ ]
47
+ },
48
+ {
49
+ "issue_date": "2026-01-20",
50
+ "type": "income",
51
+ "partner_name": "中央物流株式会社",
52
+ "details": [
53
+ { "account_item_name": "売上高", "tax_code": 21, "amount": 330000, "description": "運用サポート 1月(請求書 #INV-2604)" }
54
+ ]
55
+ },
56
+ {
57
+ "issue_date": "2026-01-28",
58
+ "type": "income",
59
+ "partner_name": "株式会社エコーシステムズ",
60
+ "details": [
61
+ { "account_item_name": "売上高", "tax_code": 21, "amount": 440000, "description": "追加開発対応 1月(請求書 #INV-2605)" }
62
+ ]
63
+ },
64
+ {
65
+ "issue_date": "2026-02-05",
66
+ "type": "income",
67
+ "partner_name": "北栄産業株式会社",
68
+ "details": [
69
+ { "account_item_name": "売上高", "tax_code": 21, "amount": 770000, "description": "システム導入支援 第2フェーズ(請求書 #INV-2606)" }
70
+ ]
71
+ },
72
+ {
73
+ "issue_date": "2026-02-10",
74
+ "type": "income",
75
+ "partner_name": "三栄商事株式会社",
76
+ "details": [
77
+ { "account_item_name": "売上高", "tax_code": 21, "amount": 550000, "description": "業務改善コンサルティング 2月(請求書 #INV-2607)" }
78
+ ]
79
+ },
80
+ {
81
+ "issue_date": "2026-02-14",
82
+ "type": "income",
83
+ "partner_name": "太平製造株式会社",
84
+ "details": [
85
+ { "account_item_name": "売上高", "tax_code": 21, "amount": 660000, "description": "製造ライン効率化支援(請求書 #INV-2608)" }
86
+ ]
87
+ },
88
+ {
89
+ "issue_date": "2026-02-20",
90
+ "type": "income",
91
+ "partner_name": "中央物流株式会社",
92
+ "details": [
93
+ { "account_item_name": "売上高", "tax_code": 21, "amount": 330000, "description": "運用サポート 2月(請求書 #INV-2609)" }
94
+ ]
95
+ },
96
+ {
97
+ "issue_date": "2026-02-28",
98
+ "type": "income",
99
+ "partner_name": "株式会社エコーシステムズ",
100
+ "details": [
101
+ { "account_item_name": "売上高", "tax_code": 21, "amount": 1100000, "description": "ITコンサルティング 2月分(請求書 #INV-2610)" }
102
+ ]
103
+ },
104
+ {
105
+ "issue_date": "2026-03-05",
106
+ "type": "income",
107
+ "partner_name": "北栄産業株式会社",
108
+ "details": [
109
+ { "account_item_name": "売上高", "tax_code": 21, "amount": 770000, "description": "システム導入支援 第3フェーズ(請求書 #INV-2611)" }
110
+ ]
111
+ },
112
+ {
113
+ "issue_date": "2026-03-10",
114
+ "type": "income",
115
+ "partner_name": "三栄商事株式会社",
116
+ "details": [
117
+ { "account_item_name": "売上高", "tax_code": 21, "amount": 550000, "description": "業務改善コンサルティング 3月(請求書 #INV-2612)" }
118
+ ]
119
+ },
120
+ {
121
+ "issue_date": "2026-03-15",
122
+ "type": "income",
123
+ "partner_name": "太平製造株式会社",
124
+ "details": [
125
+ { "account_item_name": "売上高", "tax_code": 21, "amount": 660000, "description": "製造ライン効率化支援 第2期(請求書 #INV-2613)" }
126
+ ]
127
+ },
128
+ {
129
+ "issue_date": "2026-03-20",
130
+ "type": "income",
131
+ "partner_name": "中央物流株式会社",
132
+ "details": [
133
+ { "account_item_name": "売上高", "tax_code": 21, "amount": 330000, "description": "運用サポート 3月(請求書 #INV-2614)" }
134
+ ]
135
+ },
136
+ {
137
+ "issue_date": "2026-03-31",
138
+ "type": "income",
139
+ "partner_name": "株式会社エコーシステムズ",
140
+ "details": [
141
+ { "account_item_name": "売上高", "tax_code": 21, "amount": 880000, "description": "年度末特別対応(請求書 #INV-2615)" }
142
+ ]
143
+ },
144
+ {
145
+ "issue_date": "2026-01-15",
146
+ "type": "expense",
147
+ "partner_name": "山田印刷株式会社",
148
+ "details": [
149
+ { "account_item_name": "消耗品費", "tax_code": 34, "amount": 33000, "description": "請求書・納品書 印刷・製本代" }
150
+ ]
151
+ },
152
+ {
153
+ "issue_date": "2026-01-31",
154
+ "type": "expense",
155
+ "partner_name": "クレストビジネスサービス株式会社",
156
+ "details": [
157
+ { "account_item_name": "支払手数料", "tax_code": 34, "amount": 11000, "description": "請求書管理ソフト利用料 1月" }
158
+ ]
159
+ },
160
+ {
161
+ "issue_date": "2026-02-28",
162
+ "type": "expense",
163
+ "partner_name": "クレストビジネスサービス株式会社",
164
+ "details": [
165
+ { "account_item_name": "支払手数料", "tax_code": 34, "amount": 11000, "description": "請求書管理ソフト利用料 2月" }
166
+ ]
167
+ },
168
+ {
169
+ "issue_date": "2026-03-31",
170
+ "type": "expense",
171
+ "partner_name": "クレストビジネスサービス株式会社",
172
+ "details": [
173
+ { "account_item_name": "支払手数料", "tax_code": 34, "amount": 11000, "description": "請求書管理ソフト利用料 3月" }
174
+ ]
175
+ },
176
+ {
177
+ "issue_date": "2026-03-31",
178
+ "type": "expense",
179
+ "partner_name": "ひばり信用金庫",
180
+ "details": [
181
+ { "account_item_name": "支払手数料", "tax_code": 0, "amount": 3300, "description": "振込手数料 3月分" }
182
+ ]
183
+ },
184
+ {
185
+ "issue_date": "2026-02-10",
186
+ "type": "expense",
187
+ "partner_name": "コンサルタント 中村",
188
+ "details": [
189
+ { "account_item_name": "旅費交通費", "tax_code": 34, "amount": 24800, "description": "客先訪問 交通費精算(名古屋往復)" }
190
+ ]
191
+ },
192
+ {
193
+ "issue_date": "2026-03-20",
194
+ "type": "expense",
195
+ "partner_name": "ネットワーク通信株式会社",
196
+ "details": [
197
+ { "account_item_name": "通信費", "tax_code": 34, "amount": 18700, "description": "オフィス回線・携帯電話代 3月分" }
198
+ ]
199
+ }
200
+ ],
201
+ "manualJournals": [
202
+ {
203
+ "issue_date": "2026-01-31",
204
+ "details": [
205
+ { "entry_side": "debit", "account_item_name": "売掛金", "tax_code": 0, "amount": 3190000, "description": "1月末 売掛金計上(未入金分)" },
206
+ { "entry_side": "credit", "account_item_name": "売上高", "tax_code": 21, "amount": 3190000, "description": "1月末 売上計上" }
207
+ ]
208
+ },
209
+ {
210
+ "issue_date": "2026-02-15",
211
+ "details": [
212
+ { "entry_side": "debit", "account_item_name": "ひばり信用金庫 普通預金", "tax_code": 0, "amount": 1100000, "description": "エコーシステムズ 1月分入金消込" },
213
+ { "entry_side": "credit", "account_item_name": "売掛金", "tax_code": 0, "amount": 1100000, "description": "売掛金回収 #INV-2601" }
214
+ ]
215
+ },
216
+ {
217
+ "issue_date": "2026-02-28",
218
+ "details": [
219
+ { "entry_side": "debit", "account_item_name": "売掛金", "tax_code": 0, "amount": 3410000, "description": "2月末 売掛金計上(未入金分)" },
220
+ { "entry_side": "credit", "account_item_name": "売上高", "tax_code": 21, "amount": 3410000, "description": "2月末 売上計上" }
221
+ ]
222
+ },
223
+ {
224
+ "issue_date": "2026-03-15",
225
+ "details": [
226
+ { "entry_side": "debit", "account_item_name": "ひばり信用金庫 普通預金", "tax_code": 0, "amount": 770000, "description": "北栄産業 2月分入金消込" },
227
+ { "entry_side": "credit", "account_item_name": "売掛金", "tax_code": 0, "amount": 770000, "description": "売掛金回収 #INV-2606" }
228
+ ]
229
+ },
230
+ {
231
+ "issue_date": "2026-03-31",
232
+ "details": [
233
+ { "entry_side": "debit", "account_item_name": "売掛金", "tax_code": 0, "amount": 3190000, "description": "3月末 売掛金計上(未入金分)" },
234
+ { "entry_side": "credit", "account_item_name": "売上高", "tax_code": 21, "amount": 3190000, "description": "3月末 売上計上" }
235
+ ]
236
+ },
237
+ {
238
+ "issue_date": "2026-03-31",
239
+ "details": [
240
+ { "entry_side": "debit", "account_item_name": "貸倒繰入額(販)", "tax_code": 0, "amount": 50000, "description": "期末 貸倒引当金計上" },
241
+ { "entry_side": "credit", "account_item_name": "貸倒引当金(売)", "tax_code": 0, "amount": 50000, "description": "期末 貸倒引当金設定" }
242
+ ]
243
+ }
244
+ ]
245
+ }
246
+ }
@@ -0,0 +1,263 @@
1
+ {
2
+ "name": "SaaS・月次サブスクリプション請求",
3
+ "description": "SaaS事業者の月次サブスクリプション請求・売上管理データ。前払い・月次・年次プランの混在、トライアル→有料転換、解約返金処理など、SaaS/クラウドサービス事業者の実務を網羅。",
4
+ "version": "1.0.0",
5
+ "expected": {
6
+ "walletables": 2,
7
+ "deals": 24,
8
+ "manualJournals": 6
9
+ },
10
+ "data": {
11
+ "walletables": [
12
+ {
13
+ "type": "bank_account",
14
+ "name": "さくら銀行 普通預金(SaaS事業用)",
15
+ "bank_id": 2407
16
+ },
17
+ {
18
+ "type": "wallet",
19
+ "name": "決済代行サービス(Stripe等)"
20
+ }
21
+ ],
22
+ "deals": [
23
+ {
24
+ "issue_date": "2026-01-01",
25
+ "type": "income",
26
+ "partner_name": "株式会社アルファソリューション",
27
+ "details": [
28
+ { "account_item_name": "売上高", "tax_code": 21, "amount": 33000, "description": "クラウド会計ツール スタンダードプラン 月次 1月(税込 3万円/月)" }
29
+ ]
30
+ },
31
+ {
32
+ "issue_date": "2026-02-01",
33
+ "type": "income",
34
+ "partner_name": "株式会社アルファソリューション",
35
+ "details": [
36
+ { "account_item_name": "売上高", "tax_code": 21, "amount": 33000, "description": "クラウド会計ツール スタンダードプラン 月次 2月" }
37
+ ]
38
+ },
39
+ {
40
+ "issue_date": "2026-03-01",
41
+ "type": "income",
42
+ "partner_name": "株式会社アルファソリューション",
43
+ "details": [
44
+ { "account_item_name": "売上高", "tax_code": 21, "amount": 33000, "description": "クラウド会計ツール スタンダードプラン 月次 3月" }
45
+ ]
46
+ },
47
+ {
48
+ "issue_date": "2026-01-01",
49
+ "type": "income",
50
+ "partner_name": "合同会社ベータテクノロジー",
51
+ "details": [
52
+ { "account_item_name": "売上高", "tax_code": 21, "amount": 110000, "description": "クラウド会計ツール エンタープライズプラン 月次 1月(税込 10万円/月)" }
53
+ ]
54
+ },
55
+ {
56
+ "issue_date": "2026-02-01",
57
+ "type": "income",
58
+ "partner_name": "合同会社ベータテクノロジー",
59
+ "details": [
60
+ { "account_item_name": "売上高", "tax_code": 21, "amount": 110000, "description": "クラウド会計ツール エンタープライズプラン 月次 2月" }
61
+ ]
62
+ },
63
+ {
64
+ "issue_date": "2026-03-01",
65
+ "type": "income",
66
+ "partner_name": "合同会社ベータテクノロジー",
67
+ "details": [
68
+ { "account_item_name": "売上高", "tax_code": 21, "amount": 110000, "description": "クラウド会計ツール エンタープライズプラン 月次 3月" }
69
+ ]
70
+ },
71
+ {
72
+ "issue_date": "2026-01-15",
73
+ "type": "income",
74
+ "partner_name": "株式会社ガンマコンサルティング",
75
+ "details": [
76
+ { "account_item_name": "売上高", "tax_code": 21, "amount": 330000, "description": "クラウド会計ツール スタンダードプラン 年次一括払い(3万円×12ヶ月=36万税抜→税込)" }
77
+ ]
78
+ },
79
+ {
80
+ "issue_date": "2026-02-10",
81
+ "type": "income",
82
+ "partner_name": "株式会社デルタイノベーション",
83
+ "details": [
84
+ { "account_item_name": "売上高", "tax_code": 21, "amount": 330000, "description": "クラウド会計ツール スタンダードプラン 年次一括払い(2月開始・12ヶ月分)" }
85
+ ]
86
+ },
87
+ {
88
+ "issue_date": "2026-01-20",
89
+ "type": "income",
90
+ "partner_name": "フリーランス エプシロン 鈴木 一郎",
91
+ "details": [
92
+ { "account_item_name": "売上高", "tax_code": 21, "amount": 11000, "description": "クラウド会計ツール ライトプラン 月次 1月(トライアル終了→有料転換)" }
93
+ ]
94
+ },
95
+ {
96
+ "issue_date": "2026-02-20",
97
+ "type": "income",
98
+ "partner_name": "フリーランス エプシロン 鈴木 一郎",
99
+ "details": [
100
+ { "account_item_name": "売上高", "tax_code": 21, "amount": 11000, "description": "クラウド会計ツール ライトプラン 月次 2月" }
101
+ ]
102
+ },
103
+ {
104
+ "issue_date": "2026-03-20",
105
+ "type": "income",
106
+ "partner_name": "フリーランス エプシロン 鈴木 一郎",
107
+ "details": [
108
+ { "account_item_name": "売上高", "tax_code": 21, "amount": 11000, "description": "クラウド会計ツール ライトプラン 月次 3月" }
109
+ ]
110
+ },
111
+ {
112
+ "issue_date": "2026-02-15",
113
+ "type": "expense",
114
+ "partner_name": "株式会社ゼータテック",
115
+ "details": [
116
+ { "account_item_name": "売上高", "tax_code": 21, "amount": -16500, "description": "クラウド会計ツール スタンダードプラン 途中解約返金(返金額: 残期間8.5ヶ月分 → マイナス計上)" }
117
+ ]
118
+ },
119
+ {
120
+ "issue_date": "2026-01-10",
121
+ "type": "expense",
122
+ "partner_name": "決済代行サービス",
123
+ "details": [
124
+ { "account_item_name": "支払手数料", "tax_code": 34, "amount": 11000, "description": "クレジットカード決済手数料 1月(売上の約2.5%相当)" }
125
+ ]
126
+ },
127
+ {
128
+ "issue_date": "2026-02-10",
129
+ "type": "expense",
130
+ "partner_name": "決済代行サービス",
131
+ "details": [
132
+ { "account_item_name": "支払手数料", "tax_code": 34, "amount": 11550, "description": "クレジットカード決済手数料 2月" }
133
+ ]
134
+ },
135
+ {
136
+ "issue_date": "2026-03-10",
137
+ "type": "expense",
138
+ "partner_name": "決済代行サービス",
139
+ "details": [
140
+ { "account_item_name": "支払手数料", "tax_code": 34, "amount": 10450, "description": "クレジットカード決済手数料 3月" }
141
+ ]
142
+ },
143
+ {
144
+ "issue_date": "2026-01-15",
145
+ "type": "expense",
146
+ "partner_name": "クラウドインフラ株式会社",
147
+ "details": [
148
+ { "account_item_name": "通信費", "tax_code": 34, "amount": 88000, "description": "クラウドインフラ費用 1月(サーバー・ストレージ)" }
149
+ ]
150
+ },
151
+ {
152
+ "issue_date": "2026-02-15",
153
+ "type": "expense",
154
+ "partner_name": "クラウドインフラ株式会社",
155
+ "details": [
156
+ { "account_item_name": "通信費", "tax_code": 34, "amount": 92400, "description": "クラウドインフラ費用 2月(利用量増により微増)" }
157
+ ]
158
+ },
159
+ {
160
+ "issue_date": "2026-03-15",
161
+ "type": "expense",
162
+ "partner_name": "クラウドインフラ株式会社",
163
+ "details": [
164
+ { "account_item_name": "通信費", "tax_code": 34, "amount": 86900, "description": "クラウドインフラ費用 3月" }
165
+ ]
166
+ },
167
+ {
168
+ "issue_date": "2026-01-25",
169
+ "type": "expense",
170
+ "partner_name": "給与計算",
171
+ "details": [
172
+ { "account_item_name": "給料手当", "tax_code": 0, "amount": 550000, "description": "開発・CS人件費 1月(エンジニア2名・CS担当1名)" }
173
+ ]
174
+ },
175
+ {
176
+ "issue_date": "2026-02-25",
177
+ "type": "expense",
178
+ "partner_name": "給与計算",
179
+ "details": [
180
+ { "account_item_name": "給料手当", "tax_code": 0, "amount": 550000, "description": "開発・CS人件費 2月" }
181
+ ]
182
+ },
183
+ {
184
+ "issue_date": "2026-03-25",
185
+ "type": "expense",
186
+ "partner_name": "給与計算",
187
+ "details": [
188
+ { "account_item_name": "給料手当", "tax_code": 0, "amount": 550000, "description": "開発・CS人件費 3月" }
189
+ ]
190
+ },
191
+ {
192
+ "issue_date": "2026-01-31",
193
+ "type": "expense",
194
+ "partner_name": "カスタマーサクセス外注",
195
+ "details": [
196
+ { "account_item_name": "外注費", "tax_code": 34, "amount": 110000, "description": "CS業務委託 1月(オンボーディング・テクニカルサポート)" }
197
+ ]
198
+ },
199
+ {
200
+ "issue_date": "2026-02-28",
201
+ "type": "expense",
202
+ "partner_name": "カスタマーサクセス外注",
203
+ "details": [
204
+ { "account_item_name": "外注費", "tax_code": 34, "amount": 110000, "description": "CS業務委託 2月" }
205
+ ]
206
+ },
207
+ {
208
+ "issue_date": "2026-03-31",
209
+ "type": "expense",
210
+ "partner_name": "カスタマーサクセス外注",
211
+ "details": [
212
+ { "account_item_name": "外注費", "tax_code": 34, "amount": 110000, "description": "CS業務委託 3月" }
213
+ ]
214
+ }
215
+ ],
216
+ "manualJournals": [
217
+ {
218
+ "issue_date": "2026-01-15",
219
+ "details": [
220
+ { "entry_side": "debit", "account_item_name": "売掛金", "tax_code": 0, "amount": 330000, "description": "ガンマコンサルティング 年次プラン請求計上" },
221
+ { "entry_side": "credit", "account_item_name": "前受金", "tax_code": 0, "amount": 302500, "description": "年次プラン 翌月〜12月分 前受計上(11ヶ月分)" },
222
+ { "entry_side": "credit", "account_item_name": "売上高", "tax_code": 21, "amount": 27500, "description": "年次プラン 当月分(1ヶ月)売上計上" }
223
+ ]
224
+ },
225
+ {
226
+ "issue_date": "2026-02-01",
227
+ "details": [
228
+ { "entry_side": "debit", "account_item_name": "前受金", "tax_code": 0, "amount": 27500, "description": "ガンマコンサルティング 前受金 2月分振替" },
229
+ { "entry_side": "credit", "account_item_name": "売上高", "tax_code": 21, "amount": 27500, "description": "ガンマコンサルティング 年次プラン 2月分売上計上" }
230
+ ]
231
+ },
232
+ {
233
+ "issue_date": "2026-03-01",
234
+ "details": [
235
+ { "entry_side": "debit", "account_item_name": "前受金", "tax_code": 0, "amount": 27500, "description": "ガンマコンサルティング 前受金 3月分振替" },
236
+ { "entry_side": "credit", "account_item_name": "売上高", "tax_code": 21, "amount": 27500, "description": "ガンマコンサルティング 年次プラン 3月分売上計上" }
237
+ ]
238
+ },
239
+ {
240
+ "issue_date": "2026-02-10",
241
+ "details": [
242
+ { "entry_side": "debit", "account_item_name": "売掛金", "tax_code": 0, "amount": 330000, "description": "デルタイノベーション 年次プラン請求計上" },
243
+ { "entry_side": "credit", "account_item_name": "前受金", "tax_code": 0, "amount": 302500, "description": "年次プラン 翌月〜1月分 前受計上(11ヶ月分)" },
244
+ { "entry_side": "credit", "account_item_name": "売上高", "tax_code": 21, "amount": 27500, "description": "年次プラン 当月分(1ヶ月)売上計上" }
245
+ ]
246
+ },
247
+ {
248
+ "issue_date": "2026-03-01",
249
+ "details": [
250
+ { "entry_side": "debit", "account_item_name": "前受金", "tax_code": 0, "amount": 27500, "description": "デルタイノベーション 前受金 3月分振替" },
251
+ { "entry_side": "credit", "account_item_name": "売上高", "tax_code": 21, "amount": 27500, "description": "デルタイノベーション 年次プラン 3月分売上計上" }
252
+ ]
253
+ },
254
+ {
255
+ "issue_date": "2026-03-31",
256
+ "details": [
257
+ { "entry_side": "debit", "account_item_name": "売掛金", "tax_code": 0, "amount": 154000, "description": "3月末 売掛金計上(月次プラン未回収分: アルファ+ベータ+エプシロン)" },
258
+ { "entry_side": "credit", "account_item_name": "売上高", "tax_code": 21, "amount": 154000, "description": "3月末 売掛金対応売上計上" }
259
+ ]
260
+ }
261
+ ]
262
+ }
263
+ }