Add Forecast Balance
POST {{base_url}}/forecasting/v2/balances
Balances can be added to a particular forecast (forecastId) by calling the Add Forecast Balances
endpoint.
Attributes
Field | Type | Description |
---|---|---|
bankId | integer | Unique identifier for the bank |
accountId | string | Unique identifier for the bank account |
forecastId | string | Unique identifier for the forecast (that is being adjusted) |
date | datetime | Value date for the balance |
currency | string | Balance currency |
amount | integer | Balance amount |
type | string | Balance type {DEBIT,CREDIT} |
Request Body
{"values"=>[{"bankId"=>"16", "accountId"=>"accountId1234", "forecastId"=>"forecastId1234", "date"=>"2020-11-30T03:59Z", "amount"=>"100000.00", "currency"=>"GBP", "type"=>"CREDIT"}, {"bankId"=>"18", "accountId"=>"accountId2345", "forecastId"=>"forecastId2345", "date"=>"2020-12-30T03:59Z", "amount"=>"110000.00", "currency"=>"GBP", "type"=>"CREDIT"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
X-Partner-id | string | ||
X-Api-Key | string | ||
Authorization | string | ||
X-Company-Id | string |