Skip to content

Commit

Permalink
Merge pull request #287 from freee/feature/update-schema
Browse files Browse the repository at this point in the history
Update schema files
  • Loading branch information
deraru authored Mar 30, 2023
2 parents 8e11cd9 + 1dd42ef commit 728c352
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 27 deletions.
18 changes: 8 additions & 10 deletions _sdk_compatible/open-api-3/api-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -19416,22 +19416,21 @@
},
"qualified_invoice": {
"type": "string",
"description": "この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。\n適格請求書等(qualified: 該当する、not_qualified: 該当しない)\n",
"description": "この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。\n適格請求書等(qualified: 該当する、not_qualified: 該当しない、unselected: 未選択)\n",
"enum": [
"qualified",
"not_qualified"
"not_qualified",
"unselected"
],
"example": "qualified",
"nullable": true
"example": "qualified"
},
"invoice_registration_number": {
"type": "string",
"maxLength": 14,
"minLength": 13,
"pattern": "^T?[1-9][0-9]{12}$",
"description": "この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。\nインボイス制度適格請求書発行事業者登録番号\n- 先頭T数字13桁の固定14桁の文字列\n<a target=\"_blank\" href=\"https://www.invoice-kohyo.nta.go.jp/index.html\">国税庁インボイス制度適格請求書発行事業者公表サイト</a>\n",
"example": "T1000000000001",
"nullable": true
"example": "T1000000000001"
},
"document_type": {
"type": "string",
Expand All @@ -19441,8 +19440,7 @@
"invoice",
"other"
],
"example": "receipt",
"nullable": true
"example": "receipt"
}
}
},
Expand Down Expand Up @@ -31997,7 +31995,7 @@
},
"purchase_lines": {
"type": "array",
"description": "この項目はインボイス制度で利用する項目です。2023年4月上旬から利用できる予定です。利用可能となる前に予告なく変更がある場合があります。<br>\n経費申請の申請行一覧(配列)\n",
"description": "この項目はインボイス制度で利用する項目です。2023年4月下旬から利用できる予定です。利用可能となる前に予告なく変更がある場合があります。<br>\n経費申請の申請行一覧(配列)\n",
"items": {
"type": "object",
"required": [
Expand Down Expand Up @@ -32291,7 +32289,7 @@
},
"purchase_lines": {
"type": "array",
"description": "この項目はインボイス制度で利用する項目です。2023年4月上旬から利用できる予定です。利用可能となる前に予告なく変更がある場合があります。<br>\n経費申請の申請行一覧(配列)\n",
"description": "この項目はインボイス制度で利用する項目です。2023年4月下旬から利用できる予定です。利用可能となる前に予告なく変更がある場合があります。<br>\n経費申請の申請行一覧(配列)\n",
"items": {
"type": "object",
"required": [
Expand Down
10 changes: 4 additions & 6 deletions _sdk_compatible/open-api-3/api-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15405,7 +15405,7 @@ components:
type: string
purchase_lines:
description: |
この項目はインボイス制度で利用する項目です。2023年4月上旬から利用できる予定です。利用可能となる前に予告なく変更がある場合があります。<br>
この項目はインボイス制度で利用する項目です。2023年4月下旬から利用できる予定です。利用可能となる前に予告なく変更がある場合があります。<br>
経費申請の申請行一覧(配列)
items:
properties:
Expand Down Expand Up @@ -15856,7 +15856,7 @@ components:
type: string
purchase_lines:
description: |
この項目はインボイス制度で利用する項目です。2023年4月上旬から利用できる予定です。利用可能となる前に予告なく変更がある場合があります。<br>
この項目はインボイス制度で利用する項目です。2023年4月下旬から利用できる予定です。利用可能となる前に予告なく変更がある場合があります。<br>
経費申請の申請行一覧(配列)
items:
properties:
Expand Down Expand Up @@ -22701,7 +22701,6 @@ components:
- invoice
- other
example: receipt
nullable: true
type: string
invoice_registration_number:
description: |
Expand All @@ -22712,7 +22711,6 @@ components:
example: T1000000000001
maxLength: 14
minLength: 13
nullable: true
pattern: "^T?[1-9][0-9]{12}$"
type: string
issue_date:
Expand All @@ -22722,12 +22720,12 @@ components:
qualified_invoice:
description: |
この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。
適格請求書等(qualified: 該当する、not_qualified: 該当しない)
適格請求書等(qualified: 該当する、not_qualified: 該当しない、unselected: 未選択
enum:
- qualified
- not_qualified
- unselected
example: qualified
nullable: true
type: string
receipt_metadatum:
properties:
Expand Down
20 changes: 9 additions & 11 deletions v2020_06_15/open-api-3/api-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3476,7 +3476,7 @@ paths:

<pre>
<code>インボイス制度の対応にともない明細行のデータ構造が変更されます。<br>
新しいデータ構造は2023年4月上旬から利用できる予定です。利用するにはリクエストヘッダーに以下を指定します。
新しいデータ構造は2023年4月下旬から利用できる予定です。利用するにはリクエストヘッダーに以下を指定します。
Expense-Application-Mode: purchase-lines<br>
指定がない場合は従来のデータ構造を利用することとなります。<br>
詳細は、<a href="https://developer.freee.co.jp/news/6369#2-%e7%b5%8c%e8%b2%bb%e7%b2%be%e7%ae%97api%e3%81%ae%e4%bb%95%e6%a7%98%e5%a4%89%e6%9b%b4%ef%bc%88%e7%a0%b4%e5%a3%8a%e7%9a%84%e5%a4%89%e6%9b%b4%ef%bc%89" target="_blank">お知らせ</a>をご覧ください。</code>
Expand Down Expand Up @@ -3566,7 +3566,7 @@ paths:

<pre>
<code>インボイス制度の対応にともない明細行のデータ構造が変更されます。<br>
新しいデータ構造は2023年4月上旬から利用できる予定です。利用するにはリクエストヘッダーに以下を指定します。
新しいデータ構造は2023年4月下旬から利用できる予定です。利用するにはリクエストヘッダーに以下を指定します。
Expense-Application-Mode: purchase-lines<br>
指定がない場合は従来のデータ構造を利用することとなります。<br>
詳細は、<a href="https://developer.freee.co.jp/news/6369#2-%e7%b5%8c%e8%b2%bb%e7%b2%be%e7%ae%97api%e3%81%ae%e4%bb%95%e6%a7%98%e5%a4%89%e6%9b%b4%ef%bc%88%e7%a0%b4%e5%a3%8a%e7%9a%84%e5%a4%89%e6%9b%b4%ef%bc%89" target="_blank">お知らせ</a>をご覧ください。</code>
Expand Down Expand Up @@ -3760,7 +3760,7 @@ paths:

<pre>
<code>インボイス制度の対応にともない明細行のデータ構造が変更されます。<br>
新しいデータ構造は2023年4月上旬から利用できる予定です。利用するにはリクエストヘッダーに以下を指定します。
新しいデータ構造は2023年4月下旬から利用できる予定です。利用するにはリクエストヘッダーに以下を指定します。
Expense-Application-Mode: purchase-lines<br>
指定がない場合は従来のデータ構造を利用することとなります。<br>
詳細は、<a href="https://developer.freee.co.jp/news/6369#2-%e7%b5%8c%e8%b2%bb%e7%b2%be%e7%ae%97api%e3%81%ae%e4%bb%95%e6%a7%98%e5%a4%89%e6%9b%b4%ef%bc%88%e7%a0%b4%e5%a3%8a%e7%9a%84%e5%a4%89%e6%9b%b4%ef%bc%89" target="_blank">お知らせ</a>をご覧ください。</code>
Expand Down Expand Up @@ -3867,7 +3867,7 @@ paths:

<pre>
<code>インボイス制度の対応にともない明細行のデータ構造が変更されます。<br>
新しいデータ構造は2023年4月上旬から利用できる予定です。利用するにはリクエストヘッダーに以下を指定します。
新しいデータ構造は2023年4月下旬から利用できる予定です。利用するにはリクエストヘッダーに以下を指定します。
Expense-Application-Mode: purchase-lines<br>
指定がない場合は従来のデータ構造を利用することとなります。<br>
詳細は、<a href="https://developer.freee.co.jp/news/6369#2-%e7%b5%8c%e8%b2%bb%e7%b2%be%e7%ae%97api%e3%81%ae%e4%bb%95%e6%a7%98%e5%a4%89%e6%9b%b4%ef%bc%88%e7%a0%b4%e5%a3%8a%e7%9a%84%e5%a4%89%e6%9b%b4%ef%bc%89" target="_blank">お知らせ</a>をご覧ください。</code>
Expand Down Expand Up @@ -3983,7 +3983,7 @@ paths:

<pre>
<code>インボイス制度の対応にともない明細行のデータ構造が変更されます。<br>
新しいデータ構造は2023年4月上旬から利用できる予定です。利用するにはリクエストヘッダーに以下を指定します。
新しいデータ構造は2023年4月下旬から利用できる予定です。利用するにはリクエストヘッダーに以下を指定します。
Expense-Application-Mode: purchase-lines<br>
指定がない場合は従来のデータ構造を利用することとなります。<br>
詳細は、<a href="https://developer.freee.co.jp/news/6369#2-%e7%b5%8c%e8%b2%bb%e7%b2%be%e7%ae%97api%e3%81%ae%e4%bb%95%e6%a7%98%e5%a4%89%e6%9b%b4%ef%bc%88%e7%a0%b4%e5%a3%8a%e7%9a%84%e5%a4%89%e6%9b%b4%ef%bc%89" target="_blank">お知らせ</a>をご覧ください。</code>
Expand Down Expand Up @@ -19092,7 +19092,7 @@ components:
type: string
purchase_lines:
description: |
この項目はインボイス制度で利用する項目です。2023年4月上旬から利用できる予定です。利用可能となる前に予告なく変更がある場合があります。<br>
この項目はインボイス制度で利用する項目です。2023年4月下旬から利用できる予定です。利用可能となる前に予告なく変更がある場合があります。<br>
経費申請の申請行一覧(配列)
items:
properties:
Expand Down Expand Up @@ -19543,7 +19543,7 @@ components:
type: string
purchase_lines:
description: |
この項目はインボイス制度で利用する項目です。2023年4月上旬から利用できる予定です。利用可能となる前に予告なく変更がある場合があります。<br>
この項目はインボイス制度で利用する項目です。2023年4月下旬から利用できる予定です。利用可能となる前に予告なく変更がある場合があります。<br>
経費申請の申請行一覧(配列)
items:
properties:
Expand Down Expand Up @@ -26388,7 +26388,6 @@ components:
- invoice
- other
example: receipt
nullable: true
type: string
invoice_registration_number:
description: |
Expand All @@ -26399,7 +26398,6 @@ components:
example: T1000000000001
maxLength: 14
minLength: 13
nullable: true
pattern: "^T?[1-9][0-9]{12}$"
type: string
issue_date:
Expand All @@ -26409,12 +26407,12 @@ components:
qualified_invoice:
description: |
この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。
適格請求書等(qualified: 該当する、not_qualified: 該当しない)
適格請求書等(qualified: 該当する、not_qualified: 該当しない、unselected: 未選択
enum:
- qualified
- not_qualified
- unselected
example: qualified
nullable: true
type: string
receipt_metadatum:
properties:
Expand Down

0 comments on commit 728c352

Please sign in to comment.