Skip to content

Commit f379528

Browse files
author
Yusuke Suematsu
committed
update schema
1 parent 86512c5 commit f379528

File tree

3 files changed

+85
-47
lines changed

3 files changed

+85
-47
lines changed

_sdk_compatible/open-api-3/api-schema.json

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16808,7 +16808,7 @@
1680816808
"format": "int64",
1680916809
"minimum": -9223372036854775808,
1681016810
"maximum": 9223372036854775807,
16811-
"description": "取引金額(税込で指定してください)",
16811+
"description": "取引金額(税込で指定してください)<br>\nマイナスの値を指定した場合、控除・マイナス行として登録されます。<br>\n上記以外の値を指定した場合、通常行として登録されます。\n",
1681216812
"example": 1
1681316813
},
1681416814
"item_id": {
@@ -17019,7 +17019,7 @@
1701917019
"format": "int64",
1702017020
"minimum": -9223372036854775808,
1702117021
"maximum": 9223372036854775807,
17022-
"description": "取引金額(税込で指定してください)",
17022+
"description": "取引金額(税込で指定してください)<br>\nマイナスの値を指定した場合、控除・マイナス行として登録されます。<br>\n上記以外の値を指定した場合、通常行として登録されます。\n",
1702317023
"example": 1
1702417024
},
1702517025
"item_id": {
@@ -29105,7 +29105,7 @@
2910529105
"type": "integer",
2910629106
"minimum": 1,
2910729107
"maximum": 2147483647,
29108-
"description": "決済口座のデフォルト",
29108+
"description": "デフォルトの決済口座が紐づく勘定科目ID",
2910929109
"example": 1
2911029110
},
2911129111
"private_settlement": {
@@ -29153,7 +29153,8 @@
2915329153
"zipcode": {
2915429154
"type": "string",
2915529155
"description": "郵便番号",
29156-
"example": "000-0000"
29156+
"example": "000-0000",
29157+
"nullable": true
2915729158
},
2915829159
"prefecture_code": {
2915929160
"type": "integer",
@@ -29166,12 +29167,14 @@
2916629167
"street_name1": {
2916729168
"type": "string",
2916829169
"description": "市区町村・番地",
29169-
"example": "XX区YY1−1−1"
29170+
"example": "XX区YY1−1−1",
29171+
"nullable": true
2917029172
},
2917129173
"street_name2": {
2917229174
"type": "string",
2917329175
"description": "建物名・部屋番号など",
29174-
"example": "ビル1F"
29176+
"example": "ビル1F",
29177+
"nullable": true
2917529178
},
2917629179
"invoice_layout": {
2917729180
"type": "string",
@@ -29195,9 +29198,15 @@
2919529198
"description": "金額端数処理方法(0: 切り捨て、1: 切り上げ、2: 四捨五入)",
2919629199
"example": 0
2919729200
},
29201+
"use_partner_code": {
29202+
"type": "boolean",
29203+
"description": "取引先コードの利用設定(true: 有効、 false: 無効)",
29204+
"example": true
29205+
},
2919829206
"industry_class": {
2919929207
"type": "string",
29200-
"description": "種別(agriculture_forestry_fisheries_ore: 農林水産業/鉱業、construction: 建設、manufacturing_processing: 製造/加工、it: IT、transportation_logistics: 運輸/物流、retail_wholesale: 小売/卸売、finance_insurance: 金融/保険、real_estate_rental: 不動産/レンタル、profession: 士業/学術/専門技術サービス、design_production: デザイン/制作、food: 飲食、leisure_entertainment: レジャー/娯楽、lifestyle: 生活関連サービス、education: 教育/学習支援、medical_welfare: 医療/福祉、other_services: その他サービス、other: その他, \"\": 未選択)",
29208+
"nullable": true,
29209+
"description": "種別(agriculture_forestry_fisheries_ore: 農林水産業/鉱業,construction: 建設,manufacturing_processing: 製造/加工,it: IT,transportation_logistics: 運輸/物流,retail_wholesale: 小売/卸売,finance_insurance: 金融/保険,real_estate_rental: 不動産/レンタル,profession: 士業/学術/専門技術サービス,design_production: デザイン/制作,food: 飲食,leisure_entertainment: レジャー/娯楽,lifestyle: 生活関連サービス,education: 教育/学習支援,medical_welfare: 医療/福祉,other_services: その他サービス,other_association: NPO、一般社団法人等,other: その他, \"\": 未選択)",
2920129210
"example": "agriculture_forestry_fisheries_ore",
2920229211
"enum": [
2920329212
"agriculture_forestry_fisheries_ore",
@@ -29216,6 +29225,7 @@
2921629225
"education",
2921729226
"medical_welfare",
2921829227
"other_services",
29228+
"other_association",
2921929229
"other",
2922029230
""
2922129231
]
@@ -29365,11 +29375,6 @@
2936529375
"disable"
2936629376
]
2936729377
},
29368-
"use_partner_code": {
29369-
"type": "boolean",
29370-
"description": "取引先コードの利用設定(true: 有効、 false: 無効)",
29371-
"example": true
29372-
},
2937329378
"fiscal_years": {
2937429379
"type": "array",
2937529380
"items": {
@@ -29489,7 +29494,6 @@
2948929494
"type": "object",
2949029495
"required": [
2949129496
"id",
29492-
"code",
2949329497
"name"
2949429498
],
2949529499
"properties": {
@@ -33046,7 +33050,7 @@
3304633050
"format": "int64",
3304733051
"minimum": -9223372036854775808,
3304833052
"maximum": 9223372036854775807,
33049-
"description": "取引金額(税込で指定してください)",
33053+
"description": "取引金額(税込で指定してください)<br>\nマイナスの値を指定した場合、控除・マイナス行として登録されます。<br>\n上記以外の値を指定した場合、通常行として登録されます。\n",
3305033054
"example": 1080
3305133055
},
3305233056
"vat": {
@@ -33169,7 +33173,7 @@
3316933173
"format": "int64",
3317033174
"minimum": -9223372036854775808,
3317133175
"maximum": 9223372036854775807,
33172-
"description": "取引金額(税込で指定してください)",
33176+
"description": "取引金額(税込で指定してください)<br>\nマイナスの値を指定した場合、控除・マイナス行として登録されます。<br>\n上記以外の値を指定した場合、通常行として登録されます。\n",
3317333177
"example": 1080
3317433178
},
3317533179
"vat": {
@@ -34553,7 +34557,7 @@
3455334557
},
3455434558
"total_vat": {
3455534559
"type": "integer",
34556-
"description": "合計金額",
34560+
"description": "消費税",
3455734561
"example": 8000
3455834562
},
3455934563
"sub_total": {
@@ -35134,7 +35138,7 @@
3513435138
},
3513535139
"total_vat": {
3513635140
"type": "integer",
35137-
"description": "合計金額",
35141+
"description": "消費税",
3513835142
"example": 8000
3513935143
},
3514035144
"sub_total": {

_sdk_compatible/open-api-3/api-schema.yml

Lines changed: 31 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12999,7 +12999,7 @@ components:
1299912999
example: '1234567890123'
1300013000
type: string
1300113001
default_wallet_account_id:
13002-
description: 決済口座のデフォルト
13002+
description: デフォルトの決済口座が紐づく勘定科目ID
1300313003
example: 1
1300413004
maximum: 2147483647
1300513005
minimum: 1
@@ -13032,12 +13032,13 @@ components:
1303213032
minimum: 1
1303313033
type: integer
1303413034
industry_class:
13035-
description: '種別(agriculture_forestry_fisheries_ore: 農林水産業/鉱業、construction:
13036-
建設、manufacturing_processing: 製造/加工、it: IT、transportation_logistics:
13037-
運輸/物流、retail_wholesale: 小売/卸売、finance_insurance: 金融/保険、real_estate_rental:
13038-
不動産/レンタル、profession: 士業/学術/専門技術サービス、design_production: デザイン/制作、food:
13039-
飲食、leisure_entertainment: レジャー/娯楽、lifestyle: 生活関連サービス、education: 教育/学習支援、medical_welfare:
13040-
医療/福祉、other_services: その他サービス、other: その他, "": 未選択)'
13035+
description: '種別(agriculture_forestry_fisheries_ore: 農林水産業/鉱業,construction:
13036+
建設,manufacturing_processing: 製造/加工,it: IT,transportation_logistics:
13037+
運輸/物流,retail_wholesale: 小売/卸売,finance_insurance: 金融/保険,real_estate_rental:
13038+
不動産/レンタル,profession: 士業/学術/専門技術サービス,design_production: デザイン/制作,food:
13039+
飲食,leisure_entertainment: レジャー/娯楽,lifestyle: 生活関連サービス,education: 教育/学習支援,medical_welfare:
13040+
医療/福祉,other_services: その他サービス,other_association: NPO、一般社団法人等,other:
13041+
その他, "": 未選択)'
1304113042
enum:
1304213043
- agriculture_forestry_fisheries_ore
1304313044
- construction
@@ -13055,9 +13056,11 @@ components:
1305513056
- education
1305613057
- medical_welfare
1305713058
- other_services
13059+
- other_association
1305813060
- other
1305913061
- ''
1306013062
example: agriculture_forestry_fisheries_ore
13063+
nullable: true
1306113064
type: string
1306213065
industry_code:
1306313066
description: |-
@@ -13437,7 +13440,6 @@ components:
1343713440
type: string
1343813441
required:
1343913442
- id
13440-
- code
1344113443
- name
1344213444
type: object
1344313445
type: array
@@ -13506,10 +13508,12 @@ components:
1350613508
street_name1:
1350713509
description: 市区町村・番地
1350813510
example: XX区YY1−1−1
13511+
nullable: true
1350913512
type: string
1351013513
street_name2:
1351113514
description: 建物名・部屋番号など
1351213515
example: ビル1F
13516+
nullable: true
1351313517
type: string
1351413518
tax_at_source_calc_type:
1351513519
description: '源泉徴収税計算(0: 消費税を含める、1: 消費税を含めない)'
@@ -13591,6 +13595,7 @@ components:
1359113595
zipcode:
1359213596
description: 郵便番号
1359313597
example: 000-0000
13598+
nullable: true
1359413599
type: string
1359513600
required:
1359613601
- amount_fraction
@@ -14114,7 +14119,10 @@ components:
1411414119
minimum: 1
1411514120
type: integer
1411614121
amount:
14117-
description: 取引金額(税込で指定してください)
14122+
description: |
14123+
取引金額(税込で指定してください)<br>
14124+
マイナスの値を指定した場合、控除・マイナス行として登録されます。<br>
14125+
上記以外の値を指定した場合、通常行として登録されます。
1411814126
example: 1
1411914127
format: int64
1412014128
maximum: 9223372036854775807
@@ -14611,7 +14619,10 @@ components:
1461114619
minimum: 1
1461214620
type: integer
1461314621
amount:
14614-
description: 取引金額(税込で指定してください)
14622+
description: |
14623+
取引金額(税込で指定してください)<br>
14624+
マイナスの値を指定した場合、控除・マイナス行として登録されます。<br>
14625+
上記以外の値を指定した場合、通常行として登録されます。
1461514626
example: 1
1461614627
format: int64
1461714628
maximum: 9223372036854775807
@@ -16576,7 +16587,7 @@ components:
1657616587
- vat_8
1657716588
type: object
1657816589
total_vat:
16579-
description: 合計金額
16590+
description: 消費税
1658016591
example: 8000
1658116592
type: integer
1658216593
web_confirmed_at:
@@ -17108,7 +17119,7 @@ components:
1710817119
- vat_8
1710917120
type: object
1711017121
total_vat:
17111-
description: 合計金額
17122+
description: 消費税
1711217123
example: 8000
1711317124
type: integer
1711417125
web_confirmed_at:
@@ -22141,7 +22152,10 @@ components:
2214122152
minimum: 1
2214222153
type: integer
2214322154
amount:
22144-
description: 取引金額(税込で指定してください)
22155+
description: |
22156+
取引金額(税込で指定してください)<br>
22157+
マイナスの値を指定した場合、控除・マイナス行として登録されます。<br>
22158+
上記以外の値を指定した場合、通常行として登録されます。
2214522159
example: 1080
2214622160
format: int64
2214722161
maximum: 9223372036854775807
@@ -22250,7 +22264,10 @@ components:
2225022264
minimum: 1
2225122265
type: integer
2225222266
amount:
22253-
description: 取引金額(税込で指定してください)
22267+
description: |
22268+
取引金額(税込で指定してください)<br>
22269+
マイナスの値を指定した場合、控除・マイナス行として登録されます。<br>
22270+
上記以外の値を指定した場合、通常行として登録されます。
2225422271
example: 1080
2225522272
format: int64
2225622273
maximum: 9223372036854775807

0 commit comments

Comments
 (0)