@tocca-systems/twp-cli 0.52.0 → 0.53.0
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.
- package/CHANGELOG.public.md +10 -0
- package/README.md +18 -1
- package/command-model/account-lock.json +3 -103
- package/command-model/address.json +1 -35
- package/command-model/agent-loop.json +31 -1116
- package/command-model/agent.json +18 -833
- package/command-model/ai-chat-history.json +7 -234
- package/command-model/ai-rag.json +2 -113
- package/command-model/ai-task-copilot.json +6 -230
- package/command-model/ai-token-usage.json +9 -416
- package/command-model/analysis-page-access-rule.json +6 -245
- package/command-model/analysis.json +2 -148
- package/command-model/announcement.json +7 -203
- package/command-model/api-key.json +7 -250
- package/command-model/api-usage.json +3 -118
- package/command-model/attendance-report-category.json +6 -258
- package/command-model/attendance-report-reason-detail.json +6 -286
- package/command-model/attendance-report-reason.json +6 -274
- package/command-model/attendance-report.json +7 -379
- package/command-model/attendance-timesheet.json +3 -87
- package/command-model/attendance.json +1 -29
- package/command-model/audit-log.json +3 -141
- package/command-model/auth.json +10 -263
- package/command-model/authorize.json +2 -55
- package/command-model/auto-charge.json +4 -144
- package/command-model/badge.json +4 -111
- package/command-model/billing.json +8 -292
- package/command-model/budget.json +12 -500
- package/command-model/business-card.json +1 -42
- package/command-model/business-place.json +5 -318
- package/command-model/capacity.json +5 -166
- package/command-model/catalog.json +7 -229
- package/command-model/chat-channel.json +17 -561
- package/command-model/chat-mention-group.json +4 -130
- package/command-model/chat-message.json +7 -291
- package/command-model/chat-tenant-connection.json +7 -168
- package/command-model/cli-auth.json +6 -207
- package/command-model/cms-tag.json +8 -318
- package/command-model/commuting-expense.json +12 -417
- package/command-model/company-case-document.json +1 -36
- package/command-model/company-contract-document.json +9 -345
- package/command-model/company.json +5 -595
- package/command-model/config.json +2 -58
- package/command-model/contract.json +5 -541
- package/command-model/credit.json +20 -624
- package/command-model/cross-project-report.json +1 -35
- package/command-model/customer-campaign.json +5 -176
- package/command-model/customer-contact.json +8 -533
- package/command-model/customer-interaction.json +10 -709
- package/command-model/customer-people.json +3 -124
- package/command-model/customer.json +3 -124
- package/command-model/cycle-time-analysis.json +1 -54
- package/command-model/dashboard-calendar.json +1 -35
- package/command-model/department.json +8 -379
- package/command-model/deposit-plan.json +2 -64
- package/command-model/deposit.json +10 -493
- package/command-model/desktop-release.json +2 -58
- package/command-model/domain-knowledge-doc.json +6 -282
- package/command-model/domain-knowledge.json +5 -241
- package/command-model/dynamo-attachment.json +7 -248
- package/command-model/dynamo-cms.json +25 -1317
- package/command-model/dynamo-inquiry.json +11 -453
- package/command-model/dynamo-support.json +9 -292
- package/command-model/email-change.json +2 -54
- package/command-model/equipment-category.json +4 -124
- package/command-model/equipment.json +12 -614
- package/command-model/estimate-case-document.json +9 -344
- package/command-model/estimate-format.json +5 -460
- package/command-model/estimate-no-rule.json +5 -231
- package/command-model/estimate.json +11 -1020
- package/command-model/evaluation-pdf.json +2 -63
- package/command-model/evaluation-period.json +8 -471
- package/command-model/evaluation.json +18 -781
- package/command-model/expense-settings.json +2 -55
- package/command-model/external-integration-proxy.json +30 -1256
- package/command-model/faq-notion-import.json +7 -241
- package/command-model/faq.json +7 -405
- package/command-model/favorite.json +5 -174
- package/command-model/feedback.json +14 -539
- package/command-model/fiscal-year-setting.json +5 -162
- package/command-model/floor-map.json +5 -170
- package/command-model/follow-up-message-template.json +6 -192
- package/command-model/git-hub-pr-status.json +1 -36
- package/command-model/goal-sheet.json +12 -345
- package/command-model/google-auth.json +2 -95
- package/command-model/hearing-auth.json +11 -324
- package/command-model/hearing-invitation.json +5 -247
- package/command-model/hearing-session.json +5 -189
- package/command-model/hearing.json +22 -924
- package/command-model/holiday.json +10 -357
- package/command-model/hr-checklist-template.json +5 -256
- package/command-model/hr-checklist.json +6 -180
- package/command-model/hr-qualification.json +2 -103
- package/command-model/html-editor.json +2 -50
- package/command-model/index.json +298 -1490
- package/command-model/inquiry-response-generator.json +1 -38
- package/command-model/inquiry-routing.json +12 -359
- package/command-model/invoice-auto-template.json +7 -240
- package/command-model/invoice-no-rule.json +5 -231
- package/command-model/invoice.json +13 -914
- package/command-model/job-title.json +9 -416
- package/command-model/knowledge-qa.json +2 -57
- package/command-model/knowledge-recommendation-feedback.json +2 -97
- package/command-model/knowledge-recommendation.json +1 -51
- package/command-model/legacy-migration.json +2 -71
- package/command-model/license-assignment.json +7 -291
- package/command-model/license-type.json +7 -283
- package/command-model/license.json +15 -520
- package/command-model/login-history.json +2 -94
- package/command-model/man-hour.json +2 -102
- package/command-model/master-announcement.json +8 -515
- package/command-model/master-billing.json +3 -112
- package/command-model/master-pricing.json +7 -241
- package/command-model/master-product.json +12 -518
- package/command-model/master-support-ai.json +1 -34
- package/command-model/master-support.json +10 -445
- package/command-model/master-tenant.json +22 -1904
- package/command-model/media-file-comment.json +4 -137
- package/command-model/media-file-hls.json +2 -42
- package/command-model/media-file-version.json +5 -183
- package/command-model/media-file.json +44 -1707
- package/command-model/media-folder.json +11 -393
- package/command-model/meeting-category.json +5 -190
- package/command-model/meeting-minutes.json +1 -63
- package/command-model/meeting-pdf.json +1 -36
- package/command-model/meeting-template.json +5 -222
- package/command-model/meeting.json +13 -1045
- package/command-model/member.json +2 -127
- package/command-model/microsoft-auth.json +2 -92
- package/command-model/milli-credit.json +8 -268
- package/command-model/ms365-calendar-o-auth.json +4 -110
- package/command-model/music-generation.json +6 -227
- package/command-model/my-task.json +5 -163
- package/command-model/my-training.json +4 -153
- package/command-model/news-perspective.json +7 -210
- package/command-model/note-category.json +4 -144
- package/command-model/note-comment.json +5 -220
- package/command-model/note-favorite.json +2 -42
- package/command-model/note-reaction.json +2 -57
- package/command-model/note-subscription.json +4 -105
- package/command-model/note.json +10 -599
- package/command-model/notification-recipient-rule.json +5 -226
- package/command-model/notification.json +10 -366
- package/command-model/notion-import.json +6 -260
- package/command-model/o-auth-client.json +6 -329
- package/command-model/onboarding-template.json +17 -701
- package/command-model/operating-hours.json +1 -95
- package/command-model/order-form-scan.json +1 -28
- package/command-model/org-chart.json +1 -35
- package/command-model/organization-announcement-category.json +4 -130
- package/command-model/organization-announcement.json +10 -600
- package/command-model/password-reset.json +3 -95
- package/command-model/payee.json +5 -218
- package/command-model/pc-situation.json +1 -124
- package/command-model/phone-change.json +2 -60
- package/command-model/policy-employee.json +3 -94
- package/command-model/policy.json +12 -501
- package/command-model/position.json +6 -300
- package/command-model/private-agent-loop.json +29 -845
- package/command-model/private-task.json +7 -446
- package/command-model/process.json +6 -232
- package/command-model/profit-analysis.json +3 -178
- package/command-model/profit-summary.json +1 -65
- package/command-model/project-assignment.json +1 -50
- package/command-model/project-cost.json +5 -250
- package/command-model/project-custom-field.json +6 -374
- package/command-model/project-digest.json +3 -111
- package/command-model/project-evaluation.json +8 -308
- package/command-model/project-health.json +3 -153
- package/command-model/project-member.json +9 -464
- package/command-model/project-process.json +7 -305
- package/command-model/project-profit-analysis.json +1 -54
- package/command-model/project-quality-check-corrective-task.json +3 -121
- package/command-model/project-quality-check-record.json +3 -126
- package/command-model/project-quality-check-scope.json +2 -82
- package/command-model/project-quality-check-status.json +2 -58
- package/command-model/project-repository.json +5 -175
- package/command-model/project-revenue.json +6 -287
- package/command-model/project-task-analytics.json +1 -36
- package/command-model/project-task-category.json +5 -198
- package/command-model/project-task-comment.json +7 -425
- package/command-model/project-task-form-options.json +1 -36
- package/command-model/project-task-label.json +5 -198
- package/command-model/project-task-link.json +4 -164
- package/command-model/project-task-milestone.json +5 -210
- package/command-model/project-task-rule.json +7 -371
- package/command-model/project-task-status.json +5 -216
- package/command-model/project-task-template.json +5 -259
- package/command-model/project-task-type.json +5 -235
- package/command-model/project-task-version.json +5 -210
- package/command-model/project-task-watcher.json +3 -96
- package/command-model/project-task.json +22 -1620
- package/command-model/project-template.json +7 -438
- package/command-model/project.json +10 -1063
- package/command-model/prospect-activity.json +5 -288
- package/command-model/prospect-promotion.json +2 -81
- package/command-model/prospect.json +9 -811
- package/command-model/public-search.json +1 -63
- package/command-model/purchase-ai-field-mapping.json +6 -288
- package/command-model/purchase-document.json +9 -344
- package/command-model/purchase-estimate-scan.json +1 -37
- package/command-model/purchase-no-rule.json +5 -237
- package/command-model/purchase.json +7 -603
- package/command-model/push-subscription.json +3 -103
- package/command-model/qualification-import.json +4 -86
- package/command-model/qualification.json +7 -247
- package/command-model/quality-check-item.json +5 -251
- package/command-model/rag.json +2 -71
- package/command-model/rating-criteria.json +2 -71
- package/command-model/receivable-closing.json +4 -100
- package/command-model/receivable.json +2 -58
- package/command-model/received-invoice.json +4 -146
- package/command-model/refresh-token.json +1 -26
- package/command-model/report-format-order.json +2 -43
- package/command-model/report-saved-tab.json +5 -149
- package/command-model/report.json +51 -2439
- package/command-model/retrospective.json +15 -586
- package/command-model/revoke.json +1 -29
- package/command-model/risk-analysis.json +1 -36
- package/command-model/role-template.json +4 -193
- package/command-model/sales-ai-review-knowledge-draft.json +1 -32
- package/command-model/sales-ai-review-knowledge-pr.json +1 -44
- package/command-model/sales-ai-review-reason-list.json +1 -65
- package/command-model/sales-pdf.json +8 -288
- package/command-model/sales-rounding-setting.json +2 -61
- package/command-model/sales.json +12 -420
- package/command-model/saved-tab.json +5 -145
- package/command-model/saved-task-filter.json +4 -149
- package/command-model/seal-impression.json +5 -190
- package/command-model/segment.json +6 -232
- package/command-model/sidebar-badge-setting.json +2 -55
- package/command-model/skill-analytics.json +4 -158
- package/command-model/skill-category.json +5 -230
- package/command-model/skill-evaluation-export.json +1 -44
- package/command-model/skill-evaluation-record.json +2 -135
- package/command-model/skill-micro-feedback.json +3 -127
- package/command-model/skill-role-assignment.json +3 -112
- package/command-model/skill.json +7 -322
- package/command-model/staff-kpi-setting.json +4 -181
- package/command-model/staff-kpi.json +2 -82
- package/command-model/staffing-plan.json +8 -464
- package/command-model/storage.json +9 -249
- package/command-model/subscription.json +6 -159
- package/command-model/supplier-payment-schedule.json +5 -232
- package/command-model/supplier-payment.json +6 -339
- package/command-model/survey-tracker.json +6 -393
- package/command-model/survey.json +36 -1763
- package/command-model/task-analysis.json +1 -29
- package/command-model/task-branch.json +7 -302
- package/command-model/task-recurrence.json +5 -256
- package/command-model/task-wiki-link.json +4 -150
- package/command-model/tenant-ai-key.json +10 -334
- package/command-model/tenant-egress-policy.json +7 -283
- package/command-model/tenant-email-settings.json +5 -138
- package/command-model/tenant-git-hub-settings.json +13 -356
- package/command-model/tenant-master-email-change.json +2 -54
- package/command-model/tenant-rag-settings.json +9 -377
- package/command-model/tenant-registration.json +3 -123
- package/command-model/tenant-search.json +1 -35
- package/command-model/tenant-settings.json +24 -1223
- package/command-model/terms.json +3 -85
- package/command-model/test-execution.json +10 -362
- package/command-model/test-scenario.json +9 -379
- package/command-model/token.json +1 -26
- package/command-model/training-attendance.json +12 -504
- package/command-model/training-master.json +6 -309
- package/command-model/training-session.json +11 -599
- package/command-model/unified-search.json +2 -122
- package/command-model/update-record.json +2 -85
- package/command-model/user-api-key.json +7 -352
- package/command-model/user-assignment-calendar.json +1 -42
- package/command-model/user-assignment.json +15 -658
- package/command-model/user-contract-type.json +6 -448
- package/command-model/user-contract.json +7 -754
- package/command-model/user-group.json +7 -142
- package/command-model/user-info.json +1 -29
- package/command-model/user-invitation.json +7 -1040
- package/command-model/user-management.json +12 -1523
- package/command-model/user-qualification.json +4 -162
- package/command-model/user-seal-generate.json +1 -44
- package/command-model/user-shortcut-setting.json +3 -103
- package/command-model/user-skill-profile.json +11 -535
- package/command-model/user.json +30 -979
- package/command-model/video-generation.json +8 -451
- package/command-model/web-search.json +1 -62
- package/command-model/well-known.json +2 -58
- package/command-model/whisper.json +2 -83
- package/command-model/wiki-collection.json +13 -452
- package/command-model/wiki-notion-import.json +5 -167
- package/command-model/wiki-template.json +5 -182
- package/command-model/wiki.json +11 -468
- package/command-model/worker-agent-run.json +5 -180
- package/command-model/worker-agent.json +10 -519
- package/command-model/workflow-ai-review.json +3 -103
- package/command-model/workflow-analysis.json +1 -54
- package/command-model/workflow-approval-delegation.json +4 -130
- package/command-model/workflow-approval.json +8 -252
- package/command-model/workflow-instance.json +7 -273
- package/command-model/workflow-tracker.json +8 -476
- package/command-model/workflow.json +9 -548
- package/command-model/workload-alert.json +3 -100
- package/dist/{agent-loop-QP6UHX4R.js → agent-loop-D35USHWR.js} +1 -1
- package/dist/{ai-dispatch-VDNMECKK.js → ai-dispatch-3JJ4ICJF.js} +2 -2
- package/dist/{api-command-5LQFOG24.js → api-command-NZ4GJ7BW.js} +1 -1
- package/dist/{app-G524XCIA.js → app-67TGWKPM.js} +1 -1
- package/dist/{budget-AM7JJ5YP.js → budget-YQHHSX7Q.js} +1 -1
- package/dist/{chunk-QVPU4HHG.js → chunk-52HYPBSW.js} +13 -13
- package/dist/chunk-E7TZU54Y.js +17 -0
- package/dist/{chunk-K7OIECPN.js → chunk-JY4VWR5O.js} +4 -4
- package/dist/{chunk-E34FX2DF.js → chunk-NQJV2X2R.js} +1 -1
- package/dist/cli.js +19 -8
- package/dist/{commands-TYUK7MV4.js → commands-5VM6LUB5.js} +1 -1
- package/dist/{commands-BXU44JWS.js → commands-CVSXWYGR.js} +14 -14
- package/dist/{logout-guard-BIF2B7JE.js → logout-guard-ZQV2OPIO.js} +1 -1
- package/dist/{media-TIRJJUNN.js → media-ZIAI4GEB.js} +1 -1
- package/dist/{registry-3PWIZP2X.js → registry-4QVXMTGW.js} +1 -1
- package/dist/{run-XZZR3OKX.js → run-KXZBNXJF.js} +1 -1
- package/dist/server-settings-WYHQZV2N.js +3 -0
- package/dist/{setup-JGGFVRUW.js → setup-G24BYLQV.js} +1 -1
- package/dist/{teams-GPXJPXNC.js → teams-5EXL65HN.js} +53 -25
- package/package.json +1 -1
- package/dist/chunk-SA7A5WF2.js +0 -15
- package/dist/server-settings-TUBJ4P57.js +0 -3
|
@@ -1,919 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"domain": "invoice",
|
|
3
3
|
"operations": [
|
|
4
|
-
{
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
],
|
|
19
|
-
"queryParams": [],
|
|
20
|
-
"body": {
|
|
21
|
-
"schema": {
|
|
22
|
-
"type": "object",
|
|
23
|
-
"properties": {
|
|
24
|
-
"cancel_reason": {
|
|
25
|
-
"type": "string",
|
|
26
|
-
"maxLength": 1000
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"required": [
|
|
30
|
-
"cancel_reason"
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
"resultPath": null,
|
|
35
|
-
"risk": "write",
|
|
36
|
-
"aliases": []
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"name": "consolidate",
|
|
40
|
-
"domain": "invoice",
|
|
41
|
-
"operationId": "invoice.consolidate",
|
|
42
|
-
"method": "POST",
|
|
43
|
-
"path": "/v2/sales/invoices/consolidate",
|
|
44
|
-
"summary": "統合請求書作成(同一取引先の複数請求を1枚に統合)",
|
|
45
|
-
"pathParams": [],
|
|
46
|
-
"queryParams": [],
|
|
47
|
-
"body": {
|
|
48
|
-
"schema": {
|
|
49
|
-
"type": "object",
|
|
50
|
-
"properties": {
|
|
51
|
-
"invoice_ids": {
|
|
52
|
-
"type": "array",
|
|
53
|
-
"items": {
|
|
54
|
-
"type": "integer"
|
|
55
|
-
},
|
|
56
|
-
"minItems": 2
|
|
57
|
-
},
|
|
58
|
-
"title": {
|
|
59
|
-
"type": [
|
|
60
|
-
"string",
|
|
61
|
-
"null"
|
|
62
|
-
],
|
|
63
|
-
"maxLength": 500
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
"required": [
|
|
67
|
-
"invoice_ids"
|
|
68
|
-
]
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
"resultPath": null,
|
|
72
|
-
"risk": "write",
|
|
73
|
-
"aliases": []
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"name": "create",
|
|
77
|
-
"domain": "invoice",
|
|
78
|
-
"operationId": "invoice.store",
|
|
79
|
-
"method": "POST",
|
|
80
|
-
"path": "/v2/sales/invoices",
|
|
81
|
-
"summary": "請求作成",
|
|
82
|
-
"pathParams": [],
|
|
83
|
-
"queryParams": [],
|
|
84
|
-
"body": {
|
|
85
|
-
"schema": {
|
|
86
|
-
"type": "object",
|
|
87
|
-
"properties": {
|
|
88
|
-
"direct_create": {
|
|
89
|
-
"type": [
|
|
90
|
-
"boolean",
|
|
91
|
-
"null"
|
|
92
|
-
]
|
|
93
|
-
},
|
|
94
|
-
"estimate_format_id": {
|
|
95
|
-
"type": [
|
|
96
|
-
"integer",
|
|
97
|
-
"null"
|
|
98
|
-
]
|
|
99
|
-
},
|
|
100
|
-
"contract_id": {
|
|
101
|
-
"type": [
|
|
102
|
-
"integer",
|
|
103
|
-
"null"
|
|
104
|
-
]
|
|
105
|
-
},
|
|
106
|
-
"estimate_id": {
|
|
107
|
-
"type": [
|
|
108
|
-
"integer",
|
|
109
|
-
"null"
|
|
110
|
-
]
|
|
111
|
-
},
|
|
112
|
-
"invoice_no_rule_id": {
|
|
113
|
-
"type": [
|
|
114
|
-
"integer",
|
|
115
|
-
"null"
|
|
116
|
-
]
|
|
117
|
-
},
|
|
118
|
-
"title": {
|
|
119
|
-
"type": "string",
|
|
120
|
-
"maxLength": 500
|
|
121
|
-
},
|
|
122
|
-
"company_id": {
|
|
123
|
-
"type": [
|
|
124
|
-
"integer",
|
|
125
|
-
"null"
|
|
126
|
-
]
|
|
127
|
-
},
|
|
128
|
-
"project_id": {
|
|
129
|
-
"type": "string",
|
|
130
|
-
"maxLength": 36
|
|
131
|
-
},
|
|
132
|
-
"invoice_user_id": {
|
|
133
|
-
"type": [
|
|
134
|
-
"string",
|
|
135
|
-
"null"
|
|
136
|
-
],
|
|
137
|
-
"maxLength": 36
|
|
138
|
-
},
|
|
139
|
-
"business_place_id": {
|
|
140
|
-
"type": [
|
|
141
|
-
"integer",
|
|
142
|
-
"null"
|
|
143
|
-
]
|
|
144
|
-
},
|
|
145
|
-
"seal_impression_id": {
|
|
146
|
-
"type": [
|
|
147
|
-
"integer",
|
|
148
|
-
"null"
|
|
149
|
-
]
|
|
150
|
-
},
|
|
151
|
-
"payee_id": {
|
|
152
|
-
"type": [
|
|
153
|
-
"integer",
|
|
154
|
-
"null"
|
|
155
|
-
]
|
|
156
|
-
},
|
|
157
|
-
"status": {
|
|
158
|
-
"type": [
|
|
159
|
-
"string",
|
|
160
|
-
"null"
|
|
161
|
-
],
|
|
162
|
-
"enum": [
|
|
163
|
-
"new",
|
|
164
|
-
"create_completed",
|
|
165
|
-
"in_progress",
|
|
166
|
-
"approved",
|
|
167
|
-
"rejected",
|
|
168
|
-
"submitted",
|
|
169
|
-
"manager_confirmation",
|
|
170
|
-
"invoice_issued",
|
|
171
|
-
"sent_to_client",
|
|
172
|
-
"archived",
|
|
173
|
-
"deleted",
|
|
174
|
-
null
|
|
175
|
-
]
|
|
176
|
-
},
|
|
177
|
-
"invoice_date": {
|
|
178
|
-
"type": "string",
|
|
179
|
-
"format": "date-time"
|
|
180
|
-
},
|
|
181
|
-
"delivery_date": {
|
|
182
|
-
"type": [
|
|
183
|
-
"string",
|
|
184
|
-
"null"
|
|
185
|
-
],
|
|
186
|
-
"format": "date-time"
|
|
187
|
-
},
|
|
188
|
-
"inspection_date": {
|
|
189
|
-
"type": [
|
|
190
|
-
"string",
|
|
191
|
-
"null"
|
|
192
|
-
],
|
|
193
|
-
"format": "date-time"
|
|
194
|
-
},
|
|
195
|
-
"due_date": {
|
|
196
|
-
"type": [
|
|
197
|
-
"string",
|
|
198
|
-
"null"
|
|
199
|
-
],
|
|
200
|
-
"format": "date-time"
|
|
201
|
-
},
|
|
202
|
-
"terms": {
|
|
203
|
-
"type": [
|
|
204
|
-
"string",
|
|
205
|
-
"null"
|
|
206
|
-
]
|
|
207
|
-
},
|
|
208
|
-
"memo": {
|
|
209
|
-
"type": [
|
|
210
|
-
"string",
|
|
211
|
-
"null"
|
|
212
|
-
]
|
|
213
|
-
},
|
|
214
|
-
"internal_memo": {
|
|
215
|
-
"type": [
|
|
216
|
-
"string",
|
|
217
|
-
"null"
|
|
218
|
-
],
|
|
219
|
-
"maxLength": 5000
|
|
220
|
-
},
|
|
221
|
-
"manage_form_data": {
|
|
222
|
-
"type": [
|
|
223
|
-
"array",
|
|
224
|
-
"null"
|
|
225
|
-
],
|
|
226
|
-
"items": {
|
|
227
|
-
"type": "string"
|
|
228
|
-
}
|
|
229
|
-
},
|
|
230
|
-
"details": {
|
|
231
|
-
"type": "array",
|
|
232
|
-
"items": {
|
|
233
|
-
"type": "object",
|
|
234
|
-
"properties": {
|
|
235
|
-
"item_name": {
|
|
236
|
-
"type": "string",
|
|
237
|
-
"maxLength": 500
|
|
238
|
-
},
|
|
239
|
-
"quantity": {
|
|
240
|
-
"type": "number",
|
|
241
|
-
"minimum": 0
|
|
242
|
-
},
|
|
243
|
-
"unit": {
|
|
244
|
-
"type": "string",
|
|
245
|
-
"enum": [
|
|
246
|
-
"set",
|
|
247
|
-
"item",
|
|
248
|
-
"unit",
|
|
249
|
-
"hour",
|
|
250
|
-
"day",
|
|
251
|
-
"month",
|
|
252
|
-
"person",
|
|
253
|
-
"person_month",
|
|
254
|
-
"person_day"
|
|
255
|
-
]
|
|
256
|
-
},
|
|
257
|
-
"unit_price": {
|
|
258
|
-
"type": "integer"
|
|
259
|
-
},
|
|
260
|
-
"tax_rate": {
|
|
261
|
-
"type": "string",
|
|
262
|
-
"enum": [
|
|
263
|
-
"10",
|
|
264
|
-
"8",
|
|
265
|
-
"0"
|
|
266
|
-
]
|
|
267
|
-
},
|
|
268
|
-
"delivery_date": {
|
|
269
|
-
"type": [
|
|
270
|
-
"string",
|
|
271
|
-
"null"
|
|
272
|
-
],
|
|
273
|
-
"format": "date-time"
|
|
274
|
-
}
|
|
275
|
-
},
|
|
276
|
-
"required": [
|
|
277
|
-
"item_name",
|
|
278
|
-
"quantity",
|
|
279
|
-
"unit",
|
|
280
|
-
"unit_price",
|
|
281
|
-
"tax_rate"
|
|
282
|
-
]
|
|
283
|
-
},
|
|
284
|
-
"minItems": 1
|
|
285
|
-
},
|
|
286
|
-
"recipients": {
|
|
287
|
-
"type": "array",
|
|
288
|
-
"items": {
|
|
289
|
-
"type": "object",
|
|
290
|
-
"properties": {
|
|
291
|
-
"customer_contact_id": {
|
|
292
|
-
"type": "string",
|
|
293
|
-
"maxLength": 64
|
|
294
|
-
},
|
|
295
|
-
"recipient_type": {
|
|
296
|
-
"type": [
|
|
297
|
-
"string",
|
|
298
|
-
"null"
|
|
299
|
-
],
|
|
300
|
-
"enum": [
|
|
301
|
-
"to",
|
|
302
|
-
"cc",
|
|
303
|
-
null
|
|
304
|
-
]
|
|
305
|
-
}
|
|
306
|
-
},
|
|
307
|
-
"required": [
|
|
308
|
-
"customer_contact_id"
|
|
309
|
-
]
|
|
310
|
-
},
|
|
311
|
-
"maxItems": 50
|
|
312
|
-
}
|
|
313
|
-
},
|
|
314
|
-
"required": [
|
|
315
|
-
"title",
|
|
316
|
-
"project_id",
|
|
317
|
-
"invoice_date",
|
|
318
|
-
"details"
|
|
319
|
-
],
|
|
320
|
-
"title": "InvoiceStoreRequest"
|
|
321
|
-
}
|
|
322
|
-
},
|
|
323
|
-
"resultPath": null,
|
|
324
|
-
"risk": "write",
|
|
325
|
-
"aliases": []
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
"name": "create-payment-link",
|
|
329
|
-
"domain": "invoice",
|
|
330
|
-
"operationId": "invoice.createPaymentLink",
|
|
331
|
-
"method": "POST",
|
|
332
|
-
"path": "/v2/sales/invoices/{id}/create-payment-link",
|
|
333
|
-
"summary": "請求書の支払いリンク生成",
|
|
334
|
-
"pathParams": [
|
|
335
|
-
{
|
|
336
|
-
"name": "id",
|
|
337
|
-
"type": "string",
|
|
338
|
-
"required": true,
|
|
339
|
-
"source": "spec"
|
|
340
|
-
}
|
|
341
|
-
],
|
|
342
|
-
"queryParams": [],
|
|
343
|
-
"body": {
|
|
344
|
-
"schema": {
|
|
345
|
-
"type": "object",
|
|
346
|
-
"properties": {
|
|
347
|
-
"success_url": {
|
|
348
|
-
"type": "string"
|
|
349
|
-
},
|
|
350
|
-
"cancel_url": {
|
|
351
|
-
"type": "string"
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
},
|
|
356
|
-
"resultPath": null,
|
|
357
|
-
"risk": "write",
|
|
358
|
-
"aliases": []
|
|
359
|
-
},
|
|
360
|
-
{
|
|
361
|
-
"name": "delete",
|
|
362
|
-
"domain": "invoice",
|
|
363
|
-
"operationId": "invoice.destroy",
|
|
364
|
-
"method": "DELETE",
|
|
365
|
-
"path": "/v2/sales/invoices/{id}",
|
|
366
|
-
"summary": "請求を削除",
|
|
367
|
-
"pathParams": [
|
|
368
|
-
{
|
|
369
|
-
"name": "id",
|
|
370
|
-
"type": "string",
|
|
371
|
-
"required": true,
|
|
372
|
-
"source": "spec"
|
|
373
|
-
}
|
|
374
|
-
],
|
|
375
|
-
"queryParams": [],
|
|
376
|
-
"body": null,
|
|
377
|
-
"resultPath": null,
|
|
378
|
-
"risk": "destructive",
|
|
379
|
-
"aliases": []
|
|
380
|
-
},
|
|
381
|
-
{
|
|
382
|
-
"name": "export",
|
|
383
|
-
"domain": "invoice",
|
|
384
|
-
"operationId": "invoice.export",
|
|
385
|
-
"method": "GET",
|
|
386
|
-
"path": "/v2/sales/invoices/export",
|
|
387
|
-
"summary": "請求一覧CSV出力",
|
|
388
|
-
"pathParams": [],
|
|
389
|
-
"queryParams": [
|
|
390
|
-
{
|
|
391
|
-
"name": "sort_column",
|
|
392
|
-
"type": "string",
|
|
393
|
-
"required": false,
|
|
394
|
-
"description": "並べ替える列(一覧と同じ)",
|
|
395
|
-
"source": "spec"
|
|
396
|
-
},
|
|
397
|
-
{
|
|
398
|
-
"name": "sort_direction",
|
|
399
|
-
"type": "string",
|
|
400
|
-
"required": false,
|
|
401
|
-
"description": "asc / desc",
|
|
402
|
-
"source": "spec"
|
|
403
|
-
},
|
|
404
|
-
{
|
|
405
|
-
"name": "limit",
|
|
406
|
-
"type": "integer",
|
|
407
|
-
"required": false,
|
|
408
|
-
"description": "1ページあたりの件数",
|
|
409
|
-
"source": "curation"
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
"name": "cursor",
|
|
413
|
-
"type": "string",
|
|
414
|
-
"required": false,
|
|
415
|
-
"description": "次ページの取得に使うカーソル",
|
|
416
|
-
"source": "curation"
|
|
417
|
-
}
|
|
418
|
-
],
|
|
419
|
-
"body": null,
|
|
420
|
-
"resultPath": null,
|
|
421
|
-
"risk": "read",
|
|
422
|
-
"aliases": []
|
|
423
|
-
},
|
|
424
|
-
{
|
|
425
|
-
"name": "export-mf-journal",
|
|
426
|
-
"domain": "invoice",
|
|
427
|
-
"operationId": "invoice.exportMfJournal",
|
|
428
|
-
"method": "GET",
|
|
429
|
-
"path": "/v2/sales/invoices/export-mf-journal",
|
|
430
|
-
"summary": "請求一覧CSV出力(MF会計仕訳形式・企業ごと集約)",
|
|
431
|
-
"pathParams": [],
|
|
432
|
-
"queryParams": [
|
|
433
|
-
{
|
|
434
|
-
"name": "debit_account",
|
|
435
|
-
"type": "string",
|
|
436
|
-
"required": false,
|
|
437
|
-
"description": "借方の勘定科目(既定 売上高)",
|
|
438
|
-
"source": "spec"
|
|
439
|
-
},
|
|
440
|
-
{
|
|
441
|
-
"name": "credit_account",
|
|
442
|
-
"type": "string",
|
|
443
|
-
"required": false,
|
|
444
|
-
"description": "貸方の勘定科目",
|
|
445
|
-
"source": "spec"
|
|
446
|
-
},
|
|
447
|
-
{
|
|
448
|
-
"name": "invoice_date_from",
|
|
449
|
-
"type": "string",
|
|
450
|
-
"required": false,
|
|
451
|
-
"description": "対象とする取引日の起点",
|
|
452
|
-
"source": "spec"
|
|
453
|
-
},
|
|
454
|
-
{
|
|
455
|
-
"name": "limit",
|
|
456
|
-
"type": "integer",
|
|
457
|
-
"required": false,
|
|
458
|
-
"description": "1ページあたりの件数",
|
|
459
|
-
"source": "curation"
|
|
460
|
-
},
|
|
461
|
-
{
|
|
462
|
-
"name": "cursor",
|
|
463
|
-
"type": "string",
|
|
464
|
-
"required": false,
|
|
465
|
-
"description": "次ページの取得に使うカーソル",
|
|
466
|
-
"source": "curation"
|
|
467
|
-
}
|
|
468
|
-
],
|
|
469
|
-
"body": null,
|
|
470
|
-
"resultPath": null,
|
|
471
|
-
"risk": "read",
|
|
472
|
-
"aliases": []
|
|
473
|
-
},
|
|
474
|
-
{
|
|
475
|
-
"name": "get",
|
|
476
|
-
"domain": "invoice",
|
|
477
|
-
"operationId": "invoice.show",
|
|
478
|
-
"method": "GET",
|
|
479
|
-
"path": "/v2/sales/invoices/{id}",
|
|
480
|
-
"summary": "請求詳細取得",
|
|
481
|
-
"pathParams": [
|
|
482
|
-
{
|
|
483
|
-
"name": "id",
|
|
484
|
-
"type": "string",
|
|
485
|
-
"required": true,
|
|
486
|
-
"source": "spec"
|
|
487
|
-
}
|
|
488
|
-
],
|
|
489
|
-
"queryParams": [
|
|
490
|
-
{
|
|
491
|
-
"name": "limit",
|
|
492
|
-
"type": "integer",
|
|
493
|
-
"required": false,
|
|
494
|
-
"description": "1ページあたりの件数",
|
|
495
|
-
"source": "curation"
|
|
496
|
-
},
|
|
497
|
-
{
|
|
498
|
-
"name": "cursor",
|
|
499
|
-
"type": "string",
|
|
500
|
-
"required": false,
|
|
501
|
-
"description": "次ページの取得に使うカーソル",
|
|
502
|
-
"source": "curation"
|
|
503
|
-
}
|
|
504
|
-
],
|
|
505
|
-
"body": null,
|
|
506
|
-
"resultPath": null,
|
|
507
|
-
"risk": "read",
|
|
508
|
-
"aliases": []
|
|
509
|
-
},
|
|
510
|
-
{
|
|
511
|
-
"name": "list",
|
|
512
|
-
"domain": "invoice",
|
|
513
|
-
"operationId": "invoice.index",
|
|
514
|
-
"method": "GET",
|
|
515
|
-
"path": "/v2/sales/invoices",
|
|
516
|
-
"summary": "請求一覧取得",
|
|
517
|
-
"pathParams": [],
|
|
518
|
-
"queryParams": [
|
|
519
|
-
{
|
|
520
|
-
"name": "sort_column",
|
|
521
|
-
"type": "string",
|
|
522
|
-
"required": false,
|
|
523
|
-
"description": "並べ替える列",
|
|
524
|
-
"source": "spec"
|
|
525
|
-
},
|
|
526
|
-
{
|
|
527
|
-
"name": "sort_direction",
|
|
528
|
-
"type": "string",
|
|
529
|
-
"required": false,
|
|
530
|
-
"description": "asc / desc",
|
|
531
|
-
"source": "spec"
|
|
532
|
-
},
|
|
533
|
-
{
|
|
534
|
-
"name": "consolidated_view",
|
|
535
|
-
"type": "boolean",
|
|
536
|
-
"required": false,
|
|
537
|
-
"description": "true で統合請求書の下に統合元の請求書を children として付ける",
|
|
538
|
-
"source": "spec"
|
|
539
|
-
},
|
|
540
|
-
{
|
|
541
|
-
"name": "limit",
|
|
542
|
-
"type": "integer",
|
|
543
|
-
"required": false,
|
|
544
|
-
"description": "1ページあたりの件数",
|
|
545
|
-
"source": "curation"
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
"name": "cursor",
|
|
549
|
-
"type": "string",
|
|
550
|
-
"required": false,
|
|
551
|
-
"description": "次ページの取得に使うカーソル",
|
|
552
|
-
"source": "curation"
|
|
553
|
-
},
|
|
554
|
-
{
|
|
555
|
-
"name": "page_limit",
|
|
556
|
-
"type": "integer",
|
|
557
|
-
"required": false,
|
|
558
|
-
"description": "1ページあたりの件数(既定 20・最大 100。この一覧は limit ではなくこちらを読む)",
|
|
559
|
-
"source": "curation"
|
|
560
|
-
},
|
|
561
|
-
{
|
|
562
|
-
"name": "page_no",
|
|
563
|
-
"type": "integer",
|
|
564
|
-
"required": false,
|
|
565
|
-
"description": "ページ番号(1始まり)",
|
|
566
|
-
"source": "curation"
|
|
567
|
-
}
|
|
568
|
-
],
|
|
569
|
-
"body": null,
|
|
570
|
-
"resultPath": "list",
|
|
571
|
-
"risk": "read",
|
|
572
|
-
"aliases": []
|
|
573
|
-
},
|
|
574
|
-
{
|
|
575
|
-
"name": "send-email",
|
|
576
|
-
"domain": "invoice",
|
|
577
|
-
"operationId": "invoice.sendEmail",
|
|
578
|
-
"method": "POST",
|
|
579
|
-
"path": "/v2/sales/invoices/{id}/send-email",
|
|
580
|
-
"summary": "請求書メール送信",
|
|
581
|
-
"pathParams": [
|
|
582
|
-
{
|
|
583
|
-
"name": "id",
|
|
584
|
-
"type": "string",
|
|
585
|
-
"required": true,
|
|
586
|
-
"source": "spec"
|
|
587
|
-
}
|
|
588
|
-
],
|
|
589
|
-
"queryParams": [],
|
|
590
|
-
"body": {
|
|
591
|
-
"schema": {
|
|
592
|
-
"type": "object",
|
|
593
|
-
"properties": {
|
|
594
|
-
"to": {
|
|
595
|
-
"type": "array",
|
|
596
|
-
"items": {
|
|
597
|
-
"type": "string",
|
|
598
|
-
"format": "email"
|
|
599
|
-
},
|
|
600
|
-
"minItems": 1
|
|
601
|
-
},
|
|
602
|
-
"cc": {
|
|
603
|
-
"type": [
|
|
604
|
-
"array",
|
|
605
|
-
"null"
|
|
606
|
-
],
|
|
607
|
-
"items": {
|
|
608
|
-
"type": [
|
|
609
|
-
"string",
|
|
610
|
-
"null"
|
|
611
|
-
],
|
|
612
|
-
"format": "email"
|
|
613
|
-
}
|
|
614
|
-
},
|
|
615
|
-
"message": {
|
|
616
|
-
"type": [
|
|
617
|
-
"string",
|
|
618
|
-
"null"
|
|
619
|
-
],
|
|
620
|
-
"maxLength": 2000
|
|
621
|
-
}
|
|
622
|
-
},
|
|
623
|
-
"required": [
|
|
624
|
-
"to"
|
|
625
|
-
],
|
|
626
|
-
"title": "InvoiceSendEmailRequest"
|
|
627
|
-
}
|
|
628
|
-
},
|
|
629
|
-
"resultPath": null,
|
|
630
|
-
"risk": "write",
|
|
631
|
-
"aliases": []
|
|
632
|
-
},
|
|
633
|
-
{
|
|
634
|
-
"name": "uncancel",
|
|
635
|
-
"domain": "invoice",
|
|
636
|
-
"operationId": "invoice.uncancel",
|
|
637
|
-
"method": "DELETE",
|
|
638
|
-
"path": "/v2/sales/invoices/{id}/cancel",
|
|
639
|
-
"summary": "請求の取消(無効)を解除する",
|
|
640
|
-
"pathParams": [
|
|
641
|
-
{
|
|
642
|
-
"name": "id",
|
|
643
|
-
"type": "string",
|
|
644
|
-
"required": true,
|
|
645
|
-
"source": "spec"
|
|
646
|
-
}
|
|
647
|
-
],
|
|
648
|
-
"queryParams": [],
|
|
649
|
-
"body": null,
|
|
650
|
-
"resultPath": null,
|
|
651
|
-
"risk": "destructive",
|
|
652
|
-
"aliases": []
|
|
653
|
-
},
|
|
654
|
-
{
|
|
655
|
-
"name": "update",
|
|
656
|
-
"domain": "invoice",
|
|
657
|
-
"operationId": "invoice.update",
|
|
658
|
-
"method": "PUT",
|
|
659
|
-
"path": "/v2/sales/invoices/{id}",
|
|
660
|
-
"summary": "請求更新",
|
|
661
|
-
"pathParams": [
|
|
662
|
-
{
|
|
663
|
-
"name": "id",
|
|
664
|
-
"type": "string",
|
|
665
|
-
"required": true,
|
|
666
|
-
"source": "spec"
|
|
667
|
-
}
|
|
668
|
-
],
|
|
669
|
-
"queryParams": [],
|
|
670
|
-
"body": {
|
|
671
|
-
"schema": {
|
|
672
|
-
"type": "object",
|
|
673
|
-
"properties": {
|
|
674
|
-
"title": {
|
|
675
|
-
"type": "string",
|
|
676
|
-
"maxLength": 500
|
|
677
|
-
},
|
|
678
|
-
"company_id": {
|
|
679
|
-
"type": [
|
|
680
|
-
"integer",
|
|
681
|
-
"null"
|
|
682
|
-
]
|
|
683
|
-
},
|
|
684
|
-
"project_id": {
|
|
685
|
-
"type": [
|
|
686
|
-
"string",
|
|
687
|
-
"null"
|
|
688
|
-
],
|
|
689
|
-
"maxLength": 36
|
|
690
|
-
},
|
|
691
|
-
"invoice_user_id": {
|
|
692
|
-
"type": [
|
|
693
|
-
"string",
|
|
694
|
-
"null"
|
|
695
|
-
],
|
|
696
|
-
"maxLength": 36
|
|
697
|
-
},
|
|
698
|
-
"business_place_id": {
|
|
699
|
-
"type": [
|
|
700
|
-
"integer",
|
|
701
|
-
"null"
|
|
702
|
-
]
|
|
703
|
-
},
|
|
704
|
-
"seal_impression_id": {
|
|
705
|
-
"type": [
|
|
706
|
-
"integer",
|
|
707
|
-
"null"
|
|
708
|
-
]
|
|
709
|
-
},
|
|
710
|
-
"payee_id": {
|
|
711
|
-
"type": [
|
|
712
|
-
"integer",
|
|
713
|
-
"null"
|
|
714
|
-
]
|
|
715
|
-
},
|
|
716
|
-
"status": {
|
|
717
|
-
"type": [
|
|
718
|
-
"string",
|
|
719
|
-
"null"
|
|
720
|
-
],
|
|
721
|
-
"enum": [
|
|
722
|
-
"new",
|
|
723
|
-
"create_completed",
|
|
724
|
-
"in_progress",
|
|
725
|
-
"approved",
|
|
726
|
-
"rejected",
|
|
727
|
-
"submitted",
|
|
728
|
-
"manager_confirmation",
|
|
729
|
-
"invoice_issued",
|
|
730
|
-
"sent_to_client",
|
|
731
|
-
"archived",
|
|
732
|
-
"deleted",
|
|
733
|
-
"lost",
|
|
734
|
-
null
|
|
735
|
-
]
|
|
736
|
-
},
|
|
737
|
-
"invoice_date": {
|
|
738
|
-
"type": "string",
|
|
739
|
-
"format": "date-time"
|
|
740
|
-
},
|
|
741
|
-
"delivery_date": {
|
|
742
|
-
"type": [
|
|
743
|
-
"string",
|
|
744
|
-
"null"
|
|
745
|
-
],
|
|
746
|
-
"format": "date-time"
|
|
747
|
-
},
|
|
748
|
-
"inspection_date": {
|
|
749
|
-
"type": [
|
|
750
|
-
"string",
|
|
751
|
-
"null"
|
|
752
|
-
],
|
|
753
|
-
"format": "date-time"
|
|
754
|
-
},
|
|
755
|
-
"due_date": {
|
|
756
|
-
"type": [
|
|
757
|
-
"string",
|
|
758
|
-
"null"
|
|
759
|
-
],
|
|
760
|
-
"format": "date-time"
|
|
761
|
-
},
|
|
762
|
-
"terms": {
|
|
763
|
-
"type": [
|
|
764
|
-
"string",
|
|
765
|
-
"null"
|
|
766
|
-
]
|
|
767
|
-
},
|
|
768
|
-
"memo": {
|
|
769
|
-
"type": [
|
|
770
|
-
"string",
|
|
771
|
-
"null"
|
|
772
|
-
]
|
|
773
|
-
},
|
|
774
|
-
"internal_memo": {
|
|
775
|
-
"type": [
|
|
776
|
-
"string",
|
|
777
|
-
"null"
|
|
778
|
-
],
|
|
779
|
-
"maxLength": 5000
|
|
780
|
-
},
|
|
781
|
-
"approval_comment": {
|
|
782
|
-
"type": [
|
|
783
|
-
"string",
|
|
784
|
-
"null"
|
|
785
|
-
],
|
|
786
|
-
"maxLength": 1000
|
|
787
|
-
},
|
|
788
|
-
"manage_form_data": {
|
|
789
|
-
"type": [
|
|
790
|
-
"array",
|
|
791
|
-
"null"
|
|
792
|
-
],
|
|
793
|
-
"items": {
|
|
794
|
-
"type": "string"
|
|
795
|
-
}
|
|
796
|
-
},
|
|
797
|
-
"details": {
|
|
798
|
-
"type": "array",
|
|
799
|
-
"items": {
|
|
800
|
-
"type": "object",
|
|
801
|
-
"properties": {
|
|
802
|
-
"item_name": {
|
|
803
|
-
"type": "string",
|
|
804
|
-
"maxLength": 500
|
|
805
|
-
},
|
|
806
|
-
"quantity": {
|
|
807
|
-
"type": "number",
|
|
808
|
-
"minimum": 0
|
|
809
|
-
},
|
|
810
|
-
"unit": {
|
|
811
|
-
"type": "string",
|
|
812
|
-
"enum": [
|
|
813
|
-
"set",
|
|
814
|
-
"item",
|
|
815
|
-
"unit",
|
|
816
|
-
"hour",
|
|
817
|
-
"day",
|
|
818
|
-
"month",
|
|
819
|
-
"person",
|
|
820
|
-
"person_month",
|
|
821
|
-
"person_day"
|
|
822
|
-
]
|
|
823
|
-
},
|
|
824
|
-
"unit_price": {
|
|
825
|
-
"type": "integer"
|
|
826
|
-
},
|
|
827
|
-
"tax_rate": {
|
|
828
|
-
"type": "string",
|
|
829
|
-
"enum": [
|
|
830
|
-
"10",
|
|
831
|
-
"8",
|
|
832
|
-
"0"
|
|
833
|
-
]
|
|
834
|
-
},
|
|
835
|
-
"delivery_date": {
|
|
836
|
-
"type": [
|
|
837
|
-
"string",
|
|
838
|
-
"null"
|
|
839
|
-
],
|
|
840
|
-
"format": "date-time"
|
|
841
|
-
}
|
|
842
|
-
}
|
|
843
|
-
},
|
|
844
|
-
"minItems": 1
|
|
845
|
-
},
|
|
846
|
-
"recipients": {
|
|
847
|
-
"type": "array",
|
|
848
|
-
"items": {
|
|
849
|
-
"type": "object",
|
|
850
|
-
"properties": {
|
|
851
|
-
"customer_contact_id": {
|
|
852
|
-
"type": "string",
|
|
853
|
-
"maxLength": 64
|
|
854
|
-
},
|
|
855
|
-
"recipient_type": {
|
|
856
|
-
"type": [
|
|
857
|
-
"string",
|
|
858
|
-
"null"
|
|
859
|
-
],
|
|
860
|
-
"enum": [
|
|
861
|
-
"to",
|
|
862
|
-
"cc",
|
|
863
|
-
null
|
|
864
|
-
]
|
|
865
|
-
}
|
|
866
|
-
},
|
|
867
|
-
"required": [
|
|
868
|
-
"customer_contact_id"
|
|
869
|
-
]
|
|
870
|
-
},
|
|
871
|
-
"maxItems": 50
|
|
872
|
-
}
|
|
873
|
-
},
|
|
874
|
-
"title": "InvoiceUpdateRequest"
|
|
875
|
-
}
|
|
876
|
-
},
|
|
877
|
-
"resultPath": null,
|
|
878
|
-
"risk": "write",
|
|
879
|
-
"aliases": []
|
|
880
|
-
},
|
|
881
|
-
{
|
|
882
|
-
"name": "update-internal-memo",
|
|
883
|
-
"domain": "invoice",
|
|
884
|
-
"operationId": "invoice.updateInternalMemo",
|
|
885
|
-
"method": "PATCH",
|
|
886
|
-
"path": "/v2/sales/invoices/{id}/internal-memo",
|
|
887
|
-
"summary": "請求の社内共有メモを更新する",
|
|
888
|
-
"pathParams": [
|
|
889
|
-
{
|
|
890
|
-
"name": "id",
|
|
891
|
-
"type": "string",
|
|
892
|
-
"required": true,
|
|
893
|
-
"source": "spec"
|
|
894
|
-
}
|
|
895
|
-
],
|
|
896
|
-
"queryParams": [],
|
|
897
|
-
"body": {
|
|
898
|
-
"schema": {
|
|
899
|
-
"type": "object",
|
|
900
|
-
"properties": {
|
|
901
|
-
"internal_memo": {
|
|
902
|
-
"type": [
|
|
903
|
-
"string",
|
|
904
|
-
"null"
|
|
905
|
-
],
|
|
906
|
-
"maxLength": 5000
|
|
907
|
-
}
|
|
908
|
-
},
|
|
909
|
-
"required": [
|
|
910
|
-
"internal_memo"
|
|
911
|
-
]
|
|
912
|
-
}
|
|
913
|
-
},
|
|
914
|
-
"resultPath": null,
|
|
915
|
-
"risk": "write",
|
|
916
|
-
"aliases": []
|
|
917
|
-
}
|
|
4
|
+
{"name":"cancel","domain":"invoice","operationId":"invoice.cancel","method":"POST","path":"/v2/sales/invoices/{id}/cancel","summary":"請求を取消(無効)にする","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"cancel_reason":{"type":"string","maxLength":1000}},"required":["cancel_reason"]}},"resultPath":null,"risk":"write","aliases":[]},
|
|
5
|
+
{"name":"consolidate","domain":"invoice","operationId":"invoice.consolidate","method":"POST","path":"/v2/sales/invoices/consolidate","summary":"統合請求書作成(同一取引先の複数請求を1枚に統合)","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"invoice_ids":{"type":"array","items":{"type":"integer"},"minItems":2},"title":{"type":["string","null"],"maxLength":500}},"required":["invoice_ids"]}},"resultPath":null,"risk":"write","aliases":[]},
|
|
6
|
+
{"name":"create","domain":"invoice","operationId":"invoice.store","method":"POST","path":"/v2/sales/invoices","summary":"請求作成","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"direct_create":{"type":["boolean","null"]},"estimate_format_id":{"type":["integer","null"]},"contract_id":{"type":["integer","null"]},"estimate_id":{"type":["integer","null"]},"invoice_no_rule_id":{"type":["integer","null"]},"title":{"type":"string","maxLength":500},"company_id":{"type":["integer","null"]},"project_id":{"type":"string","maxLength":36},"invoice_user_id":{"type":["string","null"],"maxLength":36},"business_place_id":{"type":["integer","null"]},"seal_impression_id":{"type":["integer","null"]},"payee_id":{"type":["integer","null"]},"status":{"type":["string","null"],"enum":["new","create_completed","in_progress","approved","rejected","submitted","manager_confirmation","invoice_issued","sent_to_client","archived","deleted",null]},"invoice_date":{"type":"string","format":"date-time"},"delivery_date":{"type":["string","null"],"format":"date-time"},"inspection_date":{"type":["string","null"],"format":"date-time"},"due_date":{"type":["string","null"],"format":"date-time"},"terms":{"type":["string","null"]},"memo":{"type":["string","null"]},"internal_memo":{"type":["string","null"],"maxLength":5000},"manage_form_data":{"type":["array","null"],"items":{"type":"string"}},"details":{"type":"array","items":{"type":"object","properties":{"item_name":{"type":"string","maxLength":500},"quantity":{"type":"number","minimum":0},"unit":{"type":"string","enum":["set","item","unit","hour","day","month","person","person_month","person_day"]},"unit_price":{"type":"integer"},"tax_rate":{"type":"string","enum":["10","8","0"]},"delivery_date":{"type":["string","null"],"format":"date-time"}},"required":["item_name","quantity","unit","unit_price","tax_rate"]},"minItems":1},"recipients":{"type":"array","items":{"type":"object","properties":{"customer_contact_id":{"type":"string","maxLength":64},"recipient_type":{"type":["string","null"],"enum":["to","cc",null]}},"required":["customer_contact_id"]},"maxItems":50}},"required":["title","project_id","invoice_date","details"],"title":"InvoiceStoreRequest"}},"resultPath":null,"risk":"write","aliases":[]},
|
|
7
|
+
{"name":"create-payment-link","domain":"invoice","operationId":"invoice.createPaymentLink","method":"POST","path":"/v2/sales/invoices/{id}/create-payment-link","summary":"請求書の支払いリンク生成","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"success_url":{"type":"string"},"cancel_url":{"type":"string"}}}},"resultPath":null,"risk":"write","aliases":[]},
|
|
8
|
+
{"name":"delete","domain":"invoice","operationId":"invoice.destroy","method":"DELETE","path":"/v2/sales/invoices/{id}","summary":"請求を削除","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"destructive","aliases":[]},
|
|
9
|
+
{"name":"export","domain":"invoice","operationId":"invoice.export","method":"GET","path":"/v2/sales/invoices/export","summary":"請求一覧CSV出力","pathParams":[],"queryParams":[{"name":"sort_column","type":"string","required":false,"description":"並べ替える列(一覧と同じ)","source":"spec"},{"name":"sort_direction","type":"string","required":false,"description":"asc / desc","source":"spec"},{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"},{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"}],"body":null,"resultPath":null,"risk":"read","aliases":[]},
|
|
10
|
+
{"name":"export-mf-journal","domain":"invoice","operationId":"invoice.exportMfJournal","method":"GET","path":"/v2/sales/invoices/export-mf-journal","summary":"請求一覧CSV出力(MF会計仕訳形式・企業ごと集約)","pathParams":[],"queryParams":[{"name":"debit_account","type":"string","required":false,"description":"借方の勘定科目(既定 売上高)","source":"spec"},{"name":"credit_account","type":"string","required":false,"description":"貸方の勘定科目","source":"spec"},{"name":"invoice_date_from","type":"string","required":false,"description":"対象とする取引日の起点","source":"spec"},{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"},{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"}],"body":null,"resultPath":null,"risk":"read","aliases":[]},
|
|
11
|
+
{"name":"get","domain":"invoice","operationId":"invoice.show","method":"GET","path":"/v2/sales/invoices/{id}","summary":"請求詳細取得","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"},{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"}],"body":null,"resultPath":null,"risk":"read","aliases":[]},
|
|
12
|
+
{"name":"list","domain":"invoice","operationId":"invoice.index","method":"GET","path":"/v2/sales/invoices","summary":"請求一覧取得","pathParams":[],"queryParams":[{"name":"sort_column","type":"string","required":false,"description":"並べ替える列","source":"spec"},{"name":"sort_direction","type":"string","required":false,"description":"asc / desc","source":"spec"},{"name":"consolidated_view","type":"boolean","required":false,"description":"true で統合請求書の下に統合元の請求書を children として付ける","source":"spec"},{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"},{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"},{"name":"page_limit","type":"integer","required":false,"description":"1ページあたりの件数(既定 20・最大 100。この一覧は limit ではなくこちらを読む)","source":"curation"},{"name":"page_no","type":"integer","required":false,"description":"ページ番号(1始まり)","source":"curation"}],"body":null,"resultPath":"list","risk":"read","aliases":[]},
|
|
13
|
+
{"name":"send-email","domain":"invoice","operationId":"invoice.sendEmail","method":"POST","path":"/v2/sales/invoices/{id}/send-email","summary":"請求書メール送信","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"to":{"type":"array","items":{"type":"string","format":"email"},"minItems":1},"cc":{"type":["array","null"],"items":{"type":["string","null"],"format":"email"}},"message":{"type":["string","null"],"maxLength":2000}},"required":["to"],"title":"InvoiceSendEmailRequest"}},"resultPath":null,"risk":"write","aliases":[]},
|
|
14
|
+
{"name":"uncancel","domain":"invoice","operationId":"invoice.uncancel","method":"DELETE","path":"/v2/sales/invoices/{id}/cancel","summary":"請求の取消(無効)を解除する","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"destructive","aliases":[]},
|
|
15
|
+
{"name":"update","domain":"invoice","operationId":"invoice.update","method":"PUT","path":"/v2/sales/invoices/{id}","summary":"請求更新","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"title":{"type":"string","maxLength":500},"company_id":{"type":["integer","null"]},"project_id":{"type":["string","null"],"maxLength":36},"invoice_user_id":{"type":["string","null"],"maxLength":36},"business_place_id":{"type":["integer","null"]},"seal_impression_id":{"type":["integer","null"]},"payee_id":{"type":["integer","null"]},"status":{"type":["string","null"],"enum":["new","create_completed","in_progress","approved","rejected","submitted","manager_confirmation","invoice_issued","sent_to_client","archived","deleted","lost",null]},"invoice_date":{"type":"string","format":"date-time"},"delivery_date":{"type":["string","null"],"format":"date-time"},"inspection_date":{"type":["string","null"],"format":"date-time"},"due_date":{"type":["string","null"],"format":"date-time"},"terms":{"type":["string","null"]},"memo":{"type":["string","null"]},"internal_memo":{"type":["string","null"],"maxLength":5000},"approval_comment":{"type":["string","null"],"maxLength":1000},"manage_form_data":{"type":["array","null"],"items":{"type":"string"}},"details":{"type":"array","items":{"type":"object","properties":{"item_name":{"type":"string","maxLength":500},"quantity":{"type":"number","minimum":0},"unit":{"type":"string","enum":["set","item","unit","hour","day","month","person","person_month","person_day"]},"unit_price":{"type":"integer"},"tax_rate":{"type":"string","enum":["10","8","0"]},"delivery_date":{"type":["string","null"],"format":"date-time"}}},"minItems":1},"recipients":{"type":"array","items":{"type":"object","properties":{"customer_contact_id":{"type":"string","maxLength":64},"recipient_type":{"type":["string","null"],"enum":["to","cc",null]}},"required":["customer_contact_id"]},"maxItems":50}},"title":"InvoiceUpdateRequest"}},"resultPath":null,"risk":"write","aliases":[]},
|
|
16
|
+
{"name":"update-internal-memo","domain":"invoice","operationId":"invoice.updateInternalMemo","method":"PATCH","path":"/v2/sales/invoices/{id}/internal-memo","summary":"請求の社内共有メモを更新する","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"internal_memo":{"type":["string","null"],"maxLength":5000}},"required":["internal_memo"]}},"resultPath":null,"risk":"write","aliases":[]}
|
|
918
17
|
]
|
|
919
18
|
}
|