Download OpenAPI specification:
Scalebase ペイメントへ接続するAPIのリファレンスです
Scalebase ペイメントの製品・概念説明、基本操作方法などについては こちら をご確認ください
required | Array of objects (controllers.v1.DepositController.BulkCreate.Request.Item) |
{- "deposits": [
- {
- "amount": 0,
- "bankAccountName": "string",
- "date": "2019-08-24",
- "interofficeMemo": "string",
- "partnerId": "string",
- "recipientBankAccountText": "string"
}
]
}{- "ids": [
- "string"
]
}bankAccountName に使用できる文字は半角数字 (0-9), 半角英大文字 (A-Z), 半角カタカナ (ア-ン), 濁点・半濁点 (゙ ゚), 長音 (ー), 記号 (. , - ( )), 空白のみです (1〜255 文字)。
| amount required | integer <int64> |
| bankAccountName | string or null |
| date required | string <date> |
| interofficeMemo | string or null |
| partnerId | string or null |
| recipientBankAccountText | string or null |
{- "amount": 0,
- "bankAccountName": "string",
- "date": "2019-08-24",
- "interofficeMemo": "string",
- "partnerId": "string",
- "recipientBankAccountText": "string"
}{- "id": "string"
}{- "depositId": "string"
}{- "bankAccountName": "string",
- "depositAmount": 0,
- "depositDate": "2019-08-24",
- "depositId": "string",
- "interofficeMemo": "string",
- "isArchived": true,
- "partner": {
- "code": "string",
- "id": "string",
- "name": "string"
}, - "recipientBankAccountText": "string",
- "unreconciledBalance": 0
}page は 0 始まりのページ番号です。
| amountFrom | integer or null <int64> |
| amountTo | integer or null <int64> |
| bankAccountName | string or null |
| createdAtFrom | string or null <date> |
| createdAtTo | string or null <date> |
| depositDateFrom | string or null <date> |
| depositDateTo | string or null <date> |
| excludeZeroBalance | boolean or null |
| interofficeMemo | string or null |
| isArchivedSet | Array of booleans or null unique |
| page required | integer <int32> |
| partnerCode | string or null |
| partnerName | string or null |
| rowsPerPage required | integer <int32> |
Array of objects or null (com.scalebase.payment.accounting.SearchDepositsUseCase.SortCriteria.Column) | |
| unreconciledBalanceFrom | integer or null <int64> |
| unreconciledBalanceTo | integer or null <int64> |
{- "amountFrom": 0,
- "amountTo": 0,
- "bankAccountName": "string",
- "createdAtFrom": "2019-08-24",
- "createdAtTo": "2019-08-24",
- "depositDateFrom": "2019-08-24",
- "depositDateTo": "2019-08-24",
- "excludeZeroBalance": true,
- "interofficeMemo": "string",
- "isArchivedSet": [
- true
], - "page": 0,
- "partnerCode": "string",
- "partnerName": "string",
- "rowsPerPage": 0,
- "sortBy": [
- {
- "direction": "Asc",
- "field": "BankAccountName"
}
], - "unreconciledBalanceFrom": 0,
- "unreconciledBalanceTo": 0
}{- "deposits": [
- {
- "bankAccountName": "string",
- "depositAmount": 0,
- "depositDate": "2019-08-24",
- "depositId": "string",
- "interofficeMemo": "string",
- "isArchived": true,
- "partner": {
- "code": "string",
- "id": "string",
- "name": "string"
}, - "recipientBankAccountText": "string",
- "unreconciledBalance": 0
}
], - "total": 0
}指定したフィールドのみ更新します。省略したフィールドは変更されません。partnerId / interofficeMemo に null を指定するとクリア (取引先は紐付け解除) します。partnerId と interofficeMemo の少なくとも一方の指定が必須です。
| depositId required | string |
| interofficeMemo | string or null |
| partnerId | string or null |
{- "depositId": "string",
- "interofficeMemo": "string",
- "partnerId": "string"
}{- "id": "string"
}| code | string or null |
| interofficeMemo | string or null |
| name required | string |
{- "code": "string",
- "interofficeMemo": "string",
- "name": "string"
}{- "partnerId": "string"
}指定した ID の取引先を 1 件返します。アーカイブ済みの取引先も返します (isArchived で判別できます)。
| id required | string |
{- "id": "string"
}{- "code": "string",
- "id": "string",
- "interofficeMemo": "string",
- "isArchived": true,
- "name": "string"
}| page required | integer <int32> |
| partnerCode | string or null |
| partnerName | string or null |
| rowsPerPage required | integer <int32> |
{- "page": 0,
- "partnerCode": "string",
- "partnerName": "string",
- "rowsPerPage": 0
}{- "partners": [
- {
- "code": "string",
- "id": "string",
- "name": "string"
}
], - "total": 0
}指定したフィールドのみ更新します。省略したフィールドは変更されません。code / interofficeMemo に null を指定するとクリアします。name は必須項目のため null を指定できません。name / code / interofficeMemo の少なくとも一方の指定が必須です。
| code | string or null |
| id required | string |
| interofficeMemo | string or null |
| name | string or null |
{- "code": "string",
- "id": "string",
- "interofficeMemo": "string",
- "name": "string"
}{- "id": "string"
}code に使用できる文字は半角英数・ハイフン・アンダースコアのみです (255 文字以内)。quantity は 1 以上の整数です。
| code | string or null |
| name required | string |
| quantity | integer or null <int64> |
| revenueRecognitionRuleId | string or null |
| scalebaseCatalogChargeItemId | string or null |
{- "code": "string",
- "name": "string",
- "quantity": 0,
- "revenueRecognitionRuleId": "string",
- "scalebaseCatalogChargeItemId": "string"
}{- "id": "string"
}指定した ID の商品を 1 件返します。アーカイブ済みの商品も返します。
| id required | string |
{- "id": "string"
}{- "code": "string",
- "id": "string",
- "isArchived": true,
- "name": "string",
- "quantity": 0,
- "revenueRecognitionRuleId": "string",
- "scalebaseCatalogChargeItemId": "string"
}page は 0 始まりのページ番号です。アーカイブ済みの商品は返しません。
| page required | integer <int32> |
| productCode | string or null |
| productName | string or null |
| rowsPerPage required | integer <int32> |
{- "page": 0,
- "productCode": "string",
- "productName": "string",
- "rowsPerPage": 0
}{- "products": [
- {
- "code": "string",
- "id": "string",
- "name": "string",
- "quantity": 0
}
], - "total": 0
}指定したフィールドのみ更新します。省略したフィールドは変更されません。code / quantity / scalebaseCatalogChargeItemId / revenueRecognitionRuleId に null を指定するとクリアします。name に null は指定できません。
| code | string or null |
| id required | string |
| name | string or null |
| quantity | integer or null <int64> |
| revenueRecognitionRuleId | string or null |
| scalebaseCatalogChargeItemId | string or null |
{- "code": "string",
- "id": "string",
- "name": "string",
- "quantity": 0,
- "revenueRecognitionRuleId": "string",
- "scalebaseCatalogChargeItemId": "string"
}{- "id": "string"
}指定した ID の債権を 1 件返します。アーカイブ済みの債権も返します (isArchived で判別できます)。
| receivableId required | string |
{- "receivableId": "string"
}{- "billingDate": "2019-08-24",
- "endDate": "2019-08-24",
- "invoiceId": "string",
- "invoiceName": "string",
- "invoiceNumber": "string",
- "isArchived": true,
- "itemCode": "string",
- "partnerCode": "string",
- "partnerId": "string",
- "partnerName": "string",
- "paymentDueDate": "2019-08-24",
- "paymentMethodDisplayName": "string",
- "paymentMethodId": "string",
- "productCode": "string",
- "productId": "string",
- "productName": "string",
- "receivableAmount": 0,
- "receivableId": "string",
- "receivableName": "string",
- "startDate": "2019-08-24",
- "taxClass": "string",
- "unpaidBalance": 0
}page は 0 始まりのページ番号です。
| amountFrom | integer or null <int64> |
| amountTo | integer or null <int64> |
| billingDateFrom | string or null <date> |
| billingDateTo | string or null <date> |
| invoiceNumber | string or null |
| page required | integer <int32> |
| partnerCode | string or null |
| partnerName | string or null |
| paymentDueDateFrom | string or null <date> |
| paymentDueDateTo | string or null <date> |
| rowsPerPage required | integer <int32> |
| unpaidBalanceFrom | integer or null <int64> |
| unpaidBalanceTo | integer or null <int64> |
{- "amountFrom": 0,
- "amountTo": 0,
- "billingDateFrom": "2019-08-24",
- "billingDateTo": "2019-08-24",
- "invoiceNumber": "string",
- "page": 0,
- "partnerCode": "string",
- "partnerName": "string",
- "paymentDueDateFrom": "2019-08-24",
- "paymentDueDateTo": "2019-08-24",
- "rowsPerPage": 0,
- "unpaidBalanceFrom": 0,
- "unpaidBalanceTo": 0
}{- "receivables": [
- {
- "billingDate": "2019-08-24",
- "invoiceNumber": "string",
- "partnerCode": "string",
- "partnerId": "string",
- "partnerName": "string",
- "paymentDueDate": "2019-08-24",
- "receivableAmount": 0,
- "receivableId": "string",
- "receivableName": "string",
- "unpaidBalance": 0
}
], - "total": 0
}| reconciliationProcessIds required | Array of strings |
{- "reconciliationProcessIds": [
- "string"
]
}{- "failures": [
- {
- "messages": [
- "string"
], - "reconciliationProcessId": "string"
}
], - "successes": [
- "string"
]
}指定した ID の消込処理を 1 件返します。diff は「債権 - 入金」の差額です。
| reconciliationProcessId required | string |
{- "reconciliationProcessId": "string"
}{- "reconciliationProcess": {
- "accountingDate": "2019-08-24",
- "cancelledAt": "2019-08-24T14:15:22Z",
- "creditSideItems": [
- {
- "adjustmentAccountTitle": "string",
- "adjustmentKind": "BankTransferFee",
- "balanceAmount": 0,
- "invoiceId": "string",
- "invoiceNumber": "string",
- "kind": "Receivable",
- "originalAmount": 0,
- "partner": {
- "code": "string",
- "id": "string",
- "name": "string"
}, - "receivableId": "string",
- "receivableName": "string",
- "reconciledAmount": 0
}
], - "debitSideItems": [
- {
- "adjustmentAccountTitle": "string",
- "adjustmentKind": "BankTransferFee",
- "balanceAmount": 0,
- "bankAccountName": "string",
- "depositDate": "2019-08-24",
- "depositId": "string",
- "kind": "Deposit",
- "originalAmount": 0,
- "partner": {
- "code": "string",
- "id": "string",
- "name": "string"
}, - "reconciledAmount": 0
}
], - "diff": 0,
- "id": "string",
- "interofficeMemo": "string",
- "reconciledAmount": 0,
- "reconciledAt": "2019-08-24T14:15:22Z"
}
}receivableAdjustments / depositAdjustments は省略できません。調整金がない場合は空配列を指定してください。
required | Array of objects (com.scalebase.payment.matching.reconciliationprocess.Adjustment.Input) |
required | Array of objects (com.scalebase.payment.matching.reconciliationprocess.ReconciliationTarget.DepositItem.Input) |
| interofficeMemo | string or null |
required | Array of objects (com.scalebase.payment.matching.reconciliationprocess.Adjustment.Input) |
required | Array of objects (com.scalebase.payment.matching.reconciliationprocess.ReconciliationTarget.ReceivableItem.Input) |
{- "depositAdjustments": [
- {
- "accountTitle": "string",
- "amount": 0,
- "kind": "string"
}
], - "depositItems": [
- {
- "depositId": "string",
- "reconciliationAmount": 0
}
], - "interofficeMemo": "string",
- "receivableAdjustments": [
- {
- "accountTitle": "string",
- "amount": 0,
- "kind": "string"
}
], - "receivableItems": [
- {
- "receivableId": "string",
- "reconciliationAmount": 0
}
]
}{- "reconciliationProcessId": "string"
}page は 0 始まりのページ番号です。diff は「債権 - 入金」の差額です。
| accountingDateFrom | string or null <date> |
| accountingDateTo | string or null <date> |
| bankAccountName | string or null |
| cancellationDateFrom | string or null <date> |
| cancellationDateTo | string or null <date> |
| interofficeMemo | string or null |
| isCancelled | boolean or null |
| page required | integer <int32> |
| partnerCode | string or null |
| partnerName | string or null |
| reconciledAmountFrom | integer or null <int64> |
| reconciledAmountTo | integer or null <int64> |
| reconciliationDateFrom | string or null <date> |
| reconciliationDateTo | string or null <date> |
| rowsPerPage required | integer <int32> |
{- "accountingDateFrom": "2019-08-24",
- "accountingDateTo": "2019-08-24",
- "bankAccountName": "string",
- "cancellationDateFrom": "2019-08-24",
- "cancellationDateTo": "2019-08-24",
- "interofficeMemo": "string",
- "isCancelled": true,
- "page": 0,
- "partnerCode": "string",
- "partnerName": "string",
- "reconciledAmountFrom": 0,
- "reconciledAmountTo": 0,
- "reconciliationDateFrom": "2019-08-24",
- "reconciliationDateTo": "2019-08-24",
- "rowsPerPage": 0
}{- "reconciliationProcesses": [
- {
- "accountingDate": "2019-08-24",
- "bankAccountNames": [
- "string"
], - "cancellationDate": "2019-08-24",
- "depositAdjustmentAmount": 0,
- "diff": 0,
- "id": "string",
- "interofficeMemo": "string",
- "partners": [
- {
- "code": "string",
- "id": "string",
- "name": "string"
}
], - "receivableAdjustmentAmount": 0,
- "reconciledAmount": 0,
- "reconciliationDate": "2019-08-24"
}
], - "total": 0
}