diff --git a/.openapi-generator/config.yml b/.openapi-generator/config.yml
index 69c2c15..6520753 100644
--- a/.openapi-generator/config.yml
+++ b/.openapi-generator/config.yml
@@ -1,7 +1,7 @@
ensureUniqueParams: false
allowUnicodeIdentifiers: true
snapshotVersion: true
-artifactVersion: 2.27.0
+artifactVersion: 2.28.0
groupId: "jp.co.freee"
artifactId: "freee-accounting-sdk"
apiPackage: "jp.co.freee.accounting.api"
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4f4b96a..58f9aa7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,8 @@
+## 2.28.0
+リリース日時 2023-03-23 07:36:46
+対象差分
+https://github.com/freee/freee-api-schema/releases/tag/v0.0.114
+
## 2.27.0
リリース日時 2023-03-16 12:14:32
対象差分
diff --git a/samples/basic-sample/pom.xml b/samples/basic-sample/pom.xml
index 5b47f93..12d31a2 100644
--- a/samples/basic-sample/pom.xml
+++ b/samples/basic-sample/pom.xml
@@ -16,7 +16,7 @@
jp.co.freee
freee-accounting-sdk
- 2.27.0
+ 2.28.0
diff --git a/samples/basic-websample-rx/pom.xml b/samples/basic-websample-rx/pom.xml
index b6f1ddb..7f6c7cf 100644
--- a/samples/basic-websample-rx/pom.xml
+++ b/samples/basic-websample-rx/pom.xml
@@ -46,7 +46,7 @@
jp.co.freee
freee-accounting-sdk
- 2.27.0
+ 2.28.0
org.webjars
diff --git a/samples/basic-websample/pom.xml b/samples/basic-websample/pom.xml
index c184232..7da90c4 100644
--- a/samples/basic-websample/pom.xml
+++ b/samples/basic-websample/pom.xml
@@ -63,7 +63,7 @@
jp.co.freee
freee-accounting-sdk
- 2.27.0
+ 2.28.0
diff --git a/sdk/docs/ExpenseApplicationCreateParams.md b/sdk/docs/ExpenseApplicationCreateParams.md
index fae16e5..87263c8 100644
--- a/sdk/docs/ExpenseApplicationCreateParams.md
+++ b/sdk/docs/ExpenseApplicationCreateParams.md
@@ -12,9 +12,10 @@ Name | Type | Description | Notes
**companyId** | **Integer** | 事業所ID |
**description** | **String** | 備考 (10000文字以内) | [optional]
**draft** | **Boolean** | 経費申請のステータス<br> falseを指定した時は申請中(in_progress)で経費申請を作成します。<br> trueを指定した時は下書き(draft)で経費申請を作成します。<br> 未指定の時は下書きとみなして経費申請を作成します。 | [optional]
-**expenseApplicationLines** | [**List<ExpenseApplicationCreateParamsExpenseApplicationLines>**](ExpenseApplicationCreateParamsExpenseApplicationLines.md) | |
+**expenseApplicationLines** | [**List<ExpenseApplicationCreateParamsExpenseApplicationLines>**](ExpenseApplicationCreateParamsExpenseApplicationLines.md) | 経費申請の項目行一覧(配列) | [optional]
**issueDate** | **String** | 申請日 (yyyy-mm-dd)<br> 指定しない場合は当日の日付が登録されます。 | [optional]
**parentId** | **Integer** | 親申請ID(法人向けプロフェッショナル, 法人向け エンタープライズプラン)<br> <ul> <li>承認済みの既存各種申請IDのみ指定可能です。</li> <li>各種申請一覧APIを利用して取得してください。</li> </ul> | [optional]
+**purchaseLines** | [**List<ExpenseApplicationCreateParamsPurchaseLines>**](ExpenseApplicationCreateParamsPurchaseLines.md) | この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。利用可能となる前に予告なく変更がある場合があります。<br> 経費申請の申請行一覧(配列) | [optional]
**sectionId** | **Integer** | 部門ID | [optional]
**segment1TagId** | **Long** | セグメント1ID(法人向けプロフェッショナル, 法人向けエンタープライズプラン)<br> セグメントタグ一覧の取得APIを利用して取得してください。<br> <a href=\"https://support.freee.co.jp/hc/ja/articles/360020679611\" target=\"_blank\">セグメント(分析用タグ)の設定</a><br> | [optional]
**segment2TagId** | **Long** | セグメント2ID(法人向け エンタープライズプラン)<br> セグメントタグ一覧の取得APIを利用して取得してください。<br> <a href=\"https://support.freee.co.jp/hc/ja/articles/360020679611\" target=\"_blank\">セグメント(分析用タグ)の設定</a><br> | [optional]
diff --git a/sdk/docs/ExpenseApplicationCreateParamsExpenseApplicationLines1.md b/sdk/docs/ExpenseApplicationCreateParamsExpenseApplicationLines1.md
new file mode 100644
index 0000000..82be476
--- /dev/null
+++ b/sdk/docs/ExpenseApplicationCreateParamsExpenseApplicationLines1.md
@@ -0,0 +1,15 @@
+
+
+# ExpenseApplicationCreateParamsExpenseApplicationLines1
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**amount** | **Integer** | 金額 | [optional]
+**description** | **String** | 内容 (250文字以内) | [optional]
+**expenseApplicationLineTemplateId** | **Integer** | 経費科目ID | [optional]
+
+
+
diff --git a/sdk/docs/ExpenseApplicationCreateParamsPurchaseLines.md b/sdk/docs/ExpenseApplicationCreateParamsPurchaseLines.md
new file mode 100644
index 0000000..1fb3fa6
--- /dev/null
+++ b/sdk/docs/ExpenseApplicationCreateParamsPurchaseLines.md
@@ -0,0 +1,15 @@
+
+
+# ExpenseApplicationCreateParamsPurchaseLines
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**expenseApplicationLines** | [**List<ExpenseApplicationCreateParamsExpenseApplicationLines1>**](ExpenseApplicationCreateParamsExpenseApplicationLines1.md) | 明細行一覧(配列) | [optional]
+**receiptId** | **Integer** | ファイルボックス(証憑ファイル)ID | [optional]
+**transactionDate** | **String** | 日付 (yyyy-mm-dd) | [optional]
+
+
+
diff --git a/sdk/docs/ExpenseApplicationResponseExpenseApplication.md b/sdk/docs/ExpenseApplicationResponseExpenseApplication.md
index bdd7220..53b2bb6 100644
--- a/sdk/docs/ExpenseApplicationResponseExpenseApplication.md
+++ b/sdk/docs/ExpenseApplicationResponseExpenseApplication.md
@@ -19,9 +19,10 @@ Name | Type | Description | Notes
**dealId** | **Integer** | 取引ID (申請ステータス:statusがapprovedで、取引が存在する時のみdeal_idが表示されます) |
**dealStatus** | [**DealStatusEnum**](#DealStatusEnum) | 取引ステータス (申請ステータス:statusがapprovedで、取引が存在する時のみdeal_statusが表示されます settled:精算済み, unsettled:清算待ち) |
**description** | **String** | 備考 | [optional]
-**expenseApplicationLines** | [**List<ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines>**](ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines.md) | 経費申請の項目行一覧(配列) |
+**expenseApplicationLines** | [**List<ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines>**](ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines.md) | 経費申請の項目行一覧(配列) | [optional]
**id** | **Integer** | 経費申請ID |
**issueDate** | **String** | 申請日 (yyyy-mm-dd) |
+**purchaseLines** | [**List<ExpenseApplicationResponseExpenseApplicationPurchaseLines>**](ExpenseApplicationResponseExpenseApplicationPurchaseLines.md) | この項目はインボイス制度で利用する項目です。2023年4月上旬から利用できる予定です。利用可能となる前に予告なく変更がある場合があります。<br> 経費申請の申請行一覧(配列) | [optional]
**sectionId** | **Integer** | 部門ID | [optional]
**segment1TagId** | **Long** | セグメント1ID。セグメント1が使用可能なプランの時のみレスポンスに含まれます。 | [optional]
**segment2TagId** | **Long** | セグメント2ID。セグメント2が使用可能なプランの時のみレスポンスに含まれます。 | [optional]
diff --git a/sdk/docs/ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1.md b/sdk/docs/ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1.md
new file mode 100644
index 0000000..9b8806d
--- /dev/null
+++ b/sdk/docs/ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1.md
@@ -0,0 +1,16 @@
+
+
+# ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**amount** | **Integer** | 金額 | [optional]
+**description** | **String** | 内容 | [optional]
+**expenseApplicationLineTemplateId** | **Integer** | 経費科目ID | [optional]
+**id** | **Long** | 明細行ID |
+
+
+
diff --git a/sdk/docs/ExpenseApplicationResponseExpenseApplicationPurchaseLines.md b/sdk/docs/ExpenseApplicationResponseExpenseApplicationPurchaseLines.md
new file mode 100644
index 0000000..b30eb52
--- /dev/null
+++ b/sdk/docs/ExpenseApplicationResponseExpenseApplicationPurchaseLines.md
@@ -0,0 +1,16 @@
+
+
+# ExpenseApplicationResponseExpenseApplicationPurchaseLines
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**expenseApplicationLines** | [**List<ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1>**](ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1.md) | 明細行一覧(配列) | [optional]
+**id** | **Long** | 経費申請の申請行ID |
+**receiptId** | **Integer** | ファイルボックス(証憑ファイル)ID | [optional]
+**transactionDate** | **String** | 日付 (yyyy-mm-dd) | [optional]
+
+
+
diff --git a/sdk/docs/ExpenseApplicationUpdateParams.md b/sdk/docs/ExpenseApplicationUpdateParams.md
index 7eb501b..b3dbd7a 100644
--- a/sdk/docs/ExpenseApplicationUpdateParams.md
+++ b/sdk/docs/ExpenseApplicationUpdateParams.md
@@ -12,8 +12,9 @@ Name | Type | Description | Notes
**companyId** | **Integer** | 事業所ID |
**description** | **String** | 備考 (10000文字以内) | [optional]
**draft** | **Boolean** | 経費申請のステータス<br> falseを指定した時は申請中(in_progress)で経費申請を更新します。<br> trueを指定した時は下書き(draft)で経費申請を更新します。<br> 未指定の時は下書きとみなして経費申請を更新します。 | [optional]
-**expenseApplicationLines** | [**List<ExpenseApplicationUpdateParamsExpenseApplicationLines>**](ExpenseApplicationUpdateParamsExpenseApplicationLines.md) | |
+**expenseApplicationLines** | [**List<ExpenseApplicationUpdateParamsExpenseApplicationLines>**](ExpenseApplicationUpdateParamsExpenseApplicationLines.md) | | [optional]
**issueDate** | **String** | 申請日 (yyyy-mm-dd)<br> 指定しない場合は当日の日付が登録されます。 | [optional]
+**purchaseLines** | [**List<ExpenseApplicationUpdateParamsPurchaseLines>**](ExpenseApplicationUpdateParamsPurchaseLines.md) | この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。利用可能となる前に予告なく変更がある場合があります。<br> 経費申請の申請行一覧(配列) | [optional]
**sectionId** | **Integer** | 部門ID | [optional]
**segment1TagId** | **Long** | セグメント1ID(法人向けプロフェッショナル, 法人向けエンタープライズプラン)<br> セグメントタグ一覧の取得APIを利用して取得してください。<br> <a href=\"https://support.freee.co.jp/hc/ja/articles/360020679611\" target=\"_blank\">セグメント(分析用タグ)の設定</a><br> | [optional]
**segment2TagId** | **Long** | セグメント2ID(法人向け エンタープライズプラン)<br> セグメントタグ一覧の取得APIを利用して取得してください。<br> <a href=\"https://support.freee.co.jp/hc/ja/articles/360020679611\" target=\"_blank\">セグメント(分析用タグ)の設定</a><br> | [optional]
diff --git a/sdk/docs/ExpenseApplicationUpdateParamsExpenseApplicationLines1.md b/sdk/docs/ExpenseApplicationUpdateParamsExpenseApplicationLines1.md
new file mode 100644
index 0000000..ef4a2e5
--- /dev/null
+++ b/sdk/docs/ExpenseApplicationUpdateParamsExpenseApplicationLines1.md
@@ -0,0 +1,16 @@
+
+
+# ExpenseApplicationUpdateParamsExpenseApplicationLines1
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**amount** | **Integer** | 金額 | [optional]
+**description** | **String** | 内容 (250文字以内) | [optional]
+**expenseApplicationLineTemplateId** | **Integer** | 経費科目ID | [optional]
+**id** | **Long** | 経費申請の明細行ID: 既存明細行を更新する場合に指定します。IDを指定しない明細行は、新規行として扱われ追加されます。また、expense_application_linesに含まれない既存の明細行は削除されます。更新後も残したい行は、必ず経費申請の明細行IDを指定してexpense_application_linesに含めてください。 | [optional]
+
+
+
diff --git a/sdk/docs/ExpenseApplicationUpdateParamsPurchaseLines.md b/sdk/docs/ExpenseApplicationUpdateParamsPurchaseLines.md
new file mode 100644
index 0000000..6dcbb86
--- /dev/null
+++ b/sdk/docs/ExpenseApplicationUpdateParamsPurchaseLines.md
@@ -0,0 +1,16 @@
+
+
+# ExpenseApplicationUpdateParamsPurchaseLines
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**expenseApplicationLines** | [**List<ExpenseApplicationUpdateParamsExpenseApplicationLines1>**](ExpenseApplicationUpdateParamsExpenseApplicationLines1.md) | 明細行一覧(配列) | [optional]
+**id** | **Long** | 経費申請の申請行ID: 既存申請行を更新する場合に指定します。IDを指定しない申請行は、新規行として扱われ追加されます。また、purchase_linesに含まれない既存の申請行は削除されます。更新後も残したい行は、必ず経費申請の申請行IDを指定してpurchase_linesに含めてください。 | [optional]
+**receiptId** | **Integer** | ファイルボックス(証憑ファイル)ID | [optional]
+**transactionDate** | **String** | 日付 (yyyy-mm-dd) | [optional]
+
+
+
diff --git a/sdk/docs/ExpenseApplicationsIndexResponseExpenseApplications.md b/sdk/docs/ExpenseApplicationsIndexResponseExpenseApplications.md
index b55b604..61ec861 100644
--- a/sdk/docs/ExpenseApplicationsIndexResponseExpenseApplications.md
+++ b/sdk/docs/ExpenseApplicationsIndexResponseExpenseApplications.md
@@ -15,9 +15,10 @@ Name | Type | Description | Notes
**dealId** | **Integer** | 取引ID (申請ステータス:statusがapprovedで、取引が存在する時のみdeal_idが表示されます) |
**dealStatus** | [**DealStatusEnum**](#DealStatusEnum) | 取引ステータス (申請ステータス:statusがapprovedで、取引が存在する時のみdeal_statusが表示されます settled:精算済み, unsettled:清算待ち) |
**description** | **String** | 備考 | [optional]
-**expenseApplicationLines** | [**List<ExpenseApplicationsIndexResponseExpenseApplicationLines>**](ExpenseApplicationsIndexResponseExpenseApplicationLines.md) | 経費申請の項目行一覧(配列) |
+**expenseApplicationLines** | [**List<ExpenseApplicationsIndexResponseExpenseApplicationLines>**](ExpenseApplicationsIndexResponseExpenseApplicationLines.md) | 経費申請の項目行一覧(配列) | [optional]
**id** | **Integer** | 経費申請ID |
**issueDate** | **String** | 申請日 (yyyy-mm-dd) |
+**purchaseLines** | [**List<ExpenseApplicationResponseExpenseApplicationPurchaseLines>**](ExpenseApplicationResponseExpenseApplicationPurchaseLines.md) | この項目はインボイス制度で利用する項目です。2023年4月上旬から利用できる予定です。利用可能となる前に予告なく変更がある場合があります。<br> 経費申請の申請行一覧(配列) | [optional]
**sectionId** | **Integer** | 部門ID | [optional]
**segment1TagId** | **Long** | セグメント1ID | [optional]
**segment2TagId** | **Long** | セグメント2ID | [optional]
diff --git a/sdk/docs/Receipt.md b/sdk/docs/Receipt.md
index 0ca8694..212af34 100644
--- a/sdk/docs/Receipt.md
+++ b/sdk/docs/Receipt.md
@@ -9,14 +9,14 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**createdAt** | **String** | 作成日時(ISO8601形式) |
**description** | **String** | メモ | [optional]
-**documentType** | [**DocumentTypeEnum**](#DocumentTypeEnum) | この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 書類の種類(receipt: 領収書、invoice: 請求書、other: その他) | [optional]
+**documentType** | [**DocumentTypeEnum**](#DocumentTypeEnum) | この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 書類の種類(receipt: 領収書、invoice: 請求書、other: その他、null: OCR解析結果が保存されている時等) | [optional]
**fileSrc** | **String** | ファイルのダウンロードURL(freeeにログインした状態でのみ閲覧可能です。) <br> <br> file_srcは廃止予定の属性になります。<br> file_srcに替わり、証憑ファイルのダウンロード APIをご利用ください。<br> 証憑ファイルのダウンロードAPIを利用することで、以下のようになります。 <ul> <li>アプリケーション利用者はfreee APIアプリケーションにログインしていれば、証憑ダウンロード毎にfreeeに改めてログインすることなくファイルが参照できるようになります。</li> </ul> |
**id** | **Integer** | ファイルボックス(証憑ファイル)ID |
-**invoiceRegistrationNumber** | **String** | この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 インボイス制度適格請求書発行事業者登録番号 - 先頭T数字13桁の固定14桁の文字列 <a target=\"_blank\" href=\"https://www.invoice-kohyo.nta.go.jp/index.html\">国税庁インボイス制度適格請求書発行事業者公表サイト</a> | [optional]
+**invoiceRegistrationNumber** | **String** | この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 インボイス制度適格請求書発行事業者登録番号(null: OCR解析結果が保存されている時等) - 先頭T数字13桁の固定14桁の文字列 <a target=\"_blank\" href=\"https://www.invoice-kohyo.nta.go.jp/index.html\">国税庁インボイス制度適格請求書発行事業者公表サイト</a> | [optional]
**issueDate** | **String** | 発生日 | [optional]
**mimeType** | **String** | MIMEタイプ |
**origin** | [**OriginEnum**](#OriginEnum) | アップロード元種別 |
-**qualifiedInvoice** | [**QualifiedInvoiceEnum**](#QualifiedInvoiceEnum) | この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 適格請求書等(qualified: 該当する、not_qualified: 該当しない) | [optional]
+**qualifiedInvoice** | [**QualifiedInvoiceEnum**](#QualifiedInvoiceEnum) | この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 適格請求書等(qualified: 該当する、not_qualified: 該当しない、unselected: 未選択、null: OCR解析結果が保存されている時等) | [optional]
**receiptMetadatum** | [**DealReceiptMetadatum**](DealReceiptMetadatum.md) | | [optional]
**status** | [**StatusEnum**](#StatusEnum) | ステータス(confirmed:確認済み、deleted:削除済み、ignored:無視) |
**user** | [**DealUser**](DealUser.md) | |
@@ -56,6 +56,7 @@ Name | Value
---- | -----
QUALIFIED | "qualified"
NOT_QUALIFIED | "not_qualified"
+UNSELECTED | "unselected"
diff --git a/sdk/docs/ReceiptsApi.md b/sdk/docs/ReceiptsApi.md
index 38332f2..f310dab 100644
--- a/sdk/docs/ReceiptsApi.md
+++ b/sdk/docs/ReceiptsApi.md
@@ -45,7 +45,7 @@ public class Example {
String description = "description_example"; // String | メモ (255文字以内)
String documentType = "receipt"; // String | この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 書類の種類(receipt: 領収書、invoice: 請求書、other: その他)
String issueDate = "issueDate_example"; // String | 取引日 (yyyy-mm-dd)
- String qualifiedInvoice = "qualified"; // String | この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 適格請求書等(qualified: 該当する、not_qualified: 該当しない)
+ String qualifiedInvoice = "qualified"; // String | この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 適格請求書等(qualified: 該当する、not_qualified: 該当しない、unselected: 未選択)
Long receiptMetadatumAmount = 56L; // Long | 金額
String receiptMetadatumIssueDate = "receiptMetadatumIssueDate_example"; // String | 発行日 (yyyy-mm-dd)
String receiptMetadatumPartnerName = "receiptMetadatumPartnerName_example"; // String | 発行元
@@ -73,7 +73,7 @@ Name | Type | Description | Notes
**description** | **String**| メモ (255文字以内) | [optional]
**documentType** | **String**| この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 書類の種類(receipt: 領収書、invoice: 請求書、other: その他) | [optional] [enum: receipt, invoice, other]
**issueDate** | **String**| 取引日 (yyyy-mm-dd) | [optional]
- **qualifiedInvoice** | **String**| この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 適格請求書等(qualified: 該当する、not_qualified: 該当しない) | [optional] [enum: qualified, not_qualified]
+ **qualifiedInvoice** | **String**| この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 適格請求書等(qualified: 該当する、not_qualified: 該当しない、unselected: 未選択) | [optional] [enum: qualified, not_qualified, unselected]
**receiptMetadatumAmount** | **Long**| 金額 | [optional]
**receiptMetadatumIssueDate** | **String**| 発行日 (yyyy-mm-dd) | [optional]
**receiptMetadatumPartnerName** | **String**| 発行元 | [optional]
diff --git a/sdk/pom.xml b/sdk/pom.xml
index afb0c3c..00e06d6 100644
--- a/sdk/pom.xml
+++ b/sdk/pom.xml
@@ -291,7 +291,7 @@
- 2.27.0
+ 2.28.0
-SNAPSHOT
UTF-8
1.8
diff --git a/sdk/src/main/java/jp/co/freee/accounting/api/ReceiptsApi.java b/sdk/src/main/java/jp/co/freee/accounting/api/ReceiptsApi.java
index 2edc737..7d4a1df 100644
--- a/sdk/src/main/java/jp/co/freee/accounting/api/ReceiptsApi.java
+++ b/sdk/src/main/java/jp/co/freee/accounting/api/ReceiptsApi.java
@@ -34,7 +34,7 @@ public interface ReceiptsApi {
* @param description メモ (255文字以内) (optional)
* @param documentType この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 書類の種類(receipt: 領収書、invoice: 請求書、other: その他) (optional)
* @param issueDate 取引日 (yyyy-mm-dd) (optional)
- * @param qualifiedInvoice この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 適格請求書等(qualified: 該当する、not_qualified: 該当しない) (optional)
+ * @param qualifiedInvoice この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 適格請求書等(qualified: 該当する、not_qualified: 該当しない、unselected: 未選択) (optional)
* @param receiptMetadatumAmount 金額 (optional)
* @param receiptMetadatumIssueDate 発行日 (yyyy-mm-dd) (optional)
* @param receiptMetadatumPartnerName 発行元 (optional)
diff --git a/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationCreateParams.java b/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationCreateParams.java
index 0b9a33b..cb4c98b 100644
--- a/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationCreateParams.java
+++ b/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationCreateParams.java
@@ -26,6 +26,7 @@
import java.util.ArrayList;
import java.util.List;
import jp.co.freee.accounting.models.ExpenseApplicationCreateParamsExpenseApplicationLines;
+import jp.co.freee.accounting.models.ExpenseApplicationCreateParamsPurchaseLines;
/**
* ExpenseApplicationCreateParams
@@ -54,7 +55,7 @@ public class ExpenseApplicationCreateParams {
public static final String SERIALIZED_NAME_EXPENSE_APPLICATION_LINES = "expense_application_lines";
@SerializedName(SERIALIZED_NAME_EXPENSE_APPLICATION_LINES)
- private List expenseApplicationLines = new ArrayList<>();
+ private List expenseApplicationLines = null;
public static final String SERIALIZED_NAME_ISSUE_DATE = "issue_date";
@SerializedName(SERIALIZED_NAME_ISSUE_DATE)
@@ -64,6 +65,10 @@ public class ExpenseApplicationCreateParams {
@SerializedName(SERIALIZED_NAME_PARENT_ID)
private Integer parentId;
+ public static final String SERIALIZED_NAME_PURCHASE_LINES = "purchase_lines";
+ @SerializedName(SERIALIZED_NAME_PURCHASE_LINES)
+ private List purchaseLines = null;
+
public static final String SERIALIZED_NAME_SECTION_ID = "section_id";
@SerializedName(SERIALIZED_NAME_SECTION_ID)
private Integer sectionId;
@@ -219,16 +224,19 @@ public ExpenseApplicationCreateParams expenseApplicationLines(List();
+ }
this.expenseApplicationLines.add(expenseApplicationLinesItem);
return this;
}
/**
- * Get expenseApplicationLines
+ * 経費申請の項目行一覧(配列)
* @return expenseApplicationLines
**/
- @javax.annotation.Nonnull
- @ApiModelProperty(required = true, value = "")
+ @javax.annotation.Nullable
+ @ApiModelProperty(value = "経費申請の項目行一覧(配列)")
public List getExpenseApplicationLines() {
return expenseApplicationLines;
@@ -288,6 +296,37 @@ public void setParentId(Integer parentId) {
}
+ public ExpenseApplicationCreateParams purchaseLines(List purchaseLines) {
+
+ this.purchaseLines = purchaseLines;
+ return this;
+ }
+
+ public ExpenseApplicationCreateParams addPurchaseLinesItem(ExpenseApplicationCreateParamsPurchaseLines purchaseLinesItem) {
+ if (this.purchaseLines == null) {
+ this.purchaseLines = new ArrayList<>();
+ }
+ this.purchaseLines.add(purchaseLinesItem);
+ return this;
+ }
+
+ /**
+ * この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。利用可能となる前に予告なく変更がある場合があります。<br> 経費申請の申請行一覧(配列)
+ * @return purchaseLines
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(value = "この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。利用可能となる前に予告なく変更がある場合があります。
経費申請の申請行一覧(配列) ")
+
+ public List getPurchaseLines() {
+ return purchaseLines;
+ }
+
+
+ public void setPurchaseLines(List purchaseLines) {
+ this.purchaseLines = purchaseLines;
+ }
+
+
public ExpenseApplicationCreateParams sectionId(Integer sectionId) {
this.sectionId = sectionId;
@@ -459,6 +498,7 @@ public boolean equals(Object o) {
Objects.equals(this.expenseApplicationLines, expenseApplicationCreateParams.expenseApplicationLines) &&
Objects.equals(this.issueDate, expenseApplicationCreateParams.issueDate) &&
Objects.equals(this.parentId, expenseApplicationCreateParams.parentId) &&
+ Objects.equals(this.purchaseLines, expenseApplicationCreateParams.purchaseLines) &&
Objects.equals(this.sectionId, expenseApplicationCreateParams.sectionId) &&
Objects.equals(this.segment1TagId, expenseApplicationCreateParams.segment1TagId) &&
Objects.equals(this.segment2TagId, expenseApplicationCreateParams.segment2TagId) &&
@@ -469,7 +509,7 @@ public boolean equals(Object o) {
@Override
public int hashCode() {
- return Objects.hash(approvalFlowRouteId, approverId, companyId, description, draft, expenseApplicationLines, issueDate, parentId, sectionId, segment1TagId, segment2TagId, segment3TagId, tagIds, title);
+ return Objects.hash(approvalFlowRouteId, approverId, companyId, description, draft, expenseApplicationLines, issueDate, parentId, purchaseLines, sectionId, segment1TagId, segment2TagId, segment3TagId, tagIds, title);
}
@Override
@@ -484,6 +524,7 @@ public String toString() {
sb.append(" expenseApplicationLines: ").append(toIndentedString(expenseApplicationLines)).append("\n");
sb.append(" issueDate: ").append(toIndentedString(issueDate)).append("\n");
sb.append(" parentId: ").append(toIndentedString(parentId)).append("\n");
+ sb.append(" purchaseLines: ").append(toIndentedString(purchaseLines)).append("\n");
sb.append(" sectionId: ").append(toIndentedString(sectionId)).append("\n");
sb.append(" segment1TagId: ").append(toIndentedString(segment1TagId)).append("\n");
sb.append(" segment2TagId: ").append(toIndentedString(segment2TagId)).append("\n");
diff --git a/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationCreateParamsExpenseApplicationLines1.java b/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationCreateParamsExpenseApplicationLines1.java
new file mode 100644
index 0000000..1e75384
--- /dev/null
+++ b/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationCreateParamsExpenseApplicationLines1.java
@@ -0,0 +1,162 @@
+/*
+ * freee API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package jp.co.freee.accounting.models;
+
+import java.util.Objects;
+import java.util.Arrays;
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+
+/**
+ * ExpenseApplicationCreateParamsExpenseApplicationLines1
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class ExpenseApplicationCreateParamsExpenseApplicationLines1 {
+ public static final String SERIALIZED_NAME_AMOUNT = "amount";
+ @SerializedName(SERIALIZED_NAME_AMOUNT)
+ private Integer amount;
+
+ public static final String SERIALIZED_NAME_DESCRIPTION = "description";
+ @SerializedName(SERIALIZED_NAME_DESCRIPTION)
+ private String description;
+
+ public static final String SERIALIZED_NAME_EXPENSE_APPLICATION_LINE_TEMPLATE_ID = "expense_application_line_template_id";
+ @SerializedName(SERIALIZED_NAME_EXPENSE_APPLICATION_LINE_TEMPLATE_ID)
+ private Integer expenseApplicationLineTemplateId;
+
+ public ExpenseApplicationCreateParamsExpenseApplicationLines1() {
+ }
+
+ public ExpenseApplicationCreateParamsExpenseApplicationLines1 amount(Integer amount) {
+
+ this.amount = amount;
+ return this;
+ }
+
+ /**
+ * 金額
+ * minimum: 0
+ * maximum: 2147483647
+ * @return amount
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(example = "30000", value = "金額")
+
+ public Integer getAmount() {
+ return amount;
+ }
+
+
+ public void setAmount(Integer amount) {
+ this.amount = amount;
+ }
+
+
+ public ExpenseApplicationCreateParamsExpenseApplicationLines1 description(String description) {
+
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * 内容 (250文字以内)
+ * @return description
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(example = "交通費:新幹線往復(東京〜大阪)", value = "内容 (250文字以内)")
+
+ public String getDescription() {
+ return description;
+ }
+
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+
+ public ExpenseApplicationCreateParamsExpenseApplicationLines1 expenseApplicationLineTemplateId(Integer expenseApplicationLineTemplateId) {
+
+ this.expenseApplicationLineTemplateId = expenseApplicationLineTemplateId;
+ return this;
+ }
+
+ /**
+ * 経費科目ID
+ * minimum: 1
+ * maximum: 2147483647
+ * @return expenseApplicationLineTemplateId
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(example = "505", value = "経費科目ID")
+
+ public Integer getExpenseApplicationLineTemplateId() {
+ return expenseApplicationLineTemplateId;
+ }
+
+
+ public void setExpenseApplicationLineTemplateId(Integer expenseApplicationLineTemplateId) {
+ this.expenseApplicationLineTemplateId = expenseApplicationLineTemplateId;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ ExpenseApplicationCreateParamsExpenseApplicationLines1 expenseApplicationCreateParamsExpenseApplicationLines1 = (ExpenseApplicationCreateParamsExpenseApplicationLines1) o;
+ return Objects.equals(this.amount, expenseApplicationCreateParamsExpenseApplicationLines1.amount) &&
+ Objects.equals(this.description, expenseApplicationCreateParamsExpenseApplicationLines1.description) &&
+ Objects.equals(this.expenseApplicationLineTemplateId, expenseApplicationCreateParamsExpenseApplicationLines1.expenseApplicationLineTemplateId);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(amount, description, expenseApplicationLineTemplateId);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class ExpenseApplicationCreateParamsExpenseApplicationLines1 {\n");
+ sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
+ sb.append(" description: ").append(toIndentedString(description)).append("\n");
+ sb.append(" expenseApplicationLineTemplateId: ").append(toIndentedString(expenseApplicationLineTemplateId)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+}
+
diff --git a/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationCreateParamsPurchaseLines.java b/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationCreateParamsPurchaseLines.java
new file mode 100644
index 0000000..15ede65
--- /dev/null
+++ b/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationCreateParamsPurchaseLines.java
@@ -0,0 +1,171 @@
+/*
+ * freee API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package jp.co.freee.accounting.models;
+
+import java.util.Objects;
+import java.util.Arrays;
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import jp.co.freee.accounting.models.ExpenseApplicationCreateParamsExpenseApplicationLines1;
+
+/**
+ * ExpenseApplicationCreateParamsPurchaseLines
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class ExpenseApplicationCreateParamsPurchaseLines {
+ public static final String SERIALIZED_NAME_EXPENSE_APPLICATION_LINES = "expense_application_lines";
+ @SerializedName(SERIALIZED_NAME_EXPENSE_APPLICATION_LINES)
+ private List expenseApplicationLines = null;
+
+ public static final String SERIALIZED_NAME_RECEIPT_ID = "receipt_id";
+ @SerializedName(SERIALIZED_NAME_RECEIPT_ID)
+ private Integer receiptId;
+
+ public static final String SERIALIZED_NAME_TRANSACTION_DATE = "transaction_date";
+ @SerializedName(SERIALIZED_NAME_TRANSACTION_DATE)
+ private String transactionDate;
+
+ public ExpenseApplicationCreateParamsPurchaseLines() {
+ }
+
+ public ExpenseApplicationCreateParamsPurchaseLines expenseApplicationLines(List expenseApplicationLines) {
+
+ this.expenseApplicationLines = expenseApplicationLines;
+ return this;
+ }
+
+ public ExpenseApplicationCreateParamsPurchaseLines addExpenseApplicationLinesItem(ExpenseApplicationCreateParamsExpenseApplicationLines1 expenseApplicationLinesItem) {
+ if (this.expenseApplicationLines == null) {
+ this.expenseApplicationLines = new ArrayList<>();
+ }
+ this.expenseApplicationLines.add(expenseApplicationLinesItem);
+ return this;
+ }
+
+ /**
+ * 明細行一覧(配列)
+ * @return expenseApplicationLines
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(value = "明細行一覧(配列)")
+
+ public List getExpenseApplicationLines() {
+ return expenseApplicationLines;
+ }
+
+
+ public void setExpenseApplicationLines(List expenseApplicationLines) {
+ this.expenseApplicationLines = expenseApplicationLines;
+ }
+
+
+ public ExpenseApplicationCreateParamsPurchaseLines receiptId(Integer receiptId) {
+
+ this.receiptId = receiptId;
+ return this;
+ }
+
+ /**
+ * ファイルボックス(証憑ファイル)ID
+ * minimum: 1
+ * maximum: 2147483647
+ * @return receiptId
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(example = "606", value = "ファイルボックス(証憑ファイル)ID")
+
+ public Integer getReceiptId() {
+ return receiptId;
+ }
+
+
+ public void setReceiptId(Integer receiptId) {
+ this.receiptId = receiptId;
+ }
+
+
+ public ExpenseApplicationCreateParamsPurchaseLines transactionDate(String transactionDate) {
+
+ this.transactionDate = transactionDate;
+ return this;
+ }
+
+ /**
+ * 日付 (yyyy-mm-dd)
+ * @return transactionDate
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(example = "2019-12-17", value = "日付 (yyyy-mm-dd)")
+
+ public String getTransactionDate() {
+ return transactionDate;
+ }
+
+
+ public void setTransactionDate(String transactionDate) {
+ this.transactionDate = transactionDate;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ ExpenseApplicationCreateParamsPurchaseLines expenseApplicationCreateParamsPurchaseLines = (ExpenseApplicationCreateParamsPurchaseLines) o;
+ return Objects.equals(this.expenseApplicationLines, expenseApplicationCreateParamsPurchaseLines.expenseApplicationLines) &&
+ Objects.equals(this.receiptId, expenseApplicationCreateParamsPurchaseLines.receiptId) &&
+ Objects.equals(this.transactionDate, expenseApplicationCreateParamsPurchaseLines.transactionDate);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(expenseApplicationLines, receiptId, transactionDate);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class ExpenseApplicationCreateParamsPurchaseLines {\n");
+ sb.append(" expenseApplicationLines: ").append(toIndentedString(expenseApplicationLines)).append("\n");
+ sb.append(" receiptId: ").append(toIndentedString(receiptId)).append("\n");
+ sb.append(" transactionDate: ").append(toIndentedString(transactionDate)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+}
+
diff --git a/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationResponseExpenseApplication.java b/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationResponseExpenseApplication.java
index e0a7dcc..df84d4c 100644
--- a/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationResponseExpenseApplication.java
+++ b/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationResponseExpenseApplication.java
@@ -29,6 +29,7 @@
import jp.co.freee.accounting.models.ApprovalRequestResponseApprovalRequestApprovers;
import jp.co.freee.accounting.models.ApprovalRequestResponseApprovalRequestComments;
import jp.co.freee.accounting.models.ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines;
+import jp.co.freee.accounting.models.ExpenseApplicationResponseExpenseApplicationPurchaseLines;
import org.openapitools.jackson.nullable.JsonNullable;
/**
@@ -133,7 +134,7 @@ public DealStatusEnum read(final JsonReader jsonReader) throws IOException {
public static final String SERIALIZED_NAME_EXPENSE_APPLICATION_LINES = "expense_application_lines";
@SerializedName(SERIALIZED_NAME_EXPENSE_APPLICATION_LINES)
- private List expenseApplicationLines = new ArrayList<>();
+ private List expenseApplicationLines = null;
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
@@ -143,6 +144,10 @@ public DealStatusEnum read(final JsonReader jsonReader) throws IOException {
@SerializedName(SERIALIZED_NAME_ISSUE_DATE)
private String issueDate;
+ public static final String SERIALIZED_NAME_PURCHASE_LINES = "purchase_lines";
+ @SerializedName(SERIALIZED_NAME_PURCHASE_LINES)
+ private List purchaseLines = null;
+
public static final String SERIALIZED_NAME_SECTION_ID = "section_id";
@SerializedName(SERIALIZED_NAME_SECTION_ID)
private Integer sectionId;
@@ -541,6 +546,9 @@ public ExpenseApplicationResponseExpenseApplication expenseApplicationLines(List
}
public ExpenseApplicationResponseExpenseApplication addExpenseApplicationLinesItem(ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines expenseApplicationLinesItem) {
+ if (this.expenseApplicationLines == null) {
+ this.expenseApplicationLines = new ArrayList<>();
+ }
this.expenseApplicationLines.add(expenseApplicationLinesItem);
return this;
}
@@ -549,8 +557,8 @@ public ExpenseApplicationResponseExpenseApplication addExpenseApplicationLinesIt
* 経費申請の項目行一覧(配列)
* @return expenseApplicationLines
**/
- @javax.annotation.Nonnull
- @ApiModelProperty(required = true, value = "経費申請の項目行一覧(配列)")
+ @javax.annotation.Nullable
+ @ApiModelProperty(value = "経費申請の項目行一覧(配列)")
public List getExpenseApplicationLines() {
return expenseApplicationLines;
@@ -610,6 +618,37 @@ public void setIssueDate(String issueDate) {
}
+ public ExpenseApplicationResponseExpenseApplication purchaseLines(List purchaseLines) {
+
+ this.purchaseLines = purchaseLines;
+ return this;
+ }
+
+ public ExpenseApplicationResponseExpenseApplication addPurchaseLinesItem(ExpenseApplicationResponseExpenseApplicationPurchaseLines purchaseLinesItem) {
+ if (this.purchaseLines == null) {
+ this.purchaseLines = new ArrayList<>();
+ }
+ this.purchaseLines.add(purchaseLinesItem);
+ return this;
+ }
+
+ /**
+ * この項目はインボイス制度で利用する項目です。2023年4月上旬から利用できる予定です。利用可能となる前に予告なく変更がある場合があります。<br> 経費申請の申請行一覧(配列)
+ * @return purchaseLines
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(value = "この項目はインボイス制度で利用する項目です。2023年4月上旬から利用できる予定です。利用可能となる前に予告なく変更がある場合があります。
経費申請の申請行一覧(配列) ")
+
+ public List getPurchaseLines() {
+ return purchaseLines;
+ }
+
+
+ public void setPurchaseLines(List purchaseLines) {
+ this.purchaseLines = purchaseLines;
+ }
+
+
public ExpenseApplicationResponseExpenseApplication sectionId(Integer sectionId) {
this.sectionId = sectionId;
@@ -834,6 +873,7 @@ public boolean equals(Object o) {
Objects.equals(this.expenseApplicationLines, expenseApplicationResponseExpenseApplication.expenseApplicationLines) &&
Objects.equals(this.id, expenseApplicationResponseExpenseApplication.id) &&
Objects.equals(this.issueDate, expenseApplicationResponseExpenseApplication.issueDate) &&
+ Objects.equals(this.purchaseLines, expenseApplicationResponseExpenseApplication.purchaseLines) &&
Objects.equals(this.sectionId, expenseApplicationResponseExpenseApplication.sectionId) &&
Objects.equals(this.segment1TagId, expenseApplicationResponseExpenseApplication.segment1TagId) &&
Objects.equals(this.segment2TagId, expenseApplicationResponseExpenseApplication.segment2TagId) &&
@@ -850,7 +890,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b)
@Override
public int hashCode() {
- return Objects.hash(applicantId, applicationNumber, approvalFlowLogs, approvalFlowRouteId, approvers, comments, companyId, currentRound, currentStepId, dealId, dealStatus, description, expenseApplicationLines, id, issueDate, sectionId, segment1TagId, segment2TagId, segment3TagId, status, tagIds, title, totalAmount);
+ return Objects.hash(applicantId, applicationNumber, approvalFlowLogs, approvalFlowRouteId, approvers, comments, companyId, currentRound, currentStepId, dealId, dealStatus, description, expenseApplicationLines, id, issueDate, purchaseLines, sectionId, segment1TagId, segment2TagId, segment3TagId, status, tagIds, title, totalAmount);
}
private static int hashCodeNullable(JsonNullable a) {
@@ -879,6 +919,7 @@ public String toString() {
sb.append(" expenseApplicationLines: ").append(toIndentedString(expenseApplicationLines)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" issueDate: ").append(toIndentedString(issueDate)).append("\n");
+ sb.append(" purchaseLines: ").append(toIndentedString(purchaseLines)).append("\n");
sb.append(" sectionId: ").append(toIndentedString(sectionId)).append("\n");
sb.append(" segment1TagId: ").append(toIndentedString(segment1TagId)).append("\n");
sb.append(" segment2TagId: ").append(toIndentedString(segment2TagId)).append("\n");
diff --git a/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1.java b/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1.java
new file mode 100644
index 0000000..d1e1e1b
--- /dev/null
+++ b/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1.java
@@ -0,0 +1,205 @@
+/*
+ * freee API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package jp.co.freee.accounting.models;
+
+import java.util.Objects;
+import java.util.Arrays;
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.openapitools.jackson.nullable.JsonNullable;
+
+/**
+ * ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1 {
+ public static final String SERIALIZED_NAME_AMOUNT = "amount";
+ @SerializedName(SERIALIZED_NAME_AMOUNT)
+ private Integer amount;
+
+ public static final String SERIALIZED_NAME_DESCRIPTION = "description";
+ @SerializedName(SERIALIZED_NAME_DESCRIPTION)
+ private String description;
+
+ public static final String SERIALIZED_NAME_EXPENSE_APPLICATION_LINE_TEMPLATE_ID = "expense_application_line_template_id";
+ @SerializedName(SERIALIZED_NAME_EXPENSE_APPLICATION_LINE_TEMPLATE_ID)
+ private Integer expenseApplicationLineTemplateId;
+
+ public static final String SERIALIZED_NAME_ID = "id";
+ @SerializedName(SERIALIZED_NAME_ID)
+ private Long id;
+
+ public ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1() {
+ }
+
+ public ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1 amount(Integer amount) {
+
+ this.amount = amount;
+ return this;
+ }
+
+ /**
+ * 金額
+ * minimum: 0
+ * maximum: 2147483647
+ * @return amount
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(example = "30000", value = "金額")
+
+ public Integer getAmount() {
+ return amount;
+ }
+
+
+ public void setAmount(Integer amount) {
+ this.amount = amount;
+ }
+
+
+ public ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1 description(String description) {
+
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * 内容
+ * @return description
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(example = "交通費:新幹線往復(東京〜大阪)", value = "内容")
+
+ public String getDescription() {
+ return description;
+ }
+
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+
+ public ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1 expenseApplicationLineTemplateId(Integer expenseApplicationLineTemplateId) {
+
+ this.expenseApplicationLineTemplateId = expenseApplicationLineTemplateId;
+ return this;
+ }
+
+ /**
+ * 経費科目ID
+ * minimum: 1
+ * maximum: 2147483647
+ * @return expenseApplicationLineTemplateId
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(example = "505", value = "経費科目ID")
+
+ public Integer getExpenseApplicationLineTemplateId() {
+ return expenseApplicationLineTemplateId;
+ }
+
+
+ public void setExpenseApplicationLineTemplateId(Integer expenseApplicationLineTemplateId) {
+ this.expenseApplicationLineTemplateId = expenseApplicationLineTemplateId;
+ }
+
+
+ public ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1 id(Long id) {
+
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * 明細行ID
+ * minimum: 1
+ * maximum: 9223372036854775807
+ * @return id
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "1", required = true, value = "明細行ID")
+
+ public Long getId() {
+ return id;
+ }
+
+
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1 expenseApplicationResponseExpenseApplicationExpenseApplicationLines1 = (ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1) o;
+ return Objects.equals(this.amount, expenseApplicationResponseExpenseApplicationExpenseApplicationLines1.amount) &&
+ Objects.equals(this.description, expenseApplicationResponseExpenseApplicationExpenseApplicationLines1.description) &&
+ Objects.equals(this.expenseApplicationLineTemplateId, expenseApplicationResponseExpenseApplicationExpenseApplicationLines1.expenseApplicationLineTemplateId) &&
+ Objects.equals(this.id, expenseApplicationResponseExpenseApplicationExpenseApplicationLines1.id);
+ }
+
+ private static boolean equalsNullable(JsonNullable a, JsonNullable b) {
+ return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get()));
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(amount, description, expenseApplicationLineTemplateId, id);
+ }
+
+ private static int hashCodeNullable(JsonNullable a) {
+ if (a == null) {
+ return 1;
+ }
+ return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1 {\n");
+ sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
+ sb.append(" description: ").append(toIndentedString(description)).append("\n");
+ sb.append(" expenseApplicationLineTemplateId: ").append(toIndentedString(expenseApplicationLineTemplateId)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+}
+
diff --git a/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationResponseExpenseApplicationPurchaseLines.java b/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationResponseExpenseApplicationPurchaseLines.java
new file mode 100644
index 0000000..d738004
--- /dev/null
+++ b/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationResponseExpenseApplicationPurchaseLines.java
@@ -0,0 +1,214 @@
+/*
+ * freee API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package jp.co.freee.accounting.models;
+
+import java.util.Objects;
+import java.util.Arrays;
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import jp.co.freee.accounting.models.ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1;
+import org.openapitools.jackson.nullable.JsonNullable;
+
+/**
+ * ExpenseApplicationResponseExpenseApplicationPurchaseLines
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class ExpenseApplicationResponseExpenseApplicationPurchaseLines {
+ public static final String SERIALIZED_NAME_EXPENSE_APPLICATION_LINES = "expense_application_lines";
+ @SerializedName(SERIALIZED_NAME_EXPENSE_APPLICATION_LINES)
+ private List expenseApplicationLines = null;
+
+ public static final String SERIALIZED_NAME_ID = "id";
+ @SerializedName(SERIALIZED_NAME_ID)
+ private Long id;
+
+ public static final String SERIALIZED_NAME_RECEIPT_ID = "receipt_id";
+ @SerializedName(SERIALIZED_NAME_RECEIPT_ID)
+ private Integer receiptId;
+
+ public static final String SERIALIZED_NAME_TRANSACTION_DATE = "transaction_date";
+ @SerializedName(SERIALIZED_NAME_TRANSACTION_DATE)
+ private String transactionDate;
+
+ public ExpenseApplicationResponseExpenseApplicationPurchaseLines() {
+ }
+
+ public ExpenseApplicationResponseExpenseApplicationPurchaseLines expenseApplicationLines(List expenseApplicationLines) {
+
+ this.expenseApplicationLines = expenseApplicationLines;
+ return this;
+ }
+
+ public ExpenseApplicationResponseExpenseApplicationPurchaseLines addExpenseApplicationLinesItem(ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1 expenseApplicationLinesItem) {
+ if (this.expenseApplicationLines == null) {
+ this.expenseApplicationLines = new ArrayList<>();
+ }
+ this.expenseApplicationLines.add(expenseApplicationLinesItem);
+ return this;
+ }
+
+ /**
+ * 明細行一覧(配列)
+ * @return expenseApplicationLines
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(value = "明細行一覧(配列)")
+
+ public List getExpenseApplicationLines() {
+ return expenseApplicationLines;
+ }
+
+
+ public void setExpenseApplicationLines(List expenseApplicationLines) {
+ this.expenseApplicationLines = expenseApplicationLines;
+ }
+
+
+ public ExpenseApplicationResponseExpenseApplicationPurchaseLines id(Long id) {
+
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * 経費申請の申請行ID
+ * minimum: 1
+ * maximum: 9223372036854775807
+ * @return id
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "1", required = true, value = "経費申請の申請行ID")
+
+ public Long getId() {
+ return id;
+ }
+
+
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+
+ public ExpenseApplicationResponseExpenseApplicationPurchaseLines receiptId(Integer receiptId) {
+
+ this.receiptId = receiptId;
+ return this;
+ }
+
+ /**
+ * ファイルボックス(証憑ファイル)ID
+ * minimum: 1
+ * maximum: 2147483647
+ * @return receiptId
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(example = "606", value = "ファイルボックス(証憑ファイル)ID")
+
+ public Integer getReceiptId() {
+ return receiptId;
+ }
+
+
+ public void setReceiptId(Integer receiptId) {
+ this.receiptId = receiptId;
+ }
+
+
+ public ExpenseApplicationResponseExpenseApplicationPurchaseLines transactionDate(String transactionDate) {
+
+ this.transactionDate = transactionDate;
+ return this;
+ }
+
+ /**
+ * 日付 (yyyy-mm-dd)
+ * @return transactionDate
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(example = "2019-12-17", value = "日付 (yyyy-mm-dd)")
+
+ public String getTransactionDate() {
+ return transactionDate;
+ }
+
+
+ public void setTransactionDate(String transactionDate) {
+ this.transactionDate = transactionDate;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ ExpenseApplicationResponseExpenseApplicationPurchaseLines expenseApplicationResponseExpenseApplicationPurchaseLines = (ExpenseApplicationResponseExpenseApplicationPurchaseLines) o;
+ return Objects.equals(this.expenseApplicationLines, expenseApplicationResponseExpenseApplicationPurchaseLines.expenseApplicationLines) &&
+ Objects.equals(this.id, expenseApplicationResponseExpenseApplicationPurchaseLines.id) &&
+ Objects.equals(this.receiptId, expenseApplicationResponseExpenseApplicationPurchaseLines.receiptId) &&
+ Objects.equals(this.transactionDate, expenseApplicationResponseExpenseApplicationPurchaseLines.transactionDate);
+ }
+
+ private static boolean equalsNullable(JsonNullable a, JsonNullable b) {
+ return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get()));
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(expenseApplicationLines, id, receiptId, transactionDate);
+ }
+
+ private static int hashCodeNullable(JsonNullable a) {
+ if (a == null) {
+ return 1;
+ }
+ return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class ExpenseApplicationResponseExpenseApplicationPurchaseLines {\n");
+ sb.append(" expenseApplicationLines: ").append(toIndentedString(expenseApplicationLines)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append(" receiptId: ").append(toIndentedString(receiptId)).append("\n");
+ sb.append(" transactionDate: ").append(toIndentedString(transactionDate)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+}
+
diff --git a/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationUpdateParams.java b/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationUpdateParams.java
index 77a6559..ced0f70 100644
--- a/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationUpdateParams.java
+++ b/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationUpdateParams.java
@@ -26,6 +26,7 @@
import java.util.ArrayList;
import java.util.List;
import jp.co.freee.accounting.models.ExpenseApplicationUpdateParamsExpenseApplicationLines;
+import jp.co.freee.accounting.models.ExpenseApplicationUpdateParamsPurchaseLines;
/**
* ExpenseApplicationUpdateParams
@@ -54,12 +55,16 @@ public class ExpenseApplicationUpdateParams {
public static final String SERIALIZED_NAME_EXPENSE_APPLICATION_LINES = "expense_application_lines";
@SerializedName(SERIALIZED_NAME_EXPENSE_APPLICATION_LINES)
- private List expenseApplicationLines = new ArrayList<>();
+ private List expenseApplicationLines = null;
public static final String SERIALIZED_NAME_ISSUE_DATE = "issue_date";
@SerializedName(SERIALIZED_NAME_ISSUE_DATE)
private String issueDate;
+ public static final String SERIALIZED_NAME_PURCHASE_LINES = "purchase_lines";
+ @SerializedName(SERIALIZED_NAME_PURCHASE_LINES)
+ private List purchaseLines = null;
+
public static final String SERIALIZED_NAME_SECTION_ID = "section_id";
@SerializedName(SERIALIZED_NAME_SECTION_ID)
private Integer sectionId;
@@ -215,6 +220,9 @@ public ExpenseApplicationUpdateParams expenseApplicationLines(List();
+ }
this.expenseApplicationLines.add(expenseApplicationLinesItem);
return this;
}
@@ -223,8 +231,8 @@ public ExpenseApplicationUpdateParams addExpenseApplicationLinesItem(ExpenseAppl
* Get expenseApplicationLines
* @return expenseApplicationLines
**/
- @javax.annotation.Nonnull
- @ApiModelProperty(required = true, value = "")
+ @javax.annotation.Nullable
+ @ApiModelProperty(value = "")
public List getExpenseApplicationLines() {
return expenseApplicationLines;
@@ -259,6 +267,37 @@ public void setIssueDate(String issueDate) {
}
+ public ExpenseApplicationUpdateParams purchaseLines(List purchaseLines) {
+
+ this.purchaseLines = purchaseLines;
+ return this;
+ }
+
+ public ExpenseApplicationUpdateParams addPurchaseLinesItem(ExpenseApplicationUpdateParamsPurchaseLines purchaseLinesItem) {
+ if (this.purchaseLines == null) {
+ this.purchaseLines = new ArrayList<>();
+ }
+ this.purchaseLines.add(purchaseLinesItem);
+ return this;
+ }
+
+ /**
+ * この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。利用可能となる前に予告なく変更がある場合があります。<br> 経費申請の申請行一覧(配列)
+ * @return purchaseLines
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(value = "この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。利用可能となる前に予告なく変更がある場合があります。
経費申請の申請行一覧(配列) ")
+
+ public List getPurchaseLines() {
+ return purchaseLines;
+ }
+
+
+ public void setPurchaseLines(List purchaseLines) {
+ this.purchaseLines = purchaseLines;
+ }
+
+
public ExpenseApplicationUpdateParams sectionId(Integer sectionId) {
this.sectionId = sectionId;
@@ -429,6 +468,7 @@ public boolean equals(Object o) {
Objects.equals(this.draft, expenseApplicationUpdateParams.draft) &&
Objects.equals(this.expenseApplicationLines, expenseApplicationUpdateParams.expenseApplicationLines) &&
Objects.equals(this.issueDate, expenseApplicationUpdateParams.issueDate) &&
+ Objects.equals(this.purchaseLines, expenseApplicationUpdateParams.purchaseLines) &&
Objects.equals(this.sectionId, expenseApplicationUpdateParams.sectionId) &&
Objects.equals(this.segment1TagId, expenseApplicationUpdateParams.segment1TagId) &&
Objects.equals(this.segment2TagId, expenseApplicationUpdateParams.segment2TagId) &&
@@ -439,7 +479,7 @@ public boolean equals(Object o) {
@Override
public int hashCode() {
- return Objects.hash(approvalFlowRouteId, approverId, companyId, description, draft, expenseApplicationLines, issueDate, sectionId, segment1TagId, segment2TagId, segment3TagId, tagIds, title);
+ return Objects.hash(approvalFlowRouteId, approverId, companyId, description, draft, expenseApplicationLines, issueDate, purchaseLines, sectionId, segment1TagId, segment2TagId, segment3TagId, tagIds, title);
}
@Override
@@ -453,6 +493,7 @@ public String toString() {
sb.append(" draft: ").append(toIndentedString(draft)).append("\n");
sb.append(" expenseApplicationLines: ").append(toIndentedString(expenseApplicationLines)).append("\n");
sb.append(" issueDate: ").append(toIndentedString(issueDate)).append("\n");
+ sb.append(" purchaseLines: ").append(toIndentedString(purchaseLines)).append("\n");
sb.append(" sectionId: ").append(toIndentedString(sectionId)).append("\n");
sb.append(" segment1TagId: ").append(toIndentedString(segment1TagId)).append("\n");
sb.append(" segment2TagId: ").append(toIndentedString(segment2TagId)).append("\n");
diff --git a/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationUpdateParamsExpenseApplicationLines1.java b/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationUpdateParamsExpenseApplicationLines1.java
new file mode 100644
index 0000000..ae2a305
--- /dev/null
+++ b/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationUpdateParamsExpenseApplicationLines1.java
@@ -0,0 +1,193 @@
+/*
+ * freee API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package jp.co.freee.accounting.models;
+
+import java.util.Objects;
+import java.util.Arrays;
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+
+/**
+ * ExpenseApplicationUpdateParamsExpenseApplicationLines1
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class ExpenseApplicationUpdateParamsExpenseApplicationLines1 {
+ public static final String SERIALIZED_NAME_AMOUNT = "amount";
+ @SerializedName(SERIALIZED_NAME_AMOUNT)
+ private Integer amount;
+
+ public static final String SERIALIZED_NAME_DESCRIPTION = "description";
+ @SerializedName(SERIALIZED_NAME_DESCRIPTION)
+ private String description;
+
+ public static final String SERIALIZED_NAME_EXPENSE_APPLICATION_LINE_TEMPLATE_ID = "expense_application_line_template_id";
+ @SerializedName(SERIALIZED_NAME_EXPENSE_APPLICATION_LINE_TEMPLATE_ID)
+ private Integer expenseApplicationLineTemplateId;
+
+ public static final String SERIALIZED_NAME_ID = "id";
+ @SerializedName(SERIALIZED_NAME_ID)
+ private Long id;
+
+ public ExpenseApplicationUpdateParamsExpenseApplicationLines1() {
+ }
+
+ public ExpenseApplicationUpdateParamsExpenseApplicationLines1 amount(Integer amount) {
+
+ this.amount = amount;
+ return this;
+ }
+
+ /**
+ * 金額
+ * minimum: 0
+ * maximum: 2147483647
+ * @return amount
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(example = "30000", value = "金額")
+
+ public Integer getAmount() {
+ return amount;
+ }
+
+
+ public void setAmount(Integer amount) {
+ this.amount = amount;
+ }
+
+
+ public ExpenseApplicationUpdateParamsExpenseApplicationLines1 description(String description) {
+
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * 内容 (250文字以内)
+ * @return description
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(example = "交通費:新幹線往復(東京〜大阪)", value = "内容 (250文字以内)")
+
+ public String getDescription() {
+ return description;
+ }
+
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+
+ public ExpenseApplicationUpdateParamsExpenseApplicationLines1 expenseApplicationLineTemplateId(Integer expenseApplicationLineTemplateId) {
+
+ this.expenseApplicationLineTemplateId = expenseApplicationLineTemplateId;
+ return this;
+ }
+
+ /**
+ * 経費科目ID
+ * minimum: 1
+ * maximum: 2147483647
+ * @return expenseApplicationLineTemplateId
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(example = "505", value = "経費科目ID")
+
+ public Integer getExpenseApplicationLineTemplateId() {
+ return expenseApplicationLineTemplateId;
+ }
+
+
+ public void setExpenseApplicationLineTemplateId(Integer expenseApplicationLineTemplateId) {
+ this.expenseApplicationLineTemplateId = expenseApplicationLineTemplateId;
+ }
+
+
+ public ExpenseApplicationUpdateParamsExpenseApplicationLines1 id(Long id) {
+
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * 経費申請の明細行ID: 既存明細行を更新する場合に指定します。IDを指定しない明細行は、新規行として扱われ追加されます。また、expense_application_linesに含まれない既存の明細行は削除されます。更新後も残したい行は、必ず経費申請の明細行IDを指定してexpense_application_linesに含めてください。
+ * minimum: 1
+ * maximum: 9223372036854775807
+ * @return id
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(example = "1", value = "経費申請の明細行ID: 既存明細行を更新する場合に指定します。IDを指定しない明細行は、新規行として扱われ追加されます。また、expense_application_linesに含まれない既存の明細行は削除されます。更新後も残したい行は、必ず経費申請の明細行IDを指定してexpense_application_linesに含めてください。")
+
+ public Long getId() {
+ return id;
+ }
+
+
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ ExpenseApplicationUpdateParamsExpenseApplicationLines1 expenseApplicationUpdateParamsExpenseApplicationLines1 = (ExpenseApplicationUpdateParamsExpenseApplicationLines1) o;
+ return Objects.equals(this.amount, expenseApplicationUpdateParamsExpenseApplicationLines1.amount) &&
+ Objects.equals(this.description, expenseApplicationUpdateParamsExpenseApplicationLines1.description) &&
+ Objects.equals(this.expenseApplicationLineTemplateId, expenseApplicationUpdateParamsExpenseApplicationLines1.expenseApplicationLineTemplateId) &&
+ Objects.equals(this.id, expenseApplicationUpdateParamsExpenseApplicationLines1.id);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(amount, description, expenseApplicationLineTemplateId, id);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class ExpenseApplicationUpdateParamsExpenseApplicationLines1 {\n");
+ sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
+ sb.append(" description: ").append(toIndentedString(description)).append("\n");
+ sb.append(" expenseApplicationLineTemplateId: ").append(toIndentedString(expenseApplicationLineTemplateId)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+}
+
diff --git a/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationUpdateParamsPurchaseLines.java b/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationUpdateParamsPurchaseLines.java
new file mode 100644
index 0000000..e2085fe
--- /dev/null
+++ b/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationUpdateParamsPurchaseLines.java
@@ -0,0 +1,202 @@
+/*
+ * freee API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package jp.co.freee.accounting.models;
+
+import java.util.Objects;
+import java.util.Arrays;
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import jp.co.freee.accounting.models.ExpenseApplicationUpdateParamsExpenseApplicationLines1;
+
+/**
+ * ExpenseApplicationUpdateParamsPurchaseLines
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class ExpenseApplicationUpdateParamsPurchaseLines {
+ public static final String SERIALIZED_NAME_EXPENSE_APPLICATION_LINES = "expense_application_lines";
+ @SerializedName(SERIALIZED_NAME_EXPENSE_APPLICATION_LINES)
+ private List expenseApplicationLines = null;
+
+ public static final String SERIALIZED_NAME_ID = "id";
+ @SerializedName(SERIALIZED_NAME_ID)
+ private Long id;
+
+ public static final String SERIALIZED_NAME_RECEIPT_ID = "receipt_id";
+ @SerializedName(SERIALIZED_NAME_RECEIPT_ID)
+ private Integer receiptId;
+
+ public static final String SERIALIZED_NAME_TRANSACTION_DATE = "transaction_date";
+ @SerializedName(SERIALIZED_NAME_TRANSACTION_DATE)
+ private String transactionDate;
+
+ public ExpenseApplicationUpdateParamsPurchaseLines() {
+ }
+
+ public ExpenseApplicationUpdateParamsPurchaseLines expenseApplicationLines(List expenseApplicationLines) {
+
+ this.expenseApplicationLines = expenseApplicationLines;
+ return this;
+ }
+
+ public ExpenseApplicationUpdateParamsPurchaseLines addExpenseApplicationLinesItem(ExpenseApplicationUpdateParamsExpenseApplicationLines1 expenseApplicationLinesItem) {
+ if (this.expenseApplicationLines == null) {
+ this.expenseApplicationLines = new ArrayList<>();
+ }
+ this.expenseApplicationLines.add(expenseApplicationLinesItem);
+ return this;
+ }
+
+ /**
+ * 明細行一覧(配列)
+ * @return expenseApplicationLines
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(value = "明細行一覧(配列)")
+
+ public List getExpenseApplicationLines() {
+ return expenseApplicationLines;
+ }
+
+
+ public void setExpenseApplicationLines(List expenseApplicationLines) {
+ this.expenseApplicationLines = expenseApplicationLines;
+ }
+
+
+ public ExpenseApplicationUpdateParamsPurchaseLines id(Long id) {
+
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * 経費申請の申請行ID: 既存申請行を更新する場合に指定します。IDを指定しない申請行は、新規行として扱われ追加されます。また、purchase_linesに含まれない既存の申請行は削除されます。更新後も残したい行は、必ず経費申請の申請行IDを指定してpurchase_linesに含めてください。
+ * minimum: 1
+ * maximum: 9223372036854775807
+ * @return id
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(example = "1", value = "経費申請の申請行ID: 既存申請行を更新する場合に指定します。IDを指定しない申請行は、新規行として扱われ追加されます。また、purchase_linesに含まれない既存の申請行は削除されます。更新後も残したい行は、必ず経費申請の申請行IDを指定してpurchase_linesに含めてください。")
+
+ public Long getId() {
+ return id;
+ }
+
+
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+
+ public ExpenseApplicationUpdateParamsPurchaseLines receiptId(Integer receiptId) {
+
+ this.receiptId = receiptId;
+ return this;
+ }
+
+ /**
+ * ファイルボックス(証憑ファイル)ID
+ * minimum: 1
+ * maximum: 2147483647
+ * @return receiptId
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(example = "606", value = "ファイルボックス(証憑ファイル)ID")
+
+ public Integer getReceiptId() {
+ return receiptId;
+ }
+
+
+ public void setReceiptId(Integer receiptId) {
+ this.receiptId = receiptId;
+ }
+
+
+ public ExpenseApplicationUpdateParamsPurchaseLines transactionDate(String transactionDate) {
+
+ this.transactionDate = transactionDate;
+ return this;
+ }
+
+ /**
+ * 日付 (yyyy-mm-dd)
+ * @return transactionDate
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(example = "2019-12-17", value = "日付 (yyyy-mm-dd)")
+
+ public String getTransactionDate() {
+ return transactionDate;
+ }
+
+
+ public void setTransactionDate(String transactionDate) {
+ this.transactionDate = transactionDate;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ ExpenseApplicationUpdateParamsPurchaseLines expenseApplicationUpdateParamsPurchaseLines = (ExpenseApplicationUpdateParamsPurchaseLines) o;
+ return Objects.equals(this.expenseApplicationLines, expenseApplicationUpdateParamsPurchaseLines.expenseApplicationLines) &&
+ Objects.equals(this.id, expenseApplicationUpdateParamsPurchaseLines.id) &&
+ Objects.equals(this.receiptId, expenseApplicationUpdateParamsPurchaseLines.receiptId) &&
+ Objects.equals(this.transactionDate, expenseApplicationUpdateParamsPurchaseLines.transactionDate);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(expenseApplicationLines, id, receiptId, transactionDate);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class ExpenseApplicationUpdateParamsPurchaseLines {\n");
+ sb.append(" expenseApplicationLines: ").append(toIndentedString(expenseApplicationLines)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append(" receiptId: ").append(toIndentedString(receiptId)).append("\n");
+ sb.append(" transactionDate: ").append(toIndentedString(transactionDate)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+}
+
diff --git a/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationsIndexResponseExpenseApplications.java b/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationsIndexResponseExpenseApplications.java
index fc7d2d4..f710476 100644
--- a/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationsIndexResponseExpenseApplications.java
+++ b/sdk/src/main/java/jp/co/freee/accounting/models/ExpenseApplicationsIndexResponseExpenseApplications.java
@@ -25,6 +25,7 @@
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
+import jp.co.freee.accounting.models.ExpenseApplicationResponseExpenseApplicationPurchaseLines;
import jp.co.freee.accounting.models.ExpenseApplicationsIndexResponseExpenseApplicationLines;
import org.openapitools.jackson.nullable.JsonNullable;
@@ -114,7 +115,7 @@ public DealStatusEnum read(final JsonReader jsonReader) throws IOException {
public static final String SERIALIZED_NAME_EXPENSE_APPLICATION_LINES = "expense_application_lines";
@SerializedName(SERIALIZED_NAME_EXPENSE_APPLICATION_LINES)
- private List expenseApplicationLines = new ArrayList<>();
+ private List expenseApplicationLines = null;
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
@@ -124,6 +125,10 @@ public DealStatusEnum read(final JsonReader jsonReader) throws IOException {
@SerializedName(SERIALIZED_NAME_ISSUE_DATE)
private String issueDate;
+ public static final String SERIALIZED_NAME_PURCHASE_LINES = "purchase_lines";
+ @SerializedName(SERIALIZED_NAME_PURCHASE_LINES)
+ private List purchaseLines = null;
+
public static final String SERIALIZED_NAME_SECTION_ID = "section_id";
@SerializedName(SERIALIZED_NAME_SECTION_ID)
private Integer sectionId;
@@ -413,6 +418,9 @@ public ExpenseApplicationsIndexResponseExpenseApplications expenseApplicationLin
}
public ExpenseApplicationsIndexResponseExpenseApplications addExpenseApplicationLinesItem(ExpenseApplicationsIndexResponseExpenseApplicationLines expenseApplicationLinesItem) {
+ if (this.expenseApplicationLines == null) {
+ this.expenseApplicationLines = new ArrayList<>();
+ }
this.expenseApplicationLines.add(expenseApplicationLinesItem);
return this;
}
@@ -421,8 +429,8 @@ public ExpenseApplicationsIndexResponseExpenseApplications addExpenseApplication
* 経費申請の項目行一覧(配列)
* @return expenseApplicationLines
**/
- @javax.annotation.Nonnull
- @ApiModelProperty(required = true, value = "経費申請の項目行一覧(配列)")
+ @javax.annotation.Nullable
+ @ApiModelProperty(value = "経費申請の項目行一覧(配列)")
public List getExpenseApplicationLines() {
return expenseApplicationLines;
@@ -482,6 +490,37 @@ public void setIssueDate(String issueDate) {
}
+ public ExpenseApplicationsIndexResponseExpenseApplications purchaseLines(List purchaseLines) {
+
+ this.purchaseLines = purchaseLines;
+ return this;
+ }
+
+ public ExpenseApplicationsIndexResponseExpenseApplications addPurchaseLinesItem(ExpenseApplicationResponseExpenseApplicationPurchaseLines purchaseLinesItem) {
+ if (this.purchaseLines == null) {
+ this.purchaseLines = new ArrayList<>();
+ }
+ this.purchaseLines.add(purchaseLinesItem);
+ return this;
+ }
+
+ /**
+ * この項目はインボイス制度で利用する項目です。2023年4月上旬から利用できる予定です。利用可能となる前に予告なく変更がある場合があります。<br> 経費申請の申請行一覧(配列)
+ * @return purchaseLines
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(value = "この項目はインボイス制度で利用する項目です。2023年4月上旬から利用できる予定です。利用可能となる前に予告なく変更がある場合があります。
経費申請の申請行一覧(配列) ")
+
+ public List getPurchaseLines() {
+ return purchaseLines;
+ }
+
+
+ public void setPurchaseLines(List purchaseLines) {
+ this.purchaseLines = purchaseLines;
+ }
+
+
public ExpenseApplicationsIndexResponseExpenseApplications sectionId(Integer sectionId) {
this.sectionId = sectionId;
@@ -702,6 +741,7 @@ public boolean equals(Object o) {
Objects.equals(this.expenseApplicationLines, expenseApplicationsIndexResponseExpenseApplications.expenseApplicationLines) &&
Objects.equals(this.id, expenseApplicationsIndexResponseExpenseApplications.id) &&
Objects.equals(this.issueDate, expenseApplicationsIndexResponseExpenseApplications.issueDate) &&
+ Objects.equals(this.purchaseLines, expenseApplicationsIndexResponseExpenseApplications.purchaseLines) &&
Objects.equals(this.sectionId, expenseApplicationsIndexResponseExpenseApplications.sectionId) &&
Objects.equals(this.segment1TagId, expenseApplicationsIndexResponseExpenseApplications.segment1TagId) &&
Objects.equals(this.segment2TagId, expenseApplicationsIndexResponseExpenseApplications.segment2TagId) &&
@@ -718,7 +758,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b)
@Override
public int hashCode() {
- return Objects.hash(applicantId, applicationNumber, companyId, currentRound, currentStepId, dealId, dealStatus, description, expenseApplicationLines, id, issueDate, sectionId, segment1TagId, segment2TagId, segment3TagId, status, tagIds, title, totalAmount);
+ return Objects.hash(applicantId, applicationNumber, companyId, currentRound, currentStepId, dealId, dealStatus, description, expenseApplicationLines, id, issueDate, purchaseLines, sectionId, segment1TagId, segment2TagId, segment3TagId, status, tagIds, title, totalAmount);
}
private static int hashCodeNullable(JsonNullable a) {
@@ -743,6 +783,7 @@ public String toString() {
sb.append(" expenseApplicationLines: ").append(toIndentedString(expenseApplicationLines)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" issueDate: ").append(toIndentedString(issueDate)).append("\n");
+ sb.append(" purchaseLines: ").append(toIndentedString(purchaseLines)).append("\n");
sb.append(" sectionId: ").append(toIndentedString(sectionId)).append("\n");
sb.append(" segment1TagId: ").append(toIndentedString(segment1TagId)).append("\n");
sb.append(" segment2TagId: ").append(toIndentedString(segment2TagId)).append("\n");
diff --git a/sdk/src/main/java/jp/co/freee/accounting/models/Receipt.java b/sdk/src/main/java/jp/co/freee/accounting/models/Receipt.java
index 6bed08f..f3e606a 100644
--- a/sdk/src/main/java/jp/co/freee/accounting/models/Receipt.java
+++ b/sdk/src/main/java/jp/co/freee/accounting/models/Receipt.java
@@ -41,7 +41,7 @@ public class Receipt {
private String description;
/**
- * この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 書類の種類(receipt: 領収書、invoice: 請求書、other: その他)
+ * この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 書類の種類(receipt: 領収書、invoice: 請求書、other: その他、null: OCR解析結果が保存されている時等)
*/
@JsonAdapter(DocumentTypeEnum.Adapter.class)
public enum DocumentTypeEnum {
@@ -181,13 +181,15 @@ public OriginEnum read(final JsonReader jsonReader) throws IOException {
private OriginEnum origin;
/**
- * この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 適格請求書等(qualified: 該当する、not_qualified: 該当しない)
+ * この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 適格請求書等(qualified: 該当する、not_qualified: 該当しない、unselected: 未選択、null: OCR解析結果が保存されている時等)
*/
@JsonAdapter(QualifiedInvoiceEnum.Adapter.class)
public enum QualifiedInvoiceEnum {
QUALIFIED("qualified"),
- NOT_QUALIFIED("not_qualified");
+ NOT_QUALIFIED("not_qualified"),
+
+ UNSELECTED("unselected");
private String value;
@@ -348,11 +350,11 @@ public Receipt documentType(DocumentTypeEnum documentType) {
}
/**
- * この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 書類の種類(receipt: 領収書、invoice: 請求書、other: その他)
+ * この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 書類の種類(receipt: 領収書、invoice: 請求書、other: その他、null: OCR解析結果が保存されている時等)
* @return documentType
**/
@javax.annotation.Nullable
- @ApiModelProperty(example = "receipt", value = "この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 書類の種類(receipt: 領収書、invoice: 請求書、other: その他) ")
+ @ApiModelProperty(example = "receipt", value = "この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 書類の種類(receipt: 領収書、invoice: 請求書、other: その他、null: OCR解析結果が保存されている時等) ")
public DocumentTypeEnum getDocumentType() {
return documentType;
@@ -421,11 +423,11 @@ public Receipt invoiceRegistrationNumber(String invoiceRegistrationNumber) {
}
/**
- * この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 インボイス制度適格請求書発行事業者登録番号 - 先頭T数字13桁の固定14桁の文字列 <a target=\"_blank\" href=\"https://www.invoice-kohyo.nta.go.jp/index.html\">国税庁インボイス制度適格請求書発行事業者公表サイト</a>
+ * この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 インボイス制度適格請求書発行事業者登録番号(null: OCR解析結果が保存されている時等) - 先頭T数字13桁の固定14桁の文字列 <a target=\"_blank\" href=\"https://www.invoice-kohyo.nta.go.jp/index.html\">国税庁インボイス制度適格請求書発行事業者公表サイト</a>
* @return invoiceRegistrationNumber
**/
@javax.annotation.Nullable
- @ApiModelProperty(example = "T1000000000001", value = "この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 インボイス制度適格請求書発行事業者登録番号 - 先頭T数字13桁の固定14桁の文字列 国税庁インボイス制度適格請求書発行事業者公表サイト ")
+ @ApiModelProperty(example = "T1000000000001", value = "この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 インボイス制度適格請求書発行事業者登録番号(null: OCR解析結果が保存されている時等) - 先頭T数字13桁の固定14桁の文字列 国税庁インボイス制度適格請求書発行事業者公表サイト ")
public String getInvoiceRegistrationNumber() {
return invoiceRegistrationNumber;
@@ -513,11 +515,11 @@ public Receipt qualifiedInvoice(QualifiedInvoiceEnum qualifiedInvoice) {
}
/**
- * この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 適格請求書等(qualified: 該当する、not_qualified: 該当しない)
+ * この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 適格請求書等(qualified: 該当する、not_qualified: 該当しない、unselected: 未選択、null: OCR解析結果が保存されている時等)
* @return qualifiedInvoice
**/
@javax.annotation.Nullable
- @ApiModelProperty(example = "qualified", value = "この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 適格請求書等(qualified: 該当する、not_qualified: 該当しない) ")
+ @ApiModelProperty(example = "qualified", value = "この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 適格請求書等(qualified: 該当する、not_qualified: 該当しない、unselected: 未選択、null: OCR解析結果が保存されている時等) ")
public QualifiedInvoiceEnum getQualifiedInvoice() {
return qualifiedInvoice;
diff --git a/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationCreateParamsExpenseApplicationLines1Test.java b/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationCreateParamsExpenseApplicationLines1Test.java
new file mode 100644
index 0000000..314a6b1
--- /dev/null
+++ b/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationCreateParamsExpenseApplicationLines1Test.java
@@ -0,0 +1,67 @@
+/*
+ * freee API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package jp.co.freee.accounting.models;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.junit.Assert;
+import org.junit.Ignore;
+import org.junit.Test;
+
+
+/**
+ * Model tests for ExpenseApplicationCreateParamsExpenseApplicationLines1
+ */
+public class ExpenseApplicationCreateParamsExpenseApplicationLines1Test {
+ private final ExpenseApplicationCreateParamsExpenseApplicationLines1 model = new ExpenseApplicationCreateParamsExpenseApplicationLines1();
+
+ /**
+ * Model tests for ExpenseApplicationCreateParamsExpenseApplicationLines1
+ */
+ @Test
+ public void testExpenseApplicationCreateParamsExpenseApplicationLines1() {
+ // TODO: test ExpenseApplicationCreateParamsExpenseApplicationLines1
+ }
+
+ /**
+ * Test the property 'amount'
+ */
+ @Test
+ public void amountTest() {
+ // TODO: test amount
+ }
+
+ /**
+ * Test the property 'description'
+ */
+ @Test
+ public void descriptionTest() {
+ // TODO: test description
+ }
+
+ /**
+ * Test the property 'expenseApplicationLineTemplateId'
+ */
+ @Test
+ public void expenseApplicationLineTemplateIdTest() {
+ // TODO: test expenseApplicationLineTemplateId
+ }
+
+}
diff --git a/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationCreateParamsPurchaseLinesTest.java b/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationCreateParamsPurchaseLinesTest.java
new file mode 100644
index 0000000..5c8d12f
--- /dev/null
+++ b/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationCreateParamsPurchaseLinesTest.java
@@ -0,0 +1,70 @@
+/*
+ * freee API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package jp.co.freee.accounting.models;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import jp.co.freee.accounting.models.ExpenseApplicationCreateParamsExpenseApplicationLines1;
+import org.junit.Assert;
+import org.junit.Ignore;
+import org.junit.Test;
+
+
+/**
+ * Model tests for ExpenseApplicationCreateParamsPurchaseLines
+ */
+public class ExpenseApplicationCreateParamsPurchaseLinesTest {
+ private final ExpenseApplicationCreateParamsPurchaseLines model = new ExpenseApplicationCreateParamsPurchaseLines();
+
+ /**
+ * Model tests for ExpenseApplicationCreateParamsPurchaseLines
+ */
+ @Test
+ public void testExpenseApplicationCreateParamsPurchaseLines() {
+ // TODO: test ExpenseApplicationCreateParamsPurchaseLines
+ }
+
+ /**
+ * Test the property 'expenseApplicationLines'
+ */
+ @Test
+ public void expenseApplicationLinesTest() {
+ // TODO: test expenseApplicationLines
+ }
+
+ /**
+ * Test the property 'receiptId'
+ */
+ @Test
+ public void receiptIdTest() {
+ // TODO: test receiptId
+ }
+
+ /**
+ * Test the property 'transactionDate'
+ */
+ @Test
+ public void transactionDateTest() {
+ // TODO: test transactionDate
+ }
+
+}
diff --git a/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationCreateParamsTest.java b/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationCreateParamsTest.java
index 3c25b8e..3541c6e 100644
--- a/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationCreateParamsTest.java
+++ b/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationCreateParamsTest.java
@@ -24,6 +24,7 @@
import java.util.ArrayList;
import java.util.List;
import jp.co.freee.accounting.models.ExpenseApplicationCreateParamsExpenseApplicationLines;
+import jp.co.freee.accounting.models.ExpenseApplicationCreateParamsPurchaseLines;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
@@ -107,6 +108,14 @@ public void parentIdTest() {
// TODO: test parentId
}
+ /**
+ * Test the property 'purchaseLines'
+ */
+ @Test
+ public void purchaseLinesTest() {
+ // TODO: test purchaseLines
+ }
+
/**
* Test the property 'sectionId'
*/
diff --git a/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1Test.java b/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1Test.java
new file mode 100644
index 0000000..f237dd0
--- /dev/null
+++ b/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1Test.java
@@ -0,0 +1,76 @@
+/*
+ * freee API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package jp.co.freee.accounting.models;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.Assert;
+import org.junit.Ignore;
+import org.junit.Test;
+
+
+/**
+ * Model tests for ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1
+ */
+public class ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1Test {
+ private final ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1 model = new ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1();
+
+ /**
+ * Model tests for ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1
+ */
+ @Test
+ public void testExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1() {
+ // TODO: test ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1
+ }
+
+ /**
+ * Test the property 'amount'
+ */
+ @Test
+ public void amountTest() {
+ // TODO: test amount
+ }
+
+ /**
+ * Test the property 'description'
+ */
+ @Test
+ public void descriptionTest() {
+ // TODO: test description
+ }
+
+ /**
+ * Test the property 'expenseApplicationLineTemplateId'
+ */
+ @Test
+ public void expenseApplicationLineTemplateIdTest() {
+ // TODO: test expenseApplicationLineTemplateId
+ }
+
+ /**
+ * Test the property 'id'
+ */
+ @Test
+ public void idTest() {
+ // TODO: test id
+ }
+
+}
diff --git a/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationResponseExpenseApplicationPurchaseLinesTest.java b/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationResponseExpenseApplicationPurchaseLinesTest.java
new file mode 100644
index 0000000..e41fb97
--- /dev/null
+++ b/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationResponseExpenseApplicationPurchaseLinesTest.java
@@ -0,0 +1,79 @@
+/*
+ * freee API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package jp.co.freee.accounting.models;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import jp.co.freee.accounting.models.ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.Assert;
+import org.junit.Ignore;
+import org.junit.Test;
+
+
+/**
+ * Model tests for ExpenseApplicationResponseExpenseApplicationPurchaseLines
+ */
+public class ExpenseApplicationResponseExpenseApplicationPurchaseLinesTest {
+ private final ExpenseApplicationResponseExpenseApplicationPurchaseLines model = new ExpenseApplicationResponseExpenseApplicationPurchaseLines();
+
+ /**
+ * Model tests for ExpenseApplicationResponseExpenseApplicationPurchaseLines
+ */
+ @Test
+ public void testExpenseApplicationResponseExpenseApplicationPurchaseLines() {
+ // TODO: test ExpenseApplicationResponseExpenseApplicationPurchaseLines
+ }
+
+ /**
+ * Test the property 'expenseApplicationLines'
+ */
+ @Test
+ public void expenseApplicationLinesTest() {
+ // TODO: test expenseApplicationLines
+ }
+
+ /**
+ * Test the property 'id'
+ */
+ @Test
+ public void idTest() {
+ // TODO: test id
+ }
+
+ /**
+ * Test the property 'receiptId'
+ */
+ @Test
+ public void receiptIdTest() {
+ // TODO: test receiptId
+ }
+
+ /**
+ * Test the property 'transactionDate'
+ */
+ @Test
+ public void transactionDateTest() {
+ // TODO: test transactionDate
+ }
+
+}
diff --git a/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationResponseExpenseApplicationTest.java b/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationResponseExpenseApplicationTest.java
index 89b96f9..80debcb 100644
--- a/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationResponseExpenseApplicationTest.java
+++ b/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationResponseExpenseApplicationTest.java
@@ -27,6 +27,7 @@
import jp.co.freee.accounting.models.ApprovalRequestResponseApprovalRequestApprovers;
import jp.co.freee.accounting.models.ApprovalRequestResponseApprovalRequestComments;
import jp.co.freee.accounting.models.ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines;
+import jp.co.freee.accounting.models.ExpenseApplicationResponseExpenseApplicationPurchaseLines;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.Assert;
import org.junit.Ignore;
@@ -167,6 +168,14 @@ public void issueDateTest() {
// TODO: test issueDate
}
+ /**
+ * Test the property 'purchaseLines'
+ */
+ @Test
+ public void purchaseLinesTest() {
+ // TODO: test purchaseLines
+ }
+
/**
* Test the property 'sectionId'
*/
diff --git a/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationUpdateParamsExpenseApplicationLines1Test.java b/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationUpdateParamsExpenseApplicationLines1Test.java
new file mode 100644
index 0000000..136585f
--- /dev/null
+++ b/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationUpdateParamsExpenseApplicationLines1Test.java
@@ -0,0 +1,75 @@
+/*
+ * freee API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package jp.co.freee.accounting.models;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.junit.Assert;
+import org.junit.Ignore;
+import org.junit.Test;
+
+
+/**
+ * Model tests for ExpenseApplicationUpdateParamsExpenseApplicationLines1
+ */
+public class ExpenseApplicationUpdateParamsExpenseApplicationLines1Test {
+ private final ExpenseApplicationUpdateParamsExpenseApplicationLines1 model = new ExpenseApplicationUpdateParamsExpenseApplicationLines1();
+
+ /**
+ * Model tests for ExpenseApplicationUpdateParamsExpenseApplicationLines1
+ */
+ @Test
+ public void testExpenseApplicationUpdateParamsExpenseApplicationLines1() {
+ // TODO: test ExpenseApplicationUpdateParamsExpenseApplicationLines1
+ }
+
+ /**
+ * Test the property 'amount'
+ */
+ @Test
+ public void amountTest() {
+ // TODO: test amount
+ }
+
+ /**
+ * Test the property 'description'
+ */
+ @Test
+ public void descriptionTest() {
+ // TODO: test description
+ }
+
+ /**
+ * Test the property 'expenseApplicationLineTemplateId'
+ */
+ @Test
+ public void expenseApplicationLineTemplateIdTest() {
+ // TODO: test expenseApplicationLineTemplateId
+ }
+
+ /**
+ * Test the property 'id'
+ */
+ @Test
+ public void idTest() {
+ // TODO: test id
+ }
+
+}
diff --git a/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationUpdateParamsPurchaseLinesTest.java b/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationUpdateParamsPurchaseLinesTest.java
new file mode 100644
index 0000000..31f53b8
--- /dev/null
+++ b/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationUpdateParamsPurchaseLinesTest.java
@@ -0,0 +1,78 @@
+/*
+ * freee API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package jp.co.freee.accounting.models;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import jp.co.freee.accounting.models.ExpenseApplicationUpdateParamsExpenseApplicationLines1;
+import org.junit.Assert;
+import org.junit.Ignore;
+import org.junit.Test;
+
+
+/**
+ * Model tests for ExpenseApplicationUpdateParamsPurchaseLines
+ */
+public class ExpenseApplicationUpdateParamsPurchaseLinesTest {
+ private final ExpenseApplicationUpdateParamsPurchaseLines model = new ExpenseApplicationUpdateParamsPurchaseLines();
+
+ /**
+ * Model tests for ExpenseApplicationUpdateParamsPurchaseLines
+ */
+ @Test
+ public void testExpenseApplicationUpdateParamsPurchaseLines() {
+ // TODO: test ExpenseApplicationUpdateParamsPurchaseLines
+ }
+
+ /**
+ * Test the property 'expenseApplicationLines'
+ */
+ @Test
+ public void expenseApplicationLinesTest() {
+ // TODO: test expenseApplicationLines
+ }
+
+ /**
+ * Test the property 'id'
+ */
+ @Test
+ public void idTest() {
+ // TODO: test id
+ }
+
+ /**
+ * Test the property 'receiptId'
+ */
+ @Test
+ public void receiptIdTest() {
+ // TODO: test receiptId
+ }
+
+ /**
+ * Test the property 'transactionDate'
+ */
+ @Test
+ public void transactionDateTest() {
+ // TODO: test transactionDate
+ }
+
+}
diff --git a/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationUpdateParamsTest.java b/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationUpdateParamsTest.java
index 10595a2..7ab5544 100644
--- a/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationUpdateParamsTest.java
+++ b/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationUpdateParamsTest.java
@@ -24,6 +24,7 @@
import java.util.ArrayList;
import java.util.List;
import jp.co.freee.accounting.models.ExpenseApplicationUpdateParamsExpenseApplicationLines;
+import jp.co.freee.accounting.models.ExpenseApplicationUpdateParamsPurchaseLines;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
@@ -99,6 +100,14 @@ public void issueDateTest() {
// TODO: test issueDate
}
+ /**
+ * Test the property 'purchaseLines'
+ */
+ @Test
+ public void purchaseLinesTest() {
+ // TODO: test purchaseLines
+ }
+
/**
* Test the property 'sectionId'
*/
diff --git a/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationsIndexResponseExpenseApplicationsTest.java b/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationsIndexResponseExpenseApplicationsTest.java
index 1a7cc8c..d0a3c3c 100644
--- a/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationsIndexResponseExpenseApplicationsTest.java
+++ b/sdk/src/test/java/jp/co/freee/accounting/models/ExpenseApplicationsIndexResponseExpenseApplicationsTest.java
@@ -23,6 +23,7 @@
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
+import jp.co.freee.accounting.models.ExpenseApplicationResponseExpenseApplicationPurchaseLines;
import jp.co.freee.accounting.models.ExpenseApplicationsIndexResponseExpenseApplicationLines;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.Assert;
@@ -132,6 +133,14 @@ public void issueDateTest() {
// TODO: test issueDate
}
+ /**
+ * Test the property 'purchaseLines'
+ */
+ @Test
+ public void purchaseLinesTest() {
+ // TODO: test purchaseLines
+ }
+
/**
* Test the property 'sectionId'
*/